react-virtuoso 2.2.6 → 2.2.9-beta.1

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.
Files changed (140) hide show
  1. package/dist/Grid.d.ts +34 -30
  2. package/dist/List.d.ts +276 -206
  3. package/dist/__examples.cc6a8f9f.js +171814 -0
  4. package/dist/__examples.cc6a8f9f.js.map +1 -0
  5. package/dist/__examples.html +27 -0
  6. package/dist/__examples.js +392 -0
  7. package/dist/__examples.js.map +1 -0
  8. package/dist/align-to-bottom.7fcd2087.js +401 -0
  9. package/dist/align-to-bottom.7fcd2087.js.map +1 -0
  10. package/dist/alignToBottomSystem.d.ts +25 -21
  11. package/dist/at-bottom-detection.a5d019c3.js +447 -0
  12. package/dist/at-bottom-detection.a5d019c3.js.map +1 -0
  13. package/dist/auto-prepend-items.bd7e9b90.js +468 -0
  14. package/dist/auto-prepend-items.bd7e9b90.js.map +1 -0
  15. package/dist/benchmark.66d31485.js +366 -0
  16. package/dist/benchmark.66d31485.js.map +1 -0
  17. package/dist/chat.d4f93b8b.js +570 -0
  18. package/dist/chat.d4f93b8b.js.map +1 -0
  19. package/dist/components.d.ts +12 -6
  20. package/dist/context.a45abc98.js +379 -0
  21. package/dist/context.a45abc98.js.map +1 -0
  22. package/dist/contextSystem.d.ts +4 -0
  23. package/dist/custom-components.5aeaa7ef.js +407 -0
  24. package/dist/custom-components.5aeaa7ef.js.map +1 -0
  25. package/dist/custom-scroller.b0240d14.js +385 -0
  26. package/dist/custom-scroller.b0240d14.js.map +1 -0
  27. package/dist/data.26707046.js +391 -0
  28. package/dist/data.26707046.js.map +1 -0
  29. package/dist/decrease-items.e2211e50.js +385 -0
  30. package/dist/decrease-items.e2211e50.js.map +1 -0
  31. package/dist/default-item-height.b77ada36.js +360 -0
  32. package/dist/default-item-height.b77ada36.js.map +1 -0
  33. package/dist/domIOSystem.d.ts +1 -4
  34. package/dist/empty-placeholder.00607a6e.js +390 -0
  35. package/dist/empty-placeholder.00607a6e.js.map +1 -0
  36. package/dist/end-reached.8531e5b1.js +404 -0
  37. package/dist/end-reached.8531e5b1.js.map +1 -0
  38. package/dist/endless-scrolling.bc4101f0.js +410 -0
  39. package/dist/endless-scrolling.bc4101f0.js.map +1 -0
  40. package/dist/expandable-cards.5439f51b.js +427 -0
  41. package/dist/expandable-cards.5439f51b.js.map +1 -0
  42. package/dist/follow-output.4e36fca8.js +430 -0
  43. package/dist/follow-output.4e36fca8.js.map +1 -0
  44. package/dist/followOutputSystem.d.ts +38 -12
  45. package/dist/grid-optimize-rendering.b49e36f5.js +452 -0
  46. package/dist/grid-optimize-rendering.b49e36f5.js.map +1 -0
  47. package/dist/grid-scroll-seek-placeholder.b2862006.js +415 -0
  48. package/dist/grid-scroll-seek-placeholder.b2862006.js.map +1 -0
  49. package/dist/grid.d5d77b6a.js +449 -0
  50. package/dist/grid.d5d77b6a.js.map +1 -0
  51. package/dist/gridSystem.d.ts +25 -19
  52. package/dist/grouped-endless-scrolling.24985a0f.js +506 -0
  53. package/dist/grouped-endless-scrolling.24985a0f.js.map +1 -0
  54. package/dist/grouped-load-more.bce8f6e4.js +505 -0
  55. package/dist/grouped-load-more.bce8f6e4.js.map +1 -0
  56. package/dist/grouped-topmost-item.34960f5e.js +366 -0
  57. package/dist/grouped-topmost-item.34960f5e.js.map +1 -0
  58. package/dist/grouped.a2908632.js +365 -0
  59. package/dist/grouped.a2908632.js.map +1 -0
  60. package/dist/groupedListSystem.d.ts +2 -2
  61. package/dist/header-footer.49733d45.js +376 -0
  62. package/dist/header-footer.49733d45.js.map +1 -0
  63. package/dist/hello.54765c26.js +360 -0
  64. package/dist/hello.54765c26.js.map +1 -0
  65. package/dist/hooks/useChangedChildSizes.d.ts +1 -1
  66. package/dist/hooks/useScrollTop.d.ts +1 -1
  67. package/dist/index.js +1 -1
  68. package/dist/index.js.map +1 -1
  69. package/dist/index.m.js +1 -1
  70. package/dist/index.m.js.map +1 -1
  71. package/dist/initial-from-zero.22ad1626.js +400 -0
  72. package/dist/initial-from-zero.22ad1626.js.map +1 -0
  73. package/dist/initial-scroll-top.90db1920.js +361 -0
  74. package/dist/initial-scroll-top.90db1920.js.map +1 -0
  75. package/dist/initial-topmost-item-default-height.43a95247.js +362 -0
  76. package/dist/initial-topmost-item-default-height.43a95247.js.map +1 -0
  77. package/dist/initial-topmost-item.61c0e169.js +363 -0
  78. package/dist/initial-topmost-item.61c0e169.js.map +1 -0
  79. package/dist/initialItemCountSystem.d.ts +21 -17
  80. package/dist/initialScrollTopSystem.d.ts +25 -21
  81. package/dist/initialTopMostItemIndexSystem.d.ts +4 -4
  82. package/dist/interfaces.d.ts +11 -5
  83. package/dist/listStateSystem.d.ts +19 -16
  84. package/dist/listSystem.d.ts +256 -193
  85. package/dist/long-last-item.b56ff89c.js +361 -0
  86. package/dist/long-last-item.b56ff89c.js.map +1 -0
  87. package/dist/prepend-items.f2bda34b.js +393 -0
  88. package/dist/prepend-items.f2bda34b.js.map +1 -0
  89. package/dist/prepend-last-tall-item.168a9e65.js +380 -0
  90. package/dist/prepend-last-tall-item.168a9e65.js.map +1 -0
  91. package/dist/react-beautiful-dnd-window-scroller.0a227511.js +485 -0
  92. package/dist/react-beautiful-dnd-window-scroller.0a227511.js.map +1 -0
  93. package/dist/react-beautiful-dnd.817e9251.js +482 -0
  94. package/dist/react-beautiful-dnd.817e9251.js.map +1 -0
  95. package/dist/rerender.ddd61b7c.js +400 -0
  96. package/dist/rerender.ddd61b7c.js.map +1 -0
  97. package/dist/resize-loop.309b1dac.js +388 -0
  98. package/dist/resize-loop.309b1dac.js.map +1 -0
  99. package/dist/resizing-items.c09b5e1b.js +394 -0
  100. package/dist/resizing-items.c09b5e1b.js.map +1 -0
  101. package/dist/scroll-into-view.39b77fe9.js +408 -0
  102. package/dist/scroll-into-view.39b77fe9.js.map +1 -0
  103. package/dist/scroll-seek-placeholder.69fb85c6.js +384 -0
  104. package/dist/scroll-seek-placeholder.69fb85c6.js.map +1 -0
  105. package/dist/scroll-to-index.e72249cf.js +417 -0
  106. package/dist/scroll-to-index.e72249cf.js.map +1 -0
  107. package/dist/scrollIntoViewSystem.d.ts +25 -21
  108. package/dist/scrollSeekSystem.d.ts +9 -7
  109. package/dist/scrollToIndexSystem.d.ts +2 -2
  110. package/dist/sizeRangeSystem.d.ts +3 -3
  111. package/dist/ssr.8f31b042.js +359 -0
  112. package/dist/ssr.8f31b042.js.map +1 -0
  113. package/dist/start-reached.2990ece7.js +424 -0
  114. package/dist/start-reached.2990ece7.js.map +1 -0
  115. package/dist/stateFlagsSystem.d.ts +9 -5
  116. package/dist/tall-item-reverse-scrolling.58bcd140.js +363 -0
  117. package/dist/tall-item-reverse-scrolling.58bcd140.js.map +1 -0
  118. package/dist/test-case-446.dce9595c.js +428 -0
  119. package/dist/test-case-446.dce9595c.js.map +1 -0
  120. package/dist/test-case-460.6d75ad1f.js +451 -0
  121. package/dist/test-case-460.6d75ad1f.js.map +1 -0
  122. package/dist/test-case-463.525f34ba.js +375 -0
  123. package/dist/test-case-463.525f34ba.js.map +1 -0
  124. package/dist/toggle-display-grouped.4f4ae058.js +389 -0
  125. package/dist/toggle-display-grouped.4f4ae058.js.map +1 -0
  126. package/dist/toggle.7047c23e.js +447 -0
  127. package/dist/toggle.7047c23e.js.map +1 -0
  128. package/dist/top-items.f724bf61.js +358 -0
  129. package/dist/top-items.f724bf61.js.map +1 -0
  130. package/dist/topItemCountSystem.d.ts +21 -17
  131. package/dist/totalListHeightSystem.d.ts +23 -19
  132. package/dist/upward-scroll.d49e0815.js +362 -0
  133. package/dist/upward-scroll.d49e0815.js.map +1 -0
  134. package/dist/upwardScrollFixSystem.d.ts +31 -25
  135. package/dist/window-grid.b22094fd.js +439 -0
  136. package/dist/window-grid.b22094fd.js.map +1 -0
  137. package/dist/window-scroller.a979c6d6.js +368 -0
  138. package/dist/window-scroller.a979c6d6.js.map +1 -0
  139. package/dist/windowScrollerSystem.d.ts +2 -2
  140. package/package.json +1 -1
