stream-chat-react-native-core 4.1.4 → 4.2.0-beta.3

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 (97) hide show
  1. package/lib/commonjs/components/Attachment/Attachment.js +16 -10
  2. package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
  3. package/lib/commonjs/components/Attachment/FileIcon.js +20 -20
  4. package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
  5. package/lib/commonjs/components/Attachment/Giphy.js +61 -40
  6. package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
  7. package/lib/commonjs/components/Channel/Channel.js +16 -13
  8. package/lib/commonjs/components/Channel/Channel.js.map +1 -1
  9. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js +2 -0
  10. package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  11. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +3 -3
  12. package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
  13. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +42 -20
  14. package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
  15. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +4 -7
  16. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  17. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +183 -173
  18. package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
  19. package/lib/commonjs/components/MessageInput/MessageInput.js +3 -3
  20. package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
  21. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js +3 -3
  22. package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  23. package/lib/commonjs/components/MessageList/utils/getReadStates.js +8 -8
  24. package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
  25. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +32 -32
  26. package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  27. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +9 -9
  28. package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  29. package/lib/commonjs/contexts/messagesContext/MessagesContext.js +2 -2
  30. package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
  31. package/lib/commonjs/contexts/themeContext/utils/theme.js +1 -0
  32. package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
  33. package/lib/commonjs/version.json +1 -1
  34. package/lib/module/components/Attachment/Attachment.js +16 -10
  35. package/lib/module/components/Attachment/Attachment.js.map +1 -1
  36. package/lib/module/components/Attachment/FileIcon.js +20 -20
  37. package/lib/module/components/Attachment/FileIcon.js.map +1 -1
  38. package/lib/module/components/Attachment/Giphy.js +61 -40
  39. package/lib/module/components/Attachment/Giphy.js.map +1 -1
  40. package/lib/module/components/Channel/Channel.js +16 -13
  41. package/lib/module/components/Channel/Channel.js.map +1 -1
  42. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js +2 -0
  43. package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
  44. package/lib/module/components/ChannelList/ChannelListMessenger.js +3 -3
  45. package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
  46. package/lib/module/components/Message/MessageSimple/MessageContent.js +42 -20
  47. package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
  48. package/lib/module/components/Message/MessageSimple/utils/renderText.js +4 -7
  49. package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
  50. package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +183 -173
  51. package/lib/module/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
  52. package/lib/module/components/MessageInput/MessageInput.js +3 -3
  53. package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
  54. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js +3 -3
  55. package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
  56. package/lib/module/components/MessageList/utils/getReadStates.js +8 -8
  57. package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
  58. package/lib/module/contexts/messageInputContext/MessageInputContext.js +32 -32
  59. package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
  60. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +9 -9
  61. package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
  62. package/lib/module/contexts/messagesContext/MessagesContext.js +2 -2
  63. package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
  64. package/lib/module/contexts/themeContext/utils/theme.js +1 -0
  65. package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
  66. package/lib/module/version.json +1 -1
  67. package/lib/typescript/components/Attachment/Attachment.d.ts +2 -2
  68. package/lib/typescript/components/Attachment/Giphy.d.ts +2 -2
  69. package/lib/typescript/components/Channel/Channel.d.ts +1 -1
  70. package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -1
  71. package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts +2 -3
  72. package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +5 -1
  73. package/lib/typescript/contexts/themeContext/utils/theme.d.ts +1 -0
  74. package/package.json +14 -12
  75. package/src/components/Attachment/Attachment.tsx +29 -4
  76. package/src/components/Attachment/Giphy.tsx +55 -22
  77. package/src/components/Attachment/__tests__/Attachment.test.js +41 -0
  78. package/src/components/Channel/Channel.tsx +3 -0
  79. package/src/components/Channel/hooks/useCreateMessagesContext.ts +2 -0
  80. package/src/components/ChannelList/ChannelListMessenger.tsx +0 -1
  81. package/src/components/ImageGallery/components/__tests__/ImageGalleryHeader.test.tsx +14 -4
  82. package/src/components/Message/MessageSimple/MessageContent.tsx +20 -13
  83. package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageReplies.test.js.snap +1 -0
  84. package/src/components/Message/MessageSimple/utils/renderText.test.tsx +30 -23
  85. package/src/components/MessageInput/__tests__/AttachButton.test.js +8 -8
  86. package/src/components/MessageInput/__tests__/SendButton.test.js +12 -20
  87. package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +8 -0
  88. package/src/components/MessageInput/__tests__/__snapshots__/FileUploadPreview.test.js.snap +24 -68
  89. package/src/components/MessageInput/__tests__/__snapshots__/ImageUploadPreview.test.js.snap +20 -36
  90. package/src/components/MessageInput/__tests__/__snapshots__/MessageInput.test.js.snap +16 -10
  91. package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +16 -0
  92. package/src/components/MessageInput/__tests__/__snapshots__/UploadProgressIndicator.test.js.snap +1 -3
  93. package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.js.snap +1 -0
  94. package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +10 -7
  95. package/src/contexts/messagesContext/MessagesContext.tsx +5 -2
  96. package/src/contexts/themeContext/utils/theme.ts +1 -0
  97. package/src/version.json +1 -1
