@pixui-dev/pxw 0.1.33 → 0.1.35

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 (97) hide show
  1. package/bin/pxw.js +56 -56
  2. package/bin/wpbuild.js +10 -10
  3. package/config/daemon.js +157 -157
  4. package/config/default.conf +20 -20
  5. package/config/devops.js +550 -550
  6. package/config/h5es.js +14 -14
  7. package/config/index.html +183 -183
  8. package/config/pfbs.js +259 -259
  9. package/config/util.js +143 -143
  10. package/config/webpack.js +325 -325
  11. package/lib/assets/check.html +62 -62
  12. package/lib/assets/preact.js +4354 -4354
  13. package/lib/check/main.less +62 -62
  14. package/lib/check/main.tsx +41 -41
  15. package/lib/check/tool.js +3 -3
  16. package/lib/check/util.tsx +110 -110
  17. package/lib/grpc-web/dist/ChunkParser.js +117 -117
  18. package/lib/grpc-web/dist/Code.js +58 -58
  19. package/lib/grpc-web/dist/client.js +299 -299
  20. package/lib/grpc-web/dist/debug.js +16 -16
  21. package/lib/grpc-web/dist/detach.js +7 -7
  22. package/lib/grpc-web/dist/index.js +29 -29
  23. package/lib/grpc-web/dist/invoke.js +32 -32
  24. package/lib/grpc-web/dist/message.js +3 -3
  25. package/lib/grpc-web/dist/metadata.js +5 -5
  26. package/lib/grpc-web/dist/service.js +3 -3
  27. package/lib/grpc-web/dist/transports/Transport.js +15 -15
  28. package/lib/grpc-web/dist/transports/http/fetch.js +117 -117
  29. package/lib/grpc-web/dist/transports/http/http.js +15 -15
  30. package/lib/grpc-web/dist/transports/http/xhr.js +136 -136
  31. package/lib/grpc-web/dist/transports/http/xhrUtil.js +36 -36
  32. package/lib/grpc-web/dist/transports/websocket/websocket.js +95 -95
  33. package/lib/grpc-web/dist/typings/ChunkParser.d.ts +17 -17
  34. package/lib/grpc-web/dist/typings/Code.d.ts +20 -20
  35. package/lib/grpc-web/dist/typings/client.d.ts +25 -25
  36. package/lib/grpc-web/dist/typings/debug.d.ts +1 -1
  37. package/lib/grpc-web/dist/typings/detach.d.ts +1 -1
  38. package/lib/grpc-web/dist/typings/index.d.ts +45 -45
  39. package/lib/grpc-web/dist/typings/invoke.d.ts +20 -20
  40. package/lib/grpc-web/dist/typings/message.d.ts +8 -8
  41. package/lib/grpc-web/dist/typings/metadata.d.ts +2 -2
  42. package/lib/grpc-web/dist/typings/service.d.ts +16 -16
  43. package/lib/grpc-web/dist/typings/transports/Transport.d.ts +22 -22
  44. package/lib/grpc-web/dist/typings/transports/http/fetch.d.ts +6 -6
  45. package/lib/grpc-web/dist/typings/transports/http/http.d.ts +5 -5
  46. package/lib/grpc-web/dist/typings/transports/http/xhr.d.ts +27 -27
  47. package/lib/grpc-web/dist/typings/transports/http/xhrUtil.d.ts +3 -3
  48. package/lib/grpc-web/dist/typings/transports/websocket/websocket.d.ts +2 -2
  49. package/lib/grpc-web/dist/typings/unary.d.ts +23 -23
  50. package/lib/grpc-web/dist/typings/util.d.ts +2 -2
  51. package/lib/grpc-web/dist/unary.js +44 -44
  52. package/lib/grpc-web/dist/util.js +11 -11
  53. package/lib/grpcTransport/PixHttp2Transport.ts +107 -107
  54. package/lib/grpcTransport/PixLuaTransport.ts +82 -82
  55. package/lib/h5es-types/v1.9.2/h5es.d.ts +1756 -1752
  56. package/lib/h5es-types/v3.5.0/h5es.d.ts +1851 -1851
  57. package/lib/h5es-types/v3.5.6/h5es.d.ts +1911 -1911
  58. package/lib/pi_component/tinyList/tinyList.js +483 -483
  59. package/lib/pi_component/tinyList/tinyList.tsx +517 -517
  60. package/lib/preact-router.js +395 -395
  61. package/lib/preact.js +4355 -4355
  62. package/lib/preact.tq.js +4385 -4385
  63. package/lib/react-window/src/FixedSizeGrid.js +172 -172
  64. package/lib/react-window/src/FixedSizeList.js +91 -91
  65. package/lib/react-window/src/VariableSizeGrid.js +329 -329
  66. package/lib/react-window/src/VariableSizeList.js +231 -231
  67. package/lib/react-window/src/__tests__/FixedSizeGrid.js +942 -942
  68. package/lib/react-window/src/__tests__/FixedSizeList.js +749 -749
  69. package/lib/react-window/src/__tests__/VariableSizeGrid.js +598 -598
  70. package/lib/react-window/src/__tests__/VariableSizeList.js +345 -345
  71. package/lib/react-window/src/__tests__/__snapshots__/FixedSizeGrid.js.snap +912 -912
  72. package/lib/react-window/src/__tests__/__snapshots__/FixedSizeList.js.snap +568 -568
  73. package/lib/react-window/src/__tests__/__snapshots__/VariableSizeGrid.js.snap +542 -542
  74. package/lib/react-window/src/__tests__/__snapshots__/VariableSizeList.js.snap +331 -331
  75. package/lib/react-window/src/__tests__/areEqual.js +28 -28
  76. package/lib/react-window/src/__tests__/shouldComponentUpdate.js +32 -32
  77. package/lib/react-window/src/areEqual.js +13 -13
  78. package/lib/react-window/src/createGridComponent.js +657 -657
  79. package/lib/react-window/src/createListComponent.js +574 -574
  80. package/lib/react-window/src/domHelpers.js +69 -69
  81. package/lib/react-window/src/index.js +9 -9
  82. package/lib/react-window/src/shallowDiffers.js +17 -17
  83. package/lib/react-window/src/shouldComponentUpdate.js +11 -11
  84. package/lib/react-window/src/test.js.flow +382 -382
  85. package/lib/react-window/src/timer.js +36 -36
  86. package/lib/types/dom.ts +17 -17
  87. package/lib/types/ext.d.ts +75 -75
  88. package/lib/types/preact/css.d.ts +7476 -7476
  89. package/lib/types/preact/index.d.ts +340 -340
  90. package/lib/types/preact/internal.d.ts +94 -94
  91. package/lib/types/preact/jsx.d.ts +368 -368
  92. package/lib/types/preact-router/index.d.ts +84 -84
  93. package/package.json +127 -127
  94. package/scripts/pack.js +40 -40
  95. package/scripts/postinstall.js +12 -12
  96. package/scripts/run-pxw.js +19 -19
  97. package/tsconfig.json +30 -30
