stream-chat-react-native-core 4.2.0-beta.1 → 4.2.0-beta.4
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/ChannelList/ChannelListMessenger.js +3 -3
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.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/ChannelList/ChannelListMessenger.js +3 -3
- package/lib/module/components/ChannelList/ChannelListMessenger.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 +13 -11
- package/src/components/Attachment/Giphy.tsx +19 -6
- package/src/components/ChannelList/ChannelListMessenger.tsx +0 -1
- 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__/AttachButton.test.js +8 -8
- package/src/components/MessageInput/__tests__/SendButton.test.js +12 -20
- package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +8 -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 +16 -10
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +16 -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]}
|
|
@@ -69,6 +69,9 @@ Array [
|
|
|
69
69
|
>
|
|
70
70
|
<RNGestureHandlerButton
|
|
71
71
|
collapsable={false}
|
|
72
|
+
exclusive={true}
|
|
73
|
+
handlerTag={1}
|
|
74
|
+
handlerType="NativeViewGestureHandler"
|
|
72
75
|
hitSlop={
|
|
73
76
|
Object {
|
|
74
77
|
"bottom": 15,
|
|
@@ -86,6 +89,7 @@ Array [
|
|
|
86
89
|
>
|
|
87
90
|
<View
|
|
88
91
|
accessible={true}
|
|
92
|
+
collapsable={false}
|
|
89
93
|
hitSlop={
|
|
90
94
|
Object {
|
|
91
95
|
"bottom": 15,
|
|
@@ -150,6 +154,9 @@ Array [
|
|
|
150
154
|
>
|
|
151
155
|
<RNGestureHandlerButton
|
|
152
156
|
collapsable={false}
|
|
157
|
+
exclusive={true}
|
|
158
|
+
handlerTag={2}
|
|
159
|
+
handlerType="NativeViewGestureHandler"
|
|
153
160
|
hitSlop={
|
|
154
161
|
Object {
|
|
155
162
|
"bottom": 15,
|
|
@@ -167,6 +174,7 @@ Array [
|
|
|
167
174
|
>
|
|
168
175
|
<View
|
|
169
176
|
accessible={true}
|
|
177
|
+
collapsable={false}
|
|
170
178
|
hitSlop={
|
|
171
179
|
Object {
|
|
172
180
|
"bottom": 15,
|
|
@@ -259,7 +267,6 @@ Array [
|
|
|
259
267
|
}
|
|
260
268
|
>
|
|
261
269
|
<TextInput
|
|
262
|
-
allowFontScaling={true}
|
|
263
270
|
maxLength={5000}
|
|
264
271
|
multiline={true}
|
|
265
272
|
onBlur={[Function]}
|
|
@@ -268,7 +275,6 @@ Array [
|
|
|
268
275
|
onSelectionChange={[Function]}
|
|
269
276
|
placeholder="Send a message"
|
|
270
277
|
placeholderTextColor="#7A7A7A"
|
|
271
|
-
rejectResponderTermination={true}
|
|
272
278
|
style={
|
|
273
279
|
Array [
|
|
274
280
|
Object {
|
|
@@ -287,7 +293,6 @@ Array [
|
|
|
287
293
|
]
|
|
288
294
|
}
|
|
289
295
|
testID="auto-complete-text-input"
|
|
290
|
-
underlineColorAndroid="transparent"
|
|
291
296
|
value=""
|
|
292
297
|
/>
|
|
293
298
|
</View>
|
|
@@ -305,6 +310,9 @@ Array [
|
|
|
305
310
|
>
|
|
306
311
|
<RNGestureHandlerButton
|
|
307
312
|
collapsable={false}
|
|
313
|
+
exclusive={true}
|
|
314
|
+
handlerTag={3}
|
|
315
|
+
handlerType="NativeViewGestureHandler"
|
|
308
316
|
onGestureEvent={[Function]}
|
|
309
317
|
onGestureHandlerEvent={[Function]}
|
|
310
318
|
onGestureHandlerStateChange={[Function]}
|
|
@@ -314,6 +322,7 @@ Array [
|
|
|
314
322
|
>
|
|
315
323
|
<View
|
|
316
324
|
accessible={true}
|
|
325
|
+
collapsable={false}
|
|
317
326
|
style={
|
|
318
327
|
Object {
|
|
319
328
|
"opacity": 1,
|
|
@@ -395,6 +404,7 @@ Array [
|
|
|
395
404
|
>
|
|
396
405
|
<View
|
|
397
406
|
accessible={true}
|
|
407
|
+
collapsable={false}
|
|
398
408
|
focusable={true}
|
|
399
409
|
hitSlop={
|
|
400
410
|
Object {
|
|
@@ -484,6 +494,7 @@ Array [
|
|
|
484
494
|
</View>
|
|
485
495
|
<View
|
|
486
496
|
accessible={true}
|
|
497
|
+
collapsable={false}
|
|
487
498
|
focusable={true}
|
|
488
499
|
hitSlop={
|
|
489
500
|
Object {
|
|
@@ -561,6 +572,7 @@ Array [
|
|
|
561
572
|
</View>
|
|
562
573
|
<View
|
|
563
574
|
accessible={true}
|
|
575
|
+
collapsable={false}
|
|
564
576
|
focusable={true}
|
|
565
577
|
hitSlop={
|
|
566
578
|
Object {
|
|
@@ -714,17 +726,13 @@ Array [
|
|
|
714
726
|
]
|
|
715
727
|
}
|
|
716
728
|
data={Array []}
|
|
717
|
-
disableVirtualization={false}
|
|
718
729
|
getItem={[Function]}
|
|
719
730
|
getItemCount={[Function]}
|
|
720
|
-
horizontal={false}
|
|
721
|
-
initialNumToRender={10}
|
|
722
731
|
keyExtractor={[Function]}
|
|
723
|
-
maxToRenderPerBatch={10}
|
|
724
732
|
onContentSizeChange={[Function]}
|
|
725
733
|
onEndReached={[Function]}
|
|
726
|
-
onEndReachedThreshold={2}
|
|
727
734
|
onLayout={[Function]}
|
|
735
|
+
onMomentumScrollBegin={[Function]}
|
|
728
736
|
onMomentumScrollEnd={[Function]}
|
|
729
737
|
onScroll={[Function]}
|
|
730
738
|
onScrollBeginDrag={[Function]}
|
|
@@ -733,9 +741,7 @@ Array [
|
|
|
733
741
|
renderItem={[Function]}
|
|
734
742
|
scrollEventThrottle={50}
|
|
735
743
|
stickyHeaderIndices={Array []}
|
|
736
|
-
updateCellsBatchingPeriod={50}
|
|
737
744
|
viewabilityConfigCallbackPairs={Array []}
|
|
738
|
-
windowSize={21}
|
|
739
745
|
>
|
|
740
746
|
<View />
|
|
741
747
|
</RCTScrollView>
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
exports[`SendButton should render a non-editing disabled SendButton 1`] = `
|
|
4
4
|
<RNGestureHandlerButton
|
|
5
5
|
collapsable={false}
|
|
6
|
+
exclusive={true}
|
|
7
|
+
handlerTag={2}
|
|
8
|
+
handlerType="NativeViewGestureHandler"
|
|
6
9
|
onGestureEvent={[Function]}
|
|
7
10
|
onGestureHandlerEvent={[Function]}
|
|
8
11
|
onGestureHandlerStateChange={[Function]}
|
|
@@ -12,6 +15,7 @@ exports[`SendButton should render a non-editing disabled SendButton 1`] = `
|
|
|
12
15
|
>
|
|
13
16
|
<View
|
|
14
17
|
accessible={true}
|
|
18
|
+
collapsable={false}
|
|
15
19
|
style={
|
|
16
20
|
Object {
|
|
17
21
|
"opacity": 1,
|
|
@@ -67,6 +71,9 @@ exports[`SendButton should render a non-editing disabled SendButton 1`] = `
|
|
|
67
71
|
exports[`SendButton should render a non-editing enabled SendButton 1`] = `
|
|
68
72
|
<RNGestureHandlerButton
|
|
69
73
|
collapsable={false}
|
|
74
|
+
exclusive={true}
|
|
75
|
+
handlerTag={1}
|
|
76
|
+
handlerType="NativeViewGestureHandler"
|
|
70
77
|
onGestureEvent={[Function]}
|
|
71
78
|
onGestureHandlerEvent={[Function]}
|
|
72
79
|
onGestureHandlerStateChange={[Function]}
|
|
@@ -76,6 +83,7 @@ exports[`SendButton should render a non-editing enabled SendButton 1`] = `
|
|
|
76
83
|
>
|
|
77
84
|
<View
|
|
78
85
|
accessible={true}
|
|
86
|
+
collapsable={false}
|
|
79
87
|
style={
|
|
80
88
|
Object {
|
|
81
89
|
"opacity": 1,
|
|
@@ -131,6 +139,9 @@ exports[`SendButton should render a non-editing enabled SendButton 1`] = `
|
|
|
131
139
|
exports[`SendButton should render an editing disabled SendButton 1`] = `
|
|
132
140
|
<RNGestureHandlerButton
|
|
133
141
|
collapsable={false}
|
|
142
|
+
exclusive={true}
|
|
143
|
+
handlerTag={4}
|
|
144
|
+
handlerType="NativeViewGestureHandler"
|
|
134
145
|
onGestureEvent={[Function]}
|
|
135
146
|
onGestureHandlerEvent={[Function]}
|
|
136
147
|
onGestureHandlerStateChange={[Function]}
|
|
@@ -140,6 +151,7 @@ exports[`SendButton should render an editing disabled SendButton 1`] = `
|
|
|
140
151
|
>
|
|
141
152
|
<View
|
|
142
153
|
accessible={true}
|
|
154
|
+
collapsable={false}
|
|
143
155
|
style={
|
|
144
156
|
Object {
|
|
145
157
|
"opacity": 1,
|
|
@@ -195,6 +207,9 @@ exports[`SendButton should render an editing disabled SendButton 1`] = `
|
|
|
195
207
|
exports[`SendButton should render an editing enabled SendButton 1`] = `
|
|
196
208
|
<RNGestureHandlerButton
|
|
197
209
|
collapsable={false}
|
|
210
|
+
exclusive={true}
|
|
211
|
+
handlerTag={3}
|
|
212
|
+
handlerType="NativeViewGestureHandler"
|
|
198
213
|
onGestureEvent={[Function]}
|
|
199
214
|
onGestureHandlerEvent={[Function]}
|
|
200
215
|
onGestureHandlerStateChange={[Function]}
|
|
@@ -204,6 +219,7 @@ exports[`SendButton should render an editing enabled SendButton 1`] = `
|
|
|
204
219
|
>
|
|
205
220
|
<View
|
|
206
221
|
accessible={true}
|
|
222
|
+
collapsable={false}
|
|
207
223
|
style={
|
|
208
224
|
Object {
|
|
209
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