react-virtuoso 2.2.6-beta.1 → 2.2.6-beta.2

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 (70) hide show
  1. package/dist/List.d.ts +250 -52
  2. package/dist/__examples.cc6a8f9f.js +399 -9991
  3. package/dist/__examples.cc6a8f9f.js.map +1 -1
  4. package/dist/__examples.js +1 -1
  5. package/dist/align-to-bottom.7fcd2087.js +1 -206
  6. package/dist/alignToBottomSystem.d.ts +25 -5
  7. package/dist/auto-prepend-items.bd7e9b90.js +1 -206
  8. package/dist/benchmark.66d31485.js +1 -206
  9. package/dist/chat.d4f93b8b.js +1 -206
  10. package/dist/custom-components.5aeaa7ef.js +1 -206
  11. package/dist/custom-scroller.b0240d14.js +1 -206
  12. package/dist/data.26707046.js +1 -206
  13. package/dist/decrease-items.e2211e50.js +1 -206
  14. package/dist/default-item-height.b77ada36.js +1 -206
  15. package/dist/empty-placeholder.00607a6e.js +1 -206
  16. package/dist/end-reached.8531e5b1.js +1 -206
  17. package/dist/endless-scrolling.bc4101f0.js +1 -206
  18. package/dist/expandable-cards.5439f51b.js +1 -206
  19. package/dist/follow-output.4e36fca8.js +1 -206
  20. package/dist/followOutputSystem.d.ts +25 -5
  21. package/dist/grid-optimize-rendering.b49e36f5.js +1 -206
  22. package/dist/grid.d5d77b6a.js +1 -206
  23. package/dist/grouped-endless-scrolling.24985a0f.js +1 -206
  24. package/dist/grouped-load-more.bce8f6e4.js +1 -206
  25. package/dist/grouped-topmost-item.34960f5e.js +1 -206
  26. package/dist/grouped.a2908632.js +1 -206
  27. package/dist/header-footer.49733d45.js +1 -206
  28. package/dist/hello.54765c26.js +1 -206
  29. package/dist/index.js +1 -1
  30. package/dist/index.js.map +1 -1
  31. package/dist/index.m.js +1 -1
  32. package/dist/index.m.js.map +1 -1
  33. package/dist/initial-from-zero.22ad1626.js +1 -206
  34. package/dist/initial-scroll-top.90db1920.js +1 -206
  35. package/dist/initial-topmost-item-default-height.43a95247.js +1 -206
  36. package/dist/initial-topmost-item.61c0e169.js +3 -208
  37. package/dist/initialItemCountSystem.d.ts +25 -5
  38. package/dist/initialScrollTopSystem.d.ts +25 -5
  39. package/dist/initialTopMostItemIndexSystem.d.ts +25 -3
  40. package/dist/listStateSystem.d.ts +25 -5
  41. package/dist/listSystem.d.ts +250 -52
  42. package/dist/long-last-item.b56ff89c.js +2 -206
  43. package/dist/long-last-item.b56ff89c.js.map +1 -1
  44. package/dist/prepend-items.f2bda34b.js +1 -206
  45. package/dist/prepend-last-tall-item.168a9e65.js +1 -206
  46. package/dist/react-beautiful-dnd-window-scroller.0a227511.js +1 -206
  47. package/dist/react-beautiful-dnd.817e9251.js +1 -206
  48. package/dist/rerender.ddd61b7c.js +1 -206
  49. package/dist/resize-loop.309b1dac.js +1 -206
  50. package/dist/resizing-items.c09b5e1b.js +1 -206
  51. package/dist/scroll-into-view.39b77fe9.js +1 -206
  52. package/dist/scroll-seek-placeholder.69fb85c6.js +1 -206
  53. package/dist/scroll-to-index.e72249cf.js +1 -206
  54. package/dist/scrollIntoViewSystem.d.ts +25 -7
  55. package/dist/scrollToIndexSystem.d.ts +0 -1
  56. package/dist/ssr.8f31b042.js +1 -206
  57. package/dist/start-reached.2990ece7.js +1 -206
  58. package/dist/tall-item-reverse-scrolling.58bcd140.js +1 -206
  59. package/dist/test-case-446.dce9595c.js +1 -206
  60. package/dist/test-case-460.6d75ad1f.js +2 -207
  61. package/dist/test-case-463.525f34ba.js +1 -206
  62. package/dist/toggle-display-grouped.4f4ae058.js +1 -206
  63. package/dist/top-items.f724bf61.js +1 -206
  64. package/dist/topItemCountSystem.d.ts +25 -5
  65. package/dist/totalListHeightSystem.d.ts +25 -5
  66. package/dist/upward-scroll.d49e0815.js +1 -206
  67. package/dist/upwardScrollFixSystem.d.ts +25 -5
  68. package/dist/window-grid.b22094fd.js +1 -206
  69. package/dist/window-scroller.a979c6d6.js +1 -206
  70. package/package.json +1 -1
