stream-chat-react-native-core 5.13.0-beta.3 → 5.13.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/MessageInput/AttachButton.js +4 -10
- package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/CommandsButton.js +4 -10
- package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendButton.js +7 -7
- package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/MessageInput/AttachButton.js +4 -10
- package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/module/components/MessageInput/CommandsButton.js +4 -10
- package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/module/components/MessageInput/SendButton.js +7 -7
- package/lib/module/components/MessageInput/SendButton.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/package.json +1 -1
- package/src/components/MessageInput/AttachButton.tsx +3 -4
- package/src/components/MessageInput/CommandsButton.tsx +3 -4
- package/src/components/MessageInput/SendButton.tsx +4 -3
- package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +120 -152
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +248 -248
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +182 -214
- package/src/version.json +1 -1
|
@@ -1416,178 +1416,146 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
1416
1416
|
]
|
|
1417
1417
|
}
|
|
1418
1418
|
>
|
|
1419
|
-
<
|
|
1420
|
-
|
|
1421
|
-
delayLongPress={600}
|
|
1422
|
-
enabled={true}
|
|
1423
|
-
exclusive={true}
|
|
1424
|
-
handlerTag={4}
|
|
1425
|
-
handlerType="NativeViewGestureHandler"
|
|
1426
|
-
hitSlop={
|
|
1419
|
+
<View
|
|
1420
|
+
accessibilityState={
|
|
1427
1421
|
Object {
|
|
1428
|
-
"
|
|
1429
|
-
"left": 15,
|
|
1430
|
-
"right": 5,
|
|
1431
|
-
"top": 15,
|
|
1422
|
+
"disabled": false,
|
|
1432
1423
|
}
|
|
1433
1424
|
}
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1425
|
+
accessible={true}
|
|
1426
|
+
collapsable={false}
|
|
1427
|
+
focusable={true}
|
|
1428
|
+
onBlur={[Function]}
|
|
1429
|
+
onClick={[Function]}
|
|
1430
|
+
onFocus={[Function]}
|
|
1431
|
+
onResponderGrant={[Function]}
|
|
1432
|
+
onResponderMove={[Function]}
|
|
1433
|
+
onResponderRelease={[Function]}
|
|
1434
|
+
onResponderTerminate={[Function]}
|
|
1435
|
+
onResponderTerminationRequest={[Function]}
|
|
1436
|
+
onStartShouldSetResponder={[Function]}
|
|
1437
|
+
style={
|
|
1438
|
+
Array [
|
|
1439
|
+
Object {},
|
|
1440
|
+
]
|
|
1441
|
+
}
|
|
1439
1442
|
testID="attach-button"
|
|
1440
|
-
touchSoundDisabled={false}
|
|
1441
1443
|
>
|
|
1442
|
-
<
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
}
|
|
1444
|
+
<RNSVGSvgView
|
|
1445
|
+
align="xMidYMid"
|
|
1446
|
+
bbHeight={24}
|
|
1447
|
+
bbWidth={24}
|
|
1448
|
+
focusable={false}
|
|
1449
|
+
height={24}
|
|
1450
|
+
meetOrSlice={0}
|
|
1451
|
+
minX={0}
|
|
1452
|
+
minY={0}
|
|
1453
|
+
pathFill="#7A7A7A"
|
|
1453
1454
|
style={
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1455
|
+
Array [
|
|
1456
|
+
Object {
|
|
1457
|
+
"backgroundColor": "transparent",
|
|
1458
|
+
"borderWidth": 0,
|
|
1459
|
+
},
|
|
1460
|
+
Object {
|
|
1461
|
+
"flex": 0,
|
|
1462
|
+
"height": 24,
|
|
1463
|
+
"width": 24,
|
|
1464
|
+
},
|
|
1465
|
+
]
|
|
1457
1466
|
}
|
|
1467
|
+
vbHeight={24}
|
|
1468
|
+
vbWidth={24}
|
|
1469
|
+
width={24}
|
|
1458
1470
|
>
|
|
1459
|
-
<
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
Object {
|
|
1476
|
-
"flex": 0,
|
|
1477
|
-
"height": 24,
|
|
1478
|
-
"width": 24,
|
|
1479
|
-
},
|
|
1480
|
-
]
|
|
1481
|
-
}
|
|
1482
|
-
vbHeight={24}
|
|
1483
|
-
vbWidth={24}
|
|
1484
|
-
width={24}
|
|
1485
|
-
>
|
|
1486
|
-
<RNSVGGroup>
|
|
1487
|
-
<RNSVGPath
|
|
1488
|
-
clipRule={0}
|
|
1489
|
-
d="M13.468 2.888a5.07 5.07 0 012.983.635 5.07 5.07 0 012.041 2.265c.45 1.01.546 2.254-.144 3.449l-4.5 7.794a3.232 3.232 0 01-1.427 1.294c-.757.342-1.696.367-2.671-.196-.975-.563-1.422-1.389-1.506-2.215a3.233 3.233 0 01.408-1.883l4-6.928a1 1 0 011.732 1l-4 6.928c-.087.15-.176.425-.15.682.02.196.105.447.516.684.41.237.671.185.85.105.236-.107.43-.32.516-.47l4.5-7.795c.31-.538.29-1.093.049-1.636a3.072 3.072 0 00-1.214-1.346 3.072 3.072 0 00-1.773-.378c-.591.062-1.082.322-1.392.86l-5 8.66c-.654 1.133-.286 3.3 1.964 4.598 2.25 1.3 4.31.535 4.964-.598l3.5-6.062a1 1 0 111.732 1l-3.5 6.062c-1.345 2.33-4.75 3.031-7.696 1.33-2.946-1.7-4.042-5-2.696-7.33l5-8.66c.69-1.195 1.815-1.733 2.914-1.85z"
|
|
1490
|
-
fill={4286216826}
|
|
1491
|
-
fillRule={0}
|
|
1492
|
-
propList={
|
|
1493
|
-
Array [
|
|
1494
|
-
"fill",
|
|
1495
|
-
"fillRule",
|
|
1496
|
-
]
|
|
1497
|
-
}
|
|
1498
|
-
/>
|
|
1499
|
-
</RNSVGGroup>
|
|
1500
|
-
</RNSVGSvgView>
|
|
1501
|
-
</View>
|
|
1502
|
-
</RNGestureHandlerButton>
|
|
1471
|
+
<RNSVGGroup>
|
|
1472
|
+
<RNSVGPath
|
|
1473
|
+
clipRule={0}
|
|
1474
|
+
d="M13.468 2.888a5.07 5.07 0 012.983.635 5.07 5.07 0 012.041 2.265c.45 1.01.546 2.254-.144 3.449l-4.5 7.794a3.232 3.232 0 01-1.427 1.294c-.757.342-1.696.367-2.671-.196-.975-.563-1.422-1.389-1.506-2.215a3.233 3.233 0 01.408-1.883l4-6.928a1 1 0 011.732 1l-4 6.928c-.087.15-.176.425-.15.682.02.196.105.447.516.684.41.237.671.185.85.105.236-.107.43-.32.516-.47l4.5-7.795c.31-.538.29-1.093.049-1.636a3.072 3.072 0 00-1.214-1.346 3.072 3.072 0 00-1.773-.378c-.591.062-1.082.322-1.392.86l-5 8.66c-.654 1.133-.286 3.3 1.964 4.598 2.25 1.3 4.31.535 4.964-.598l3.5-6.062a1 1 0 111.732 1l-3.5 6.062c-1.345 2.33-4.75 3.031-7.696 1.33-2.946-1.7-4.042-5-2.696-7.33l5-8.66c.69-1.195 1.815-1.733 2.914-1.85z"
|
|
1475
|
+
fill={4286216826}
|
|
1476
|
+
fillRule={0}
|
|
1477
|
+
propList={
|
|
1478
|
+
Array [
|
|
1479
|
+
"fill",
|
|
1480
|
+
"fillRule",
|
|
1481
|
+
]
|
|
1482
|
+
}
|
|
1483
|
+
/>
|
|
1484
|
+
</RNSVGGroup>
|
|
1485
|
+
</RNSVGSvgView>
|
|
1486
|
+
</View>
|
|
1503
1487
|
</View>
|
|
1504
1488
|
<View
|
|
1505
1489
|
style={Object {}}
|
|
1506
1490
|
>
|
|
1507
|
-
<
|
|
1508
|
-
|
|
1509
|
-
delayLongPress={600}
|
|
1510
|
-
enabled={true}
|
|
1511
|
-
exclusive={true}
|
|
1512
|
-
handlerTag={5}
|
|
1513
|
-
handlerType="NativeViewGestureHandler"
|
|
1514
|
-
hitSlop={
|
|
1491
|
+
<View
|
|
1492
|
+
accessibilityState={
|
|
1515
1493
|
Object {
|
|
1516
|
-
"
|
|
1517
|
-
"left": 5,
|
|
1518
|
-
"right": 15,
|
|
1519
|
-
"top": 15,
|
|
1494
|
+
"disabled": false,
|
|
1520
1495
|
}
|
|
1521
1496
|
}
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1497
|
+
accessible={true}
|
|
1498
|
+
collapsable={false}
|
|
1499
|
+
focusable={true}
|
|
1500
|
+
onBlur={[Function]}
|
|
1501
|
+
onClick={[Function]}
|
|
1502
|
+
onFocus={[Function]}
|
|
1503
|
+
onResponderGrant={[Function]}
|
|
1504
|
+
onResponderMove={[Function]}
|
|
1505
|
+
onResponderRelease={[Function]}
|
|
1506
|
+
onResponderTerminate={[Function]}
|
|
1507
|
+
onResponderTerminationRequest={[Function]}
|
|
1508
|
+
onStartShouldSetResponder={[Function]}
|
|
1509
|
+
style={
|
|
1510
|
+
Array [
|
|
1511
|
+
Object {},
|
|
1512
|
+
]
|
|
1513
|
+
}
|
|
1527
1514
|
testID="commands-button"
|
|
1528
|
-
touchSoundDisabled={false}
|
|
1529
1515
|
>
|
|
1530
|
-
<
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
}
|
|
1516
|
+
<RNSVGSvgView
|
|
1517
|
+
align="xMidYMid"
|
|
1518
|
+
bbHeight={24}
|
|
1519
|
+
bbWidth={24}
|
|
1520
|
+
focusable={false}
|
|
1521
|
+
height={24}
|
|
1522
|
+
meetOrSlice={0}
|
|
1523
|
+
minX={0}
|
|
1524
|
+
minY={0}
|
|
1525
|
+
pathFill="#7A7A7A"
|
|
1541
1526
|
style={
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1527
|
+
Array [
|
|
1528
|
+
Object {
|
|
1529
|
+
"backgroundColor": "transparent",
|
|
1530
|
+
"borderWidth": 0,
|
|
1531
|
+
},
|
|
1532
|
+
Object {
|
|
1533
|
+
"flex": 0,
|
|
1534
|
+
"height": 24,
|
|
1535
|
+
"width": 24,
|
|
1536
|
+
},
|
|
1537
|
+
]
|
|
1545
1538
|
}
|
|
1539
|
+
vbHeight={24}
|
|
1540
|
+
vbWidth={24}
|
|
1541
|
+
width={24}
|
|
1546
1542
|
>
|
|
1547
|
-
<
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
Object {
|
|
1564
|
-
"flex": 0,
|
|
1565
|
-
"height": 24,
|
|
1566
|
-
"width": 24,
|
|
1567
|
-
},
|
|
1568
|
-
]
|
|
1569
|
-
}
|
|
1570
|
-
vbHeight={24}
|
|
1571
|
-
vbWidth={24}
|
|
1572
|
-
width={24}
|
|
1573
|
-
>
|
|
1574
|
-
<RNSVGGroup>
|
|
1575
|
-
<RNSVGPath
|
|
1576
|
-
clipRule={0}
|
|
1577
|
-
d="M11.636 4H16l-2.91 5.818H16L10.546 20l1.09-7.273H8L11.636 4z"
|
|
1578
|
-
fill={4286216826}
|
|
1579
|
-
fillRule={0}
|
|
1580
|
-
propList={
|
|
1581
|
-
Array [
|
|
1582
|
-
"fill",
|
|
1583
|
-
"fillRule",
|
|
1584
|
-
]
|
|
1585
|
-
}
|
|
1586
|
-
/>
|
|
1587
|
-
</RNSVGGroup>
|
|
1588
|
-
</RNSVGSvgView>
|
|
1589
|
-
</View>
|
|
1590
|
-
</RNGestureHandlerButton>
|
|
1543
|
+
<RNSVGGroup>
|
|
1544
|
+
<RNSVGPath
|
|
1545
|
+
clipRule={0}
|
|
1546
|
+
d="M11.636 4H16l-2.91 5.818H16L10.546 20l1.09-7.273H8L11.636 4z"
|
|
1547
|
+
fill={4286216826}
|
|
1548
|
+
fillRule={0}
|
|
1549
|
+
propList={
|
|
1550
|
+
Array [
|
|
1551
|
+
"fill",
|
|
1552
|
+
"fillRule",
|
|
1553
|
+
]
|
|
1554
|
+
}
|
|
1555
|
+
/>
|
|
1556
|
+
</RNSVGGroup>
|
|
1557
|
+
</RNSVGSvgView>
|
|
1558
|
+
</View>
|
|
1591
1559
|
</View>
|
|
1592
1560
|
</View>
|
|
1593
1561
|
<View
|
|
@@ -1664,74 +1632,74 @@ exports[`Thread should match thread snapshot 1`] = `
|
|
|
1664
1632
|
]
|
|
1665
1633
|
}
|
|
1666
1634
|
>
|
|
1667
|
-
<
|
|
1635
|
+
<View
|
|
1636
|
+
accessibilityState={
|
|
1637
|
+
Object {
|
|
1638
|
+
"disabled": true,
|
|
1639
|
+
}
|
|
1640
|
+
}
|
|
1641
|
+
accessible={true}
|
|
1668
1642
|
collapsable={false}
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1643
|
+
focusable={true}
|
|
1644
|
+
onBlur={[Function]}
|
|
1645
|
+
onClick={[Function]}
|
|
1646
|
+
onFocus={[Function]}
|
|
1647
|
+
onResponderGrant={[Function]}
|
|
1648
|
+
onResponderMove={[Function]}
|
|
1649
|
+
onResponderRelease={[Function]}
|
|
1650
|
+
onResponderTerminate={[Function]}
|
|
1651
|
+
onResponderTerminationRequest={[Function]}
|
|
1652
|
+
onStartShouldSetResponder={[Function]}
|
|
1653
|
+
style={
|
|
1654
|
+
Array [
|
|
1655
|
+
Object {},
|
|
1656
|
+
]
|
|
1657
|
+
}
|
|
1679
1658
|
testID="send-button"
|
|
1680
|
-
touchSoundDisabled={false}
|
|
1681
1659
|
>
|
|
1682
|
-
<
|
|
1683
|
-
|
|
1684
|
-
|
|
1660
|
+
<RNSVGSvgView
|
|
1661
|
+
align="xMidYMid"
|
|
1662
|
+
bbHeight={24}
|
|
1663
|
+
bbWidth={24}
|
|
1664
|
+
focusable={false}
|
|
1665
|
+
height={24}
|
|
1666
|
+
meetOrSlice={0}
|
|
1667
|
+
minX={0}
|
|
1668
|
+
minY={0}
|
|
1669
|
+
pathFill="#DBDBDB"
|
|
1685
1670
|
style={
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1671
|
+
Array [
|
|
1672
|
+
Object {
|
|
1673
|
+
"backgroundColor": "transparent",
|
|
1674
|
+
"borderWidth": 0,
|
|
1675
|
+
},
|
|
1676
|
+
Object {
|
|
1677
|
+
"flex": 0,
|
|
1678
|
+
"height": 24,
|
|
1679
|
+
"width": 24,
|
|
1680
|
+
},
|
|
1681
|
+
]
|
|
1689
1682
|
}
|
|
1683
|
+
vbHeight={24}
|
|
1684
|
+
vbWidth={24}
|
|
1685
|
+
width={24}
|
|
1690
1686
|
>
|
|
1691
|
-
<
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
Object {
|
|
1708
|
-
"flex": 0,
|
|
1709
|
-
"height": 24,
|
|
1710
|
-
"width": 24,
|
|
1711
|
-
},
|
|
1712
|
-
]
|
|
1713
|
-
}
|
|
1714
|
-
vbHeight={24}
|
|
1715
|
-
vbWidth={24}
|
|
1716
|
-
width={24}
|
|
1717
|
-
>
|
|
1718
|
-
<RNSVGGroup>
|
|
1719
|
-
<RNSVGPath
|
|
1720
|
-
clipRule={0}
|
|
1721
|
-
d="M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12s4.48 10 10 10 10-4.48 10-10zM8 11h4V8l4 4-4 4v-3H8v-2z"
|
|
1722
|
-
fill={4292598747}
|
|
1723
|
-
fillRule={0}
|
|
1724
|
-
propList={
|
|
1725
|
-
Array [
|
|
1726
|
-
"fill",
|
|
1727
|
-
"fillRule",
|
|
1728
|
-
]
|
|
1729
|
-
}
|
|
1730
|
-
/>
|
|
1731
|
-
</RNSVGGroup>
|
|
1732
|
-
</RNSVGSvgView>
|
|
1733
|
-
</View>
|
|
1734
|
-
</RNGestureHandlerButton>
|
|
1687
|
+
<RNSVGGroup>
|
|
1688
|
+
<RNSVGPath
|
|
1689
|
+
clipRule={0}
|
|
1690
|
+
d="M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12s4.48 10 10 10 10-4.48 10-10zM8 11h4V8l4 4-4 4v-3H8v-2z"
|
|
1691
|
+
fill={4292598747}
|
|
1692
|
+
fillRule={0}
|
|
1693
|
+
propList={
|
|
1694
|
+
Array [
|
|
1695
|
+
"fill",
|
|
1696
|
+
"fillRule",
|
|
1697
|
+
]
|
|
1698
|
+
}
|
|
1699
|
+
/>
|
|
1700
|
+
</RNSVGGroup>
|
|
1701
|
+
</RNSVGSvgView>
|
|
1702
|
+
</View>
|
|
1735
1703
|
</View>
|
|
1736
1704
|
</View>
|
|
1737
1705
|
<View
|
package/src/version.json
CHANGED