stream-chat-react-native-core 4.2.0-beta.2 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/Attachment/FileIcon.js +20 -20
- package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy.js +37 -28
- package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +4 -7
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +183 -173
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +3 -3
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js +3 -3
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getReadStates.js +8 -8
- package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +32 -32
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +9 -9
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/FileIcon.js +20 -20
- package/lib/module/components/Attachment/FileIcon.js.map +1 -1
- package/lib/module/components/Attachment/Giphy.js +37 -28
- package/lib/module/components/Attachment/Giphy.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +4 -7
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +183 -173
- package/lib/module/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +3 -3
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js +3 -3
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/module/components/MessageList/utils/getReadStates.js +8 -8
- package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +32 -32
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +9 -9
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Giphy.d.ts +1 -1
- package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts +2 -3
- package/package.json +12 -10
- package/src/components/Attachment/Giphy.tsx +19 -6
- package/src/components/ImageGallery/components/__tests__/ImageGalleryHeader.test.tsx +14 -4
- package/src/components/Message/MessageSimple/MessageContent.tsx +1 -1
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageReplies.test.js.snap +1 -0
- package/src/components/Message/MessageSimple/utils/renderText.test.tsx +30 -23
- package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +2 -0
- package/src/components/MessageInput/__tests__/__snapshots__/FileUploadPreview.test.js.snap +24 -68
- package/src/components/MessageInput/__tests__/__snapshots__/ImageUploadPreview.test.js.snap +20 -36
- package/src/components/MessageInput/__tests__/__snapshots__/MessageInput.test.js.snap +7 -10
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +4 -0
- package/src/components/MessageInput/__tests__/__snapshots__/UploadProgressIndicator.test.js.snap +1 -3
- package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.js.snap +1 -0
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +10 -7
- package/src/version.json +1 -1
|
@@ -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]}
|
|
@@ -89,6 +89,7 @@ Array [
|
|
|
89
89
|
>
|
|
90
90
|
<View
|
|
91
91
|
accessible={true}
|
|
92
|
+
collapsable={false}
|
|
92
93
|
hitSlop={
|
|
93
94
|
Object {
|
|
94
95
|
"bottom": 15,
|
|
@@ -173,6 +174,7 @@ Array [
|
|
|
173
174
|
>
|
|
174
175
|
<View
|
|
175
176
|
accessible={true}
|
|
177
|
+
collapsable={false}
|
|
176
178
|
hitSlop={
|
|
177
179
|
Object {
|
|
178
180
|
"bottom": 15,
|
|
@@ -265,7 +267,6 @@ Array [
|
|
|
265
267
|
}
|
|
266
268
|
>
|
|
267
269
|
<TextInput
|
|
268
|
-
allowFontScaling={true}
|
|
269
270
|
maxLength={5000}
|
|
270
271
|
multiline={true}
|
|
271
272
|
onBlur={[Function]}
|
|
@@ -274,7 +275,6 @@ Array [
|
|
|
274
275
|
onSelectionChange={[Function]}
|
|
275
276
|
placeholder="Send a message"
|
|
276
277
|
placeholderTextColor="#7A7A7A"
|
|
277
|
-
rejectResponderTermination={true}
|
|
278
278
|
style={
|
|
279
279
|
Array [
|
|
280
280
|
Object {
|
|
@@ -293,7 +293,6 @@ Array [
|
|
|
293
293
|
]
|
|
294
294
|
}
|
|
295
295
|
testID="auto-complete-text-input"
|
|
296
|
-
underlineColorAndroid="transparent"
|
|
297
296
|
value=""
|
|
298
297
|
/>
|
|
299
298
|
</View>
|
|
@@ -323,6 +322,7 @@ Array [
|
|
|
323
322
|
>
|
|
324
323
|
<View
|
|
325
324
|
accessible={true}
|
|
325
|
+
collapsable={false}
|
|
326
326
|
style={
|
|
327
327
|
Object {
|
|
328
328
|
"opacity": 1,
|
|
@@ -404,6 +404,7 @@ Array [
|
|
|
404
404
|
>
|
|
405
405
|
<View
|
|
406
406
|
accessible={true}
|
|
407
|
+
collapsable={false}
|
|
407
408
|
focusable={true}
|
|
408
409
|
hitSlop={
|
|
409
410
|
Object {
|
|
@@ -493,6 +494,7 @@ Array [
|
|
|
493
494
|
</View>
|
|
494
495
|
<View
|
|
495
496
|
accessible={true}
|
|
497
|
+
collapsable={false}
|
|
496
498
|
focusable={true}
|
|
497
499
|
hitSlop={
|
|
498
500
|
Object {
|
|
@@ -570,6 +572,7 @@ Array [
|
|
|
570
572
|
</View>
|
|
571
573
|
<View
|
|
572
574
|
accessible={true}
|
|
575
|
+
collapsable={false}
|
|
573
576
|
focusable={true}
|
|
574
577
|
hitSlop={
|
|
575
578
|
Object {
|
|
@@ -723,17 +726,13 @@ Array [
|
|
|
723
726
|
]
|
|
724
727
|
}
|
|
725
728
|
data={Array []}
|
|
726
|
-
disableVirtualization={false}
|
|
727
729
|
getItem={[Function]}
|
|
728
730
|
getItemCount={[Function]}
|
|
729
|
-
horizontal={false}
|
|
730
|
-
initialNumToRender={10}
|
|
731
731
|
keyExtractor={[Function]}
|
|
732
|
-
maxToRenderPerBatch={10}
|
|
733
732
|
onContentSizeChange={[Function]}
|
|
734
733
|
onEndReached={[Function]}
|
|
735
|
-
onEndReachedThreshold={2}
|
|
736
734
|
onLayout={[Function]}
|
|
735
|
+
onMomentumScrollBegin={[Function]}
|
|
737
736
|
onMomentumScrollEnd={[Function]}
|
|
738
737
|
onScroll={[Function]}
|
|
739
738
|
onScrollBeginDrag={[Function]}
|
|
@@ -742,9 +741,7 @@ Array [
|
|
|
742
741
|
renderItem={[Function]}
|
|
743
742
|
scrollEventThrottle={50}
|
|
744
743
|
stickyHeaderIndices={Array []}
|
|
745
|
-
updateCellsBatchingPeriod={50}
|
|
746
744
|
viewabilityConfigCallbackPairs={Array []}
|
|
747
|
-
windowSize={21}
|
|
748
745
|
>
|
|
749
746
|
<View />
|
|
750
747
|
</RCTScrollView>
|
|
@@ -15,6 +15,7 @@ exports[`SendButton should render a non-editing disabled SendButton 1`] = `
|
|
|
15
15
|
>
|
|
16
16
|
<View
|
|
17
17
|
accessible={true}
|
|
18
|
+
collapsable={false}
|
|
18
19
|
style={
|
|
19
20
|
Object {
|
|
20
21
|
"opacity": 1,
|
|
@@ -82,6 +83,7 @@ exports[`SendButton should render a non-editing enabled SendButton 1`] = `
|
|
|
82
83
|
>
|
|
83
84
|
<View
|
|
84
85
|
accessible={true}
|
|
86
|
+
collapsable={false}
|
|
85
87
|
style={
|
|
86
88
|
Object {
|
|
87
89
|
"opacity": 1,
|
|
@@ -149,6 +151,7 @@ exports[`SendButton should render an editing disabled SendButton 1`] = `
|
|
|
149
151
|
>
|
|
150
152
|
<View
|
|
151
153
|
accessible={true}
|
|
154
|
+
collapsable={false}
|
|
152
155
|
style={
|
|
153
156
|
Object {
|
|
154
157
|
"opacity": 1,
|
|
@@ -216,6 +219,7 @@ exports[`SendButton should render an editing enabled SendButton 1`] = `
|
|
|
216
219
|
>
|
|
217
220
|
<View
|
|
218
221
|
accessible={true}
|
|
222
|
+
collapsable={false}
|
|
219
223
|
style={
|
|
220
224
|
Object {
|
|
221
225
|
"opacity": 1,
|
package/src/components/MessageInput/__tests__/__snapshots__/UploadProgressIndicator.test.js.snap
CHANGED
|
@@ -61,10 +61,7 @@ exports[`UploadProgressIndicator should render an active IN_PROGRESS UploadProgr
|
|
|
61
61
|
}
|
|
62
62
|
>
|
|
63
63
|
<ActivityIndicator
|
|
64
|
-
animating={true}
|
|
65
64
|
color="#F2F2F2"
|
|
66
|
-
hidesWhenStopped={true}
|
|
67
|
-
size="small"
|
|
68
65
|
testID="upload-progress-indicator"
|
|
69
66
|
/>
|
|
70
67
|
</View>
|
|
@@ -121,6 +118,7 @@ exports[`UploadProgressIndicator should render an active RETRY UploadProgressInd
|
|
|
121
118
|
>
|
|
122
119
|
<View
|
|
123
120
|
accessible={true}
|
|
121
|
+
collapsable={false}
|
|
124
122
|
focusable={true}
|
|
125
123
|
onClick={[Function]}
|
|
126
124
|
onResponderGrant={[Function]}
|
|
@@ -134,12 +134,9 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
134
134
|
},
|
|
135
135
|
]
|
|
136
136
|
}
|
|
137
|
-
disableVirtualization={false}
|
|
138
137
|
extraData={false}
|
|
139
138
|
getItem={[Function]}
|
|
140
139
|
getItemCount={[Function]}
|
|
141
|
-
horizontal={false}
|
|
142
|
-
initialNumToRender={10}
|
|
143
140
|
invertStickyHeaders={true}
|
|
144
141
|
inverted={true}
|
|
145
142
|
keyExtractor={[Function]}
|
|
@@ -150,10 +147,9 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
150
147
|
"minIndexForVisible": 1,
|
|
151
148
|
}
|
|
152
149
|
}
|
|
153
|
-
maxToRenderPerBatch={10}
|
|
154
150
|
onContentSizeChange={[Function]}
|
|
155
|
-
onEndReachedThreshold={2}
|
|
156
151
|
onLayout={[Function]}
|
|
152
|
+
onMomentumScrollBegin={[Function]}
|
|
157
153
|
onMomentumScrollEnd={[Function]}
|
|
158
154
|
onScroll={[Function]}
|
|
159
155
|
onScrollBeginDrag={[Function]}
|
|
@@ -184,7 +180,6 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
184
180
|
]
|
|
185
181
|
}
|
|
186
182
|
testID="message-flat-list"
|
|
187
|
-
updateCellsBatchingPeriod={50}
|
|
188
183
|
viewabilityConfig={
|
|
189
184
|
Object {
|
|
190
185
|
"viewAreaCoveragePercentThreshold": 1,
|
|
@@ -200,7 +195,6 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
200
195
|
},
|
|
201
196
|
]
|
|
202
197
|
}
|
|
203
|
-
windowSize={21}
|
|
204
198
|
>
|
|
205
199
|
<View>
|
|
206
200
|
<View
|
|
@@ -339,6 +333,7 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
339
333
|
</View>
|
|
340
334
|
<View
|
|
341
335
|
accessible={true}
|
|
336
|
+
collapsable={false}
|
|
342
337
|
focusable={true}
|
|
343
338
|
onClick={[Function]}
|
|
344
339
|
onResponderGrant={[Function]}
|
|
@@ -586,6 +581,7 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
586
581
|
</View>
|
|
587
582
|
<View
|
|
588
583
|
accessible={true}
|
|
584
|
+
collapsable={false}
|
|
589
585
|
focusable={true}
|
|
590
586
|
onClick={[Function]}
|
|
591
587
|
onResponderGrant={[Function]}
|
|
@@ -833,6 +829,7 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
833
829
|
</View>
|
|
834
830
|
<View
|
|
835
831
|
accessible={true}
|
|
832
|
+
collapsable={false}
|
|
836
833
|
focusable={true}
|
|
837
834
|
onClick={[Function]}
|
|
838
835
|
onResponderGrant={[Function]}
|
|
@@ -1122,7 +1119,13 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
1122
1119
|
</View>
|
|
1123
1120
|
</View>
|
|
1124
1121
|
<View
|
|
1122
|
+
accessibilityState={
|
|
1123
|
+
Object {
|
|
1124
|
+
"disabled": true,
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1125
1127
|
accessible={true}
|
|
1128
|
+
collapsable={false}
|
|
1126
1129
|
focusable={true}
|
|
1127
1130
|
onClick={[Function]}
|
|
1128
1131
|
onResponderGrant={[Function]}
|
package/src/version.json
CHANGED