@react-native/virtualized-lists 0.81.0-rc.0 → 0.82.0-nightly-20250711-263ccad3c

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.
@@ -33,6 +33,8 @@ const DEBUG = false;
33
33
 
34
34
  let _listeners: Array<(Info) => void> = [];
35
35
  let _minSampleCount = 10;
36
+ /* $FlowFixMe[constant-condition] Error discovered during Constant Condition
37
+ * roll out. See https://fburl.com/workplace/1v97vimq. */
36
38
  let _sampleRate = DEBUG ? 1 : null;
37
39
 
38
40
  /**
@@ -82,6 +84,8 @@ class FillRateHelper {
82
84
 
83
85
  activate() {
84
86
  if (this._enabled && this._samplesStartTime == null) {
87
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
88
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
85
89
  DEBUG && console.debug('FillRateHelper: activate');
86
90
  this._samplesStartTime = global.performance.now();
87
91
  }
@@ -93,6 +97,8 @@ class FillRateHelper {
93
97
  }
94
98
  const start = this._samplesStartTime; // const for flow
95
99
  if (start == null) {
100
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
101
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
96
102
  DEBUG &&
97
103
  console.debug('FillRateHelper: bail on deactivate with no start time');
98
104
  return;
@@ -107,6 +113,8 @@ class FillRateHelper {
107
113
  ...this._info,
108
114
  total_time_spent,
109
115
  };
116
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
117
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
110
118
  if (DEBUG) {
111
119
  const derived = {
112
120
  avg_blankness: this._info.pixels_blank / this._info.pixels_sampled,
@@ -279,6 +279,8 @@ class VirtualizedList extends StateSafePureComponent<
279
279
  const cartOffset = this._listMetrics.cartesianOffset(
280
280
  offset + this._scrollMetrics.visibleLength,
281
281
  );
282
+ /* $FlowFixMe[constant-condition] Error discovered during Constant
283
+ * Condition roll out. See https://fburl.com/workplace/1v97vimq. */
282
284
  return horizontal ? {x: cartOffset} : {y: cartOffset};
283
285
  } else {
284
286
  return horizontal ? {x: offset} : {y: offset};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/virtualized-lists",
3
- "version": "0.81.0-rc.0",
3
+ "version": "0.82.0-nightly-20250711-263ccad3c",
4
4
  "description": "Virtualized lists for React Native.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<f61be1758ae0ac5c3b456e1351e93910>>
7
+ * @generated SignedSource<<f9c45ce2bdf2e3ee2b9734aa8032542c>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/Lists/CellRenderMask.js
11
11
  */
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<e813b2d289d62a261179b333cb431e6f>>
7
+ * @generated SignedSource<<1ccfec0a0722ba9e0e9fb01d1ed7221c>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/Lists/FillRateHelper.js
11
11
  */
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<993b116aaf2c8d4835bce3f9a4c6392f>>
7
+ * @generated SignedSource<<f623b47d93e1e0fe9b2f92b3e51741b1>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/Lists/ListMetricsAggregator.js
11
11
  */
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<fb3d702a36fcffc782ea82ce81cf27bd>>
7
+ * @generated SignedSource<<e0d2ed06b7508b8127df565e426e1352>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/Lists/StateSafePureComponent.js
11
11
  */
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<c71c6155a6c1167093da67c32c306d07>>
7
+ * @generated SignedSource<<67bb8ff601be8116579df670a6e3ea35>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/Lists/ViewabilityHelper.js
11
11
  */
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<c677afc34af685572670d7d4065a70dc>>
7
+ * @generated SignedSource<<5b235d979a9e973d258802a5a7793f31>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/Lists/VirtualizeUtils.js
11
11
  */
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<8997e25a6b501ab434c0037b6347705b>>
7
+ * @generated SignedSource<<a562ddf8afa2306919e86f1c782188e8>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/Lists/VirtualizedList.js
11
11
  */
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<55bd8debf6bc6068e4368f5b7905b017>>
7
+ * @generated SignedSource<<5da4d2e9b1004fecc8741b0079f83a2f>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/Lists/VirtualizedListContext.js
11
11
  */
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<fcf224b18f3315e5b84e224781b4eeb1>>
7
+ * @generated SignedSource<<1487b2ebc9c47c099e58e22b06d67b3c>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/Lists/VirtualizedListProps.js
11
11
  */
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<ecb7038cddedf7d6444387409ad985d5>>
7
+ * @generated SignedSource<<2b710220e5b29de03c1632453d366ac9>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/Lists/VirtualizedSectionList.js
11
11
  */
12
12
 
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @generated SignedSource<<7cfaaf81455a1bf0b07801c4ebd5200c>>
7
+ * @generated SignedSource<<41975efe8a896e3e8783c422580b8a9b>>
8
8
  *
9
- * This file was translated from Flow by scripts/build-types/index.js.
9
+ * This file was translated from Flow by scripts/js-api/build-types/index.js.
10
10
  * Original file: packages/virtualized-lists/index.js
11
11
  */
12
12