@pixui-dev/pxw 0.1.20 → 0.1.21

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 (95) hide show
  1. package/bin/pxw.js +199 -199
  2. package/bin/wpbuild.js +10 -10
  3. package/config/default.conf +20 -20
  4. package/config/devops.js +372 -361
  5. package/config/h5es.js +10 -10
  6. package/config/index.html +183 -181
  7. package/config/pfbs.js +245 -245
  8. package/config/util.js +140 -140
  9. package/config/webpack.js +325 -309
  10. package/lib/assets/check.html +62 -62
  11. package/lib/assets/preact.js +4354 -4354
  12. package/lib/check/main.less +62 -62
  13. package/lib/check/main.tsx +41 -41
  14. package/lib/check/tool.js +3 -3
  15. package/lib/check/util.tsx +110 -110
  16. package/lib/grpc-web/dist/ChunkParser.js +117 -117
  17. package/lib/grpc-web/dist/Code.js +58 -58
  18. package/lib/grpc-web/dist/client.js +299 -299
  19. package/lib/grpc-web/dist/debug.js +16 -16
  20. package/lib/grpc-web/dist/detach.js +7 -7
  21. package/lib/grpc-web/dist/index.js +29 -29
  22. package/lib/grpc-web/dist/invoke.js +32 -32
  23. package/lib/grpc-web/dist/message.js +3 -3
  24. package/lib/grpc-web/dist/metadata.js +5 -5
  25. package/lib/grpc-web/dist/service.js +3 -3
  26. package/lib/grpc-web/dist/transports/Transport.js +15 -15
  27. package/lib/grpc-web/dist/transports/http/fetch.js +117 -117
  28. package/lib/grpc-web/dist/transports/http/http.js +15 -15
  29. package/lib/grpc-web/dist/transports/http/xhr.js +136 -136
  30. package/lib/grpc-web/dist/transports/http/xhrUtil.js +36 -36
  31. package/lib/grpc-web/dist/transports/websocket/websocket.js +95 -95
  32. package/lib/grpc-web/dist/typings/ChunkParser.d.ts +17 -17
  33. package/lib/grpc-web/dist/typings/Code.d.ts +20 -20
  34. package/lib/grpc-web/dist/typings/client.d.ts +25 -25
  35. package/lib/grpc-web/dist/typings/debug.d.ts +1 -1
  36. package/lib/grpc-web/dist/typings/detach.d.ts +1 -1
  37. package/lib/grpc-web/dist/typings/index.d.ts +45 -45
  38. package/lib/grpc-web/dist/typings/invoke.d.ts +20 -20
  39. package/lib/grpc-web/dist/typings/message.d.ts +8 -8
  40. package/lib/grpc-web/dist/typings/metadata.d.ts +2 -2
  41. package/lib/grpc-web/dist/typings/service.d.ts +16 -16
  42. package/lib/grpc-web/dist/typings/transports/Transport.d.ts +22 -22
  43. package/lib/grpc-web/dist/typings/transports/http/fetch.d.ts +6 -6
  44. package/lib/grpc-web/dist/typings/transports/http/http.d.ts +5 -5
  45. package/lib/grpc-web/dist/typings/transports/http/xhr.d.ts +27 -27
  46. package/lib/grpc-web/dist/typings/transports/http/xhrUtil.d.ts +3 -3
  47. package/lib/grpc-web/dist/typings/transports/websocket/websocket.d.ts +2 -2
  48. package/lib/grpc-web/dist/typings/unary.d.ts +23 -23
  49. package/lib/grpc-web/dist/typings/util.d.ts +2 -2
  50. package/lib/grpc-web/dist/unary.js +44 -44
  51. package/lib/grpc-web/dist/util.js +11 -11
  52. package/lib/grpcTransport/PixHttp2Transport.ts +107 -107
  53. package/lib/grpcTransport/PixLuaTransport.ts +82 -82
  54. package/lib/h5es-types/v1.9.2/h5es.d.ts +1698 -1698
  55. package/lib/h5es-types/v3.5.0/h5es.d.ts +1788 -1788
  56. package/lib/pi_component/tinyList/tinyList.js +483 -483
  57. package/lib/pi_component/tinyList/tinyList.tsx +517 -517
  58. package/lib/preact-router.js +395 -395
  59. package/lib/preact.js +4355 -4355
  60. package/lib/preact.tq.js +4385 -4385
  61. package/lib/react-window/src/FixedSizeGrid.js +172 -172
  62. package/lib/react-window/src/FixedSizeList.js +91 -91
  63. package/lib/react-window/src/VariableSizeGrid.js +329 -329
  64. package/lib/react-window/src/VariableSizeList.js +231 -231
  65. package/lib/react-window/src/__tests__/FixedSizeGrid.js +942 -942
  66. package/lib/react-window/src/__tests__/FixedSizeList.js +749 -749
  67. package/lib/react-window/src/__tests__/VariableSizeGrid.js +598 -598
  68. package/lib/react-window/src/__tests__/VariableSizeList.js +345 -345
  69. package/lib/react-window/src/__tests__/__snapshots__/FixedSizeGrid.js.snap +912 -912
  70. package/lib/react-window/src/__tests__/__snapshots__/FixedSizeList.js.snap +568 -568
  71. package/lib/react-window/src/__tests__/__snapshots__/VariableSizeGrid.js.snap +542 -542
  72. package/lib/react-window/src/__tests__/__snapshots__/VariableSizeList.js.snap +331 -331
  73. package/lib/react-window/src/__tests__/areEqual.js +28 -28
  74. package/lib/react-window/src/__tests__/shouldComponentUpdate.js +32 -32
  75. package/lib/react-window/src/areEqual.js +13 -13
  76. package/lib/react-window/src/createGridComponent.js +657 -657
  77. package/lib/react-window/src/createListComponent.js +574 -574
  78. package/lib/react-window/src/domHelpers.js +69 -69
  79. package/lib/react-window/src/index.js +9 -9
  80. package/lib/react-window/src/shallowDiffers.js +17 -17
  81. package/lib/react-window/src/shouldComponentUpdate.js +11 -11
  82. package/lib/react-window/src/test.js.flow +382 -382
  83. package/lib/react-window/src/timer.js +36 -36
  84. package/lib/types/dom.ts +17 -17
  85. package/lib/types/ext.d.ts +81 -81
  86. package/lib/types/preact/css.d.ts +7476 -7476
  87. package/lib/types/preact/index.d.ts +340 -340
  88. package/lib/types/preact/internal.d.ts +94 -94
  89. package/lib/types/preact/jsx.d.ts +309 -309
  90. package/lib/types/preact-router/index.d.ts +84 -84
  91. package/package.json +113 -113
  92. package/scripts/pack.js +40 -40
  93. package/scripts/postinstall.js +11 -11
  94. package/scripts/run-pxw.js +12 -12
  95. package/tsconfig.json +30 -30