@@ -53,17 +53,13 @@ Array [
53
53
  },
54
54
  ]
55
55
  }
56
- disableVirtualization={false}
57
56
  getItem={[Function]}
58
57
  getItemCount={[Function]}
59
58
  getItemLayout={[Function]}
60
- horizontal={false}
61
- initialNumToRender={10}
62
59
  keyExtractor={[Function]}
63
- maxToRenderPerBatch={10}
64
60
  onContentSizeChange={[Function]}
65
- onEndReachedThreshold={2}
66
61
  onLayout={[Function]}
62
+ onMomentumScrollBegin={[Function]}
67
63
  onMomentumScrollEnd={[Function]}
68
64
  onScroll={[Function]}
69
65
  onScrollBeginDrag={[Function]}
@@ -81,9 +77,7 @@ Array [
81
77
  Object {},
82
78
  ]
83
79
  }
84
- updateCellsBatchingPeriod={50}
85
80
  viewabilityConfigCallbackPairs={Array []}
86
- windowSize={21}
87
81
  >
88
82
  <View>
89
83
  <View
@@ -320,10 +314,7 @@ Array [
320
314
  }
321
315
  >
322
316
  <ActivityIndicator
323
- animating={true}
324
317
  color="#F2F2F2"
325
- hidesWhenStopped={true}
326
- size="small"
327
318
  testID="upload-progress-indicator"
328
319
  />
329
320
  </View>
