@office-iss/react-native-win32 0.68.0-preview.2 → 0.69.0-preview.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/.flowconfig +3 -3
  2. package/CHANGELOG.json +386 -14
  3. package/CHANGELOG.md +159 -9
  4. package/IntegrationTests/BUCK +4 -1
  5. package/Libraries/ActionSheetIOS/ActionSheetIOS.js +7 -0
  6. package/Libraries/ActionSheetIOS/NativeActionSheetManager.js +1 -0
  7. package/Libraries/Alert/Alert.win32.js +1 -1
  8. package/Libraries/Animated/AnimatedImplementation.js +1 -1
  9. package/Libraries/Animated/NativeAnimatedHelper.js +55 -9
  10. package/Libraries/Animated/NativeAnimatedModule.js +1 -0
  11. package/Libraries/Animated/NativeAnimatedTurboModule.js +1 -0
  12. package/Libraries/Animated/animations/TimingAnimation.js +6 -11
  13. package/Libraries/Animated/createAnimatedComponent.js +2 -2
  14. package/Libraries/Animated/nodes/AnimatedColor.js +95 -29
  15. package/Libraries/Animated/nodes/AnimatedInterpolation.js +19 -22
  16. package/Libraries/Animated/nodes/AnimatedNode.js +2 -2
  17. package/Libraries/Animated/nodes/AnimatedValue.js +1 -1
  18. package/Libraries/AppState/AppState.js +1 -1
  19. package/Libraries/Blob/URL.js +7 -1
  20. package/Libraries/Components/Button.js +3 -0
  21. package/Libraries/Components/DatePickerAndroid/NativeDatePickerAndroid.js +5 -0
  22. package/Libraries/Components/Pressable/Pressable.js +3 -3
  23. package/Libraries/Components/Pressable/Pressable.win32.js +3 -3
  24. package/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +47 -38
  25. package/Libraries/Components/ScrollView/ScrollContentViewNativeComponent.js +15 -7
  26. package/Libraries/Components/ScrollView/ScrollView.js +1 -1
  27. package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +16 -3
  28. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +3 -1
  29. package/Libraries/Components/Slider/Slider.js +0 -2
  30. package/Libraries/Components/Slider/SliderNativeComponent.js +0 -1
  31. package/Libraries/Components/StatusBar/StatusBar.js +6 -1
  32. package/Libraries/Components/Switch/Switch.js +13 -2
  33. package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +114 -109
  34. package/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js +17 -9
  35. package/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js +13 -5
  36. package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +10 -0
  37. package/Libraries/Components/TextInput/TextInput.js +1 -8
  38. package/Libraries/Components/TextInput/TextInputState.js +10 -2
  39. package/Libraries/Components/TextInput/TextInputState.win32.js +10 -2
  40. package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js.map +1 -1
  41. package/Libraries/Components/Touchable/TouchableBounce.js +1 -0
  42. package/Libraries/Components/Touchable/TouchableHighlight.js +1 -0
  43. package/Libraries/Components/Touchable/TouchableNativeFeedback.js +1 -0
  44. package/Libraries/Components/Touchable/TouchableOpacity.js +7 -1
  45. package/Libraries/Components/Touchable/TouchableWin32.Props.d.ts +3 -1
  46. package/Libraries/Components/Touchable/TouchableWin32.Props.js.map +1 -1
  47. package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +2 -0
  48. package/Libraries/Components/View/ReactNativeViewAttributes.js +1 -0
  49. package/Libraries/Components/View/ReactNativeViewAttributes.win32.js +1 -0
  50. package/Libraries/Components/View/View.win32.js +33 -1
  51. package/Libraries/Components/View/ViewNativeComponent.js +68 -8
  52. package/Libraries/Components/View/ViewPropTypes.js +36 -4
  53. package/Libraries/Components/View/ViewPropTypes.win32.js +36 -4
  54. package/Libraries/Components/View/ViewWin32.Props.d.ts +1 -1
  55. package/Libraries/Components/View/ViewWin32.Props.js.map +1 -1
  56. package/Libraries/Core/Devtools/parseHermesStack.js +1 -1
  57. package/Libraries/Core/ExceptionsManager.js +1 -1
  58. package/Libraries/Core/RawEventEmitter.js +38 -0
  59. package/Libraries/Core/ReactNativeVersion.js +2 -2
  60. package/Libraries/Core/polyfillPromise.js +32 -0
  61. package/Libraries/Core/setUpReactDevTools.js +3 -2
  62. package/Libraries/EventEmitter/NativeEventEmitter.js +3 -3
  63. package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +2 -1
  64. package/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js +3 -3
  65. package/Libraries/Events/CustomEvent.js +32 -0
  66. package/Libraries/Events/EventPolyfill.js +239 -0
  67. package/Libraries/Image/Image.android.js +0 -6
  68. package/Libraries/Image/Image.ios.js +0 -6
  69. package/Libraries/Image/Image.win32.js +2 -8
  70. package/Libraries/Image/ImageViewNativeComponent.js +18 -3
  71. package/Libraries/Image/TextInlineImageNativeComponent.js +23 -15
  72. package/Libraries/Image/resolveAssetSource.win32.js +1 -1
  73. package/Libraries/Inspector/Inspector.js +2 -4
  74. package/Libraries/Inspector/Inspector.win32.js +7 -9
  75. package/Libraries/Interaction/BridgeSpyStallHandler.js +4 -3
  76. package/Libraries/Interaction/InteractionManager.js +1 -12
  77. package/Libraries/Interaction/TaskQueue.js +5 -4
  78. package/Libraries/LayoutAnimation/LayoutAnimation.js +13 -0
  79. package/Libraries/Linking/Linking.js +1 -1
  80. package/Libraries/Lists/FlatList.js +27 -6
  81. package/Libraries/Lists/VirtualizedList.js +71 -55
  82. package/Libraries/Lists/VirtualizedListContext.js +7 -3
  83. package/Libraries/Lists/VirtualizedSectionList.js +2 -2
  84. package/Libraries/Lists/__tests__/{FillRateHelper-test.windows.js → FillRateHelper-test.js} +2 -2
  85. package/Libraries/Lists/__tests__/{FlatList-test.windows.js → FlatList-test.js} +2 -2
  86. package/Libraries/Lists/__tests__/{SectionList-test.windows.js → SectionList-test.js} +14 -14
  87. package/Libraries/Lists/__tests__/{VirtualizeUtils-test.windows.js → VirtualizeUtils-test.js} +3 -3
  88. package/Libraries/Lists/__tests__/{VirtualizedList-test.windows.js → VirtualizedList-test.js} +92 -43
  89. package/Libraries/Lists/__tests__/{VirtualizedSectionList-test.windows.js → VirtualizedSectionList-test.js} +16 -14
  90. package/Libraries/LogBox/Data/LogBoxData.js +2 -2
  91. package/Libraries/LogBox/Data/LogBoxLog.js +1 -1
  92. package/Libraries/LogBox/Data/LogBoxSymbolication.js +1 -1
  93. package/Libraries/LogBox/Data/parseLogBoxLog.js +1 -1
  94. package/Libraries/LogBox/LogBox.js +2 -21
  95. package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +1 -0
  96. package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +2 -1
  97. package/Libraries/NativeComponent/BaseViewConfig.android.js +295 -0
  98. package/Libraries/NativeComponent/BaseViewConfig.ios.js +333 -0
  99. package/Libraries/NativeComponent/BaseViewConfig.win32.js +334 -0
  100. package/Libraries/NativeComponent/NativeComponentRegistry.js +0 -2
  101. package/Libraries/NativeComponent/PlatformBaseViewConfig.js +24 -0
  102. package/Libraries/NativeComponent/StaticViewConfigValidator.js +7 -42
  103. package/Libraries/NativeComponent/ViewConfig.js +4 -4
  104. package/Libraries/NativeComponent/ViewConfigIgnore.js +54 -0
  105. package/Libraries/Network/FormData.js +7 -1
  106. package/Libraries/Network/RCTNetworking.win32.js +1 -1
  107. package/Libraries/Pressability/Pressability.js +115 -46
  108. package/Libraries/Pressability/Pressability.win32.js +174 -69
  109. package/Libraries/Pressability/PressabilityDebug.js +5 -9
  110. package/Libraries/PushNotificationIOS/NativePushNotificationManagerIOS.js +1 -0
  111. package/Libraries/ReactNative/AppContainer.js +1 -1
  112. package/Libraries/ReactNative/{DummyUIManager.js → BridgelessUIManager.js} +62 -40
  113. package/Libraries/ReactNative/PaperUIManager.win32.js +5 -5
  114. package/Libraries/ReactNative/ReactNativeFeatureFlags.js +39 -0
  115. package/Libraries/ReactNative/UIManager.js +2 -3
  116. package/Libraries/ReactNative/renderApplication.js +4 -0
  117. package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +8 -0
  118. package/Libraries/Renderer/implementations/ReactFabric-dev.js +5908 -4906
  119. package/Libraries/Renderer/implementations/ReactFabric-prod.js +2100 -1918
  120. package/Libraries/Renderer/implementations/ReactFabric-profiling.js +2567 -2352
  121. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +5610 -4844
  122. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +1710 -1556
  123. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +1830 -1639
  124. package/Libraries/Renderer/shims/ReactNativeTypes.js +2 -1
  125. package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +2 -1
  126. package/Libraries/StyleSheet/EdgeInsetsPropType.js +4 -1
  127. package/Libraries/StyleSheet/StyleSheetTypes.js +59 -66
  128. package/Libraries/StyleSheet/normalizeColor.js +1 -1
  129. package/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.js +15 -0
  130. package/Libraries/StyleSheet/private/_TransformStyle.js +53 -0
  131. package/Libraries/Text/Text.js +13 -7
  132. package/Libraries/Text/TextNativeComponent.js +2 -0
  133. package/Libraries/Text/TextNativeComponent.win32.js +2 -0
  134. package/Libraries/Text/TextProps.js +10 -0
  135. package/Libraries/Types/CoreEventTypes.js +13 -1
  136. package/Libraries/Types/CoreEventTypes.win32.js +26 -1
  137. package/Libraries/Utilities/Appearance.js +0 -8
  138. package/Libraries/Utilities/HMRClient.js +1 -1
  139. package/Libraries/Utilities/ReactNativeTestTools.js +1 -0
  140. package/Libraries/Utilities/codegenNativeComponent.js +17 -6
  141. package/Libraries/Utilities/stringifySafe.js +4 -1
  142. package/Libraries/Utilities/verifyComponentAttributeEquivalence.js +3 -3
  143. package/Libraries/WebSocket/WebSocket.js +1 -1
  144. package/Libraries/vendor/emitter/_EmitterSubscription.js +1 -1
  145. package/Libraries/vendor/emitter/_EventEmitter.js +1 -1
  146. package/Libraries/vendor/emitter/_EventSubscription.js +1 -1
  147. package/index.js +30 -25
  148. package/index.win32.js +30 -25
  149. package/jest/preprocessor.js +24 -107
  150. package/jest/preprocessor_DO_NOT_USE.js +122 -0
  151. package/metro.config.js +3 -47
  152. package/overrides.json +39 -46
  153. package/package.json +28 -26
  154. package/rntypes/index.d.ts +19 -7
  155. package/src/Libraries/Components/Touchable/Tests/TouchableWin32Test.tsx +1 -1
  156. package/src/Libraries/Components/Touchable/TouchableWin32.Props.tsx +3 -1
  157. package/src/Libraries/Components/View/ViewWin32.Props.ts +1 -0
  158. package/src/Libraries/Lists/__tests__/__snapshots__/FlatList-test.js.snap +427 -0
  159. package/src/Libraries/Lists/__tests__/__snapshots__/SectionList-test.js.snap +391 -0
  160. package/src/Libraries/Lists/__tests__/__snapshots__/VirtualizeUtils-test.js.snap +3 -0
  161. package/src/Libraries/Lists/__tests__/__snapshots__/VirtualizedList-test.js.snap +4565 -0
  162. package/src/Libraries/Lists/__tests__/__snapshots__/VirtualizedSectionList-test.js.snap +1153 -0
  163. package/src/rntypes/index.d.ts +19 -7
  164. package/typings-index.js +5 -1
  165. package/typings-index.js.map +1 -1
  166. package/Libraries/Components/SegmentedControlIOS/RCTSegmentedControlNativeComponent.js +0 -44
  167. package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.android.js +0 -45
  168. package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.ios.js +0 -123
  169. package/Libraries/Components/SegmentedControlIOS/SegmentedControlIOS.js +0 -45
  170. package/Libraries/Components/View/ReactNativeViewViewConfig.js +0 -360
  171. package/Libraries/Components/View/ReactNativeViewViewConfig.win32.js +0 -401
  172. package/Libraries/Components/View/ReactNativeViewViewConfigAndroid.js +0 -83
  173. package/Libraries/ReactNative/UIManagerInjection.js +0 -15
  174. package/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +0 -24527
  175. package/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +0 -8309
  176. package/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +0 -8961
  177. package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +0 -24948
  178. package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +0 -8400
  179. package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +0 -9049
  180. package/flow/Promise.js +0 -47