@@ -1,331 +1,331 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`VariableSizeList onScroll scrolling should report partial items correctly in onItemsRendered 1`] = `
4
- Array [
5
- Array [
6
- Object {
7
- "overscanStartIndex": 0,
8
- "overscanStopIndex": 6,
9
- "visibleStartIndex": 0,
10
- "visibleStopIndex": 4,
11
- },
12
- ],
13
- Array [
14
- Object {
15
- "overscanStartIndex": 1,
16
- "overscanStopIndex": 8,
17
- "visibleStartIndex": 2,
18
- "visibleStopIndex": 6,
19
- },
20
- ],
21
- Array [
22
- Object {
23
- "overscanStartIndex": 2,
24
- "overscanStopIndex": 8,
25
- "visibleStartIndex": 3,
26
- "visibleStopIndex": 6,
27
- },
28
- ],
29
- Array [
30
- Object {
31
- "overscanStartIndex": 0,
32
- "overscanStopIndex": 7,
33
- "visibleStartIndex": 2,
34
- "visibleStopIndex": 6,
35
- },
36
- ],
37
- Array [
38
- Object {
39
- "overscanStartIndex": 94,
40
- "overscanStopIndex": 99,
41
- "visibleStartIndex": 95,
42
- "visibleStopIndex": 99,
43
- },
44
- ],
45
- Array [
46
- Object {
47
- "overscanStartIndex": 95,
48
- "overscanStopIndex": 99,
49
- "visibleStartIndex": 96,
50
- "visibleStopIndex": 99,
51
- },
52
- ],
53
- Array [
54
- Object {
55
- "overscanStartIndex": 93,
56
- "overscanStopIndex": 99,
57
- "visibleStartIndex": 95,
58
- "visibleStopIndex": 99,
59
- },
60
- ],
61
- ]
62
- `;
63
-
64
- exports[`VariableSizeList scrollToItem method scroll with align = "auto" should work with partially-visible items 1`] = `
65
- Array [
66
- Array [
67
- Object {
68
- "overscanStartIndex": 0,
69
- "overscanStopIndex": 5,
70
- "visibleStartIndex": 0,
71
- "visibleStopIndex": 3,
72
- },
73
- ],
74
- Array [
75
- Object {
76
- "overscanStartIndex": 5,
77
- "overscanStopIndex": 12,
78
- "visibleStartIndex": 7,
79
- "visibleStopIndex": 10,
80
- },
81
- ],
82
- Array [
83
- Object {
84
- "overscanStartIndex": 94,
85
- "overscanStopIndex": 99,
86
- "visibleStartIndex": 96,
87
- "visibleStopIndex": 99,
88
- },
89
- ],
90
- Array [
91
- Object {
92
- "overscanStartIndex": 0,
93
- "overscanStopIndex": 6,
94
- "visibleStartIndex": 1,
95
- "visibleStopIndex": 4,
96
- },
97
- ],
98
- Array [
99
- Object {
100
- "overscanStartIndex": 0,
101
- "overscanStopIndex": 5,
102
- "visibleStartIndex": 0,
103
- "visibleStopIndex": 3,
104
- },
105
- ],
106
- ]
107
- `;
108
-
109
- exports[`VariableSizeList scrollToItem method should not set invalid offsets when the list contains few items 1`] = `[Function]`;
110
-
111
- exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "auto" 1`] = `
112
- Array [
113
- Array [
114
- Object {
115
- "overscanStartIndex": 0,
116
- "overscanStopIndex": 5,
117
- "visibleStartIndex": 0,
118
- "visibleStopIndex": 3,
119
- },
120
- ],
121
- Array [
122
- Object {
123
- "overscanStartIndex": 6,
124
- "overscanStopIndex": 12,
125
- "visibleStartIndex": 8,
126
- "visibleStopIndex": 10,
127
- },
128
- ],
129
- Array [
130
- Object {
131
- "overscanStartIndex": 0,
132
- "overscanStopIndex": 7,
133
- "visibleStartIndex": 2,
134
- "visibleStopIndex": 5,
135
- },
136
- ],
137
- ]
138
- `;
139
-
140
- exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "center" 1`] = `
141
- Array [
142
- Array [
143
- Object {
144
- "overscanStartIndex": 0,
145
- "overscanStopIndex": 5,
146
- "visibleStartIndex": 0,
147
- "visibleStopIndex": 3,
148
- },
149
- ],
150
- Array [
151
- Object {
152
- "overscanStartIndex": 7,
153
- "overscanStopIndex": 13,
154
- "visibleStartIndex": 9,
155
- "visibleStopIndex": 11,
156
- },
157
- ],
158
- Array [
159
- Object {
160
- "overscanStartIndex": 6,
161
- "overscanStopIndex": 12,
162
- "visibleStartIndex": 8,
163
- "visibleStopIndex": 10,
164
- },
165
- ],
166
- Array [
167
- Object {
168
- "overscanStartIndex": 0,
169
- "overscanStopIndex": 6,
170
- "visibleStartIndex": 0,
171
- "visibleStopIndex": 4,
172
- },
173
- ],
174
- ]
175
- `;
176
-
177
- exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "center" 2`] = `
178
- Array [
179
- Array [
180
- Object {
181
- "overscanStartIndex": 0,
182
- "overscanStopIndex": 5,
183
- "visibleStartIndex": 0,
184
- "visibleStopIndex": 3,
185
- },
186
- ],
187
- Array [
188
- Object {
189
- "overscanStartIndex": 7,
190
- "overscanStopIndex": 13,
191
- "visibleStartIndex": 9,
192
- "visibleStopIndex": 11,
193
- },
194
- ],
195
- Array [
196
- Object {
197
- "overscanStartIndex": 6,
198
- "overscanStopIndex": 12,
199
- "visibleStartIndex": 8,
200
- "visibleStopIndex": 10,
201
- },
202
- ],
203
- Array [
204
- Object {
205
- "overscanStartIndex": 0,
206
- "overscanStopIndex": 6,
207
- "visibleStartIndex": 0,
208
- "visibleStopIndex": 4,
209
- },
210
- ],
211
- Array [
212
- Object {
213
- "overscanStartIndex": 15,
214
- "overscanStopIndex": 19,
215
- "visibleStartIndex": 17,
216
- "visibleStopIndex": 19,
217
- },
218
- ],
219
- ]
220
- `;
221
-
222
- exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "end" 1`] = `
223
- Array [
224
- Array [
225
- Object {
226
- "overscanStartIndex": 0,
227
- "overscanStopIndex": 5,
228
- "visibleStartIndex": 0,
229
- "visibleStopIndex": 3,
230
- },
231
- ],
232
- Array [
233
- Object {
234
- "overscanStartIndex": 6,
235
- "overscanStopIndex": 12,
236
- "visibleStartIndex": 8,
237
- "visibleStopIndex": 10,
238
- },
239
- ],
240
- Array [
241
- Object {
242
- "overscanStartIndex": 4,
243
- "overscanStopIndex": 11,
244
- "visibleStartIndex": 6,
245
- "visibleStopIndex": 9,
246
- },
247
- ],
248
- Array [
249
- Object {
250
- "overscanStartIndex": 0,
251
- "overscanStopIndex": 5,
252
- "visibleStartIndex": 0,
253
- "visibleStopIndex": 3,
254
- },
255
- ],
256
- ]
257
- `;
258
-
259
- exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "smart" 1`] = `
260
- Array [
261
- Array [
262
- Object {
263
- "overscanStartIndex": 0,
264
- "overscanStopIndex": 5,
265
- "visibleStartIndex": 0,
266
- "visibleStopIndex": 3,
267
- },
268
- ],
269
- Array [
270
- Object {
271
- "overscanStartIndex": 7,
272
- "overscanStopIndex": 13,
273
- "visibleStartIndex": 9,
274
- "visibleStopIndex": 11,
275
- },
276
- ],
277
- Array [
278
- Object {
279
- "overscanStartIndex": 4,
280
- "overscanStopIndex": 11,
281
- "visibleStartIndex": 6,
282
- "visibleStopIndex": 9,
283
- },
284
- ],
285
- Array [
286
- Object {
287
- "overscanStartIndex": 0,
288
- "overscanStopIndex": 6,
289
- "visibleStartIndex": 0,
290
- "visibleStopIndex": 4,
291
- },
292
- ],
293
- ]
294
- `;
295
-
296
- exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "start" 1`] = `
297
- Array [
298
- Array [
299
- Object {
300
- "overscanStartIndex": 0,
301
- "overscanStopIndex": 5,
302
- "visibleStartIndex": 0,
303
- "visibleStopIndex": 3,
304
- },
305
- ],
306
- Array [
307
- Object {
308
- "overscanStartIndex": 8,
309
- "overscanStopIndex": 14,
310
- "visibleStartIndex": 10,
311
- "visibleStopIndex": 12,
312
- },
313
- ],
314
- Array [
315
- Object {
316
- "overscanStartIndex": 7,
317
- "overscanStopIndex": 13,
318
- "visibleStartIndex": 9,
319
- "visibleStopIndex": 11,
320
- },
321
- ],
322
- Array [
323
- Object {
324
- "overscanStartIndex": 15,
325
- "overscanStopIndex": 19,
326
- "visibleStartIndex": 17,
327
- "visibleStopIndex": 19,
328
- },
329
- ],
330
- ]
331
- `;
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`VariableSizeList onScroll scrolling should report partial items correctly in onItemsRendered 1`] = `
4
+ Array [
5
+ Array [
6
+ Object {
7
+ "overscanStartIndex": 0,
8
+ "overscanStopIndex": 6,
9
+ "visibleStartIndex": 0,
10
+ "visibleStopIndex": 4,
11
+ },
12
+ ],
13
+ Array [
14
+ Object {
15
+ "overscanStartIndex": 1,
16
+ "overscanStopIndex": 8,
17
+ "visibleStartIndex": 2,
18
+ "visibleStopIndex": 6,
19
+ },
20
+ ],
21
+ Array [
22
+ Object {
23
+ "overscanStartIndex": 2,
24
+ "overscanStopIndex": 8,
25
+ "visibleStartIndex": 3,
26
+ "visibleStopIndex": 6,
27
+ },
28
+ ],
29
+ Array [
30
+ Object {
31
+ "overscanStartIndex": 0,
32
+ "overscanStopIndex": 7,
33
+ "visibleStartIndex": 2,
34
+ "visibleStopIndex": 6,
35
+ },
36
+ ],
37
+ Array [
38
+ Object {
39
+ "overscanStartIndex": 94,
40
+ "overscanStopIndex": 99,
41
+ "visibleStartIndex": 95,
42
+ "visibleStopIndex": 99,
43
+ },
44
+ ],
45
+ Array [
46
+ Object {
47
+ "overscanStartIndex": 95,
48
+ "overscanStopIndex": 99,
49
+ "visibleStartIndex": 96,
50
+ "visibleStopIndex": 99,
51
+ },
52
+ ],
53
+ Array [
54
+ Object {
55
+ "overscanStartIndex": 93,
56
+ "overscanStopIndex": 99,
57
+ "visibleStartIndex": 95,
58
+ "visibleStopIndex": 99,
59
+ },
60
+ ],
61
+ ]
62
+ `;
63
+
64
+ exports[`VariableSizeList scrollToItem method scroll with align = "auto" should work with partially-visible items 1`] = `
65
+ Array [
66
+ Array [
67
+ Object {
68
+ "overscanStartIndex": 0,
69
+ "overscanStopIndex": 5,
70
+ "visibleStartIndex": 0,
71
+ "visibleStopIndex": 3,
72
+ },
73
+ ],
74
+ Array [
75
+ Object {
76
+ "overscanStartIndex": 5,
77
+ "overscanStopIndex": 12,
78
+ "visibleStartIndex": 7,
79
+ "visibleStopIndex": 10,
80
+ },
81
+ ],
82
+ Array [
83
+ Object {
84
+ "overscanStartIndex": 94,
85
+ "overscanStopIndex": 99,
86
+ "visibleStartIndex": 96,
87
+ "visibleStopIndex": 99,
88
+ },
89
+ ],
90
+ Array [
91
+ Object {
92
+ "overscanStartIndex": 0,
93
+ "overscanStopIndex": 6,
94
+ "visibleStartIndex": 1,
95
+ "visibleStopIndex": 4,
96
+ },
97
+ ],
98
+ Array [
99
+ Object {
100
+ "overscanStartIndex": 0,
101
+ "overscanStopIndex": 5,
102
+ "visibleStartIndex": 0,
103
+ "visibleStopIndex": 3,
104
+ },
105
+ ],
106
+ ]
107
+ `;
108
+
109
+ exports[`VariableSizeList scrollToItem method should not set invalid offsets when the list contains few items 1`] = `[Function]`;
110
+
111
+ exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "auto" 1`] = `
112
+ Array [
113
+ Array [
114
+ Object {
115
+ "overscanStartIndex": 0,
116
+ "overscanStopIndex": 5,
117
+ "visibleStartIndex": 0,
118
+ "visibleStopIndex": 3,
119
+ },
120
+ ],
121
+ Array [
122
+ Object {
123
+ "overscanStartIndex": 6,
124
+ "overscanStopIndex": 12,
125
+ "visibleStartIndex": 8,
126
+ "visibleStopIndex": 10,
127
+ },
128
+ ],
129
+ Array [
130
+ Object {
131
+ "overscanStartIndex": 0,
132
+ "overscanStopIndex": 7,
133
+ "visibleStartIndex": 2,
134
+ "visibleStopIndex": 5,
135
+ },
136
+ ],
137
+ ]
138
+ `;
139
+
140
+ exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "center" 1`] = `
141
+ Array [
142
+ Array [
143
+ Object {
144
+ "overscanStartIndex": 0,
145
+ "overscanStopIndex": 5,
146
+ "visibleStartIndex": 0,
147
+ "visibleStopIndex": 3,
148
+ },
149
+ ],
150
+ Array [
151
+ Object {
152
+ "overscanStartIndex": 7,
153
+ "overscanStopIndex": 13,
154
+ "visibleStartIndex": 9,
155
+ "visibleStopIndex": 11,
156
+ },
157
+ ],
158
+ Array [
159
+ Object {
160
+ "overscanStartIndex": 6,
161
+ "overscanStopIndex": 12,
162
+ "visibleStartIndex": 8,
163
+ "visibleStopIndex": 10,
164
+ },
165
+ ],
166
+ Array [
167
+ Object {
168
+ "overscanStartIndex": 0,
169
+ "overscanStopIndex": 6,
170
+ "visibleStartIndex": 0,
171
+ "visibleStopIndex": 4,
172
+ },
173
+ ],
174
+ ]
175
+ `;
176
+
177
+ exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "center" 2`] = `
178
+ Array [
179
+ Array [
180
+ Object {
181
+ "overscanStartIndex": 0,
182
+ "overscanStopIndex": 5,
183
+ "visibleStartIndex": 0,
184
+ "visibleStopIndex": 3,
185
+ },
186
+ ],
187
+ Array [
188
+ Object {
189
+ "overscanStartIndex": 7,
190
+ "overscanStopIndex": 13,
191
+ "visibleStartIndex": 9,
192
+ "visibleStopIndex": 11,
193
+ },
194
+ ],
195
+ Array [
196
+ Object {
197
+ "overscanStartIndex": 6,
198
+ "overscanStopIndex": 12,
199
+ "visibleStartIndex": 8,
200
+ "visibleStopIndex": 10,
201
+ },
202
+ ],
203
+ Array [
204
+ Object {
205
+ "overscanStartIndex": 0,
206
+ "overscanStopIndex": 6,
207
+ "visibleStartIndex": 0,
208
+ "visibleStopIndex": 4,
209
+ },
210
+ ],
211
+ Array [
212
+ Object {
213
+ "overscanStartIndex": 15,
214
+ "overscanStopIndex": 19,
215
+ "visibleStartIndex": 17,
216
+ "visibleStopIndex": 19,
217
+ },
218
+ ],
219
+ ]
220
+ `;
221
+
222
+ exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "end" 1`] = `
223
+ Array [
224
+ Array [
225
+ Object {
226
+ "overscanStartIndex": 0,
227
+ "overscanStopIndex": 5,
228
+ "visibleStartIndex": 0,
229
+ "visibleStopIndex": 3,
230
+ },
231
+ ],
232
+ Array [
233
+ Object {
234
+ "overscanStartIndex": 6,
235
+ "overscanStopIndex": 12,
236
+ "visibleStartIndex": 8,
237
+ "visibleStopIndex": 10,
238
+ },
239
+ ],
240
+ Array [
241
+ Object {
242
+ "overscanStartIndex": 4,
243
+ "overscanStopIndex": 11,
244
+ "visibleStartIndex": 6,
245
+ "visibleStopIndex": 9,
246
+ },
247
+ ],
248
+ Array [
249
+ Object {
250
+ "overscanStartIndex": 0,
251
+ "overscanStopIndex": 5,
252
+ "visibleStartIndex": 0,
253
+ "visibleStopIndex": 3,
254
+ },
255
+ ],
256
+ ]
257
+ `;
258
+
259
+ exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "smart" 1`] = `
260
+ Array [
261
+ Array [
262
+ Object {
263
+ "overscanStartIndex": 0,
264
+ "overscanStopIndex": 5,
265
+ "visibleStartIndex": 0,
266
+ "visibleStopIndex": 3,
267
+ },
268
+ ],
269
+ Array [
270
+ Object {
271
+ "overscanStartIndex": 7,
272
+ "overscanStopIndex": 13,
273
+ "visibleStartIndex": 9,
274
+ "visibleStopIndex": 11,
275
+ },
276
+ ],
277
+ Array [
278
+ Object {
279
+ "overscanStartIndex": 4,
280
+ "overscanStopIndex": 11,
281
+ "visibleStartIndex": 6,
282
+ "visibleStopIndex": 9,
283
+ },
284
+ ],
285
+ Array [
286
+ Object {
287
+ "overscanStartIndex": 0,
288
+ "overscanStopIndex": 6,
289
+ "visibleStartIndex": 0,
290
+ "visibleStopIndex": 4,
291
+ },
292
+ ],
293
+ ]
294
+ `;
295
+
296
+ exports[`VariableSizeList scrollToItem method should scroll to the correct item for align = "start" 1`] = `
297
+ Array [
298
+ Array [
299
+ Object {
300
+ "overscanStartIndex": 0,
301
+ "overscanStopIndex": 5,
302
+ "visibleStartIndex": 0,
303
+ "visibleStopIndex": 3,
304
+ },
305
+ ],
306
+ Array [
307
+ Object {
308
+ "overscanStartIndex": 8,
309
+ "overscanStopIndex": 14,
310
+ "visibleStartIndex": 10,
311
+ "visibleStopIndex": 12,
312
+ },
313
+ ],
314
+ Array [
315
+ Object {
316
+ "overscanStartIndex": 7,
317
+ "overscanStopIndex": 13,
318
+ "visibleStartIndex": 9,
319
+ "visibleStopIndex": 11,
320
+ },
321
+ ],
322
+ Array [
323
+ Object {
324
+ "overscanStartIndex": 15,
325
+ "overscanStopIndex": 19,
326
+ "visibleStartIndex": 17,
327
+ "visibleStopIndex": 19,
328
+ },
329
+ ],
330
+ ]
331
+ `;