@@ -192,209 +192,4 @@ function App() {
192
192
  }, item, " ", index);
193
193
  })));
194
194
  }
195
- },{"react":"../node_modules/react/index.js","../src/":"../src/index.tsx"}],"../node_modules/parcel-bundler/src/builtins/hmr-runtime.js":[function(require,module,exports) {
196
- var global = arguments[3];
197
- var OVERLAY_ID = '__parcel__error__overlay__';
198
- var OldModule = module.bundle.Module;
199
-
200
- function Module(moduleName) {
201
- OldModule.call(this, moduleName);
202
- this.hot = {
203
- data: module.bundle.hotData,
204
- _acceptCallbacks: [],
205
- _disposeCallbacks: [],
206
- accept: function (fn) {
207
- this._acceptCallbacks.push(fn || function () {});
208
- },
209
- dispose: function (fn) {
210
- this._disposeCallbacks.push(fn);
211
- }
212
- };
213
- module.bundle.hotData = null;
214
- }
215
-
216
- module.bundle.Module = Module;
217
- var checkedAssets, assetsToAccept;
218
- var parent = module.bundle.parent;
219
-
220
- if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
221
- var hostname = "" || location.hostname;
222
- var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
223
- var ws = new WebSocket(protocol + '://' + hostname + ':' + "60851" + '/');
224
-
225
- ws.onmessage = function (event) {
226
- checkedAssets = {};
227
- assetsToAccept = [];
228
- var data = JSON.parse(event.data);
229
-
230
- if (data.type === 'update') {
231
- var handled = false;
232
- data.assets.forEach(function (asset) {
233
- if (!asset.isNew) {
234
- var didAccept = hmrAcceptCheck(global.parcelRequire, asset.id);
235
-
236
- if (didAccept) {
237
- handled = true;
238
- }
239
- }
240
- }); // Enable HMR for CSS by default.
241
-
242
- handled = handled || data.assets.every(function (asset) {
243
- return asset.type === 'css' && asset.generated.js;
244
- });
245
-
246
- if (handled) {
247
- console.clear();
248
- data.assets.forEach(function (asset) {
249
- hmrApply(global.parcelRequire, asset);
250
- });
251
- assetsToAccept.forEach(function (v) {
252
- hmrAcceptRun(v[0], v[1]);
253
- });
254
- } else if (location.reload) {
255
- // `location` global exists in a web worker context but lacks `.reload()` function.
256
- location.reload();
257
- }
258
- }
259
-
260
- if (data.type === 'reload') {
261
- ws.close();
262
-
263
- ws.onclose = function () {
264
- location.reload();
265
- };
266
- }
267
-
268
- if (data.type === 'error-resolved') {
269
- console.log('[parcel] ✨ Error resolved');
270
- removeErrorOverlay();
271
- }
272
-
273
- if (data.type === 'error') {
274
- console.error('[parcel] 🚨 ' + data.error.message + '\n' + data.error.stack);
275
- removeErrorOverlay();
276
- var overlay = createErrorOverlay(data);
277
- document.body.appendChild(overlay);
278
- }
279
- };
280
- }
281
-
282
- function removeErrorOverlay() {
283
- var overlay = document.getElementById(OVERLAY_ID);
284
-
285
- if (overlay) {
286
- overlay.remove();
287
- }
288
- }
289
-
290
- function createErrorOverlay(data) {
291
- var overlay = document.createElement('div');
292
- overlay.id = OVERLAY_ID; // html encode message and stack trace
293
-
294
- var message = document.createElement('div');
295
- var stackTrace = document.createElement('pre');
296
- message.innerText = data.error.message;
297
- stackTrace.innerText = data.error.stack;
298
- 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>';
299
- return overlay;
300
- }
301
-
302
- function getParents(bundle, id) {
303
- var modules = bundle.modules;
304
-
305
- if (!modules) {
306
- return [];
307
- }
308
-
309
- var parents = [];
310
- var k, d, dep;
311
-
312
- for (k in modules) {
313
- for (d in modules[k][1]) {
314
- dep = modules[k][1][d];
315
-
316
- if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {
317
- parents.push(k);
318
- }
319
- }
320
- }
321
-
322
- if (bundle.parent) {
323
- parents = parents.concat(getParents(bundle.parent, id));
324
- }
325
-
326
- return parents;
327
- }
328
-
329
- function hmrApply(bundle, asset) {
330
- var modules = bundle.modules;
331
-
332
- if (!modules) {
333
- return;
334
- }
335
-
336
- if (modules[asset.id] || !bundle.parent) {
337
- var fn = new Function('require', 'module', 'exports', asset.generated.js);
338
- asset.isNew = !modules[asset.id];
339
- modules[asset.id] = [fn, asset.deps];
340
- } else if (bundle.parent) {
341
- hmrApply(bundle.parent, asset);
342
- }
343
- }
344
-
345
- function hmrAcceptCheck(bundle, id) {
346
- var modules = bundle.modules;
347
-
348
- if (!modules) {
349
- return;
350
- }
351
-
352
- if (!modules[id] && bundle.parent) {
353
- return hmrAcceptCheck(bundle.parent, id);
354
- }
355
-
356
- if (checkedAssets[id]) {
357
- return;
358
- }
359
-
360
- checkedAssets[id] = true;
361
- var cached = bundle.cache[id];
362
- assetsToAccept.push([bundle, id]);
363
-
364
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
365
- return true;
366
- }
367
-
368
- return getParents(global.parcelRequire, id).some(function (id) {
369
- return hmrAcceptCheck(global.parcelRequire, id);
370
- });
371
- }
372
-
373
- function hmrAcceptRun(bundle, id) {
374
- var cached = bundle.cache[id];
375
- bundle.hotData = {};
376
-
377
- if (cached) {
378
- cached.hot.data = bundle.hotData;
379
- }
380
-
381
- if (cached && cached.hot && cached.hot._disposeCallbacks.length) {
382
- cached.hot._disposeCallbacks.forEach(function (cb) {
383
- cb(bundle.hotData);
384
- });
385
- }
386
-
387
- delete bundle.cache[id];
388
- bundle(id);
389
- cached = bundle.cache[id];
390
-
391
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
392
- cached.hot._acceptCallbacks.forEach(function (cb) {
393
- cb();
394
- });
395
-
396
- return true;
397
- }
398
- }
399
- },{}]},{},["../node_modules/parcel-bundler/src/builtins/hmr-runtime.js"], null)
400
- //# sourceMappingURL=/initial-from-zero.22ad1626.js.map
195
+ },{"react":"../node_modules/react/index.js","../src/":"../src/index.tsx"}]},{},[], null)
@@ -153,209 +153,4 @@ function App() {
153
153
  }