@@ -0,0 +1,391 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`SectionList rendering empty section headers is fine 1`] = `
4
+ <RCTScrollView
5
+ data={
6
+ Array [
7
+ Object {
8
+ "data": Array [
9
+ Object {
10
+ "key": "i1",
11
+ },
12
+ Object {
13
+ "key": "i2",
14
+ },
15
+ ],
16
+ "key": "s1",
17
+ },
18
+ ]
19
+ }
20
+ getItem={[Function]}
21
+ getItemCount={[Function]}
22
+ keyExtractor={[Function]}
23
+ onContentSizeChange={[Function]}
24
+ onLayout={[Function]}
25
+ onMomentumScrollBegin={[Function]}
26
+ onMomentumScrollEnd={[Function]}
27
+ onScroll={[Function]}
28
+ onScrollBeginDrag={[Function]}
29
+ onScrollEndDrag={[Function]}
30
+ renderItem={[Function]}
31
+ scrollEventThrottle={50}
32
+ stickyHeaderIndices={Array []}
33
+ >
34
+ <View>
35
+ <View
36
+ onLayout={[Function]}
37
+ style={null}
38
+ />
39
+ <View
40
+ onLayout={[Function]}
41
+ style={null}
42
+ >
43
+ <item
44
+ v="i1"
45
+ />
46
+ </View>
47
+ <View
48
+ onLayout={[Function]}
49
+ style={null}
50
+ >
51
+ <item
52
+ v="i2"
53
+ />
54
+ </View>
55
+ <View
56
+ onLayout={[Function]}
57
+ style={null}
58
+ />
59
+ </View>
60
+ </RCTScrollView>
61
+ `;
62
+
63
+ exports[`SectionList renders a footer when there is no data 1`] = `
64
+ <RCTScrollView
65
+ data={
66
+ Array [
67
+ Object {
68
+ "data": Array [],
69
+ "key": "s1",
70
+ },
71
+ ]
72
+ }
73
+ getItem={[Function]}
74
+ getItemCount={[Function]}
75
+ keyExtractor={[Function]}
76
+ onContentSizeChange={[Function]}
77
+ onLayout={[Function]}
78
+ onMomentumScrollBegin={[Function]}
79
+ onMomentumScrollEnd={[Function]}
80
+ onScroll={[Function]}
81
+ onScrollBeginDrag={[Function]}
82
+ onScrollEndDrag={[Function]}
83
+ renderItem={[Function]}
84
+ scrollEventThrottle={50}
85
+ stickyHeaderIndices={Array []}
86
+ >
87
+ <View>
88
+ <View
89
+ onLayout={[Function]}
90
+ style={null}
91
+ >
92
+ <sectionHeader
93
+ v="section:s1"
94
+ />
95
+ </View>
96
+ <View
97
+ onLayout={[Function]}
98
+ style={null}
99
+ >
100
+ <sectionFooter
101
+ v="section:s1"
102
+ />
103
+ </View>
104
+ </View>
105
+ </RCTScrollView>
106
+ `;
107
+
108
+ exports[`SectionList renders a footer when there is no data and no header 1`] = `
109
+ <RCTScrollView
110
+ data={
111
+ Array [
112
+ Object {
113
+ "data": Array [],
114
+ "key": "s1",
115
+ },
116
+ ]
117
+ }
118
+ getItem={[Function]}
119
+ getItemCount={[Function]}
120
+ keyExtractor={[Function]}
121
+ onContentSizeChange={[Function]}
122
+ onLayout={[Function]}
123
+ onMomentumScrollBegin={[Function]}
124
+ onMomentumScrollEnd={[Function]}
125
+ onScroll={[Function]}
126
+ onScrollBeginDrag={[Function]}
127
+ onScrollEndDrag={[Function]}
128
+ renderItem={[Function]}
129
+ scrollEventThrottle={50}
130
+ stickyHeaderIndices={Array []}
131
+ >
132
+ <View>
133
+ <View
134
+ onLayout={[Function]}
135
+ style={null}
136
+ />
137
+ <View
138
+ onLayout={[Function]}
139
+ style={null}
140
+ >
141
+ <sectionFooter
142
+ v="section:s1"
143
+ />
144
+ </View>
145
+ </View>
146
+ </RCTScrollView>
147
+ `;
148
+
149
+ exports[`SectionList renders all the bells and whistles 1`] = `
150
+ <RCTScrollView
151
+ ListEmptyComponent={[Function]}
152
+ ListFooterComponent={[Function]}
153
+ ListHeaderComponent={[Function]}
154
+ data={
155
+ Array [
156
+ Object {
157
+ "ItemSeparatorComponent": [Function],
158
+ "data": Array [
159
+ Object {
160
+ "id": "i1s1",
161
+ },
162
+ Object {
163
+ "id": "i2s1",
164
+ },
165
+ ],
166
+ "key": "s1",
167
+ "keyExtractor": [Function],
168
+ "renderItem": [Function],
169
+ },
170
+ Object {
171
+ "data": Array [
172
+ Object {
173
+ "key": "i1s2",
174
+ },
175
+ Object {
176
+ "key": "i2s2",
177
+ },
178
+ ],
179
+ "key": "s2",
180
+ },
181
+ Object {
182
+ "data": Array [
183
+ Object {
184
+ "key": "i1s3",
185
+ },
186
+ Object {
187
+ "key": "i2s3",
188
+ },
189
+ ],
190
+ "key": "s3",
191
+ },
192
+ ]
193
+ }
194
+ getItem={[Function]}
195
+ getItemCount={[Function]}
196
+ initialNumToRender={Infinity}
197
+ keyExtractor={[Function]}
198
+ onContentSizeChange={[Function]}
199
+ onLayout={[Function]}
200
+ onMomentumScrollBegin={[Function]}
201
+ onMomentumScrollEnd={[Function]}
202
+ onRefresh={[MockFunction]}
203
+ onScroll={[Function]}
204
+ onScrollBeginDrag={[Function]}
205
+ onScrollEndDrag={[Function]}
206
+ refreshControl={
207
+ <RefreshControlMock
208
+ onRefresh={[MockFunction]}
209
+ refreshing={false}
210
+ />
211
+ }
212
+ refreshing={false}
213
+ renderItem={[Function]}
214
+ scrollEventThrottle={50}
215
+ stickyHeaderIndices={Array []}
216
+ >
217
+ <RCTRefreshControl />
218
+ <View>
219
+ <View
220
+ onLayout={[Function]}
221
+ >
222
+ <header
223
+ v=""
224
+ />
225
+ </View>
226
+ <View
227
+ onLayout={[Function]}
228
+ style={null}
229
+ >
230
+ <sectionHeader
231
+ v="section:s1"
232
+ />
233
+ </View>
234
+ <View
235
+ onLayout={[Function]}
236
+ style={null}
237
+ >
238
+ <View>
239
+ <sectionSeparator
240
+ v="highlighted:false,leadingItem:undefined,leadingSection:undefined,section:s1,trailingItem:i1s1,trailingSection:s2"
241
+ />
242
+ <itemForSection1
243
+ v="item:i1s1,index:0,section:s1,separators:[object Object]"
244
+ />
245
+ <itemSeparatorForSection1
246
+ v="highlighted:false,leadingItem:i1s1,leadingSection:undefined,section:s1,trailingItem:i2s1,trailingSection:s2"
247
+ />
248
+ </View>
249
+ </View>
250
+ <View
251
+ onLayout={[Function]}
252
+ style={null}
253
+ >
254
+ <View>
255
+ <itemForSection1
256
+ v="item:i2s1,index:1,section:s1,separators:[object Object]"
257
+ />
258
+ <sectionSeparator
259
+ v="highlighted:false,leadingItem:i2s1,leadingSection:undefined,section:s1,trailingItem:undefined,trailingSection:s2"
260
+ />
261
+ </View>
262
+ </View>
263
+ <View
264
+ onLayout={[Function]}
265
+ style={null}
266
+ >
267
+ <sectionFooter
268
+ v="section:s1"
269
+ />
270
+ </View>
271
+ <View
272
+ onLayout={[Function]}
273
+ style={null}
274
+ >
275
+ <sectionHeader
276
+ v="section:s2"
277
+ />
278
+ </View>
279
+ <View
280
+ onLayout={[Function]}
281
+ style={null}
282
+ >
283
+ <View>
284
+ <sectionSeparator
285
+ v="highlighted:false,leadingItem:undefined,leadingSection:s1,section:s2,trailingItem:i1s2,trailingSection:s3"
286
+ />
287
+ <defaultItem
288
+ v="item:i1s2,index:0,section:s2,separators:[object Object]"
289
+ />
290
+ <defaultItemSeparator
291
+ v="highlighted:false,leadingItem:i1s2,leadingSection:s1,section:s2,trailingItem:i2s2,trailingSection:s3"
292
+ />
293
+ </View>
294
+ </View>
295
+ <View
296
+ onLayout={[Function]}
297
+ style={null}
298
+ >
299
+ <View>
300
+ <defaultItem
301
+ v="item:i2s2,index:1,section:s2,separators:[object Object]"
302
+ />
303
+ <sectionSeparator
304
+ v="highlighted:false,leadingItem:i2s2,leadingSection:s1,section:s2,trailingItem:undefined,trailingSection:s3"
305
+ />
306
+ </View>
307
+ </View>
308
+ <View
309
+ onLayout={[Function]}
310
+ style={null}
311
+ >
312
+ <sectionFooter
313
+ v="section:s2"
314
+ />
315
+ </View>
316
+ <View
317
+ onLayout={[Function]}
318
+ style={null}
319
+ >
320
+ <sectionHeader
321
+ v="section:s3"
322
+ />
323
+ </View>
324
+ <View
325
+ onLayout={[Function]}
326
+ style={null}
327
+ >
328
+ <View>
329
+ <sectionSeparator
330
+ v="highlighted:false,leadingItem:undefined,leadingSection:s2,section:s3,trailingItem:i1s3,trailingSection:undefined"
331
+ />
332
+ <defaultItem
333
+ v="item:i1s3,index:0,section:s3,separators:[object Object]"
334
+ />
335
+ <defaultItemSeparator
336
+ v="highlighted:false,leadingItem:i1s3,leadingSection:s2,section:s3,trailingItem:i2s3,trailingSection:undefined"
337
+ />
338
+ </View>
339
+ </View>
340
+ <View
341
+ onLayout={[Function]}
342
+ style={null}
343
+ >
344
+ <View>
345
+ <defaultItem
346
+ v="item:i2s3,index:1,section:s3,separators:[object Object]"
347
+ />
348
+ <sectionSeparator
349
+ v="highlighted:false,leadingItem:i2s3,leadingSection:s2,section:s3,trailingItem:undefined,trailingSection:undefined"
350
+ />
351
+ </View>
352
+ </View>
353
+ <View
354
+ onLayout={[Function]}
355
+ style={null}
356
+ >
357
+ <sectionFooter
358
+ v="section:s3"
359
+ />
360
+ </View>
361
+ <View
362
+ onLayout={[Function]}
363
+ >
364
+ <footer
365
+ v=""
366
+ />
367
+ </View>
368
+ </View>
369
+ </RCTScrollView>
370
+ `;
371
+
372
+ exports[`SectionList renders empty list 1`] = `
373
+ <RCTScrollView
374
+ data={Array []}
375
+ getItem={[Function]}
376
+ getItemCount={[Function]}
377
+ keyExtractor={[Function]}
378
+ onContentSizeChange={[Function]}
379
+ onLayout={[Function]}
380
+ onMomentumScrollBegin={[Function]}
381
+ onMomentumScrollEnd={[Function]}
382
+ onScroll={[Function]}
383
+ onScrollBeginDrag={[Function]}
384
+ onScrollEndDrag={[Function]}
385
+ renderItem={[Function]}
386
+ scrollEventThrottle={50}
387
+ stickyHeaderIndices={Array []}
388
+ >
389
+ <View />
390
+ </RCTScrollView>
391
+ `;
@@ -0,0 +1,3 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`elementsThatOverlapOffsets errors on non-increasing offsets 1`] = `"bad offsets input, should be in increasing order: [150,50]"`;