@@ -1,912 +1,912 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`FixedSizeGrid changing item size updates the rendered items 1`] = `
4
- Array [
5
- Array [
6
- Object {
7
- "overscanColumnStartIndex": 0,
8
- "overscanColumnStopIndex": 2,
9
- "overscanRowStartIndex": 0,
10
- "overscanRowStopIndex": 4,
11
- "visibleColumnStartIndex": 0,
12
- "visibleColumnStopIndex": 1,
13
- "visibleRowStartIndex": 0,
14
- "visibleRowStopIndex": 3,
15
- },
16
- ],
17
- Array [
18
- Object {
19
- "overscanColumnStartIndex": 0,
20
- "overscanColumnStopIndex": 2,
21
- "overscanRowStartIndex": 0,
22
- "overscanRowStopIndex": 2,
23
- "visibleColumnStartIndex": 0,
24
- "visibleColumnStopIndex": 1,
25
- "visibleRowStartIndex": 0,
26
- "visibleRowStopIndex": 1,
27
- },
28
- ],
29
- ]
30
- `;
31
-
32
- exports[`FixedSizeGrid onScroll scrolling should report partial items correctly in onItemsRendered 1`] = `
33
- Array [
34
- Array [
35
- Object {
36
- "overscanColumnStartIndex": 0,
37
- "overscanColumnStopIndex": 3,
38
- "overscanRowStartIndex": 0,
39
- "overscanRowStopIndex": 5,
40
- "visibleColumnStartIndex": 0,
41
- "visibleColumnStopIndex": 2,
42
- "visibleRowStartIndex": 0,
43
- "visibleRowStopIndex": 4,
44
- },
45
- ],
46
- Array [
47
- Object {
48
- "overscanColumnStartIndex": 0,
49
- "overscanColumnStopIndex": 4,
50
- "overscanRowStartIndex": 0,
51
- "overscanRowStopIndex": 6,
52
- "visibleColumnStartIndex": 1,
53
- "visibleColumnStopIndex": 3,
54
- "visibleRowStartIndex": 1,
55
- "visibleRowStopIndex": 5,
56
- },
57
- ],
58
- Array [
59
- Object {
60
- "overscanColumnStartIndex": 1,
61
- "overscanColumnStopIndex": 4,
62
- "overscanRowStartIndex": 1,
63
- "overscanRowStopIndex": 6,
64
- "visibleColumnStartIndex": 2,
65
- "visibleColumnStopIndex": 3,
66
- "visibleRowStartIndex": 2,
67
- "visibleRowStopIndex": 5,
68
- },
69
- ],
70
- Array [
71
- Object {
72
- "overscanColumnStartIndex": 0,
73
- "overscanColumnStopIndex": 4,
74
- "overscanRowStartIndex": 0,
75
- "overscanRowStopIndex": 6,
76
- "visibleColumnStartIndex": 1,
77
- "visibleColumnStopIndex": 3,
78
- "visibleRowStartIndex": 1,
79
- "visibleRowStopIndex": 5,
80
- },
81
- ],
82
- Array [
83
- Object {
84
- "overscanColumnStartIndex": 96,
85
- "overscanColumnStopIndex": 99,
86
- "overscanRowStartIndex": 94,
87
- "overscanRowStopIndex": 99,
88
- "visibleColumnStartIndex": 97,
89
- "visibleColumnStopIndex": 99,
90
- "visibleRowStartIndex": 95,
91
- "visibleRowStopIndex": 99,
92
- },
93
- ],
94
- Array [
95
- Object {
96
- "overscanColumnStartIndex": 97,
97
- "overscanColumnStopIndex": 99,
98
- "overscanRowStartIndex": 95,
99
- "overscanRowStopIndex": 99,
100
- "visibleColumnStartIndex": 98,
101
- "visibleColumnStopIndex": 99,
102
- "visibleRowStartIndex": 96,
103
- "visibleRowStopIndex": 99,
104
- },
105
- ],
106
- Array [
107
- Object {
108
- "overscanColumnStartIndex": 96,
109
- "overscanColumnStopIndex": 99,
110
- "overscanRowStartIndex": 94,
111
- "overscanRowStopIndex": 99,
112
- "visibleColumnStartIndex": 97,
113
- "visibleColumnStopIndex": 99,
114
- "visibleRowStartIndex": 95,
115
- "visibleRowStopIndex": 99,
116
- },
117
- ],
118
- ]
119
- `;
120
-
121
- exports[`FixedSizeGrid onScroll should call onScroll after mount 1`] = `
122
- Array [
123
- Array [
124
- Object {
125
- "horizontalScrollDirection": "forward",
126
- "scrollLeft": 0,
127
- "scrollTop": 0,
128
- "scrollUpdateWasRequested": false,
129
- "verticalScrollDirection": "forward",
130
- },
131
- ],
132
- ]
133
- `;
134
-
135
- exports[`FixedSizeGrid onScroll should call onScroll when scroll position changes 1`] = `
136
- Array [
137
- Array [
138
- Object {
139
- "horizontalScrollDirection": "forward",
140
- "scrollLeft": 0,
141
- "scrollTop": 0,
142
- "scrollUpdateWasRequested": false,
143
- "verticalScrollDirection": "forward",
144
- },
145
- ],
146
- Array [
147
- Object {
148
- "horizontalScrollDirection": "forward",
149
- "scrollLeft": 100,
150
- "scrollTop": 50,
151
- "scrollUpdateWasRequested": true,
152
- "verticalScrollDirection": "forward",
153
- },
154
- ],
155
- Array [
156
- Object {
157
- "horizontalScrollDirection": "backward",
158
- "scrollLeft": 0,
159
- "scrollTop": 150,
160
- "scrollUpdateWasRequested": true,
161
- "verticalScrollDirection": "forward",
162
- },
163
- ],
164
- Array [
165
- Object {
166
- "horizontalScrollDirection": "forward",
167
- "scrollLeft": 150,
168
- "scrollTop": 0,
169
- "scrollUpdateWasRequested": true,
170
- "verticalScrollDirection": "backward",
171
- },
172
- ],
173
- ]
174
- `;
175
-
176
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount overscanCount should support deprecated overscanColumnsCount and overscanRowsCount 1`] = `
177
- Array [
178
- Array [
179
- Object {
180
- "overscanColumnStartIndex": 0,
181
- "overscanColumnStopIndex": 4,
182
- "overscanRowStartIndex": 2,
183
- "overscanRowStopIndex": 9,
184
- "visibleColumnStartIndex": 1,
185
- "visibleColumnStopIndex": 2,
186
- "visibleRowStartIndex": 4,
187
- "visibleRowStopIndex": 7,
188
- },
189
- ],
190
- ]
191
- `;
192
-
193
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount overscanCount should support deprecated overscanCount 1`] = `
194
- Array [
195
- Array [
196
- Object {
197
- "overscanColumnStartIndex": 0,
198
- "overscanColumnStopIndex": 4,
199
- "overscanRowStartIndex": 2,
200
- "overscanRowStopIndex": 9,
201
- "visibleColumnStartIndex": 1,
202
- "visibleColumnStopIndex": 2,
203
- "visibleRowStartIndex": 4,
204
- "visibleRowStopIndex": 7,
205
- },
206
- ],
207
- ]
208
- `;
209
-
210
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount overscanCount should use overscanColumnCount and overscanRowCount if both them and deprecated props are provided 1`] = `
211
- Array [
212
- Array [
213
- Object {
214
- "overscanColumnStartIndex": 0,
215
- "overscanColumnStopIndex": 5,
216
- "overscanRowStartIndex": 1,
217
- "overscanRowStopIndex": 10,
218
- "visibleColumnStartIndex": 1,
219
- "visibleColumnStopIndex": 2,
220
- "visibleRowStartIndex": 4,
221
- "visibleRowStopIndex": 7,
222
- },
223
- ],
224
- ]
225
- `;
226
-
227
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount overscanCount should use overscanColumnsCount if both it and overscanCount are provided 1`] = `
228
- Array [
229
- Array [
230
- Object {
231
- "overscanColumnStartIndex": 0,
232
- "overscanColumnStopIndex": 5,
233
- "overscanRowStartIndex": 2,
234
- "overscanRowStopIndex": 9,
235
- "visibleColumnStartIndex": 1,
236
- "visibleColumnStopIndex": 2,
237
- "visibleRowStartIndex": 4,
238
- "visibleRowStopIndex": 7,
239
- },
240
- ],
241
- ]
242
- `;
243
-
244
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount overscanCount should use overscanRowCount if both it and overscanCount are provided 1`] = `
245
- Array [
246
- Array [
247
- Object {
248
- "overscanColumnStartIndex": 0,
249
- "overscanColumnStopIndex": 4,
250
- "overscanRowStartIndex": 1,
251
- "overscanRowStopIndex": 10,
252
- "visibleColumnStartIndex": 1,
253
- "visibleColumnStopIndex": 2,
254
- "visibleRowStartIndex": 4,
255
- "visibleRowStopIndex": 7,
256
- },
257
- ],
258
- ]
259
- `;
260
-
261
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should accommodate a custom overscan 1`] = `
262
- Array [
263
- Array [
264
- Object {
265
- "overscanColumnStartIndex": 0,
266
- "overscanColumnStopIndex": 6,
267
- "overscanRowStartIndex": 8,
268
- "overscanRowStopIndex": 15,
269
- "visibleColumnStartIndex": 2,
270
- "visibleColumnStopIndex": 4,
271
- "visibleRowStartIndex": 10,
272
- "visibleRowStopIndex": 13,
273
- },
274
- ],
275
- ]
276
- `;
277
-
278
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should not scan past the beginning of the grid 1`] = `
279
- Array [
280
- Array [
281
- Object {
282
- "overscanColumnStartIndex": 0,
283
- "overscanColumnStopIndex": 2,
284
- "overscanRowStartIndex": 0,
285
- "overscanRowStopIndex": 4,
286
- "visibleColumnStartIndex": 0,
287
- "visibleColumnStopIndex": 1,
288
- "visibleRowStartIndex": 0,
289
- "visibleRowStopIndex": 3,
290
- },
291
- ],
292
- ]
293
- `;
294
-
295
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should not scan past the end of the grid 1`] = `
296
- Array [
297
- Array [
298
- Object {
299
- "overscanColumnStartIndex": 8,
300
- "overscanColumnStopIndex": 9,
301
- "overscanRowStartIndex": 5,
302
- "overscanRowStopIndex": 9,
303
- "visibleColumnStartIndex": 9,
304
- "visibleColumnStopIndex": 9,
305
- "visibleRowStartIndex": 6,
306
- "visibleRowStopIndex": 9,
307
- },
308
- ],
309
- ]
310
- `;
311
-
312
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should overscan in both directions when not scrolling 1`] = `
313
- Array [
314
- Array [
315
- Object {
316
- "overscanColumnStartIndex": 0,
317
- "overscanColumnStopIndex": 6,
318
- "overscanRowStartIndex": 8,
319
- "overscanRowStopIndex": 15,
320
- "visibleColumnStartIndex": 2,
321
- "visibleColumnStopIndex": 4,
322
- "visibleRowStartIndex": 10,
323
- "visibleRowStopIndex": 13,
324
- },
325
- ],
326
- ]
327
- `;
328
-
329
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should overscan in the direction being scrolled 1`] = `
330
- Array [
331
- Array [
332
- Object {
333
- "overscanColumnStartIndex": 0,
334
- "overscanColumnStopIndex": 6,
335
- "overscanRowStartIndex": 8,
336
- "overscanRowStopIndex": 15,
337
- "visibleColumnStartIndex": 2,
338
- "visibleColumnStopIndex": 4,
339
- "visibleRowStartIndex": 10,
340
- "visibleRowStopIndex": 13,
341
- },
342
- ],
343
- Array [
344
- Object {
345
- "overscanColumnStartIndex": 8,
346
- "overscanColumnStopIndex": 13,
347
- "overscanRowStartIndex": 38,
348
- "overscanRowStopIndex": 45,
349
- "visibleColumnStartIndex": 10,
350
- "visibleColumnStopIndex": 11,
351
- "visibleRowStartIndex": 40,
352
- "visibleRowStopIndex": 43,
353
- },
354
- ],
355
- Array [
356
- Object {
357
- "overscanColumnStartIndex": 3,
358
- "overscanColumnStopIndex": 8,
359
- "overscanRowStartIndex": 18,
360
- "overscanRowStopIndex": 25,
361
- "visibleColumnStartIndex": 5,
362
- "visibleColumnStopIndex": 6,
363
- "visibleRowStartIndex": 20,
364
- "visibleRowStopIndex": 23,
365
- },
366
- ],
367
- ]
368
- `;
369
-
370
- exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should require a minimum of 1 overscan to support tabbing 1`] = `
371
- Array [
372
- Array [
373
- Object {
374
- "overscanColumnStartIndex": 1,
375
- "overscanColumnStopIndex": 5,
376
- "overscanRowStartIndex": 9,
377
- "overscanRowStopIndex": 14,
378
- "visibleColumnStartIndex": 2,
379
- "visibleColumnStopIndex": 4,
380
- "visibleRowStartIndex": 10,
381
- "visibleRowStopIndex": 13,
382
- },
383
- ],
384
- ]
385
- `;
386
-
387
- exports[`FixedSizeGrid scrollToItem method scroll with align = "auto" should work with partially-visible items 1`] = `
388
- Array [
389
- Array [
390
- Object {
391
- "overscanColumnStartIndex": 0,
392
- "overscanColumnStopIndex": 3,
393
- "overscanRowStartIndex": 0,
394
- "overscanRowStopIndex": 4,
395
- "visibleColumnStartIndex": 0,
396
- "visibleColumnStopIndex": 2,
397
- "visibleRowStartIndex": 0,
398
- "visibleRowStopIndex": 3,
399
- },
400
- ],
401
- Array [
402
- Object {
403
- "overscanColumnStartIndex": 7,
404
- "overscanColumnStopIndex": 11,
405
- "overscanRowStartIndex": 6,
406
- "overscanRowStopIndex": 11,
407
- "visibleColumnStartIndex": 8,
408
- "visibleColumnStopIndex": 10,
409
- "visibleRowStartIndex": 7,
410
- "visibleRowStopIndex": 10,
411
- },
412
- ],
413
- Array [
414
- Object {
415
- "overscanColumnStartIndex": 96,
416
- "overscanColumnStopIndex": 99,
417
- "overscanRowStartIndex": 95,
418
- "overscanRowStopIndex": 99,
419
- "visibleColumnStartIndex": 97,
420
- "visibleColumnStopIndex": 99,
421
- "visibleRowStartIndex": 96,
422
- "visibleRowStopIndex": 99,
423
- },
424
- ],
425
- Array [
426
- Object {
427
- "overscanColumnStartIndex": 0,
428
- "overscanColumnStopIndex": 4,
429
- "overscanRowStartIndex": 0,
430
- "overscanRowStopIndex": 5,
431
- "visibleColumnStartIndex": 1,
432
- "visibleColumnStopIndex": 3,
433
- "visibleRowStartIndex": 1,
434
- "visibleRowStopIndex": 4,
435
- },
436
- ],
437
- Array [
438
- Object {
439
- "overscanColumnStartIndex": 0,
440
- "overscanColumnStopIndex": 3,
441
- "overscanRowStartIndex": 0,
442
- "overscanRowStopIndex": 4,
443
- "visibleColumnStartIndex": 0,
444
- "visibleColumnStopIndex": 2,
445
- "visibleRowStartIndex": 0,
446
- "visibleRowStopIndex": 3,
447
- },
448
- ],
449
- ]
450
- `;
451
-
452
- exports[`FixedSizeGrid scrollToItem method should ignore indexes greater than itemCount 1`] = `
453
- Array [
454
- Array [
455
- Object {
456
- "overscanColumnStartIndex": 97,
457
- "overscanColumnStopIndex": 99,
458
- "overscanRowStartIndex": 95,
459
- "overscanRowStopIndex": 99,
460
- "visibleColumnStartIndex": 98,
461
- "visibleColumnStopIndex": 99,
462
- "visibleRowStartIndex": 96,
463
- "visibleRowStopIndex": 99,
464
- },
465
- ],
466
- ]
467
- `;
468
-
469
- exports[`FixedSizeGrid scrollToItem method should ignore indexes less than zero 1`] = `
470
- Array [
471
- Array [
472
- Object {
473
- "overscanColumnStartIndex": 0,
474
- "overscanColumnStopIndex": 2,
475
- "overscanRowStartIndex": 0,
476
- "overscanRowStopIndex": 4,
477
- "visibleColumnStartIndex": 0,
478
- "visibleColumnStopIndex": 1,
479
- "visibleRowStartIndex": 0,
480
- "visibleRowStopIndex": 3,
481
- },
482
- ],
483
- ]
484
- `;
485
-
486
- exports[`FixedSizeGrid scrollToItem method should not set invalid offsets when the list contains few items 1`] = `[Function]`;
487
-
488
- exports[`FixedSizeGrid scrollToItem method should scroll to the correct item for align = "auto" 1`] = `
489
- Array [
490
- Array [
491
- Object {
492
- "overscanColumnStartIndex": 0,
493
- "overscanColumnStopIndex": 2,
494
- "overscanRowStartIndex": 0,
495
- "overscanRowStopIndex": 4,
496
- "visibleColumnStartIndex": 0,
497
- "visibleColumnStopIndex": 1,
498
- "visibleRowStartIndex": 0,
499
- "visibleRowStopIndex": 3,
500
- },
501
- ],
502
- Array [
503
- Object {
504
- "overscanColumnStartIndex": 8,
505
- "overscanColumnStopIndex": 11,
506
- "overscanRowStartIndex": 6,
507
- "overscanRowStopIndex": 11,
508
- "visibleColumnStartIndex": 9,
509
- "visibleColumnStopIndex": 10,
510
- "visibleRowStartIndex": 7,
511
- "visibleRowStopIndex": 10,
512
- },
513
- ],
514
- Array [
515
- Object {
516
- "overscanColumnStartIndex": 1,
517
- "overscanColumnStopIndex": 4,
518
- "overscanRowStartIndex": 1,
519
- "overscanRowStopIndex": 6,
520
- "visibleColumnStartIndex": 2,
521
- "visibleColumnStopIndex": 3,
522
- "visibleRowStartIndex": 2,
523
- "visibleRowStopIndex": 5,
524
- },
525
- ],
526
- Array [
527
- Object {
528
- "overscanColumnStartIndex": 1,
529
- "overscanColumnStopIndex": 4,
530
- "overscanRowStartIndex": 6,
531
- "overscanRowStopIndex": 11,
532
- "visibleColumnStartIndex": 2,
533
- "visibleColumnStopIndex": 3,
534
- "visibleRowStartIndex": 7,
535
- "visibleRowStopIndex": 10,
536
- },
537
- ],
538
- Array [
539
- Object {
540
- "overscanColumnStartIndex": 0,
541
- "overscanColumnStopIndex": 2,
542
- "overscanRowStartIndex": 6,
543
- "overscanRowStopIndex": 11,
544
- "visibleColumnStartIndex": 0,
545
- "visibleColumnStopIndex": 1,
546
- "visibleRowStartIndex": 7,
547
- "visibleRowStopIndex": 10,
548
- },
549
- ],
550
- ]
551
- `;
552
-
553
- exports[`FixedSizeGrid scrollToItem method should scroll to the correct item for align = "center" 1`] = `
554
- Array [
555
- Array [
556
- Object {
557
- "overscanColumnStartIndex": 0,
558
- "overscanColumnStopIndex": 2,
559
- "overscanRowStartIndex": 0,
560
- "overscanRowStopIndex": 4,
561
- "visibleColumnStartIndex": 0,
562
- "visibleColumnStopIndex": 1,
563
- "visibleRowStartIndex": 0,
564
- "visibleRowStopIndex": 3,
565
- },
566
- ],
567
- Array [
568
- Object {
569
- "overscanColumnStartIndex": 8,
570
- "overscanColumnStopIndex": 12,
571
- "overscanRowStartIndex": 7,
572
- "overscanRowStopIndex": 13,
573
- "visibleColumnStartIndex": 9,
574
- "visibleColumnStopIndex": 11,
575
- "visibleRowStartIndex": 8,
576
- "visibleRowStopIndex": 12,
577
- },
578
- ],
579
- Array [
580
- Object {
581
- "overscanColumnStartIndex": 7,
582
- "overscanColumnStopIndex": 11,
583
- "overscanRowStartIndex": 6,
584
- "overscanRowStopIndex": 12,
585
- "visibleColumnStartIndex": 8,
586
- "visibleColumnStopIndex": 10,
587
- "visibleRowStartIndex": 7,
588
- "visibleRowStopIndex": 11,
589
- },
590
- ],
591
- Array [
592
- Object {
593
- "overscanColumnStartIndex": 0,
594
- "overscanColumnStopIndex": 2,
595
- "overscanRowStartIndex": 0,
596
- "overscanRowStopIndex": 4,
597
- "visibleColumnStartIndex": 0,
598
- "visibleColumnStopIndex": 1,
599
- "visibleRowStartIndex": 0,
600
- "visibleRowStopIndex": 3,
601
- },
602
- ],
603
- Array [
604
- Object {
605
- "overscanColumnStartIndex": 97,
606
- "overscanColumnStopIndex": 99,
607
- "overscanRowStartIndex": 95,
608
- "overscanRowStopIndex": 99,
609
- "visibleColumnStartIndex": 98,
610
- "visibleColumnStopIndex": 99,
611
- "visibleRowStartIndex": 96,
612
- "visibleRowStopIndex": 99,
613
- },
614
- ],
615
- Array [
616
- Object {
617
- "overscanColumnStartIndex": 97,
618
- "overscanColumnStopIndex": 99,
619
- "overscanRowStartIndex": 7,
620
- "overscanRowStopIndex": 13,
621
- "visibleColumnStartIndex": 98,
622
- "visibleColumnStopIndex": 99,
623
- "visibleRowStartIndex": 8,
624
- "visibleRowStopIndex": 12,
625
- },
626
- ],
627
- Array [
628
- Object {
629
- "overscanColumnStartIndex": 1,
630
- "overscanColumnStopIndex": 5,
631
- "overscanRowStartIndex": 7,
632
- "overscanRowStopIndex": 13,
633
- "visibleColumnStartIndex": 2,
634
- "visibleColumnStopIndex": 4,
635
- "visibleRowStartIndex": 8,
636
- "visibleRowStopIndex": 12,
637
- },
638
- ],
639
- ]
640
- `;
641
-
642
- exports[`FixedSizeGrid scrollToItem method should scroll to the correct item for align = "end" 1`] = `
643
- Array [
644
- Array [
645
- Object {
646
- "overscanColumnStartIndex": 0,
647
- "overscanColumnStopIndex": 2,
648
- "overscanRowStartIndex": 0,
649
- "overscanRowStopIndex": 4,
650
- "visibleColumnStartIndex": 0,
651
- "visibleColumnStopIndex": 1,
652
- "visibleRowStartIndex": 0,
653
- "visibleRowStopIndex": 3,
654
- },
655
- ],
656
- Array [
657
- Object {
658
- "overscanColumnStartIndex": 8,
659
- "overscanColumnStopIndex": 11,
660
- "overscanRowStartIndex": 6,
661
- "overscanRowStopIndex": 11,
662
- "visibleColumnStartIndex": 9,
663
- "visibleColumnStopIndex": 10,
664
- "visibleRowStartIndex": 7,
665
- "visibleRowStopIndex": 10,
666
- },
667
- ],
668
- Array [
669
- Object {
670
- "overscanColumnStartIndex": 7,
671
- "overscanColumnStopIndex": 10,
672
- "overscanRowStartIndex": 5,
673
- "overscanRowStopIndex": 10,
674
- "visibleColumnStartIndex": 8,
675
- "visibleColumnStopIndex": 9,
676
- "visibleRowStartIndex": 6,
677
- "visibleRowStopIndex": 9,
678
- },
679
- ],
680
- Array [
681
- Object {
682
- "overscanColumnStartIndex": 0,
683
- "overscanColumnStopIndex": 2,
684
- "overscanRowStartIndex": 0,
685
- "overscanRowStopIndex": 4,
686
- "visibleColumnStartIndex": 0,
687
- "visibleColumnStopIndex": 1,
688
- "visibleRowStartIndex": 0,
689
- "visibleRowStopIndex": 3,
690
- },
691
- ],
692
- Array [
693
- Object {
694
- "overscanColumnStartIndex": 0,
695
- "overscanColumnStopIndex": 2,
696
- "overscanRowStartIndex": 6,
697
- "overscanRowStopIndex": 11,
698
- "visibleColumnStartIndex": 0,
699
- "visibleColumnStopIndex": 1,
700
- "visibleRowStartIndex": 7,
701
- "visibleRowStopIndex": 10,
702
- },
703
- ],
704
- Array [
705
- Object {
706
- "overscanColumnStartIndex": 7,
707
- "overscanColumnStopIndex": 10,
708
- "overscanRowStartIndex": 6,
709
- "overscanRowStopIndex": 11,
710
- "visibleColumnStartIndex": 8,
711
- "visibleColumnStopIndex": 9,
712
- "visibleRowStartIndex": 7,
713
- "visibleRowStopIndex": 10,
714
- },
715
- ],
716
- ]
717
- `;
718
-
719
- exports[`FixedSizeGrid scrollToItem method should scroll to the correct item for align = "smart" 1`] = `
720
- Array [
721
- Array [
722
- Object {
723
- "overscanColumnStartIndex": 0,
724
- "overscanColumnStopIndex": 2,
725
- "overscanRowStartIndex": 0,
726
- "overscanRowStopIndex": 4,
727
- "visibleColumnStartIndex": 0,
728
- "visibleColumnStopIndex": 1,
729
- "visibleRowStartIndex": 0,
730
- "visibleRowStopIndex": 3,
731
- },
732
- ],
733
- Array [
734
- Object {
735
- "overscanColumnStartIndex": 8,
736
- "overscanColumnStopIndex": 12,
737
- "overscanRowStartIndex": 7,
738
- "overscanRowStopIndex": 13,
739
- "visibleColumnStartIndex": 9,
740
- "visibleColumnStopIndex": 11,
741
- "visibleRowStartIndex": 8,
742
- "visibleRowStopIndex": 12,
743
- },
744
- ],
745
- Array [
746
- Object {
747
- "overscanColumnStartIndex": 8,
748
- "overscanColumnStopIndex": 11,
749
- "overscanRowStartIndex": 7,
750
- "overscanRowStopIndex": 13,
751
- "visibleColumnStartIndex": 9,
752
- "visibleColumnStopIndex": 10,
753
- "visibleRowStartIndex": 8,
754
- "visibleRowStopIndex": 12,
755
- },
756
- ],
757
- Array [
758
- Object {
759
- "overscanColumnStartIndex": 0,
760
- "overscanColumnStopIndex": 4,
761
- "overscanRowStartIndex": 0,
762
- "overscanRowStopIndex": 4,
763
- "visibleColumnStartIndex": 1,
764
- "visibleColumnStopIndex": 3,
765
- "visibleRowStartIndex": 0,
766
- "visibleRowStopIndex": 3,
767
- },
768
- ],
769
- Array [
770
- Object {
771
- "overscanColumnStartIndex": 0,
772
- "overscanColumnStopIndex": 4,
773
- "overscanRowStartIndex": 7,
774
- "overscanRowStopIndex": 13,
775
- "visibleColumnStartIndex": 1,
776
- "visibleColumnStopIndex": 3,
777
- "visibleRowStartIndex": 8,
778
- "visibleRowStopIndex": 12,
779
- },
780
- ],
781
- Array [
782
- Object {
783
- "overscanColumnStartIndex": 0,
784
- "overscanColumnStopIndex": 2,
785
- "overscanRowStartIndex": 7,
786
- "overscanRowStopIndex": 13,
787
- "visibleColumnStartIndex": 0,
788
- "visibleColumnStopIndex": 1,
789
- "visibleRowStartIndex": 8,
790
- "visibleRowStopIndex": 12,
791
- },
792
- ],
793
- Array [
794
- Object {
795
- "overscanColumnStartIndex": 3,
796
- "overscanColumnStopIndex": 7,
797
- "overscanRowStartIndex": 4,
798
- "overscanRowStopIndex": 9,
799
- "visibleColumnStartIndex": 4,
800
- "visibleColumnStopIndex": 6,
801
- "visibleRowStartIndex": 5,
802
- "visibleRowStopIndex": 8,
803
- },
804
- ],
805
- Array [
806
- Object {
807
- "overscanColumnStartIndex": 8,
808
- "overscanColumnStopIndex": 12,
809
- "overscanRowStartIndex": 6,
810
- "overscanRowStopIndex": 11,
811
- "visibleColumnStartIndex": 9,
812
- "visibleColumnStopIndex": 11,
813
- "visibleRowStartIndex": 7,
814
- "visibleRowStopIndex": 10,
815
- },
816
- ],
817
- ]
818
- `;
819
-
820
- exports[`FixedSizeGrid scrollToItem method should scroll to the correct item for align = "start" 1`] = `
821
- Array [
822
- Array [
823
- Object {
824
- "overscanColumnStartIndex": 0,
825
- "overscanColumnStopIndex": 2,
826
- "overscanRowStartIndex": 0,
827
- "overscanRowStopIndex": 4,
828
- "visibleColumnStartIndex": 0,
829
- "visibleColumnStopIndex": 1,
830
- "visibleRowStartIndex": 0,
831
- "visibleRowStopIndex": 3,
832
- },
833
- ],
834
- Array [
835
- Object {
836
- "overscanColumnStartIndex": 9,
837
- "overscanColumnStopIndex": 12,
838
- "overscanRowStartIndex": 9,
839
- "overscanRowStopIndex": 14,
840
- "visibleColumnStartIndex": 10,
841
- "visibleColumnStopIndex": 11,
842
- "visibleRowStartIndex": 10,
843
- "visibleRowStopIndex": 13,
844
- },
845
- ],
846
- Array [
847
- Object {
848
- "overscanColumnStartIndex": 8,
849
- "overscanColumnStopIndex": 11,
850
- "overscanRowStartIndex": 8,
851
- "overscanRowStopIndex": 13,
852
- "visibleColumnStartIndex": 9,
853
- "visibleColumnStopIndex": 10,
854
- "visibleRowStartIndex": 9,
855
- "visibleRowStopIndex": 12,
856
- },
857
- ],
858
- Array [
859
- Object {
860
- "overscanColumnStartIndex": 97,
861
- "overscanColumnStopIndex": 99,
862
- "overscanRowStartIndex": 95,
863
- "overscanRowStopIndex": 99,
864
- "visibleColumnStartIndex": 98,
865
- "visibleColumnStopIndex": 99,
866
- "visibleRowStartIndex": 96,
867
- "visibleRowStopIndex": 99,
868
- },
869
- ],
870
- Array [
871
- Object {
872
- "overscanColumnStartIndex": 97,
873
- "overscanColumnStopIndex": 99,
874
- "overscanRowStartIndex": 9,
875
- "overscanRowStopIndex": 14,
876
- "visibleColumnStartIndex": 98,
877
- "visibleColumnStopIndex": 99,
878
- "visibleRowStartIndex": 10,
879
- "visibleRowStopIndex": 13,
880
- },
881
- ],
882
- Array [
883
- Object {
884
- "overscanColumnStartIndex": 0,
885
- "overscanColumnStopIndex": 2,
886
- "overscanRowStartIndex": 9,
887
- "overscanRowStopIndex": 14,
888
- "visibleColumnStartIndex": 0,
889
- "visibleColumnStopIndex": 1,
890
- "visibleRowStartIndex": 10,
891
- "visibleRowStopIndex": 13,
892
- },
893
- ],
894
- ]
895
- `;
896
-
897
- exports[`FixedSizeGrid should render a grid of items 1`] = `
898
- Array [
899
- Array [
900
- Object {
901
- "overscanColumnStartIndex": 0,
902
- "overscanColumnStopIndex": 2,
903
- "overscanRowStartIndex": 0,
904
- "overscanRowStopIndex": 4,
905
- "visibleColumnStartIndex": 0,
906
- "visibleColumnStopIndex": 1,
907
- "visibleRowStartIndex": 0,
908
- "visibleRowStopIndex": 3,
909
- },
910
- ],
911
- ]
912
- `;
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`FixedSizeGrid changing item size updates the rendered items 1`] = `
4
+ Array [
5
+ Array [
6
+ Object {
7
+ "overscanColumnStartIndex": 0,
8
+ "overscanColumnStopIndex": 2,
9
+ "overscanRowStartIndex": 0,
10
+ "overscanRowStopIndex": 4,
11
+ "visibleColumnStartIndex": 0,
12
+ "visibleColumnStopIndex": 1,
13
+ "visibleRowStartIndex": 0,
14
+ "visibleRowStopIndex": 3,
15
+ },
16
+ ],
17
+ Array [
18
+ Object {
19
+ "overscanColumnStartIndex": 0,
20
+ "overscanColumnStopIndex": 2,
21
+ "overscanRowStartIndex": 0,
22
+ "overscanRowStopIndex": 2,
23
+ "visibleColumnStartIndex": 0,
24
+ "visibleColumnStopIndex": 1,
25
+ "visibleRowStartIndex": 0,
26
+ "visibleRowStopIndex": 1,
27
+ },
28
+ ],
29
+ ]
30
+ `;
31
+
32
+ exports[`FixedSizeGrid onScroll scrolling should report partial items correctly in onItemsRendered 1`] = `
33
+ Array [
34
+ Array [
35
+ Object {
36
+ "overscanColumnStartIndex": 0,
37
+ "overscanColumnStopIndex": 3,
38
+ "overscanRowStartIndex": 0,
39
+ "overscanRowStopIndex": 5,
40
+ "visibleColumnStartIndex": 0,
41
+ "visibleColumnStopIndex": 2,
42
+ "visibleRowStartIndex": 0,
43
+ "visibleRowStopIndex": 4,
44
+ },
45
+ ],
46
+ Array [
47
+ Object {
48
+ "overscanColumnStartIndex": 0,
49
+ "overscanColumnStopIndex": 4,
50
+ "overscanRowStartIndex": 0,
51
+ "overscanRowStopIndex": 6,
52
+ "visibleColumnStartIndex": 1,
53
+ "visibleColumnStopIndex": 3,
54
+ "visibleRowStartIndex": 1,
55
+ "visibleRowStopIndex": 5,
56
+ },
57
+ ],
58
+ Array [
59
+ Object {
60
+ "overscanColumnStartIndex": 1,
61
+ "overscanColumnStopIndex": 4,
62
+ "overscanRowStartIndex": 1,
63
+ "overscanRowStopIndex": 6,
64
+ "visibleColumnStartIndex": 2,
65
+ "visibleColumnStopIndex": 3,
66
+ "visibleRowStartIndex": 2,
67
+ "visibleRowStopIndex": 5,
68
+ },
69
+ ],
70
+ Array [
71
+ Object {
72
+ "overscanColumnStartIndex": 0,
73
+ "overscanColumnStopIndex": 4,
74
+ "overscanRowStartIndex": 0,
75
+ "overscanRowStopIndex": 6,
76
+ "visibleColumnStartIndex": 1,
77
+ "visibleColumnStopIndex": 3,
78
+ "visibleRowStartIndex": 1,
79
+ "visibleRowStopIndex": 5,
80
+ },
81
+ ],
82
+ Array [
83
+ Object {
84
+ "overscanColumnStartIndex": 96,
85
+ "overscanColumnStopIndex": 99,
86
+ "overscanRowStartIndex": 94,
87
+ "overscanRowStopIndex": 99,
88
+ "visibleColumnStartIndex": 97,
89
+ "visibleColumnStopIndex": 99,
90
+ "visibleRowStartIndex": 95,
91
+ "visibleRowStopIndex": 99,
92
+ },
93
+ ],
94
+ Array [
95
+ Object {
96
+ "overscanColumnStartIndex": 97,
97
+ "overscanColumnStopIndex": 99,
98
+ "overscanRowStartIndex": 95,
99
+ "overscanRowStopIndex": 99,
100
+ "visibleColumnStartIndex": 98,
101
+ "visibleColumnStopIndex": 99,
102
+ "visibleRowStartIndex": 96,
103
+ "visibleRowStopIndex": 99,
104
+ },
105
+ ],
106
+ Array [
107
+ Object {
108
+ "overscanColumnStartIndex": 96,
109
+ "overscanColumnStopIndex": 99,
110
+ "overscanRowStartIndex": 94,
111
+ "overscanRowStopIndex": 99,
112
+ "visibleColumnStartIndex": 97,
113
+ "visibleColumnStopIndex": 99,
114
+ "visibleRowStartIndex": 95,
115
+ "visibleRowStopIndex": 99,
116
+ },
117
+ ],
118
+ ]
119
+ `;
120
+
121
+ exports[`FixedSizeGrid onScroll should call onScroll after mount 1`] = `
122
+ Array [
123
+ Array [
124
+ Object {
125
+ "horizontalScrollDirection": "forward",
126
+ "scrollLeft": 0,
127
+ "scrollTop": 0,
128
+ "scrollUpdateWasRequested": false,
129
+ "verticalScrollDirection": "forward",
130
+ },
131
+ ],
132
+ ]
133
+ `;
134
+
135
+ exports[`FixedSizeGrid onScroll should call onScroll when scroll position changes 1`] = `
136
+ Array [
137
+ Array [
138
+ Object {
139
+ "horizontalScrollDirection": "forward",
140
+ "scrollLeft": 0,
141
+ "scrollTop": 0,
142
+ "scrollUpdateWasRequested": false,
143
+ "verticalScrollDirection": "forward",
144
+ },
145
+ ],
146
+ Array [
147
+ Object {
148
+ "horizontalScrollDirection": "forward",
149
+ "scrollLeft": 100,
150
+ "scrollTop": 50,
151
+ "scrollUpdateWasRequested": true,
152
+ "verticalScrollDirection": "forward",
153
+ },
154
+ ],
155
+ Array [
156
+ Object {
157
+ "horizontalScrollDirection": "backward",
158
+ "scrollLeft": 0,
159
+ "scrollTop": 150,
160
+ "scrollUpdateWasRequested": true,
161
+ "verticalScrollDirection": "forward",
162
+ },
163
+ ],
164
+ Array [
165
+ Object {
166
+ "horizontalScrollDirection": "forward",
167
+ "scrollLeft": 150,
168
+ "scrollTop": 0,
169
+ "scrollUpdateWasRequested": true,
170
+ "verticalScrollDirection": "backward",
171
+ },
172
+ ],
173
+ ]
174
+ `;
175
+
176
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount overscanCount should support deprecated overscanColumnsCount and overscanRowsCount 1`] = `
177
+ Array [
178
+ Array [
179
+ Object {
180
+ "overscanColumnStartIndex": 0,
181
+ "overscanColumnStopIndex": 4,
182
+ "overscanRowStartIndex": 2,
183
+ "overscanRowStopIndex": 9,
184
+ "visibleColumnStartIndex": 1,
185
+ "visibleColumnStopIndex": 2,
186
+ "visibleRowStartIndex": 4,
187
+ "visibleRowStopIndex": 7,
188
+ },
189
+ ],
190
+ ]
191
+ `;
192
+
193
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount overscanCount should support deprecated overscanCount 1`] = `
194
+ Array [
195
+ Array [
196
+ Object {
197
+ "overscanColumnStartIndex": 0,
198
+ "overscanColumnStopIndex": 4,
199
+ "overscanRowStartIndex": 2,
200
+ "overscanRowStopIndex": 9,
201
+ "visibleColumnStartIndex": 1,
202
+ "visibleColumnStopIndex": 2,
203
+ "visibleRowStartIndex": 4,
204
+ "visibleRowStopIndex": 7,
205
+ },
206
+ ],
207
+ ]
208
+ `;
209
+
210
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount overscanCount should use overscanColumnCount and overscanRowCount if both them and deprecated props are provided 1`] = `
211
+ Array [
212
+ Array [
213
+ Object {
214
+ "overscanColumnStartIndex": 0,
215
+ "overscanColumnStopIndex": 5,
216
+ "overscanRowStartIndex": 1,
217
+ "overscanRowStopIndex": 10,
218
+ "visibleColumnStartIndex": 1,
219
+ "visibleColumnStopIndex": 2,
220
+ "visibleRowStartIndex": 4,
221
+ "visibleRowStopIndex": 7,
222
+ },
223
+ ],
224
+ ]
225
+ `;
226
+
227
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount overscanCount should use overscanColumnsCount if both it and overscanCount are provided 1`] = `
228
+ Array [
229
+ Array [
230
+ Object {
231
+ "overscanColumnStartIndex": 0,
232
+ "overscanColumnStopIndex": 5,
233
+ "overscanRowStartIndex": 2,
234
+ "overscanRowStopIndex": 9,
235
+ "visibleColumnStartIndex": 1,
236
+ "visibleColumnStopIndex": 2,
237
+ "visibleRowStartIndex": 4,
238
+ "visibleRowStopIndex": 7,
239
+ },
240
+ ],
241
+ ]
242
+ `;
243
+
244
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount overscanCount should use overscanRowCount if both it and overscanCount are provided 1`] = `
245
+ Array [
246
+ Array [
247
+ Object {
248
+ "overscanColumnStartIndex": 0,
249
+ "overscanColumnStopIndex": 4,
250
+ "overscanRowStartIndex": 1,
251
+ "overscanRowStopIndex": 10,
252
+ "visibleColumnStartIndex": 1,
253
+ "visibleColumnStopIndex": 2,
254
+ "visibleRowStartIndex": 4,
255
+ "visibleRowStopIndex": 7,
256
+ },
257
+ ],
258
+ ]
259
+ `;
260
+
261
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should accommodate a custom overscan 1`] = `
262
+ Array [
263
+ Array [
264
+ Object {
265
+ "overscanColumnStartIndex": 0,
266
+ "overscanColumnStopIndex": 6,
267
+ "overscanRowStartIndex": 8,
268
+ "overscanRowStopIndex": 15,
269
+ "visibleColumnStartIndex": 2,
270
+ "visibleColumnStopIndex": 4,
271
+ "visibleRowStartIndex": 10,
272
+ "visibleRowStopIndex": 13,
273
+ },
274
+ ],
275
+ ]
276
+ `;
277
+
278
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should not scan past the beginning of the grid 1`] = `
279
+ Array [
280
+ Array [
281
+ Object {
282
+ "overscanColumnStartIndex": 0,
283
+ "overscanColumnStopIndex": 2,
284
+ "overscanRowStartIndex": 0,
285
+ "overscanRowStopIndex": 4,
286
+ "visibleColumnStartIndex": 0,
287
+ "visibleColumnStopIndex": 1,
288
+ "visibleRowStartIndex": 0,
289
+ "visibleRowStopIndex": 3,
290
+ },
291
+ ],
292
+ ]
293
+ `;
294
+
295
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should not scan past the end of the grid 1`] = `
296
+ Array [
297
+ Array [
298
+ Object {
299
+ "overscanColumnStartIndex": 8,
300
+ "overscanColumnStopIndex": 9,
301
+ "overscanRowStartIndex": 5,
302
+ "overscanRowStopIndex": 9,
303
+ "visibleColumnStartIndex": 9,
304
+ "visibleColumnStopIndex": 9,
305
+ "visibleRowStartIndex": 6,
306
+ "visibleRowStopIndex": 9,
307
+ },
308
+ ],
309
+ ]
310
+ `;
311
+
312
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should overscan in both directions when not scrolling 1`] = `
313
+ Array [
314
+ Array [
315
+ Object {
316
+ "overscanColumnStartIndex": 0,
317
+ "overscanColumnStopIndex": 6,
318
+ "overscanRowStartIndex": 8,
319
+ "overscanRowStopIndex": 15,
320
+ "visibleColumnStartIndex": 2,
321
+ "visibleColumnStopIndex": 4,
322
+ "visibleRowStartIndex": 10,
323
+ "visibleRowStopIndex": 13,
324
+ },
325
+ ],
326
+ ]
327
+ `;
328
+
329
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should overscan in the direction being scrolled 1`] = `
330
+ Array [
331
+ Array [
332
+ Object {
333
+ "overscanColumnStartIndex": 0,
334
+ "overscanColumnStopIndex": 6,
335
+ "overscanRowStartIndex": 8,
336
+ "overscanRowStopIndex": 15,
337
+ "visibleColumnStartIndex": 2,
338
+ "visibleColumnStopIndex": 4,
339
+ "visibleRowStartIndex": 10,
340
+ "visibleRowStopIndex": 13,
341
+ },
342
+ ],
343
+ Array [
344
+ Object {
345
+ "overscanColumnStartIndex": 8,
346
+ "overscanColumnStopIndex": 13,
347
+ "overscanRowStartIndex": 38,
348
+ "overscanRowStopIndex": 45,
349
+ "visibleColumnStartIndex": 10,
350
+ "visibleColumnStopIndex": 11,
351
+ "visibleRowStartIndex": 40,
352
+ "visibleRowStopIndex": 43,
353
+ },
354
+ ],
355
+ Array [
356
+ Object {
357
+ "overscanColumnStartIndex": 3,
358
+ "overscanColumnStopIndex": 8,
359
+ "overscanRowStartIndex": 18,
360
+ "overscanRowStopIndex": 25,
361
+ "visibleColumnStartIndex": 5,
362
+ "visibleColumnStopIndex": 6,
363
+ "visibleRowStartIndex": 20,
364
+ "visibleRowStopIndex": 23,
365
+ },
366
+ ],
367
+ ]
368
+ `;
369
+
370
+ exports[`FixedSizeGrid overscanColumnCount and overscanRowCount should require a minimum of 1 overscan to support tabbing 1`] = `
371
+ Array [
372
+ Array [
373
+ Object {
374
+ "overscanColumnStartIndex": 1,
375
+ "overscanColumnStopIndex": 5,
376
+ "overscanRowStartIndex": 9,
377
+ "overscanRowStopIndex": 14,
378
+ "visibleColumnStartIndex": 2,
379
+ "visibleColumnStopIndex": 4,
380
+ "visibleRowStartIndex": 10,
381
+ "visibleRowStopIndex": 13,
382
+ },
383
+ ],
384
+ ]
385
+ `;
386
+
387
+ exports[`FixedSizeGrid scrollToItem method scroll with align = "auto" should work with partially-visible items 1`] = `
388
+ Array [
389
+ Array [
390
+ Object {
391
+ "overscanColumnStartIndex": 0,
392
+ "overscanColumnStopIndex": 3,
393
+ "overscanRowStartIndex": 0,
394
+ "overscanRowStopIndex": 4,
395
+ "visibleColumnStartIndex": 0,
396
+ "visibleColumnStopIndex": 2,
397
+ "visibleRowStartIndex": 0,
398
+ "visibleRowStopIndex": 3,
399
+ },
400
+ ],
401
+ Array [
402
+ Object {
403
+ "overscanColumnStartIndex": 7,
404
+ "overscanColumnStopIndex": 11,
405
+ "overscanRowStartIndex": 6,
406
+ "overscanRowStopIndex": 11,
407
+ "visibleColumnStartIndex": 8,
408
+ "visibleColumnStopIndex": 10,
409
+ "visibleRowStartIndex": 7,
410
+ "visibleRowStopIndex": 10,
411
+ },
412
+ ],
413
+ Array [
414
+ Object {
415
+ "overscanColumnStartIndex": 96,
416
+ "overscanColumnStopIndex": 99,
417
+ "overscanRowStartIndex": 95,
418
+ "overscanRowStopIndex": 99,
419
+ "visibleColumnStartIndex": 97,
420
+ "visibleColumnStopIndex": 99,
421
+ "visibleRowStartIndex": 96,
422
+ "visibleRowStopIndex": 99,
423
+ },
424
+ ],
425
+ Array [
426
+ Object {
427
+ "overscanColumnStartIndex": 0,
428
+ "overscanColumnStopIndex": 4,
429
+ "overscanRowStartIndex": 0,
430
+ "overscanRowStopIndex": 5,
431
+ "visibleColumnStartIndex": 1,
432
+ "visibleColumnStopIndex": 3,
433
+ "visibleRowStartIndex": 1,
434
+ "visibleRowStopIndex": 4,
435
+ },
436
+ ],
437
+ Array [
438
+ Object {
439
+ "overscanColumnStartIndex": 0,
440
+ "overscanColumnStopIndex": 3,
441
+ "overscanRowStartIndex": 0,
442
+ "overscanRowStopIndex": 4,
443
+ "visibleColumnStartIndex": 0,
444
+ "visibleColumnStopIndex": 2,
445
+ "visibleRowStartIndex": 0,
446
+ "visibleRowStopIndex": 3,
447
+ },
448
+ ],
449
+ ]
450
+ `;
451
+
452
+ exports[`FixedSizeGrid scrollToItem method should ignore indexes greater than itemCount 1`] = `
453
+ Array [
454
+ Array [
455
+ Object {
456
+ "overscanColumnStartIndex": 97,
457
+ "overscanColumnStopIndex": 99,
458
+ "overscanRowStartIndex": 95,
459
+ "overscanRowStopIndex": 99,
460
+ "visibleColumnStartIndex": 98,
461
+ "visibleColumnStopIndex": 99,
462
+ "visibleRowStartIndex": 96,
463
+ "visibleRowStopIndex": 99,
464
+ },
465
+ ],
466
+ ]
467
+ `;
468
+
469
+ exports[`FixedSizeGrid scrollToItem method should ignore indexes less than zero 1`] = `
470
+ Array [
471
+ Array [
472
+ Object {
473
+ "overscanColumnStartIndex": 0,
474
+ "overscanColumnStopIndex": 2,
475
+ "overscanRowStartIndex": 0,
476
+ "overscanRowStopIndex": 4,
477
+ "visibleColumnStartIndex": 0,
478
+ "visibleColumnStopIndex": 1,
479
+ "visibleRowStartIndex": 0,
480
+ "visibleRowStopIndex": 3,
481
+ },
482
+ ],
483
+ ]
484
+ `;
485
+
486
+ exports[`FixedSizeGrid scrollToItem method should not set invalid offsets when the list contains few items 1`] = `[Function]`;
487
+
488
+ exports[`FixedSizeGrid scrollToItem method should scroll to the correct item for align = "auto" 1`] = `
489
+ Array [
490
+ Array [
491
+ Object {
492
+ "overscanColumnStartIndex": 0,
493
+ "overscanColumnStopIndex": 2,
494
+ "overscanRowStartIndex": 0,
495
+ "overscanRowStopIndex": 4,
496
+ "visibleColumnStartIndex": 0,
497
+ "visibleColumnStopIndex": 1,
498
+ "visibleRowStartIndex": 0,
499
+ "visibleRowStopIndex": 3,
500
+ },
501
+ ],
502
+ Array [
503
+ Object {
504
+ "overscanColumnStartIndex": 8,
505
+ "overscanColumnStopIndex": 11,
506
+ "overscanRowStartIndex": 6,
507
+ "overscanRowStopIndex": 11,
508
+ "visibleColumnStartIndex": 9,
509
+ "visibleColumnStopIndex": 10,
510
+ "visibleRowStartIndex": 7,
511
+ "visibleRowStopIndex": 10,
512
+ },
513
+ ],
514
+ Array [
515
+ Object {
516
+ "overscanColumnStartIndex": 1,
517
+ "overscanColumnStopIndex": 4,
518
+ "overscanRowStartIndex": 1,
519
+ "overscanRowStopIndex": 6,
520
+ "visibleColumnStartIndex": 2,
521
+ "visibleColumnStopIndex": 3,
522
+ "visibleRowStartIndex": 2,
523
+ "visibleRowStopIndex": 5,
524
+ },
525
+ ],
526
+ Array [
527
+ Object {
528
+ "overscanColumnStartIndex": 1,
529
+ "overscanColumnStopIndex": 4,
530
+ "overscanRowStartIndex": 6,
531
+ "overscanRowStopIndex": 11,
532
+ "visibleColumnStartIndex": 2,
533
+ "visibleColumnStopIndex": 3,
534
+ "visibleRowStartIndex": 7,
535
+ "visibleRowStopIndex": 10,
536
+ },
537
+ ],
538
+ Array [
539
+ Object {
540
+ "overscanColumnStartIndex": 0,
541
+ "overscanColumnStopIndex": 2,
542
+ "overscanRowStartIndex": 6,
543
+ "overscanRowStopIndex": 11,
544
+ "visibleColumnStartIndex": 0,
545
+ "visibleColumnStopIndex": 1,
546
+ "visibleRowStartIndex": 7,
547
+ "visibleRowStopIndex": 10,
548
+ },
549
+ ],
550
+ ]
551
+ `;
552
+
553
+ exports[`FixedSizeGrid scrollToItem method should scroll to the correct item for align = "center" 1`] = `
554
+ Array [
555
+ Array [
556
+ Object {
557
+ "overscanColumnStartIndex": 0,
558
+ "overscanColumnStopIndex": 2,
559
+ "overscanRowStartIndex": 0,
560
+ "overscanRowStopIndex": 4,
561
+ "visibleColumnStartIndex": 0,
562
+ "visibleColumnStopIndex": 1,
563
+ "visibleRowStartIndex": 0,
564
+ "visibleRowStopIndex": 3,
565
+ },
566
+ ],
567
+ Array [
568
+ Object {
569
+ "overscanColumnStartIndex": 8,
570
+ "overscanColumnStopIndex": 12,
571
+ "overscanRowStartIndex": 7,
572
+ "overscanRowStopIndex": 13,
573
+ "visibleColumnStartIndex": 9,
574
+ "visibleColumnStopIndex": 11,
575
+ "visibleRowStartIndex": 8,
576
+ "visibleRowStopIndex": 12,
577
+ },
578
+ ],
579
+ Array [
580
+ Object {
581
+ "overscanColumnStartIndex": 7,
582
+ "overscanColumnStopIndex": 11,
583
+ "overscanRowStartIndex": 6,
584
+ "overscanRowStopIndex": 12,
585
+ "visibleColumnStartIndex": 8,
586
+ "visibleColumnStopIndex": 10,
587
+ "visibleRowStartIndex": 7,
588
+ "visibleRowStopIndex": 11,
589
+ },
590
+ ],
591
+ Array [
592
+ Object {
593
+ "overscanColumnStartIndex": 0,
594
+ "overscanColumnStopIndex": 2,
595
+ "overscanRowStartIndex": 0,
596
+ "overscanRowStopIndex": 4,
597
+ "visibleColumnStartIndex": 0,
598
+ "visibleColumnStopIndex": 1,
599
+ "visibleRowStartIndex": 0,
600
+ "visibleRowStopIndex": 3,
601
+ },
602
+ ],
603
+ Array [
604
+ Object {
605
+ "overscanColumnStartIndex": 97,
606
+ "overscanColumnStopIndex": 99,
607
+ "overscanRowStartIndex": 95,
608
+ "overscanRowStopIndex": 99,
609
+ "visibleColumnStartIndex": 98,
610
+ "visibleColumnStopIndex": 99,
611
+ "visibleRowStartIndex": 96,
612
+ "visibleRowStopIndex": 99,
613
+ },
614
+ ],
615
+ Array [
616
+ Object {
617
+ "overscanColumnStartIndex": 97,
618
+ "overscanColumnStopIndex": 99,
619
+ "overscanRowStartIndex": 7,
620
+ "overscanRowStopIndex": 13,
621
+ "visibleColumnStartIndex": 98,
622
+ "visibleColumnStopIndex": 99,
623
+ "visibleRowStartIndex": 8,
624
+ "visibleRowStopIndex": 12,
625
+ },
626
+ ],
627
+ Array [
628
+ Object {
629
+ "overscanColumnStartIndex": 1,
630
+ "overscanColumnStopIndex": 5,
631
+ "overscanRowStartIndex": 7,
632
+ "overscanRowStopIndex": 13,
633
+ "visibleColumnStartIndex": 2,
634
+ "visibleColumnStopIndex": 4,
635
+ "visibleRowStartIndex": 8,
636
+ "visibleRowStopIndex": 12,
637
+ },
638
+ ],
639
+ ]
640
+ `;
641
+
642
+ exports[`FixedSizeGrid scrollToItem method should scroll to the correct item for align = "end" 1`] = `
643
+ Array [
644
+ Array [
645
+ Object {
646
+ "overscanColumnStartIndex": 0,
647
+ "overscanColumnStopIndex": 2,
648
+ "overscanRowStartIndex": 0,
649
+ "overscanRowStopIndex": 4,
650
+ "visibleColumnStartIndex": 0,
651
+ "visibleColumnStopIndex": 1,
652
+ "visibleRowStartIndex": 0,
653
+ "visibleRowStopIndex": 3,
654
+ },
655
+ ],
656
+ Array [
657
+ Object {
658
+ "overscanColumnStartIndex": 8,
659
+ "overscanColumnStopIndex": 11,
660
+ "overscanRowStartIndex": 6,
661
+ "overscanRowStopIndex": 11,
662
+ "visibleColumnStartIndex": 9,
663
+ "visibleColumnStopIndex": 10,
664
+ "visibleRowStartIndex": 7,
665
+ "visibleRowStopIndex": 10,
666
+ },
667
+ ],
668
+ Array [
669
+ Object {
670
+ "overscanColumnStartIndex": 7,
671
+ "overscanColumnStopIndex": 10,
672
+ "overscanRowStartIndex": 5,
673
+ "overscanRowStopIndex": 10,
674
+ "visibleColumnStartIndex": 8,
675
+ "visibleColumnStopIndex": 9,
676
+ "visibleRowStartIndex": 6,
677
+ "visibleRowStopIndex": 9,
678
+ },
679
+ ],
680
+ Array [
681
+ Object {
682
+ "overscanColumnStartIndex": 0,
683
+ "overscanColumnStopIndex": 2,
684
+ "overscanRowStartIndex": 0,
685
+ "overscanRowStopIndex": 4,
686
+ "visibleColumnStartIndex": 0,
687
+ "visibleColumnStopIndex": 1,
688
+ "visibleRowStartIndex": 0,
689
+ "visibleRowStopIndex": 3,
690
+ },
691
+ ],
692
+ Array [
693
+ Object {
694
+ "overscanColumnStartIndex": 0,
695
+ "overscanColumnStopIndex": 2,
696
+ "overscanRowStartIndex": 6,
697
+ "overscanRowStopIndex": 11,
698
+ "visibleColumnStartIndex": 0,
699
+ "visibleColumnStopIndex": 1,
700
+ "visibleRowStartIndex": 7,
701
+ "visibleRowStopIndex": 10,
702
+ },
703
+ ],
704
+ Array [
705
+ Object {
706
+ "overscanColumnStartIndex": 7,
707
+ "overscanColumnStopIndex": 10,
708
+ "overscanRowStartIndex": 6,
709
+ "overscanRowStopIndex": 11,
710
+ "visibleColumnStartIndex": 8,
711
+ "visibleColumnStopIndex": 9,
712
+ "visibleRowStartIndex": 7,
713
+ "visibleRowStopIndex": 10,
714
+ },
715
+ ],
716
+ ]
717
+ `;
718
+
719
+ exports[`FixedSizeGrid scrollToItem method should scroll to the correct item for align = "smart" 1`] = `
720
+ Array [
721
+ Array [
722
+ Object {
723
+ "overscanColumnStartIndex": 0,
724
+ "overscanColumnStopIndex": 2,
725
+ "overscanRowStartIndex": 0,
726
+ "overscanRowStopIndex": 4,
727
+ "visibleColumnStartIndex": 0,
728
+ "visibleColumnStopIndex": 1,
729
+ "visibleRowStartIndex": 0,
730
+ "visibleRowStopIndex": 3,
731
+ },
732
+ ],
733
+ Array [
734
+ Object {
735
+ "overscanColumnStartIndex": 8,
736
+ "overscanColumnStopIndex": 12,
737
+ "overscanRowStartIndex": 7,
738
+ "overscanRowStopIndex": 13,
739
+ "visibleColumnStartIndex": 9,
740
+ "visibleColumnStopIndex": 11,
741
+ "visibleRowStartIndex": 8,
742
+ "visibleRowStopIndex": 12,
743
+ },
744
+ ],
745
+ Array [
746
+ Object {
747
+ "overscanColumnStartIndex": 8,
748
+ "overscanColumnStopIndex": 11,
749
+ "overscanRowStartIndex": 7,
750
+ "overscanRowStopIndex": 13,
751
+ "visibleColumnStartIndex": 9,
752
+ "visibleColumnStopIndex": 10,
753
+ "visibleRowStartIndex": 8,
754
+ "visibleRowStopIndex": 12,
755
+ },
756
+ ],
757
+ Array [
758
+ Object {
759
+ "overscanColumnStartIndex": 0,
760
+ "overscanColumnStopIndex": 4,
761
+ "overscanRowStartIndex": 0,
762
+ "overscanRowStopIndex": 4,
763
+ "visibleColumnStartIndex": 1,
764
+ "visibleColumnStopIndex": 3,
765
+ "visibleRowStartIndex": 0,
766
+ "visibleRowStopIndex": 3,
767
+ },
768
+ ],
769
+ Array [
770
+ Object {
771
+ "overscanColumnStartIndex": 0,
772
+ "overscanColumnStopIndex": 4,
773
+ "overscanRowStartIndex": 7,
774
+ "overscanRowStopIndex": 13,
775
+ "visibleColumnStartIndex": 1,
776
+ "visibleColumnStopIndex": 3,
777
+ "visibleRowStartIndex": 8,
778
+ "visibleRowStopIndex": 12,
779
+ },
780
+ ],
781
+ Array [
782
+ Object {
783
+ "overscanColumnStartIndex": 0,
784
+ "overscanColumnStopIndex": 2,
785
+ "overscanRowStartIndex": 7,
786
+ "overscanRowStopIndex": 13,
787
+ "visibleColumnStartIndex": 0,
788
+ "visibleColumnStopIndex": 1,
789
+ "visibleRowStartIndex": 8,
790
+ "visibleRowStopIndex": 12,
791
+ },
792
+ ],
793
+ Array [
794
+ Object {
795
+ "overscanColumnStartIndex": 3,
796
+ "overscanColumnStopIndex": 7,
797
+ "overscanRowStartIndex": 4,
798
+ "overscanRowStopIndex": 9,
799
+ "visibleColumnStartIndex": 4,
800
+ "visibleColumnStopIndex": 6,
801
+ "visibleRowStartIndex": 5,
802
+ "visibleRowStopIndex": 8,
803
+ },
804
+ ],
805
+ Array [
806
+ Object {
807
+ "overscanColumnStartIndex": 8,
808
+ "overscanColumnStopIndex": 12,
809
+ "overscanRowStartIndex": 6,
810
+ "overscanRowStopIndex": 11,
811
+ "visibleColumnStartIndex": 9,
812
+ "visibleColumnStopIndex": 11,
813
+ "visibleRowStartIndex": 7,
814
+ "visibleRowStopIndex": 10,
815
+ },
816
+ ],
817
+ ]
818
+ `;
819
+
820
+ exports[`FixedSizeGrid scrollToItem method should scroll to the correct item for align = "start" 1`] = `
821
+ Array [
822
+ Array [
823
+ Object {
824
+ "overscanColumnStartIndex": 0,
825
+ "overscanColumnStopIndex": 2,
826
+ "overscanRowStartIndex": 0,
827
+ "overscanRowStopIndex": 4,
828
+ "visibleColumnStartIndex": 0,
829
+ "visibleColumnStopIndex": 1,
830
+ "visibleRowStartIndex": 0,
831
+ "visibleRowStopIndex": 3,
832
+ },
833
+ ],
834
+ Array [
835
+ Object {
836
+ "overscanColumnStartIndex": 9,
837
+ "overscanColumnStopIndex": 12,
838
+ "overscanRowStartIndex": 9,
839
+ "overscanRowStopIndex": 14,
840
+ "visibleColumnStartIndex": 10,
841
+ "visibleColumnStopIndex": 11,
842
+ "visibleRowStartIndex": 10,
843
+ "visibleRowStopIndex": 13,
844
+ },
845
+ ],
846
+ Array [
847
+ Object {
848
+ "overscanColumnStartIndex": 8,
849
+ "overscanColumnStopIndex": 11,
850
+ "overscanRowStartIndex": 8,
851
+ "overscanRowStopIndex": 13,
852
+ "visibleColumnStartIndex": 9,
853
+ "visibleColumnStopIndex": 10,
854
+ "visibleRowStartIndex": 9,
855
+ "visibleRowStopIndex": 12,
856
+ },
857
+ ],
858
+ Array [
859
+ Object {
860
+ "overscanColumnStartIndex": 97,
861
+ "overscanColumnStopIndex": 99,
862
+ "overscanRowStartIndex": 95,
863
+ "overscanRowStopIndex": 99,
864
+ "visibleColumnStartIndex": 98,
865
+ "visibleColumnStopIndex": 99,
866
+ "visibleRowStartIndex": 96,
867
+ "visibleRowStopIndex": 99,
868
+ },
869
+ ],
870
+ Array [
871
+ Object {
872
+ "overscanColumnStartIndex": 97,
873
+ "overscanColumnStopIndex": 99,
874
+ "overscanRowStartIndex": 9,
875
+ "overscanRowStopIndex": 14,
876
+ "visibleColumnStartIndex": 98,
877
+ "visibleColumnStopIndex": 99,
878
+ "visibleRowStartIndex": 10,
879
+ "visibleRowStopIndex": 13,
880
+ },
881
+ ],
882
+ Array [
883
+ Object {
884
+ "overscanColumnStartIndex": 0,
885
+ "overscanColumnStopIndex": 2,
886
+ "overscanRowStartIndex": 9,
887
+ "overscanRowStopIndex": 14,
888
+ "visibleColumnStartIndex": 0,
889
+ "visibleColumnStopIndex": 1,
890
+ "visibleRowStartIndex": 10,
891
+ "visibleRowStopIndex": 13,
892
+ },
893
+ ],
894
+ ]
895
+ `;
896
+
897
+ exports[`FixedSizeGrid should render a grid of items 1`] = `
898
+ Array [
899
+ Array [
900
+ Object {
901
+ "overscanColumnStartIndex": 0,
902
+ "overscanColumnStopIndex": 2,
903
+ "overscanRowStartIndex": 0,
904
+ "overscanRowStopIndex": 4,
905
+ "visibleColumnStartIndex": 0,
906
+ "visibleColumnStopIndex": 1,
907
+ "visibleRowStartIndex": 0,
908
+ "visibleRowStopIndex": 3,
909
+ },
910
+ ],
911
+ ]
912
+ `;