@@ -0,0 +1,363 @@
1
+ // modules are defined as an array
2
+ // [ module function, map of requires ]
3
+ //
4
+ // map of requires is short require name -> numeric require
5
+ //
6
+ // anything defined in a previous bundle is accessed via the
7
+ // orig method which is the require for previous bundles
8
+ parcelRequire = (function (modules, cache, entry, globalName) {
9
+ // Save the require from previous bundle to this closure if any
10
+ var previousRequire = typeof parcelRequire === 'function' && parcelRequire;
11
+ var nodeRequire = typeof require === 'function' && require;
12
+
13
+ function newRequire(name, jumped) {
14
+ if (!cache[name]) {
15
+ if (!modules[name]) {
16
+ // if we cannot find the module within our internal map or
17
+ // cache jump to the current global require ie. the last bundle
18
+ // that was added to the page.
19
+ var currentRequire = typeof parcelRequire === 'function' && parcelRequire;
20
+ if (!jumped && currentRequire) {
21
+ return currentRequire(name, true);
22
+ }
23
+
24
+ // If there are other bundles on this page the require from the
25
+ // previous one is saved to 'previousRequire'. Repeat this as
26
+ // many times as there are bundles until the module is found or
27
+ // we exhaust the require chain.
28
+ if (previousRequire) {
29
+ return previousRequire(name, true);
30
+ }
31
+
32
+ // Try the node require function if it exists.
33
+ if (nodeRequire && typeof name === 'string') {
34
+ return nodeRequire(name);
35
+ }
36
+
37
+ var err = new Error('Cannot find module \'' + name + '\'');
38
+ err.code = 'MODULE_NOT_FOUND';
39
+ throw err;
40
+ }
41
+
42
+ localRequire.resolve = resolve;
43
+ localRequire.cache = {};
44
+
45
+ var module = cache[name] = new newRequire.Module(name);
46
+
47
+ modules[name][0].call(module.exports, localRequire, module, module.exports, this);
48
+ }
49
+
50
+ return cache[name].exports;
51
+
52
+ function localRequire(x){
53
+ return newRequire(localRequire.resolve(x));
54
+ }
55
+
56
+ function resolve(x){
57
+ return modules[name][1][x] || x;
58
+ }
59
+ }
60
+
61
+ function Module(moduleName) {
62
+ this.id = moduleName;
63
+ this.bundle = newRequire;
64
+ this.exports = {};
65
+ }
66
+
67
+ newRequire.isParcelRequire = true;
68
+ newRequire.Module = Module;
69
+ newRequire.modules = modules;
70
+ newRequire.cache = cache;
71
+ newRequire.parent = previousRequire;
72
+ newRequire.register = function (id, exports) {
73
+ modules[id] = [function (require, module) {
74
+ module.exports = exports;
75
+ }, {}];
76
+ };
77
+
78
+ var error;
79
+ for (var i = 0; i < entry.length; i++) {
80
+ try {
81
+ newRequire(entry[i]);
82
+ } catch (e) {
83
+ // Save first error but execute all entries
84
+ if (!error) {
85
+ error = e;
86
+ }
87
+ }
88
+ }
89
+
90
+ if (entry.length) {
91
+ // Expose entry point to Node, AMD or browser globals
92
+ // Based on https://github.com/ForbesLindesay/umd/blob/master/template.js
93
+ var mainExports = newRequire(entry[entry.length - 1]);
94
+
95
+ // CommonJS
96
+ if (typeof exports === "object" && typeof module !== "undefined") {
97
+ module.exports = mainExports;
98
+
99
+ // RequireJS
100
+ } else if (typeof define === "function" && define.amd) {
101
+ define(function () {
102
+ return mainExports;
103
+ });
104
+
105
+ // <script>
106
+ } else if (globalName) {
107
+ this[globalName] = mainExports;
108
+ }
109
+ }
110
+
111
+ // Override the current require with this new one
112
+ parcelRequire = newRequire;
113
+
114
+ if (error) {
115
+ // throw error from earlier, _after updating parcelRequire_
116
+ throw error;
117
+ }
118
+
119
+ return newRequire;
120
+ })({"tall-item-reverse-scrolling.tsx":[function(require,module,exports) {
121
+ "use strict";
122
+
123
+ Object.defineProperty(exports, "__esModule", {
124
+ value: true
125
+ });
126
+ exports.default = App;
127
+
128
+ var React = _interopRequireWildcard(require("react"));
129
+
130
+ var _src = require("../src/");
131
+
132
+ function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }
133
+
134
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
135
+
136
+ function App() {
137
+ return React.createElement(_src.Virtuoso, {
138
+ totalCount: 100,
139
+ itemContent: function itemContent(index) {
140
+ return React.createElement("div", {
141
+ style: {
142
+ border: '1px solid black'
143
+ }
144
+ }, "Item ", index, React.createElement("div", null, Array.from({
145
+ length: index % 2 ? 3 : 20
146
+ }, function (_, i) {
147
+ return React.createElement("div", {
148
+ key: i
149
+ }, "Line ", i);
150
+ })));
151
+ },
152
+ initialTopMostItemIndex: 99,
153
+ style: {
154
+ height: 300
155
+ }
156
+ });
157
+ }
158
+ },{"react":"../node_modules/react/index.js","../src/":"../src/index.tsx"}],"../node_modules/parcel-bundler/src/builtins/hmr-runtime.js":[function(require,module,exports) {
159
+ var global = arguments[3];
160
+ var OVERLAY_ID = '__parcel__error__overlay__';
161
+ var OldModule = module.bundle.Module;
162
+
163
+ function Module(moduleName) {
164
+ OldModule.call(this, moduleName);
165
+ this.hot = {
166
+ data: module.bundle.hotData,
167
+ _acceptCallbacks: [],
168
+ _disposeCallbacks: [],
169
+ accept: function (fn) {
170
+ this._acceptCallbacks.push(fn || function () {});
171
+ },
172
+ dispose: function (fn) {
173
+ this._disposeCallbacks.push(fn);
174
+ }
175
+ };
176
+ module.bundle.hotData = null;
177
+ }
178
+
179
+ module.bundle.Module = Module;
180
+ var checkedAssets, assetsToAccept;
181
+ var parent = module.bundle.parent;
182
+
183
+ if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
184
+ var hostname = "" || location.hostname;
185
+ var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
186
+ var ws = new WebSocket(protocol + '://' + hostname + ':' + "65171" + '/');
187
+
188
+ ws.onmessage = function (event) {
189
+ checkedAssets = {};
190
+ assetsToAccept = [];
191
+ var data = JSON.parse(event.data);
192
+
193
+ if (data.type === 'update') {
194
+ var handled = false;
195
+ data.assets.forEach(function (asset) {
196
+ if (!asset.isNew) {
197
+ var didAccept = hmrAcceptCheck(global.parcelRequire, asset.id);
198
+
199
+ if (didAccept) {
200
+ handled = true;
201
+ }
202
+ }
203
+ }); // Enable HMR for CSS by default.
204
+
205
+ handled = handled || data.assets.every(function (asset) {
206
+ return asset.type === 'css' && asset.generated.js;
207
+ });
208
+
209
+ if (handled) {
210
+ console.clear();
211
+ data.assets.forEach(function (asset) {
212
+ hmrApply(global.parcelRequire, asset);
213
+ });
214
+ assetsToAccept.forEach(function (v) {
215
+ hmrAcceptRun(v[0], v[1]);
216
+ });
217
+ } else if (location.reload) {
218
+ // `location` global exists in a web worker context but lacks `.reload()` function.
219
+ location.reload();
220
+ }
221
+ }
222
+
223
+ if (data.type === 'reload') {
224
+ ws.close();
225
+
226
+ ws.onclose = function () {
227
+ location.reload();
228
+ };
229
+ }
230
+
231
+ if (data.type === 'error-resolved') {
232
+ console.log('[parcel] ✨ Error resolved');
233
+ removeErrorOverlay();
234
+ }
235
+
236
+ if (data.type === 'error') {
237
+ console.error('[parcel] 🚨 ' + data.error.message + '\n' + data.error.stack);
238
+ removeErrorOverlay();
239
+ var overlay = createErrorOverlay(data);
240
+ document.body.appendChild(overlay);
241
+ }
242
+ };
243
+ }
244
+
245
+ function removeErrorOverlay() {
246
+ var overlay = document.getElementById(OVERLAY_ID);
247
+
248
+ if (overlay) {
249
+ overlay.remove();
250
+ }
251
+ }
252
+
253
+ function createErrorOverlay(data) {
254
+ var overlay = document.createElement('div');
255
+ overlay.id = OVERLAY_ID; // html encode message and stack trace
256
+
257
+ var message = document.createElement('div');
258
+ var stackTrace = document.createElement('pre');
259
+ message.innerText = data.error.message;
260
+ stackTrace.innerText = data.error.stack;
261
+ overlay.innerHTML = '<div style="background: black; font-size: 16px; color: white; position: fixed; height: 100%; width: 100%; top: 0px; left: 0px; padding: 30px; opacity: 0.85; font-family: Menlo, Consolas, monospace; z-index: 9999;">' + '<span style="background: red; padding: 2px 4px; border-radius: 2px;">ERROR</span>' + '<span style="top: 2px; margin-left: 5px; position: relative;">🚨</span>' + '<div style="font-size: 18px; font-weight: bold; margin-top: 20px;">' + message.innerHTML + '</div>' + '<pre>' + stackTrace.innerHTML + '</pre>' + '</div>';
262
+ return overlay;
263
+ }
264
+
265
+ function getParents(bundle, id) {
266
+ var modules = bundle.modules;
267
+
268
+ if (!modules) {
269
+ return [];
270
+ }
271
+
272
+ var parents = [];
273
+ var k, d, dep;
274
+
275
+ for (k in modules) {
276
+ for (d in modules[k][1]) {
277
+ dep = modules[k][1][d];
278
+
279
+ if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {
280
+ parents.push(k);
281
+ }
282
+ }
283
+ }
284
+
285
+ if (bundle.parent) {
286
+ parents = parents.concat(getParents(bundle.parent, id));
287
+ }
288
+
289
+ return parents;
290
+ }
291
+
292
+ function hmrApply(bundle, asset) {
293
+ var modules = bundle.modules;
294
+
295
+ if (!modules) {
296
+ return;
297
+ }
298
+
299
+ if (modules[asset.id] || !bundle.parent) {
300
+ var fn = new Function('require', 'module', 'exports', asset.generated.js);
301
+ asset.isNew = !modules[asset.id];
302
+ modules[asset.id] = [fn, asset.deps];
303
+ } else if (bundle.parent) {
304
+ hmrApply(bundle.parent, asset);
305
+ }
306
+ }
307
+
308
+ function hmrAcceptCheck(bundle, id) {
309
+ var modules = bundle.modules;
310
+
311
+ if (!modules) {
312
+ return;
313
+ }
314
+
315
+ if (!modules[id] && bundle.parent) {
316
+ return hmrAcceptCheck(bundle.parent, id);
317
+ }
318
+
319
+ if (checkedAssets[id]) {
320
+ return;
321
+ }
322
+
323
+ checkedAssets[id] = true;
324
+ var cached = bundle.cache[id];
325
+ assetsToAccept.push([bundle, id]);
326
+
327
+ if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
328
+ return true;
329
+ }
330
+
331
+ return getParents(global.parcelRequire, id).some(function (id) {
332
+ return hmrAcceptCheck(global.parcelRequire, id);
333
+ });
334
+ }
335
+
336
+ function hmrAcceptRun(bundle, id) {
337
+ var cached = bundle.cache[id];
338
+ bundle.hotData = {};
339
+
340
+ if (cached) {
341
+ cached.hot.data = bundle.hotData;
342
+ }
343
+
344
+ if (cached && cached.hot && cached.hot._disposeCallbacks.length) {
345
+ cached.hot._disposeCallbacks.forEach(function (cb) {
346
+ cb(bundle.hotData);
347
+ });
348
+ }
349
+
350
+ delete bundle.cache[id];
351
+ bundle(id);
352
+ cached = bundle.cache[id];
353
+
354
+ if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
355
+ cached.hot._acceptCallbacks.forEach(function (cb) {
356
+ cb();
357
+ });
358
+
359
+ return true;
360
+ }
361
+ }
362
+ },{}]},{},["../node_modules/parcel-bundler/src/builtins/hmr-runtime.js"], null)
363
+ //# sourceMappingURL=/tall-item-reverse-scrolling.58bcd140.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["tall-item-reverse-scrolling.tsx"],"names":[],"mappings":";;;;;;;AAAA;;AACA;;;;;;AAEc,SAAU,GAAV,GAAa;AACzB,SACE,KAAA,CAAA,aAAA,CAAC,aAAD,EAAS;AACP,IAAA,UAAU,EAAE,GADL;AAEP,IAAA,WAAW,EAAE,qBAAC,KAAD;AAAA,aACX,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAK,QAAA,KAAK,EAAE;AAAE,UAAA,MAAM,EAAE;AAAV;AAAZ,OAAA,SAAA,EACQ,KADR,EAEE,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA,IAAA,EACG,KAAK,CAAC,IAAN,CAAW;AAAE,QAAA,MAAM,EAAE,KAAK,GAAG,CAAR,GAAY,CAAZ,GAAgB;AAA1B,OAAX,EAA2C,UAAC,CAAD,EAAI,CAAJ;AAAA,eAC1C,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA;AAAK,UAAA,GAAG,EAAE;AAAV,SAAA,SAAA,EAAmB,CAAnB,CAD0C;AAAA,OAA3C,CADH,CAFF,CADW;AAAA,KAFN;AAYP,IAAA,uBAAuB,EAAE,EAZlB;AAaP,IAAA,KAAK,EAAE;AAAE,MAAA,MAAM,EAAE;AAAV;AAbA,GAAT,CADF;AAiBD","file":"tall-item-reverse-scrolling.58bcd140.js","sourceRoot":"../e2e","sourcesContent":["import * as React from 'react'\nimport { Virtuoso } from '../src/'\n\nexport default function App() {\n return (\n <Virtuoso\n totalCount={100}\n itemContent={(index) => (\n <div style={{ border: '1px solid black' }}>\n Item {index}\n <div>\n {Array.from({ length: index % 2 ? 3 : 20 }, (_, i) => (\n <div key={i}>Line {i}</div>\n ))}\n </div>\n </div>\n )}\n initialTopMostItemIndex={99}\n style={{ height: 300 }}\n />\n )\n}\n"]}