154
154
  });
155
155
  }
156
- },{"react":"../node_modules/react/index.js","../src/":"../src/index.tsx"}],"../node_modules/parcel-bundler/src/builtins/hmr-runtime.js":[function(require,module,exports) {
157
- var global = arguments[3];
158
- var OVERLAY_ID = '__parcel__error__overlay__';
159
- var OldModule = module.bundle.Module;
160
-
161
- function Module(moduleName) {
162
- OldModule.call(this, moduleName);
163
- this.hot = {
164
- data: module.bundle.hotData,
165
- _acceptCallbacks: [],
166
- _disposeCallbacks: [],
167
- accept: function (fn) {
168
- this._acceptCallbacks.push(fn || function () {});
169
- },
170
- dispose: function (fn) {
171
- this._disposeCallbacks.push(fn);
172
- }
173
- };
174
- module.bundle.hotData = null;
175
- }
176
-
177
- module.bundle.Module = Module;
178
- var checkedAssets, assetsToAccept;
179
- var parent = module.bundle.parent;
180
-
181
- if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
182
- var hostname = "" || location.hostname;
183
- var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
184
- var ws = new WebSocket(protocol + '://' + hostname + ':' + "60851" + '/');
185
-
186
- ws.onmessage = function (event) {
187
- checkedAssets = {};
188
- assetsToAccept = [];
189
- var data = JSON.parse(event.data);
190
-
191
- if (data.type === 'update') {
192
- var handled = false;
193
- data.assets.forEach(function (asset) {
194
- if (!asset.isNew) {
195
- var didAccept = hmrAcceptCheck(global.parcelRequire, asset.id);
196
-
197
- if (didAccept) {
198
- handled = true;
199
- }
200
- }
201
- }); // Enable HMR for CSS by default.
202
-
203
- handled = handled || data.assets.every(function (asset) {
204
- return asset.type === 'css' && asset.generated.js;
205
- });
206
-
207
- if (handled) {
208
- console.clear();
209
- data.assets.forEach(function (asset) {
210
- hmrApply(global.parcelRequire, asset);
211
- });
212
- assetsToAccept.forEach(function (v) {
213
- hmrAcceptRun(v[0], v[1]);
214
- });
215
- } else if (location.reload) {
216
- // `location` global exists in a web worker context but lacks `.reload()` function.
217
- location.reload();
218
- }
219
- }
220
-
221
- if (data.type === 'reload') {
222
- ws.close();
223
-
224
- ws.onclose = function () {
225
- location.reload();
226
- };
227
- }
228
-
229
- if (data.type === 'error-resolved') {
230
- console.log('[parcel] ✨ Error resolved');
231
- removeErrorOverlay();
232
- }
233
-
234
- if (data.type === 'error') {
235
- console.error('[parcel] 🚨 ' + data.error.message + '\n' + data.error.stack);
236
- removeErrorOverlay();
237
- var overlay = createErrorOverlay(data);
238
- document.body.appendChild(overlay);
239
- }
240
- };
241
- }
242
-
243
- function removeErrorOverlay() {
244
- var overlay = document.getElementById(OVERLAY_ID);
245
-
246
- if (overlay) {
247
- overlay.remove();
248
- }
249
- }
250
-
251
- function createErrorOverlay(data) {
252
- var overlay = document.createElement('div');
253
- overlay.id = OVERLAY_ID; // html encode message and stack trace
254
-
255
- var message = document.createElement('div');
256
- var stackTrace = document.createElement('pre');
257
- message.innerText = data.error.message;
258
- stackTrace.innerText = data.error.stack;
259
- 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>';
260
- return overlay;
261
- }
262
-
263
- function getParents(bundle, id) {
264
- var modules = bundle.modules;
265
-
266
- if (!modules) {
267
- return [];
268
- }
269
-
270
- var parents = [];
271
- var k, d, dep;
272
-
273
- for (k in modules) {
274
- for (d in modules[k][1]) {
275
- dep = modules[k][1][d];
276
-
277
- if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {
278
- parents.push(k);
279
- }
280
- }
281
- }
282
-
283
- if (bundle.parent) {
284
- parents = parents.concat(getParents(bundle.parent, id));
285
- }
286
-
287
- return parents;
288
- }
289
-
290
- function hmrApply(bundle, asset) {
291
- var modules = bundle.modules;
292
-
293
- if (!modules) {
294
- return;
295
- }
296
-
297
- if (modules[asset.id] || !bundle.parent) {
298
- var fn = new Function('require', 'module', 'exports', asset.generated.js);
299
- asset.isNew = !modules[asset.id];
300
- modules[asset.id] = [fn, asset.deps];
301
- } else if (bundle.parent) {
302
- hmrApply(bundle.parent, asset);
303
- }
304
- }
305
-
306
- function hmrAcceptCheck(bundle, id) {
307
- var modules = bundle.modules;
308
-
309
- if (!modules) {
310
- return;
311
- }
312
-
313
- if (!modules[id] && bundle.parent) {
314
- return hmrAcceptCheck(bundle.parent, id);
315
- }
316
-
317
- if (checkedAssets[id]) {
318
- return;
319
- }
320
-
321
- checkedAssets[id] = true;
322
- var cached = bundle.cache[id];
323
- assetsToAccept.push([bundle, id]);
324
-
325
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
326
- return true;
327
- }
328
-
329
- return getParents(global.parcelRequire, id).some(function (id) {
330
- return hmrAcceptCheck(global.parcelRequire, id);
331
- });
332
- }
333
-
334
- function hmrAcceptRun(bundle, id) {
335
- var cached = bundle.cache[id];
336
- bundle.hotData = {};
337
-
338
- if (cached) {
339
- cached.hot.data = bundle.hotData;
340
- }
341
-
342
- if (cached && cached.hot && cached.hot._disposeCallbacks.length) {
343
- cached.hot._disposeCallbacks.forEach(function (cb) {
344
- cb(bundle.hotData);
345
- });
346
- }
347
-
348
- delete bundle.cache[id];
349
- bundle(id);
350
- cached = bundle.cache[id];
351
-
352
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
353
- cached.hot._acceptCallbacks.forEach(function (cb) {
354
- cb();
355
- });
356
-
357
- return true;
358
- }
359
- }
360
- },{}]},{},["../node_modules/parcel-bundler/src/builtins/hmr-runtime.js"], null)
361
- //# sourceMappingURL=/initial-scroll-top.90db1920.js.map
156
+ },{"react":"../node_modules/react/index.js","../src/":"../src/index.tsx"}]},{},[], null)
@@ -154,209 +154,4 @@ function App() {
154
154
  }