@@ -331,6 +322,7 @@ Array [
331
322
  </View>
332
323
  <View
333
324
  accessible={true}
325
+ collapsable={false}
334
326
  focusable={true}
335
327
  onClick={[Function]}
336
328
  onResponderGrant={[Function]}
@@ -584,6 +576,7 @@ Array [
584
576
  </View>
585
577
  <View
586
578
  accessible={true}
579
+ collapsable={false}
587
580
  focusable={true}
588
581
  onClick={[Function]}
589
582
  onResponderGrant={[Function]}
@@ -873,6 +866,7 @@ Array [
873
866
  >
874
867
  <View
875
868
  accessible={true}
869
+ collapsable={false}
876
870
  focusable={true}
877
871
  onClick={[Function]}
878
872
  onResponderGrant={[Function]}
@@ -942,6 +936,7 @@ Array [
942
936
  </View>
943
937
  <View
944
938
  accessible={true}
939
+ collapsable={false}
945
940
  focusable={true}
946
941
  onClick={[Function]}
947
942
  onResponderGrant={[Function]}
@@ -1085,17 +1080,13 @@ Array [
1085
1080
  ]
1086
1081
  }
1087
1082
  data={Array []}
1088
- disableVirtualization={false}
1089
1083
  getItem={[Function]}
1090
1084
  getItemCount={[Function]}
1091
- horizontal={false}
1092
- initialNumToRender={10}
1093
1085
  keyExtractor={[Function]}
1094
- maxToRenderPerBatch={10}
1095
1086
  onContentSizeChange={[Function]}
1096
1087
  onEndReached={[Function]}
1097
- onEndReachedThreshold={2}
1098
1088
  onLayout={[Function]}
1089
+ onMomentumScrollBegin={[Function]}
1099
1090
  onMomentumScrollEnd={[Function]}
1100
1091
  onScroll={[Function]}
1101
1092
  onScrollBeginDrag={[Function]}
@@ -1104,9 +1095,7 @@ Array [
1104
1095
  renderItem={[Function]}
1105
1096
  scrollEventThrottle={50}
1106
1097
  stickyHeaderIndices={Array []}
1107
- updateCellsBatchingPeriod={50}
1108
1098
  viewabilityConfigCallbackPairs={Array []}
1109
- windowSize={21}
1110
1099
  >
1111
1100
  <View />
1112
1101
  </RCTScrollView>
@@ -1167,17 +1156,13 @@ Array [
1167
1156
  },
1168
1157
  ]
1169
1158
  }
1170
- disableVirtualization={false}
1171
1159
  getItem={[Function]}
1172
1160
  getItemCount={[Function]}
1173
1161
  getItemLayout={[Function]}
1174
- horizontal={false}
1175
- initialNumToRender={10}
1176
1162
  keyExtractor={[Function]}
1177
- maxToRenderPerBatch={10}
1178
1163
  onContentSizeChange={[Function]}
1179
- onEndReachedThreshold={2}
1180
1164
  onLayout={[Function]}
1165
+ onMomentumScrollBegin={[Function]}
1181
1166
  onMomentumScrollEnd={[Function]}
1182
1167
  onScroll={[Function]}
1183
1168
  onScrollBeginDrag={[Function]}
@@ -1195,9 +1180,7 @@ Array [
1195
1180
  Object {},
1196
1181
  ]
1197
1182
  }
1198
- updateCellsBatchingPeriod={50}
1199
1183
  viewabilityConfigCallbackPairs={Array []}
1200
- windowSize={21}
1201
1184
  >
1202
1185
  <View>
1203
1186
  <View
@@ -1422,6 +1405,7 @@ Array [
1422
1405
  >
1423
1406
  <View
1424
1407
  accessible={true}
1408
+ collapsable={false}
1425
1409
  focusable={true}
1426
1410
  onClick={[Function]}
1427
1411
  onResponderGrant={[Function]}
@@ -1491,6 +1475,7 @@ Array [
1491
1475
  </View>
1492
1476
  <View
1493
1477
  accessible={true}
1478
+ collapsable={false}
1494
1479
  focusable={true}
1495
1480
  onClick={[Function]}
1496
1481
  onResponderGrant={[Function]}
@@ -1778,6 +1763,7 @@ Array [
1778
1763
  >
1779
1764
  <View
1780
1765
  accessible={true}
1766
+ collapsable={false}
1781
1767
  focusable={true}
1782
1768
  onClick={[Function]}
1783
1769
  onResponderGrant={[Function]}
@@ -1847,6 +1833,7 @@ Array [
1847
1833
  </View>
1848
1834
  <View
1849
1835
  accessible={true}
1836
+ collapsable={false}
1850
1837
  focusable={true}
1851
1838
  onClick={[Function]}
1852
1839
  onResponderGrant={[Function]}
@@ -2136,6 +2123,7 @@ Array [
2136
2123
  >
2137
2124
  <View
2138
2125
  accessible={true}
2126
+ collapsable={false}
2139
2127
  focusable={true}
2140
2128
  onClick={[Function]}
2141
2129
  onResponderGrant={[Function]}
@@ -2205,6 +2193,7 @@ Array [
2205
2193
  </View>
2206
2194
  <View
2207
2195
  accessible={true}
2196
+ collapsable={false}
2208
2197
  focusable={true}
2209
2198
  onClick={[Function]}
2210
2199
  onResponderGrant={[Function]}
@@ -2348,17 +2337,13 @@ Array [
2348
2337
  ]
2349
2338
  }
2350
2339
  data={Array []}
2351
- disableVirtualization={false}
2352
2340
  getItem={[Function]}
2353
2341
  getItemCount={[Function]}
2354
- horizontal={false}
2355
- initialNumToRender={10}
2356
2342
  keyExtractor={[Function]}
2357
- maxToRenderPerBatch={10}
2358
2343
  onContentSizeChange={[Function]}
2359
2344
  onEndReached={[Function]}
2360
- onEndReachedThreshold={2}
2361
2345
  onLayout={[Function]}
2346
+ onMomentumScrollBegin={[Function]}
2362
2347
  onMomentumScrollEnd={[Function]}
2363
2348
  onScroll={[Function]}
2364
2349
  onScrollBeginDrag={[Function]}
@@ -2367,9 +2352,7 @@ Array [
2367
2352
  renderItem={[Function]}
2368
2353
  scrollEventThrottle={50}
2369
2354
  stickyHeaderIndices={Array []}
2370
- updateCellsBatchingPeriod={50}
2371
2355
  viewabilityConfigCallbackPairs={Array []}
2372
- windowSize={21}
2373
2356
  >
2374
2357
  <View />
2375
2358
  </RCTScrollView>
@@ -2430,17 +2413,13 @@ Array [
2430
2413
  },
2431
2414
  ]
2432
2415
  }
2433
- disableVirtualization={false}
2434
2416
  getItem={[Function]}
2435
2417
  getItemCount={[Function]}
2436
2418
  getItemLayout={[Function]}
2437
- horizontal={false}
2438
- initialNumToRender={10}
2439
2419
  keyExtractor={[Function]}
2440
- maxToRenderPerBatch={10}
2441
2420
  onContentSizeChange={[Function]}
2442
- onEndReachedThreshold={2}
2443
2421
  onLayout={[Function]}
2422
+ onMomentumScrollBegin={[Function]}
2444
2423
  onMomentumScrollEnd={[Function]}
2445
2424
  onScroll={[Function]}
2446
2425
  onScrollBeginDrag={[Function]}
@@ -2458,9 +2437,7 @@ Array [
2458
2437
  Object {},
2459
2438
  ]
2460
2439
  }
2461
- updateCellsBatchingPeriod={50}
2462
2440
  viewabilityConfigCallbackPairs={Array []}
2463
- windowSize={21}
2464
2441
  >
2465
2442
  <View>
2466
2443
  <View
@@ -2651,6 +2628,7 @@ Array [
2651
2628
  </View>
2652
2629
  <View
2653
2630
  accessible={true}
2631
+ collapsable={false}
2654
2632
  focusable={true}
2655
2633
  onClick={[Function]}
2656
2634
  onResponderGrant={[Function]}
@@ -2904,6 +2882,7 @@ Array [
2904
2882
  </View>
2905
2883
  <View
2906
2884
  accessible={true}
2885
+ collapsable={false}
2907
2886
  focusable={true}
2908
2887
  onClick={[Function]}
2909
2888
  onResponderGrant={[Function]}
@@ -3159,6 +3138,7 @@ Array [
3159
3138
  </View>
3160
3139
  <View
3161
3140
  accessible={true}
3141
+ collapsable={false}
3162
3142
  focusable={true}
3163
3143
  onClick={[Function]}
3164
3144
  onResponderGrant={[Function]}
@@ -3302,17 +3282,13 @@ Array [
3302
3282
  ]
3303
3283
  }
3304
3284
  data={Array []}
3305
- disableVirtualization={false}
3306
3285
  getItem={[Function]}
3307
3286
  getItemCount={[Function]}
3308
- horizontal={false}
3309
- initialNumToRender={10}
3310
3287
  keyExtractor={[Function]}
3311
- maxToRenderPerBatch={10}
3312
3288
  onContentSizeChange={[Function]}
3313
3289
  onEndReached={[Function]}
3314
- onEndReachedThreshold={2}
3315
3290
  onLayout={[Function]}
3291
+ onMomentumScrollBegin={[Function]}
3316
3292
  onMomentumScrollEnd={[Function]}
3317
3293
  onScroll={[Function]}
3318
3294
  onScrollBeginDrag={[Function]}
@@ -3321,9 +3297,7 @@ Array [
3321
3297
  renderItem={[Function]}
3322
3298
  scrollEventThrottle={50}
3323
3299
  stickyHeaderIndices={Array []}
3324
- updateCellsBatchingPeriod={50}
3325
3300
  viewabilityConfigCallbackPairs={Array []}
3326
- windowSize={21}
3327
3301
  >
3328
3302
  <View />
3329
3303
  </RCTScrollView>
@@ -3384,17 +3358,13 @@ Array [
3384
3358
  },
3385
3359
  ]
3386
3360
  }
3387
- disableVirtualization={false}
3388
3361
  getItem={[Function]}
3389
3362
  getItemCount={[Function]}
3390
3363
  getItemLayout={[Function]}
3391
- horizontal={false}
3392
- initialNumToRender={10}
3393
3364
  keyExtractor={[Function]}
3394
- maxToRenderPerBatch={10}
3395
3365
  onContentSizeChange={[Function]}
3396
- onEndReachedThreshold={2}
3397
3366
  onLayout={[Function]}
3367
+ onMomentumScrollBegin={[Function]}
3398
3368
  onMomentumScrollEnd={[Function]}
3399
3369
  onScroll={[Function]}
3400
3370
  onScrollBeginDrag={[Function]}
@@ -3412,9 +3382,7 @@ Array [
3412
3382
  Object {},
3413
3383
  ]
3414
3384
  }
3415
- updateCellsBatchingPeriod={50}
3416
3385
  viewabilityConfigCallbackPairs={Array []}
3417
- windowSize={21}
3418
3386
  >
3419
3387
  <View>
3420
3388
  <View
@@ -3651,10 +3619,7 @@ Array [
3651
3619
  }
3652
3620
  >
3653
3621
  <ActivityIndicator
3654
- animating={true}
3655
3622
  color="#F2F2F2"
3656
- hidesWhenStopped={true}
3657
- size="small"
3658
3623
  testID="upload-progress-indicator"
3659
3624
  />
3660
3625
  </View>
@@ -3662,6 +3627,7 @@ Array [
3662
3627
  </View>
3663
3628
  <View
3664
3629
  accessible={true}
3630
+ collapsable={false}
3665
3631
  focusable={true}
3666
3632
  onClick={[Function]}
3667
3633
  onResponderGrant={[Function]}
@@ -3961,10 +3927,7 @@ Array [
3961
3927
  }
3962
3928
  >
3963
3929
  <ActivityIndicator
3964
- animating={true}
3965
3930
  color="#F2F2F2"
3966
- hidesWhenStopped={true}
3967
- size="small"
3968
3931
  testID="upload-progress-indicator"
3969
3932
  />
3970
3933
  </View>
@@ -3972,6 +3935,7 @@ Array [
3972
3935
  </View>
3973
3936
  <View
3974
3937
  accessible={true}
3938
+ collapsable={false}
3975
3939
  focusable={true}
3976
3940
  onClick={[Function]}
3977
3941
  onResponderGrant={[Function]}
@@ -4273,10 +4237,7 @@ Array [
4273
4237
  }
4274
4238
  >
4275
4239
  <ActivityIndicator
4276
- animating={true}
4277
4240
  color="#F2F2F2"
4278
- hidesWhenStopped={true}
4279
- size="small"
4280
4241
  testID="upload-progress-indicator"
4281
4242
  />
4282
4243
  </View>
@@ -4284,6 +4245,7 @@ Array [
4284
4245
  </View>
4285
4246
  <View
4286
4247
  accessible={true}
4248
+ collapsable={false}
4287
4249
  focusable={true}
4288
4250
  onClick={[Function]}
4289
4251
  onResponderGrant={[Function]}
@@ -4427,17 +4389,13 @@ Array [
4427
4389
  ]
4428
4390
  }
4429
4391
  data={Array []}
4430
- disableVirtualization={false}
4431
4392
  getItem={[Function]}
4432
4393
  getItemCount={[Function]}
4433
- horizontal={false}
4434
- initialNumToRender={10}
4435
4394
  keyExtractor={[Function]}
4436
- maxToRenderPerBatch={10}
4437
4395
  onContentSizeChange={[Function]}
4438
4396
  onEndReached={[Function]}
4439
- onEndReachedThreshold={2}
4440
4397
  onLayout={[Function]}
4398
+ onMomentumScrollBegin={[Function]}
4441
4399
  onMomentumScrollEnd={[Function]}
4442
4400
  onScroll={[Function]}
4443
4401
  onScrollBeginDrag={[Function]}
@@ -4446,9 +4404,7 @@ Array [
4446
4404
  renderItem={[Function]}
4447
4405
  scrollEventThrottle={50}
4448
4406
  stickyHeaderIndices={Array []}
4449
- updateCellsBatchingPeriod={50}
4450
4407
  viewabilityConfigCallbackPairs={Array []}
4451
- windowSize={21}
4452
4408
  >
4453
4409
  <View />
4454
4410
  </RCTScrollView>
@@ -27,17 +27,14 @@ exports[`ImageUploadPreview should render ImageUploadPreview with 1 uploading, 1
27
27
  },
28
28
  ]
29
29
  }
30
- disableVirtualization={false}
31
30
  getItem={[Function]}
32
31
  getItemCount={[Function]}
33
32
  getItemLayout={[Function]}
34
33
  horizontal={true}
35
- initialNumToRender={10}
36
34
  keyExtractor={[Function]}
37
- maxToRenderPerBatch={10}
38
35
  onContentSizeChange={[Function]}
39
- onEndReachedThreshold={2}
40
36
  onLayout={[Function]}
37
+ onMomentumScrollBegin={[Function]}
41
38
  onMomentumScrollEnd={[Function]}
42
39
  onScroll={[Function]}
43
40
  onScrollBeginDrag={[Function]}
@@ -54,9 +51,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with 1 uploading, 1
54
51
  Object {},
55
52
  ]
56
53
  }
57
- updateCellsBatchingPeriod={50}
58
54
  viewabilityConfigCallbackPairs={Array []}
59
- windowSize={21}
60
55
  >
61
56
  <View>
62
57
  <View
@@ -164,10 +159,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with 1 uploading, 1
164
159
  }
165
160
  >
166
161
  <ActivityIndicator
167
- animating={true}
168
162
  color="#F2F2F2"
169
- hidesWhenStopped={true}
170
- size="small"
171
163
  testID="upload-progress-indicator"
172
164
  />
173
165
  </View>
@@ -175,6 +167,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with 1 uploading, 1
175
167
  </View>
176
168
  <View
177
169
  accessible={true}
170
+ collapsable={false}
178
171
  focusable={true}
179
172
  onClick={[Function]}
180
173
  onResponderGrant={[Function]}
@@ -299,6 +292,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with 1 uploading, 1
299
292
  </View>
300
293
  <View
301
294
  accessible={true}
295
+ collapsable={false}
302
296
  focusable={true}
303
297
  onClick={[Function]}
304
298
  onResponderGrant={[Function]}
@@ -459,6 +453,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with 1 uploading, 1
459
453
  >
460
454
  <View
461
455
  accessible={true}
456
+ collapsable={false}
462
457
  focusable={true}
463
458
  onClick={[Function]}
464
459
  onResponderGrant={[Function]}
@@ -528,6 +523,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with 1 uploading, 1
528
523
  </View>
529
524
  <View
530
525
  accessible={true}
526
+ collapsable={false}
531
527
  focusable={true}
532
528
  onClick={[Function]}
533
529
  onResponderGrant={[Function]}
@@ -624,17 +620,14 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all failed ima
624
620
  },
625
621
  ]
626
622
  }
627
- disableVirtualization={false}
628
623
  getItem={[Function]}
629
624
  getItemCount={[Function]}
630
625
  getItemLayout={[Function]}
631
626
  horizontal={true}
632
- initialNumToRender={10}
633
627
  keyExtractor={[Function]}
634
- maxToRenderPerBatch={10}
635
628
  onContentSizeChange={[Function]}
636
- onEndReachedThreshold={2}
637
629
  onLayout={[Function]}
630
+ onMomentumScrollBegin={[Function]}
638
631
  onMomentumScrollEnd={[Function]}
639
632
  onScroll={[Function]}
640
633
  onScrollBeginDrag={[Function]}
@@ -651,9 +644,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all failed ima
651
644
  Object {},
652
645
  ]
653
646
  }
654
- updateCellsBatchingPeriod={50}
655
647
  viewabilityConfigCallbackPairs={Array []}
656
- windowSize={21}
657
648
  >
658
649
  <View>
659
650
  <View
@@ -749,6 +740,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all failed ima
749
740
  >
750
741
  <View
751
742
  accessible={true}
743
+ collapsable={false}
752
744
  focusable={true}
753
745
  onClick={[Function]}
754
746
  onResponderGrant={[Function]}
@@ -818,6 +810,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all failed ima
818
810
  </View>
819
811
  <View
820
812
  accessible={true}
813
+ collapsable={false}
821
814
  focusable={true}
822
815
  onClick={[Function]}
823
816
  onResponderGrant={[Function]}
@@ -976,6 +969,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all failed ima
976
969
  >
977
970
  <View
978
971
  accessible={true}
972
+ collapsable={false}
979
973
  focusable={true}
980
974
  onClick={[Function]}
981
975
  onResponderGrant={[Function]}
@@ -1045,6 +1039,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all failed ima
1045
1039
  </View>
1046
1040
  <View
1047
1041
  accessible={true}
1042
+ collapsable={false}
1048
1043
  focusable={true}
1049
1044
  onClick={[Function]}
1050
1045
  onResponderGrant={[Function]}
@@ -1205,6 +1200,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all failed ima
1205
1200
  >
1206
1201
  <View
1207
1202
  accessible={true}
1203
+ collapsable={false}
1208
1204
  focusable={true}
1209
1205
  onClick={[Function]}
1210
1206
  onResponderGrant={[Function]}
@@ -1274,6 +1270,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all failed ima
1274
1270
  </View>
1275
1271
  <View
1276
1272
  accessible={true}
1273
+ collapsable={false}
1277
1274
  focusable={true}
1278
1275
  onClick={[Function]}
1279
1276
  onResponderGrant={[Function]}
@@ -1370,17 +1367,14 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploaded i
1370
1367
  },
1371
1368
  ]
1372
1369
  }
1373
- disableVirtualization={false}
1374
1370
  getItem={[Function]}
1375
1371
  getItemCount={[Function]}
1376
1372
  getItemLayout={[Function]}
1377
1373
  horizontal={true}
1378
- initialNumToRender={10}
1379
1374
  keyExtractor={[Function]}
1380
- maxToRenderPerBatch={10}
1381
1375
  onContentSizeChange={[Function]}
1382
- onEndReachedThreshold={2}
1383
1376
  onLayout={[Function]}
1377
+ onMomentumScrollBegin={[Function]}
1384
1378
  onMomentumScrollEnd={[Function]}
1385
1379
  onScroll={[Function]}
1386
1380
  onScrollBeginDrag={[Function]}
@@ -1397,9 +1391,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploaded i
1397
1391
  Object {},
1398
1392
  ]
1399
1393
  }
1400
- updateCellsBatchingPeriod={50}
1401
1394
  viewabilityConfigCallbackPairs={Array []}
1402
- windowSize={21}
1403
1395
  >
1404
1396
  <View>
1405
1397
  <View
@@ -1461,6 +1453,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploaded i
1461
1453
  </View>
1462
1454
  <View
1463
1455
  accessible={true}
1456
+ collapsable={false}
1464
1457
  focusable={true}
1465
1458
  onClick={[Function]}
1466
1459
  onResponderGrant={[Function]}
@@ -1585,6 +1578,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploaded i
1585
1578
  </View>
1586
1579
  <View
1587
1580
  accessible={true}
1581
+ collapsable={false}
1588
1582
  focusable={true}
1589
1583
  onClick={[Function]}
1590
1584
  onResponderGrant={[Function]}
@@ -1711,6 +1705,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploaded i
1711
1705
  </View>
1712
1706
  <View
1713
1707
  accessible={true}
1708
+ collapsable={false}
1714
1709
  focusable={true}
1715
1710
  onClick={[Function]}
1716
1711
  onResponderGrant={[Function]}
@@ -1807,17 +1802,14 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploading
1807
1802
  },
1808
1803
  ]
1809
1804
  }
1810
- disableVirtualization={false}
1811
1805
  getItem={[Function]}
1812
1806
  getItemCount={[Function]}
1813
1807
  getItemLayout={[Function]}
1814
1808
  horizontal={true}
1815
- initialNumToRender={10}
1816
1809
  keyExtractor={[Function]}
1817
- maxToRenderPerBatch={10}
1818
1810
  onContentSizeChange={[Function]}
1819
- onEndReachedThreshold={2}
1820
1811
  onLayout={[Function]}
1812
+ onMomentumScrollBegin={[Function]}
1821
1813
  onMomentumScrollEnd={[Function]}
1822
1814
  onScroll={[Function]}
1823
1815
  onScrollBeginDrag={[Function]}
@@ -1834,9 +1826,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploading
1834
1826
  Object {},
1835
1827
  ]
1836
1828
  }
1837
- updateCellsBatchingPeriod={50}
1838
1829
  viewabilityConfigCallbackPairs={Array []}
1839
- windowSize={21}
1840
1830
  >
1841
1831
  <View>
1842
1832
  <View
@@ -1944,10 +1934,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploading
1944
1934
  }
1945
1935
  >
1946
1936
  <ActivityIndicator
1947
- animating={true}
1948
1937
  color="#F2F2F2"
1949
- hidesWhenStopped={true}
1950
- size="small"
1951
1938
  testID="upload-progress-indicator"
1952
1939
  />
1953
1940
  </View>
@@ -1955,6 +1942,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploading
1955
1942
  </View>
1956
1943
  <View
1957
1944
  accessible={true}
1945
+ collapsable={false}
1958
1946
  focusable={true}
1959
1947
  onClick={[Function]}
1960
1948
  onResponderGrant={[Function]}
@@ -2125,10 +2113,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploading
2125
2113
  }
2126
2114
  >
2127
2115
  <ActivityIndicator
2128
- animating={true}
2129
2116
  color="#F2F2F2"
2130
- hidesWhenStopped={true}
2131
- size="small"
2132
2117
  testID="upload-progress-indicator"
2133
2118
  />
2134
2119
  </View>
@@ -2136,6 +2121,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploading
2136
2121
  </View>
2137
2122
  <View
2138
2123
  accessible={true}
2124
+ collapsable={false}
2139
2125
  focusable={true}
2140
2126
  onClick={[Function]}
2141
2127
  onResponderGrant={[Function]}
@@ -2308,10 +2294,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploading
2308
2294
  }
2309
2295
  >
2310
2296
  <ActivityIndicator
2311
- animating={true}
2312
2297
  color="#F2F2F2"
2313
- hidesWhenStopped={true}
2314
- size="small"
2315
2298
  testID="upload-progress-indicator"
2316
2299
  />
2317
2300
  </View>
@@ -2319,6 +2302,7 @@ exports[`ImageUploadPreview should render ImageUploadPreview with all uploading
2319
2302
  </View>
2320
2303
  <View
2321
2304
  accessible={true}
2305
+ collapsable={false}
2322
2306
  focusable={true}
2323
2307
  onClick={[Function]}
2324
2308
  onResponderGrant={[Function]}