@react-native/virtualized-lists 0.90.0-nightly-20261118-ebc180e0a → 0.90.0-nightly-20261120-bbfd39149
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/Lists/VirtualizedList.js
CHANGED
|
@@ -612,7 +612,6 @@ class VirtualizedList extends StateSafePureComponent<
|
|
|
612
612
|
}
|
|
613
613
|
|
|
614
614
|
if (__DEV__ && !this._hasWarned.flexWrap) {
|
|
615
|
-
// $FlowFixMe[underconstrained-implicit-instantiation]
|
|
616
615
|
const flatStyles = StyleSheet.flatten(this.props.contentContainerStyle);
|
|
617
616
|
if (flatStyles != null && flatStyles.flexWrap === 'wrap') {
|
|
618
617
|
console.warn(
|
|
@@ -1191,7 +1190,6 @@ class VirtualizedList extends StateSafePureComponent<
|
|
|
1191
1190
|
ListHeaderComponent
|
|
1192
1191
|
) : (
|
|
1193
1192
|
// $FlowFixMe[not-a-component]
|
|
1194
|
-
// $FlowFixMe[incompatible-type]
|
|
1195
1193
|
<ListHeaderComponent />
|
|
1196
1194
|
);
|
|
1197
1195
|
cells.push(
|
|
@@ -1225,7 +1223,6 @@ class VirtualizedList extends StateSafePureComponent<
|
|
|
1225
1223
|
ListEmptyComponent
|
|
1226
1224
|
) : (
|
|
1227
1225
|
// $FlowFixMe[not-a-component]
|
|
1228
|
-
// $FlowFixMe[incompatible-type]
|
|
1229
1226
|
<ListEmptyComponent />
|
|
1230
1227
|
)
|
|
1231
1228
|
) as any;
|
|
@@ -1314,7 +1311,6 @@ class VirtualizedList extends StateSafePureComponent<
|
|
|
1314
1311
|
ListFooterComponent
|
|
1315
1312
|
) : (
|
|
1316
1313
|
// $FlowFixMe[not-a-component]
|
|
1317
|
-
// $FlowFixMe[incompatible-type]
|
|
1318
1314
|
<ListFooterComponent />
|
|
1319
1315
|
);
|
|
1320
1316
|
cells.push(
|
|
@@ -1553,14 +1549,11 @@ class VirtualizedList extends StateSafePureComponent<
|
|
|
1553
1549
|
'`',
|
|
1554
1550
|
);
|
|
1555
1551
|
return (
|
|
1556
|
-
// $FlowFixMe[prop-missing] Invalid prop usage
|
|
1557
|
-
// $FlowFixMe[incompatible-use]
|
|
1558
1552
|
<ScrollView
|
|
1559
1553
|
{...props}
|
|
1560
1554
|
refreshControl={
|
|
1561
1555
|
props.refreshControl == null ? (
|
|
1562
1556
|
<RefreshControl
|
|
1563
|
-
// $FlowFixMe[incompatible-type]
|
|
1564
1557
|
refreshing={props.refreshing}
|
|
1565
1558
|
onRefresh={onRefresh}
|
|
1566
1559
|
progressViewOffset={props.progressViewOffset}
|
|
@@ -1572,8 +1565,6 @@ class VirtualizedList extends StateSafePureComponent<
|
|
|
1572
1565
|
/>
|
|
1573
1566
|
);
|
|
1574
1567
|
} else {
|
|
1575
|
-
// $FlowFixMe[prop-missing] Invalid prop usage
|
|
1576
|
-
// $FlowFixMe[incompatible-use]
|
|
1577
1568
|
return <ScrollView {...props} />;
|
|
1578
1569
|
}
|
|
1579
1570
|
};
|
|
@@ -198,9 +198,7 @@ export default class CellRenderer<ItemT> extends React.PureComponent<
|
|
|
198
198
|
const itemSeparator: React.Node = isValidElement(ItemSeparatorComponent)
|
|
199
199
|
? // $FlowFixMe[incompatible-type]
|
|
200
200
|
ItemSeparatorComponent
|
|
201
|
-
:
|
|
202
|
-
ItemSeparatorComponent && (
|
|
203
|
-
// $FlowFixMe[incompatible-type]
|
|
201
|
+
: ItemSeparatorComponent && (
|
|
204
202
|
// $FlowFixMe[not-a-component]
|
|
205
203
|
<ItemSeparatorComponent {...this.state.separatorProps} />
|
|
206
204
|
);
|
|
@@ -610,7 +610,6 @@ function ItemWithSeparator<ItemT>(
|
|
|
610
610
|
LeadingSeparatorComponent
|
|
611
611
|
) : (
|
|
612
612
|
// $FlowFixMe[not-a-component]
|
|
613
|
-
// $FlowFixMe[incompatible-type]
|
|
614
613
|
<LeadingSeparatorComponent
|
|
615
614
|
highlighted={leadingSeparatorHiglighted}
|
|
616
615
|
{...leadingSeparatorProps}
|
|
@@ -622,7 +621,6 @@ function ItemWithSeparator<ItemT>(
|
|
|
622
621
|
SeparatorComponent
|
|
623
622
|
) : (
|
|
624
623
|
// $FlowFixMe[not-a-component]
|
|
625
|
-
// $FlowFixMe[incompatible-type]
|
|
626
624
|
<SeparatorComponent
|
|
627
625
|
highlighted={separatorHighlighted}
|
|
628
626
|
{...separatorProps}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native/virtualized-lists",
|
|
3
|
-
"version": "0.90.0-nightly-
|
|
3
|
+
"version": "0.90.0-nightly-20261120-bbfd39149",
|
|
4
4
|
"description": "Virtualized lists for React Native.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@types/react": "^19.2.0",
|
|
55
55
|
"react": "*",
|
|
56
|
-
"react-native": "0.90.0-nightly-
|
|
56
|
+
"react-native": "0.90.0-nightly-20261120-bbfd39149"
|
|
57
57
|
},
|
|
58
58
|
"peerDependenciesMeta": {
|
|
59
59
|
"@types/react": {
|