155
155
  }));
156
156
  }
157
- },{"react":"../node_modules/react/index.js","../src":"../src/index.tsx"}],"../node_modules/parcel-bundler/src/builtins/hmr-runtime.js":[function(require,module,exports) {
158
- var global = arguments[3];
159
- var OVERLAY_ID = '__parcel__error__overlay__';
160
- var OldModule = module.bundle.Module;
161
-
162
- function Module(moduleName) {
163
- OldModule.call(this, moduleName);
164
- this.hot = {
165
- data: module.bundle.hotData,
166
- _acceptCallbacks: [],
167
- _disposeCallbacks: [],
168
- accept: function (fn) {
169
- this._acceptCallbacks.push(fn || function () {});
170
- },
171
- dispose: function (fn) {
172
- this._disposeCallbacks.push(fn);
173
- }
174
- };
175
- module.bundle.hotData = null;
176
- }
177
-
178
- module.bundle.Module = Module;
179
- var checkedAssets, assetsToAccept;
180
- var parent = module.bundle.parent;
181
-
182
- if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {
183
- var hostname = "" || location.hostname;
184
- var protocol = location.protocol === 'https:' ? 'wss' : 'ws';
185
- var ws = new WebSocket(protocol + '://' + hostname + ':' + "60851" + '/');
186
-
187
- ws.onmessage = function (event) {
188
- checkedAssets = {};
189
- assetsToAccept = [];
190
- var data = JSON.parse(event.data);
191
-
192
- if (data.type === 'update') {
193
- var handled = false;
194
- data.assets.forEach(function (asset) {
195
- if (!asset.isNew) {
196
- var didAccept = hmrAcceptCheck(global.parcelRequire, asset.id);
197
-
198
- if (didAccept) {
199
- handled = true;
200
- }
201
- }
202
- }); // Enable HMR for CSS by default.
203
-
204
- handled = handled || data.assets.every(function (asset) {
205
- return asset.type === 'css' && asset.generated.js;
206
- });
207
-
208
- if (handled) {
209
- console.clear();
210
- data.assets.forEach(function (asset) {
211
- hmrApply(global.parcelRequire, asset);
212
- });
213
- assetsToAccept.forEach(function (v) {
214
- hmrAcceptRun(v[0], v[1]);
215
- });
216
- } else if (location.reload) {
217
- // `location` global exists in a web worker context but lacks `.reload()` function.
218
- location.reload();
219
- }
220
- }
221
-
222
- if (data.type === 'reload') {
223
- ws.close();
224
-
225
- ws.onclose = function () {
226
- location.reload();
227
- };
228
- }
229
-
230
- if (data.type === 'error-resolved') {
231
- console.log('[parcel] ✨ Error resolved');
232
- removeErrorOverlay();
233
- }
234
-
235
- if (data.type === 'error') {
236
- console.error('[parcel] 🚨 ' + data.error.message + '\n' + data.error.stack);
237
- removeErrorOverlay();
238
- var overlay = createErrorOverlay(data);
239
- document.body.appendChild(overlay);
240
- }
241
- };
242
- }
243
-
244
- function removeErrorOverlay() {
245
- var overlay = document.getElementById(OVERLAY_ID);
246
-
247
- if (overlay) {
248
- overlay.remove();
249
- }
250
- }
251
-
252
- function createErrorOverlay(data) {
253
- var overlay = document.createElement('div');
254
- overlay.id = OVERLAY_ID; // html encode message and stack trace
255
-
256
- var message = document.createElement('div');
257
- var stackTrace = document.createElement('pre');
258
- message.innerText = data.error.message;
259
- stackTrace.innerText = data.error.stack;
260
- 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>';
261
- return overlay;
262
- }
263
-
264
- function getParents(bundle, id) {
265
- var modules = bundle.modules;
266
-
267
- if (!modules) {
268
- return [];
269
- }
270
-
271
- var parents = [];
272
- var k, d, dep;
273
-
274
- for (k in modules) {
275
- for (d in modules[k][1]) {
276
- dep = modules[k][1][d];
277
-
278
- if (dep === id || Array.isArray(dep) && dep[dep.length - 1] === id) {
279
- parents.push(k);
280
- }
281
- }
282
- }
283
-
284
- if (bundle.parent) {
285
- parents = parents.concat(getParents(bundle.parent, id));
286
- }
287
-
288
- return parents;
289
- }
290
-
291
- function hmrApply(bundle, asset) {
292
- var modules = bundle.modules;
293
-
294
- if (!modules) {
295
- return;
296
- }
297
-
298
- if (modules[asset.id] || !bundle.parent) {
299
- var fn = new Function('require', 'module', 'exports', asset.generated.js);
300
- asset.isNew = !modules[asset.id];
301
- modules[asset.id] = [fn, asset.deps];
302
- } else if (bundle.parent) {
303
- hmrApply(bundle.parent, asset);
304
- }
305
- }
306
-
307
- function hmrAcceptCheck(bundle, id) {
308
- var modules = bundle.modules;
309
-
310
- if (!modules) {
311
- return;
312
- }
313
-
314
- if (!modules[id] && bundle.parent) {
315
- return hmrAcceptCheck(bundle.parent, id);
316
- }
317
-
318
- if (checkedAssets[id]) {
319
- return;
320
- }
321
-
322
- checkedAssets[id] = true;
323
- var cached = bundle.cache[id];
324
- assetsToAccept.push([bundle, id]);
325
-
326
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
327
- return true;
328
- }
329
-
330
- return getParents(global.parcelRequire, id).some(function (id) {
331
- return hmrAcceptCheck(global.parcelRequire, id);
332
- });
333
- }
334
-
335
- function hmrAcceptRun(bundle, id) {
336
- var cached = bundle.cache[id];
337
- bundle.hotData = {};
338
-
339
- if (cached) {
340
- cached.hot.data = bundle.hotData;
341
- }
342
-
343
- if (cached && cached.hot && cached.hot._disposeCallbacks.length) {
344
- cached.hot._disposeCallbacks.forEach(function (cb) {
345
- cb(bundle.hotData);
346
- });
347
- }
348
-
349
- delete bundle.cache[id];
350
- bundle(id);
351
- cached = bundle.cache[id];
352
-
353
- if (cached && cached.hot && cached.hot._acceptCallbacks.length) {
354
- cached.hot._acceptCallbacks.forEach(function (cb) {
355
- cb();
356
- });
357
-
358
- return true;
359
- }
360
- }
361
- },{}]},{},["../node_modules/parcel-bundler/src/builtins/hmr-runtime.js"], null)
362
- //# sourceMappingURL=/initial-topmost-item-default-height.43a95247.js.map
157
+ },{"react":"../node_modules/react/index.js","../src":"../src/index.tsx"}]},{},[], null)