@office-iss/react-native-win32 0.0.0-canary.291 → 0.0.0-canary.293
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.
- package/.flowconfig +1 -1
- package/CHANGELOG.json +43 -1
- package/CHANGELOG.md +22 -4
- package/Libraries/Alert/RCTAlertManager.js +17 -0
- package/Libraries/Animated/AnimatedEvent.js +4 -3
- package/Libraries/Animated/AnimatedExports.js.flow +2 -0
- package/Libraries/Animated/AnimatedImplementation.js +2 -2
- package/Libraries/Animated/components/AnimatedScrollView.js +48 -43
- package/Libraries/Animated/nodes/AnimatedValue.js +2 -1
- package/Libraries/BatchedBridge/MessageQueue.js +2 -2
- package/Libraries/Blob/FileReader.js +219 -8
- package/Libraries/Blob/URL.js +13 -1
- package/Libraries/Components/AccessibilityInfo/legacySendAccessibilityEvent.js +17 -0
- package/Libraries/Components/Button.js +1 -1
- package/Libraries/Components/Button.win32.js +1 -1
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +1 -3
- package/Libraries/{Utilities/__mocks__/GlobalPerformanceLogger.js → Components/DrawerAndroid/DrawerLayoutAndroid.ios.js} +3 -4
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js +6 -66
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js.flow +18 -0
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidFallback.js +71 -0
- package/Libraries/Components/Keyboard/Keyboard.js +4 -2
- package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +6 -3
- package/Libraries/Components/Pressable/Pressable.js +6 -1
- package/Libraries/Components/Pressable/Pressable.win32.js +6 -1
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js +12 -2
- package/Libraries/Components/RefreshControl/RefreshControl.js +1 -1
- package/Libraries/Components/ScrollView/ScrollView.d.ts +1 -1
- package/Libraries/Components/ScrollView/ScrollView.js +128 -116
- package/Libraries/Components/StaticRenderer.js +1 -1
- package/Libraries/Components/Switch/Switch.js +7 -3
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +2 -1
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +2 -4
- package/Libraries/Components/TextInput/TextInput.flow.js +59 -42
- package/Libraries/Components/TextInput/TextInput.flow.win32.js +1208 -0
- package/Libraries/Components/TextInput/TextInput.js +67 -1005
- package/Libraries/Components/TextInput/TextInput.win32.js +69 -1037
- package/Libraries/{Blob/__mocks__/BlobModule.js → Components/ToastAndroid/ToastAndroid.ios.js} +3 -6
- package/Libraries/Components/ToastAndroid/ToastAndroid.js +4 -32
- package/Libraries/Components/ToastAndroid/ToastAndroid.js.flow +109 -0
- package/Libraries/Components/ToastAndroid/ToastAndroid.win32.js +4 -32
- package/Libraries/Components/ToastAndroid/ToastAndroidFallback.js +45 -0
- package/Libraries/Components/Touchable/Touchable.js +5 -5
- package/Libraries/Components/Touchable/Touchable.win32.js +5 -5
- package/Libraries/Components/Touchable/TouchableBounce.js +12 -6
- package/Libraries/Components/Touchable/TouchableHighlight.js +9 -6
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +4 -4
- package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js +4 -4
- package/Libraries/Components/Touchable/TouchableOpacity.js +11 -5
- package/Libraries/Components/View/View.js +18 -21
- package/Libraries/Components/View/View.win32.js +21 -24
- package/Libraries/Components/View/ViewAccessibility.js +7 -0
- package/Libraries/Components/View/ViewAccessibility.win32.js +7 -0
- package/Libraries/Components/View/ViewPropTypes.js +1 -1
- package/Libraries/Components/View/ViewPropTypes.win32.js +1 -1
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Core/setUpReactDevTools.js +5 -5
- package/Libraries/EventEmitter/NativeEventEmitter.js +4 -1
- package/Libraries/Image/Image.js +17 -0
- package/Libraries/Image/Image.js.flow +2 -2
- package/Libraries/Image/ImageInjection.js +1 -1
- package/Libraries/Image/ImageProps.js +5 -5
- package/Libraries/Image/ImageSource.js +3 -1
- package/Libraries/Image/ImageSourceUtils.js +4 -2
- package/Libraries/Image/ImageTypes.flow.js +1 -1
- package/Libraries/Lists/FlatList.d.ts +2 -2
- package/Libraries/Lists/FlatList.js +1 -1
- package/Libraries/Lists/SectionList.js +1 -1
- package/Libraries/Lists/SectionListModern.js +3 -3
- package/Libraries/LogBox/Data/LogBoxData.js +1 -1
- package/Libraries/LogBox/LogBoxNotificationContainer.js +1 -1
- package/Libraries/Modal/Modal.js +3 -3
- package/Libraries/NativeComponent/BaseViewConfig.js +17 -0
- package/Libraries/NativeComponent/PlatformBaseViewConfig.js +2 -2
- package/Libraries/NativeModules/specs/NativeDevMenu.js +2 -2
- package/Libraries/Network/RCTNetworking.js +17 -0
- package/Libraries/Network/XMLHttpRequest.js +781 -10
- package/Libraries/NewAppScreen/components/DebugInstructions.js +1 -1
- package/Libraries/NewAppScreen/components/Header.js +1 -1
- package/Libraries/NewAppScreen/components/HermesBadge.js +1 -1
- package/Libraries/NewAppScreen/components/LearnMoreLinks.js +3 -3
- package/Libraries/NewAppScreen/components/ReloadInstructions.js +1 -1
- package/Libraries/Performance/Systrace.js +7 -7
- package/Libraries/ReactNative/AppContainer-dev.js +3 -2
- package/Libraries/ReactNative/RendererImplementation.js +6 -5
- package/Libraries/ReactNative/renderApplication.js +9 -0
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +2 -2
- package/Libraries/Renderer/implementations/ReactFabric-dev.js +4840 -4748
- package/Libraries/Renderer/implementations/ReactFabric-prod.js +4947 -4829
- package/Libraries/Renderer/implementations/ReactFabric-profiling.js +3998 -3888
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +5005 -4948
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +2744 -2652
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +5020 -4933
- package/Libraries/Renderer/shims/ReactFabric.js +3 -1
- package/Libraries/Renderer/shims/ReactFeatureFlags.js +3 -1
- package/Libraries/Renderer/shims/ReactNative.js +3 -1
- package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +3 -1
- package/Libraries/Renderer/shims/createReactNativeComponentClass.js +3 -1
- package/Libraries/Settings/Settings.js +13 -19
- package/Libraries/Settings/Settings.win32.js +19 -20
- package/Libraries/Settings/SettingsFallback.js +33 -0
- package/Libraries/StyleSheet/PlatformColorValueTypes.js +15 -0
- package/Libraries/StyleSheet/Rect.js +1 -0
- package/Libraries/StyleSheet/StyleSheet.js.flow +3 -3
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +1 -1
- package/Libraries/StyleSheet/StyleSheetTypes.js +75 -33
- package/Libraries/StyleSheet/flattenStyle.js +7 -1
- package/Libraries/StyleSheet/processBackgroundImage.js +670 -214
- package/Libraries/Text/Text.js +3 -3
- package/Libraries/Text/Text.win32.js +3 -3
- package/Libraries/Text/TextNativeComponent.js +0 -4
- package/Libraries/Text/TextNativeComponent.win32.js +0 -4
- package/Libraries/Text/TextProps.js +1 -1
- package/Libraries/Text/TextProps.win32.js +1 -1
- package/Libraries/Utilities/Appearance.js +2 -0
- package/Libraries/Utilities/BackHandler.js +17 -0
- package/Libraries/Utilities/Platform.js +17 -0
- package/Libraries/Utilities/PlatformTypes.js +2 -0
- package/Libraries/Utilities/ReactNativeTestTools.js +1 -1
- package/Libraries/WebSocket/WebSocket.js +313 -8
- package/flow/global.js +0 -2
- package/index.js +1 -288
- package/index.win32.js +8 -297
- package/overrides.json +29 -23
- package/package.json +16 -16
- package/src/private/animated/NativeAnimatedHelper.js +1 -1
- package/src/private/animated/NativeAnimatedHelper.win32.js +1 -1
- package/src/private/animated/createAnimatedPropsHook.js +2 -27
- package/src/private/components/{SafeAreaView_INTERNAL_DO_NOT_USE.js → safeareaview/SafeAreaView_INTERNAL_DO_NOT_USE.js} +6 -6
- package/src/private/components/{HScrollViewNativeComponents.js → scrollview/HScrollViewNativeComponents.js} +8 -8
- package/src/private/components/scrollview/VScrollViewNativeComponents.js +25 -0
- package/src/private/{devmenu → devsupport/devmenu}/DevMenu.js +1 -1
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/BorderBox.js +3 -3
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/BoxInspector.js +6 -5
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/ElementBox.js +8 -6
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/ElementProperties.js +11 -10
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/Inspector.js +14 -12
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/InspectorOverlay.js +5 -4
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/InspectorPanel.js +9 -8
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/NetworkOverlay.js +10 -9
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/ReactDevToolsOverlay.js +7 -7
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/StyleInspector.js +7 -6
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/XHRInterceptor.js +2 -2
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/getInspectorDataForViewAtPoint.js +2 -2
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/resolveBoxStyle.js +1 -1
- package/src/private/{inspector → devsupport/devmenu/perfmonitor}/PerformanceOverlay.js +6 -5
- package/src/private/{specs_DEPRECATED/modules → devsupport/devmenu/specs}/NativeDevMenu.js +2 -2
- package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.android.js +1 -1
- package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.ios.js +1 -1
- package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.win32.js +1 -1
- package/src/private/{debugging → devsupport/rndevtools}/setUpFuseboxReactDevToolsDispatcher.js +1 -1
- package/src/private/{fusebox → devsupport/rndevtools}/specs/NativeReactDevToolsRuntimeSettingsModule.js +2 -2
- package/src/private/{specs_DEPRECATED/modules → devsupport/rndevtools/specs}/NativeReactDevToolsSettingsManager.js +2 -2
- package/src/private/featureflags/ReactNativeFeatureFlags.js +37 -43
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +8 -8
- package/src/private/renderer/errorhandling/ErrorHandlers.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeSampleTurboModule.js +3 -0
- package/src/private/types/HostComponent.js +1 -1
- package/src/private/types/HostInstance.js +12 -4
- package/src/private/webapis/performance/Performance.js +1 -3
- package/types/index.d.ts +1 -1
- package/types/public/ReactNativeTypes.d.ts +2 -2
- package/Libraries/BatchedBridge/__mocks__/MessageQueueTestConfig.js +0 -38
- package/Libraries/BatchedBridge/__mocks__/MessageQueueTestModule.js +0 -22
- package/Libraries/Blob/FileReader_new.js +0 -231
- package/Libraries/Blob/FileReader_old.js +0 -186
- package/Libraries/Blob/__mocks__/FileReaderModule.js +0 -20
- package/Libraries/Components/RefreshControl/__mocks__/RefreshControlMock.js +0 -32
- package/Libraries/Core/__mocks__/ErrorUtils.js +0 -33
- package/Libraries/Core/__mocks__/NativeExceptionsManager.js +0 -19
- package/Libraries/EventEmitter/__mocks__/NativeEventEmitter.js +0 -49
- package/Libraries/Events/CustomEvent.js +0 -32
- package/Libraries/Events/EventPolyfill.js +0 -239
- package/Libraries/Lists/__flowtests__/FlatList-flowtest.js +0 -118
- package/Libraries/Lists/__flowtests__/SectionList-flowtest.js +0 -134
- package/Libraries/Network/XMLHttpRequest_new.js +0 -794
- package/Libraries/Network/XMLHttpRequest_old.js +0 -701
- package/Libraries/StyleSheet/__flowtests__/StyleSheet-flowtest.js +0 -58
- package/Libraries/Utilities/__mocks__/BackHandler.js +0 -45
- package/Libraries/Utilities/__mocks__/PixelRatio.js +0 -25
- package/Libraries/WebSocket/WebSocketEvent.js +0 -30
- package/Libraries/WebSocket/WebSocket_new.js +0 -325
- package/Libraries/WebSocket/WebSocket_old.js +0 -297
- package/Libraries/WebSocket/__mocks__/event-target-shim.js +0 -27
- package/Libraries/__flowtests__/ReactNativeTypes-flowtest.js +0 -30
- package/Libraries/vendor/emitter/__flowtests__/EventEmitter-flowtest.js +0 -81
- package/jest/__tests__/setup-test.js +0 -18
- package/src/private/components/VScrollViewNativeComponents.js +0 -25
- package/src/private/webapis/performance/specs/__mocks__/NativePerformanceMock.js +0 -267
- package/src/types/third_party/event-target-shim.d.ts +0 -392
- /package/src/private/{devmenu → devsupport/devmenu}/DevMenu.d.ts +0 -0
- /package/src/private/{debugging → devsupport/rndevtools}/FuseboxSessionObserver.js +0 -0
package/index.js
CHANGED
|
@@ -183,7 +183,7 @@ module.exports = {
|
|
|
183
183
|
return require('./Libraries/Utilities/DeviceInfo').default;
|
|
184
184
|
},
|
|
185
185
|
get DevMenu() {
|
|
186
|
-
return require('./src/private/devmenu/DevMenu').default;
|
|
186
|
+
return require('./src/private/devsupport/devmenu/DevMenu').default;
|
|
187
187
|
},
|
|
188
188
|
get DevSettings() {
|
|
189
189
|
return require('./Libraries/Utilities/DevSettings').default;
|
|
@@ -320,293 +320,6 @@ module.exports = {
|
|
|
320
320
|
} as ReactNativePublicAPI;
|
|
321
321
|
|
|
322
322
|
if (__DEV__) {
|
|
323
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
324
|
-
* attempting to access ART. */
|
|
325
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
326
|
-
* attempting to access ART. */
|
|
327
|
-
Object.defineProperty(module.exports, 'ART', {
|
|
328
|
-
configurable: true,
|
|
329
|
-
get() {
|
|
330
|
-
invariant(
|
|
331
|
-
false,
|
|
332
|
-
'ART has been removed from React Native. ' +
|
|
333
|
-
"Please upgrade to use either 'react-native-svg' or a similar package. " +
|
|
334
|
-
"If you cannot upgrade to a different library, please install the deprecated '@react-native-community/art' package. " +
|
|
335
|
-
'See https://github.com/react-native-art/art',
|
|
336
|
-
);
|
|
337
|
-
},
|
|
338
|
-
});
|
|
339
|
-
|
|
340
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
341
|
-
* attempting to access ListView. */
|
|
342
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
343
|
-
* attempting to access ListView. */
|
|
344
|
-
Object.defineProperty(module.exports, 'ListView', {
|
|
345
|
-
configurable: true,
|
|
346
|
-
get() {
|
|
347
|
-
invariant(
|
|
348
|
-
false,
|
|
349
|
-
'ListView has been removed from React Native. ' +
|
|
350
|
-
'See https://fb.me/nolistview for more information or use ' +
|
|
351
|
-
'`deprecated-react-native-listview`.',
|
|
352
|
-
);
|
|
353
|
-
},
|
|
354
|
-
});
|
|
355
|
-
|
|
356
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
357
|
-
* attempting to access SwipeableListView. */
|
|
358
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
359
|
-
* attempting to access SwipeableListView. */
|
|
360
|
-
Object.defineProperty(module.exports, 'SwipeableListView', {
|
|
361
|
-
configurable: true,
|
|
362
|
-
get() {
|
|
363
|
-
invariant(
|
|
364
|
-
false,
|
|
365
|
-
'SwipeableListView has been removed from React Native. ' +
|
|
366
|
-
'See https://fb.me/nolistview for more information or use ' +
|
|
367
|
-
'`deprecated-react-native-swipeable-listview`.',
|
|
368
|
-
);
|
|
369
|
-
},
|
|
370
|
-
});
|
|
371
|
-
|
|
372
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
373
|
-
* attempting to access WebView. */
|
|
374
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
375
|
-
* attempting to access WebView. */
|
|
376
|
-
Object.defineProperty(module.exports, 'WebView', {
|
|
377
|
-
configurable: true,
|
|
378
|
-
get() {
|
|
379
|
-
invariant(
|
|
380
|
-
false,
|
|
381
|
-
'WebView has been removed from React Native. ' +
|
|
382
|
-
"It can now be installed and imported from 'react-native-webview' instead of 'react-native'. " +
|
|
383
|
-
'See https://github.com/react-native-webview/react-native-webview',
|
|
384
|
-
);
|
|
385
|
-
},
|
|
386
|
-
});
|
|
387
|
-
|
|
388
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
389
|
-
* attempting to access NetInfo. */
|
|
390
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
391
|
-
* attempting to access NetInfo. */
|
|
392
|
-
Object.defineProperty(module.exports, 'NetInfo', {
|
|
393
|
-
configurable: true,
|
|
394
|
-
get() {
|
|
395
|
-
invariant(
|
|
396
|
-
false,
|
|
397
|
-
'NetInfo has been removed from React Native. ' +
|
|
398
|
-
"It can now be installed and imported from '@react-native-community/netinfo' instead of 'react-native'. " +
|
|
399
|
-
'See https://github.com/react-native-netinfo/react-native-netinfo',
|
|
400
|
-
);
|
|
401
|
-
},
|
|
402
|
-
});
|
|
403
|
-
|
|
404
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
405
|
-
* attempting to access CameraRoll. */
|
|
406
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
407
|
-
* attempting to access CameraRoll. */
|
|
408
|
-
Object.defineProperty(module.exports, 'CameraRoll', {
|
|
409
|
-
configurable: true,
|
|
410
|
-
get() {
|
|
411
|
-
invariant(
|
|
412
|
-
false,
|
|
413
|
-
'CameraRoll has been removed from React Native. ' +
|
|
414
|
-
"It can now be installed and imported from '@react-native-camera-roll/camera-roll' instead of 'react-native'. " +
|
|
415
|
-
'See https://github.com/react-native-cameraroll/react-native-cameraroll',
|
|
416
|
-
);
|
|
417
|
-
},
|
|
418
|
-
});
|
|
419
|
-
|
|
420
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
421
|
-
* attempting to access ImageStore. */
|
|
422
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
423
|
-
* attempting to access ImageStore. */
|
|
424
|
-
Object.defineProperty(module.exports, 'ImageStore', {
|
|
425
|
-
configurable: true,
|
|
426
|
-
get() {
|
|
427
|
-
invariant(
|
|
428
|
-
false,
|
|
429
|
-
'ImageStore has been removed from React Native. ' +
|
|
430
|
-
'To get a base64-encoded string from a local image use either of the following third-party libraries:' +
|
|
431
|
-
"* expo-file-system: `readAsStringAsync(filepath, 'base64')`" +
|
|
432
|
-
"* react-native-fs: `readFile(filepath, 'base64')`",
|
|
433
|
-
);
|
|
434
|
-
},
|
|
435
|
-
});
|
|
436
|
-
|
|
437
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
438
|
-
* attempting to access ImageEditor. */
|
|
439
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
440
|
-
* attempting to access ImageEditor. */
|
|
441
|
-
Object.defineProperty(module.exports, 'ImageEditor', {
|
|
442
|
-
configurable: true,
|
|
443
|
-
get() {
|
|
444
|
-
invariant(
|
|
445
|
-
false,
|
|
446
|
-
'ImageEditor has been removed from React Native. ' +
|
|
447
|
-
"It can now be installed and imported from '@react-native-community/image-editor' instead of 'react-native'. " +
|
|
448
|
-
'See https://github.com/callstack/react-native-image-editor',
|
|
449
|
-
);
|
|
450
|
-
},
|
|
451
|
-
});
|
|
452
|
-
|
|
453
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
454
|
-
* attempting to access TimePickerAndroid. */
|
|
455
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
456
|
-
* attempting to access TimePickerAndroid. */
|
|
457
|
-
Object.defineProperty(module.exports, 'TimePickerAndroid', {
|
|
458
|
-
configurable: true,
|
|
459
|
-
get() {
|
|
460
|
-
invariant(
|
|
461
|
-
false,
|
|
462
|
-
'TimePickerAndroid has been removed from React Native. ' +
|
|
463
|
-
"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. " +
|
|
464
|
-
'See https://github.com/react-native-datetimepicker/datetimepicker',
|
|
465
|
-
);
|
|
466
|
-
},
|
|
467
|
-
});
|
|
468
|
-
|
|
469
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
470
|
-
* attempting to access ToolbarAndroid. */
|
|
471
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
472
|
-
* attempting to access ToolbarAndroid. */
|
|
473
|
-
Object.defineProperty(module.exports, 'ToolbarAndroid', {
|
|
474
|
-
configurable: true,
|
|
475
|
-
get() {
|
|
476
|
-
invariant(
|
|
477
|
-
false,
|
|
478
|
-
'ToolbarAndroid has been removed from React Native. ' +
|
|
479
|
-
"It can now be installed and imported from '@react-native-community/toolbar-android' instead of 'react-native'. " +
|
|
480
|
-
'See https://github.com/react-native-toolbar-android/toolbar-android',
|
|
481
|
-
);
|
|
482
|
-
},
|
|
483
|
-
});
|
|
484
|
-
|
|
485
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
486
|
-
* attempting to access ViewPagerAndroid. */
|
|
487
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
488
|
-
* attempting to access ViewPagerAndroid. */
|
|
489
|
-
Object.defineProperty(module.exports, 'ViewPagerAndroid', {
|
|
490
|
-
configurable: true,
|
|
491
|
-
get() {
|
|
492
|
-
invariant(
|
|
493
|
-
false,
|
|
494
|
-
'ViewPagerAndroid has been removed from React Native. ' +
|
|
495
|
-
"It can now be installed and imported from 'react-native-pager-view' instead of 'react-native'. " +
|
|
496
|
-
'See https://github.com/callstack/react-native-pager-view',
|
|
497
|
-
);
|
|
498
|
-
},
|
|
499
|
-
});
|
|
500
|
-
|
|
501
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
502
|
-
* attempting to access CheckBox. */
|
|
503
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
504
|
-
* attempting to access CheckBox. */
|
|
505
|
-
Object.defineProperty(module.exports, 'CheckBox', {
|
|
506
|
-
configurable: true,
|
|
507
|
-
get() {
|
|
508
|
-
invariant(
|
|
509
|
-
false,
|
|
510
|
-
'CheckBox has been removed from React Native. ' +
|
|
511
|
-
"It can now be installed and imported from '@react-native-community/checkbox' instead of 'react-native'. " +
|
|
512
|
-
'See https://github.com/react-native-checkbox/react-native-checkbox',
|
|
513
|
-
);
|
|
514
|
-
},
|
|
515
|
-
});
|
|
516
|
-
|
|
517
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
518
|
-
* attempting to access SegmentedControlIOS. */
|
|
519
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
520
|
-
* attempting to access SegmentedControlIOS. */
|
|
521
|
-
Object.defineProperty(module.exports, 'SegmentedControlIOS', {
|
|
522
|
-
configurable: true,
|
|
523
|
-
get() {
|
|
524
|
-
invariant(
|
|
525
|
-
false,
|
|
526
|
-
'SegmentedControlIOS has been removed from React Native. ' +
|
|
527
|
-
"It can now be installed and imported from '@react-native-segmented-control/segmented-control' instead of 'react-native'." +
|
|
528
|
-
'See https://github.com/react-native-segmented-control/segmented-control',
|
|
529
|
-
);
|
|
530
|
-
},
|
|
531
|
-
});
|
|
532
|
-
|
|
533
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
534
|
-
* attempting to access StatusBarIOS. */
|
|
535
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
536
|
-
* attempting to access StatusBarIOS. */
|
|
537
|
-
Object.defineProperty(module.exports, 'StatusBarIOS', {
|
|
538
|
-
configurable: true,
|
|
539
|
-
get() {
|
|
540
|
-
invariant(
|
|
541
|
-
false,
|
|
542
|
-
'StatusBarIOS has been removed from React Native. ' +
|
|
543
|
-
'Has been merged with StatusBar. ' +
|
|
544
|
-
'See https://reactnative.dev/docs/statusbar',
|
|
545
|
-
);
|
|
546
|
-
},
|
|
547
|
-
});
|
|
548
|
-
|
|
549
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
550
|
-
* attempting to access PickerIOS. */
|
|
551
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
552
|
-
* attempting to access PickerIOS. */
|
|
553
|
-
Object.defineProperty(module.exports, 'PickerIOS', {
|
|
554
|
-
configurable: true,
|
|
555
|
-
get() {
|
|
556
|
-
invariant(
|
|
557
|
-
false,
|
|
558
|
-
'PickerIOS has been removed from React Native. ' +
|
|
559
|
-
"It can now be installed and imported from '@react-native-picker/picker' instead of 'react-native'. " +
|
|
560
|
-
'See https://github.com/react-native-picker/picker',
|
|
561
|
-
);
|
|
562
|
-
},
|
|
563
|
-
});
|
|
564
|
-
|
|
565
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
566
|
-
* attempting to access Picker. */
|
|
567
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
568
|
-
* attempting to access Picker. */
|
|
569
|
-
Object.defineProperty(module.exports, 'Picker', {
|
|
570
|
-
configurable: true,
|
|
571
|
-
get() {
|
|
572
|
-
invariant(
|
|
573
|
-
false,
|
|
574
|
-
'Picker has been removed from React Native. ' +
|
|
575
|
-
"It can now be installed and imported from '@react-native-picker/picker' instead of 'react-native'. " +
|
|
576
|
-
'See https://github.com/react-native-picker/picker',
|
|
577
|
-
);
|
|
578
|
-
},
|
|
579
|
-
});
|
|
580
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
581
|
-
* attempting to access DatePickerAndroid. */
|
|
582
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
583
|
-
* attempting to access DatePickerAndroid. */
|
|
584
|
-
Object.defineProperty(module.exports, 'DatePickerAndroid', {
|
|
585
|
-
configurable: true,
|
|
586
|
-
get() {
|
|
587
|
-
invariant(
|
|
588
|
-
false,
|
|
589
|
-
'DatePickerAndroid has been removed from React Native. ' +
|
|
590
|
-
"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. " +
|
|
591
|
-
'See https://github.com/react-native-datetimepicker/datetimepicker',
|
|
592
|
-
);
|
|
593
|
-
},
|
|
594
|
-
});
|
|
595
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
596
|
-
* attempting to access MaskedViewIOS. */
|
|
597
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
598
|
-
* attempting to access MaskedViewIOS. */
|
|
599
|
-
Object.defineProperty(module.exports, 'MaskedViewIOS', {
|
|
600
|
-
configurable: true,
|
|
601
|
-
get() {
|
|
602
|
-
invariant(
|
|
603
|
-
false,
|
|
604
|
-
'MaskedViewIOS has been removed from React Native. ' +
|
|
605
|
-
"It can now be installed and imported from '@react-native-masked-view/masked-view' instead of 'react-native'. " +
|
|
606
|
-
'See https://github.com/react-native-masked-view/masked-view',
|
|
607
|
-
);
|
|
608
|
-
},
|
|
609
|
-
});
|
|
610
323
|
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
611
324
|
* attempting to access AsyncStorage. */
|
|
612
325
|
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
package/index.win32.js
CHANGED
|
@@ -26,6 +26,9 @@ import typeof FocusManager from './Libraries/Utilities/FocusManager';
|
|
|
26
26
|
import typeof NativeModules from './Libraries/BatchedBridge/NativeModules';
|
|
27
27
|
import typeof codegenNativeCommands from './Libraries/Utilities/codegenNativeCommands';
|
|
28
28
|
import typeof codegenNativeComponent from './Libraries/Utilities/codegenNativeComponent';
|
|
29
|
+
import {findNodeHandle} from './Libraries/ReactNative/RendererProxy';
|
|
30
|
+
import {unstable_batchedUpdates} from './Libraries/ReactNative/RendererProxy';
|
|
31
|
+
|
|
29
32
|
// Components
|
|
30
33
|
import typeof AccessibilityInfo from './Libraries/Components/AccessibilityInfo/AccessibilityInfo';
|
|
31
34
|
import typeof ActivityIndicator from './Libraries/Components/ActivityIndicator/ActivityIndicator';
|
|
@@ -99,7 +102,7 @@ import typeof Platform from './Libraries/Utilities/Platform';
|
|
|
99
102
|
import typeof useColorScheme from './Libraries/Utilities/useColorScheme';
|
|
100
103
|
import typeof useWindowDimensions from './Libraries/Utilities/useWindowDimensions';
|
|
101
104
|
import typeof Vibration from './Libraries/Vibration/Vibration';
|
|
102
|
-
import typeof DevMenu from './src/private/devmenu/DevMenu';
|
|
105
|
+
import typeof DevMenu from './src/private/devsupport/devmenu/DevMenu';
|
|
103
106
|
import typeof registerCallableModule from './Libraries/Core/registerCallableModule';
|
|
104
107
|
// Windows]]
|
|
105
108
|
|
|
@@ -229,9 +232,7 @@ module.exports = {
|
|
|
229
232
|
},
|
|
230
233
|
// Include any types exported in the Animated module together with its default export, so
|
|
231
234
|
// you can references types such as Animated.Numeric
|
|
232
|
-
get Animated():
|
|
233
|
-
// $FlowFixMe[incompatible-variance]: Ignoring variance issue with Color property
|
|
234
|
-
// $FlowExpectedError[prop-missing]: we only return the default export, all other exports are types
|
|
235
|
+
get Animated(): Animated {
|
|
235
236
|
return require('./Libraries/Animated/Animated').default;
|
|
236
237
|
},
|
|
237
238
|
get Appearance(): Appearance {
|
|
@@ -268,7 +269,7 @@ module.exports = {
|
|
|
268
269
|
return require('./Libraries/Utilities/DeviceInfo').default;
|
|
269
270
|
},
|
|
270
271
|
get DevMenu(): DevMenu {
|
|
271
|
-
return require('./src/private/devmenu/DevMenu').default;
|
|
272
|
+
return require('./src/private/devsupport/devmenu/DevMenu').default;
|
|
272
273
|
},
|
|
273
274
|
get DevSettings(): DevSettings {
|
|
274
275
|
return require('./Libraries/Utilities/DevSettings').default;
|
|
@@ -283,7 +284,7 @@ module.exports = {
|
|
|
283
284
|
get Easing(): Easing {
|
|
284
285
|
return require('./Libraries/Animated/Easing').default;
|
|
285
286
|
},
|
|
286
|
-
get findNodeHandle():
|
|
287
|
+
get findNodeHandle(): typeof findNodeHandle {
|
|
287
288
|
return require('./Libraries/ReactNative/RendererProxy').findNodeHandle;
|
|
288
289
|
},
|
|
289
290
|
get FocusManager(): FocusManager {
|
|
@@ -389,10 +390,7 @@ module.exports = {
|
|
|
389
390
|
get UIManager(): UIManager {
|
|
390
391
|
return require('./Libraries/ReactNative/UIManager').default;
|
|
391
392
|
},
|
|
392
|
-
get unstable_batchedUpdates():
|
|
393
|
-
ReactNative,
|
|
394
|
-
'unstable_batchedUpdates',
|
|
395
|
-
> {
|
|
393
|
+
get unstable_batchedUpdates(): typeof unstable_batchedUpdates {
|
|
396
394
|
return require('./Libraries/ReactNative/RendererProxy')
|
|
397
395
|
.unstable_batchedUpdates;
|
|
398
396
|
},
|
|
@@ -449,293 +447,6 @@ module.exports = {
|
|
|
449
447
|
};
|
|
450
448
|
|
|
451
449
|
if (__DEV__) {
|
|
452
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
453
|
-
* attempting to access ART. */
|
|
454
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
455
|
-
* attempting to access ART. */
|
|
456
|
-
Object.defineProperty(module.exports, 'ART', {
|
|
457
|
-
configurable: true,
|
|
458
|
-
get() {
|
|
459
|
-
invariant(
|
|
460
|
-
false,
|
|
461
|
-
'ART has been removed from React Native. ' +
|
|
462
|
-
"Please upgrade to use either 'react-native-svg' or a similar package. " +
|
|
463
|
-
"If you cannot upgrade to a different library, please install the deprecated '@react-native-community/art' package. " +
|
|
464
|
-
'See https://github.com/react-native-art/art',
|
|
465
|
-
);
|
|
466
|
-
},
|
|
467
|
-
});
|
|
468
|
-
|
|
469
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
470
|
-
* attempting to access ListView. */
|
|
471
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
472
|
-
* attempting to access ListView. */
|
|
473
|
-
Object.defineProperty(module.exports, 'ListView', {
|
|
474
|
-
configurable: true,
|
|
475
|
-
get() {
|
|
476
|
-
invariant(
|
|
477
|
-
false,
|
|
478
|
-
'ListView has been removed from React Native. ' +
|
|
479
|
-
'See https://fb.me/nolistview for more information or use ' +
|
|
480
|
-
'`deprecated-react-native-listview`.',
|
|
481
|
-
);
|
|
482
|
-
},
|
|
483
|
-
});
|
|
484
|
-
|
|
485
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
486
|
-
* attempting to access SwipeableListView. */
|
|
487
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
488
|
-
* attempting to access SwipeableListView. */
|
|
489
|
-
Object.defineProperty(module.exports, 'SwipeableListView', {
|
|
490
|
-
configurable: true,
|
|
491
|
-
get() {
|
|
492
|
-
invariant(
|
|
493
|
-
false,
|
|
494
|
-
'SwipeableListView has been removed from React Native. ' +
|
|
495
|
-
'See https://fb.me/nolistview for more information or use ' +
|
|
496
|
-
'`deprecated-react-native-swipeable-listview`.',
|
|
497
|
-
);
|
|
498
|
-
},
|
|
499
|
-
});
|
|
500
|
-
|
|
501
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
502
|
-
* attempting to access WebView. */
|
|
503
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
504
|
-
* attempting to access WebView. */
|
|
505
|
-
Object.defineProperty(module.exports, 'WebView', {
|
|
506
|
-
configurable: true,
|
|
507
|
-
get() {
|
|
508
|
-
invariant(
|
|
509
|
-
false,
|
|
510
|
-
'WebView has been removed from React Native. ' +
|
|
511
|
-
"It can now be installed and imported from 'react-native-webview' instead of 'react-native'. " +
|
|
512
|
-
'See https://github.com/react-native-webview/react-native-webview',
|
|
513
|
-
);
|
|
514
|
-
},
|
|
515
|
-
});
|
|
516
|
-
|
|
517
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
518
|
-
* attempting to access NetInfo. */
|
|
519
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
520
|
-
* attempting to access NetInfo. */
|
|
521
|
-
Object.defineProperty(module.exports, 'NetInfo', {
|
|
522
|
-
configurable: true,
|
|
523
|
-
get() {
|
|
524
|
-
invariant(
|
|
525
|
-
false,
|
|
526
|
-
'NetInfo has been removed from React Native. ' +
|
|
527
|
-
"It can now be installed and imported from '@react-native-community/netinfo' instead of 'react-native'. " +
|
|
528
|
-
'See https://github.com/react-native-netinfo/react-native-netinfo',
|
|
529
|
-
);
|
|
530
|
-
},
|
|
531
|
-
});
|
|
532
|
-
|
|
533
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
534
|
-
* attempting to access CameraRoll. */
|
|
535
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
536
|
-
* attempting to access CameraRoll. */
|
|
537
|
-
Object.defineProperty(module.exports, 'CameraRoll', {
|
|
538
|
-
configurable: true,
|
|
539
|
-
get() {
|
|
540
|
-
invariant(
|
|
541
|
-
false,
|
|
542
|
-
'CameraRoll has been removed from React Native. ' +
|
|
543
|
-
"It can now be installed and imported from '@react-native-camera-roll/camera-roll' instead of 'react-native'. " +
|
|
544
|
-
'See https://github.com/react-native-cameraroll/react-native-cameraroll',
|
|
545
|
-
);
|
|
546
|
-
},
|
|
547
|
-
});
|
|
548
|
-
|
|
549
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
550
|
-
* attempting to access ImageStore. */
|
|
551
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
552
|
-
* attempting to access ImageStore. */
|
|
553
|
-
Object.defineProperty(module.exports, 'ImageStore', {
|
|
554
|
-
configurable: true,
|
|
555
|
-
get() {
|
|
556
|
-
invariant(
|
|
557
|
-
false,
|
|
558
|
-
'ImageStore has been removed from React Native. ' +
|
|
559
|
-
'To get a base64-encoded string from a local image use either of the following third-party libraries:' +
|
|
560
|
-
"* expo-file-system: `readAsStringAsync(filepath, 'base64')`" +
|
|
561
|
-
"* react-native-fs: `readFile(filepath, 'base64')`",
|
|
562
|
-
);
|
|
563
|
-
},
|
|
564
|
-
});
|
|
565
|
-
|
|
566
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
567
|
-
* attempting to access ImageEditor. */
|
|
568
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
569
|
-
* attempting to access ImageEditor. */
|
|
570
|
-
Object.defineProperty(module.exports, 'ImageEditor', {
|
|
571
|
-
configurable: true,
|
|
572
|
-
get() {
|
|
573
|
-
invariant(
|
|
574
|
-
false,
|
|
575
|
-
'ImageEditor has been removed from React Native. ' +
|
|
576
|
-
"It can now be installed and imported from '@react-native-community/image-editor' instead of 'react-native'. " +
|
|
577
|
-
'See https://github.com/callstack/react-native-image-editor',
|
|
578
|
-
);
|
|
579
|
-
},
|
|
580
|
-
});
|
|
581
|
-
|
|
582
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
583
|
-
* attempting to access TimePickerAndroid. */
|
|
584
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
585
|
-
* attempting to access TimePickerAndroid. */
|
|
586
|
-
Object.defineProperty(module.exports, 'TimePickerAndroid', {
|
|
587
|
-
configurable: true,
|
|
588
|
-
get() {
|
|
589
|
-
invariant(
|
|
590
|
-
false,
|
|
591
|
-
'TimePickerAndroid has been removed from React Native. ' +
|
|
592
|
-
"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. " +
|
|
593
|
-
'See https://github.com/react-native-datetimepicker/datetimepicker',
|
|
594
|
-
);
|
|
595
|
-
},
|
|
596
|
-
});
|
|
597
|
-
|
|
598
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
599
|
-
* attempting to access ToolbarAndroid. */
|
|
600
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
601
|
-
* attempting to access ToolbarAndroid. */
|
|
602
|
-
Object.defineProperty(module.exports, 'ToolbarAndroid', {
|
|
603
|
-
configurable: true,
|
|
604
|
-
get() {
|
|
605
|
-
invariant(
|
|
606
|
-
false,
|
|
607
|
-
'ToolbarAndroid has been removed from React Native. ' +
|
|
608
|
-
"It can now be installed and imported from '@react-native-community/toolbar-android' instead of 'react-native'. " +
|
|
609
|
-
'See https://github.com/react-native-toolbar-android/toolbar-android',
|
|
610
|
-
);
|
|
611
|
-
},
|
|
612
|
-
});
|
|
613
|
-
|
|
614
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
615
|
-
* attempting to access ViewPagerAndroid. */
|
|
616
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
617
|
-
* attempting to access ViewPagerAndroid. */
|
|
618
|
-
Object.defineProperty(module.exports, 'ViewPagerAndroid', {
|
|
619
|
-
configurable: true,
|
|
620
|
-
get() {
|
|
621
|
-
invariant(
|
|
622
|
-
false,
|
|
623
|
-
'ViewPagerAndroid has been removed from React Native. ' +
|
|
624
|
-
"It can now be installed and imported from 'react-native-pager-view' instead of 'react-native'. " +
|
|
625
|
-
'See https://github.com/callstack/react-native-pager-view',
|
|
626
|
-
);
|
|
627
|
-
},
|
|
628
|
-
});
|
|
629
|
-
|
|
630
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
631
|
-
* attempting to access CheckBox. */
|
|
632
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
633
|
-
* attempting to access CheckBox. */
|
|
634
|
-
Object.defineProperty(module.exports, 'CheckBox', {
|
|
635
|
-
configurable: true,
|
|
636
|
-
get() {
|
|
637
|
-
invariant(
|
|
638
|
-
false,
|
|
639
|
-
'CheckBox has been removed from React Native. ' +
|
|
640
|
-
"It can now be installed and imported from '@react-native-community/checkbox' instead of 'react-native'. " +
|
|
641
|
-
'See https://github.com/react-native-checkbox/react-native-checkbox',
|
|
642
|
-
);
|
|
643
|
-
},
|
|
644
|
-
});
|
|
645
|
-
|
|
646
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
647
|
-
* attempting to access SegmentedControlIOS. */
|
|
648
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
649
|
-
* attempting to access SegmentedControlIOS. */
|
|
650
|
-
Object.defineProperty(module.exports, 'SegmentedControlIOS', {
|
|
651
|
-
configurable: true,
|
|
652
|
-
get() {
|
|
653
|
-
invariant(
|
|
654
|
-
false,
|
|
655
|
-
'SegmentedControlIOS has been removed from React Native. ' +
|
|
656
|
-
"It can now be installed and imported from '@react-native-segmented-control/segmented-control' instead of 'react-native'." +
|
|
657
|
-
'See https://github.com/react-native-segmented-control/segmented-control',
|
|
658
|
-
);
|
|
659
|
-
},
|
|
660
|
-
});
|
|
661
|
-
|
|
662
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
663
|
-
* attempting to access StatusBarIOS. */
|
|
664
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
665
|
-
* attempting to access StatusBarIOS. */
|
|
666
|
-
Object.defineProperty(module.exports, 'StatusBarIOS', {
|
|
667
|
-
configurable: true,
|
|
668
|
-
get() {
|
|
669
|
-
invariant(
|
|
670
|
-
false,
|
|
671
|
-
'StatusBarIOS has been removed from React Native. ' +
|
|
672
|
-
'Has been merged with StatusBar. ' +
|
|
673
|
-
'See https://reactnative.dev/docs/statusbar',
|
|
674
|
-
);
|
|
675
|
-
},
|
|
676
|
-
});
|
|
677
|
-
|
|
678
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
679
|
-
* attempting to access PickerIOS. */
|
|
680
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
681
|
-
* attempting to access PickerIOS. */
|
|
682
|
-
Object.defineProperty(module.exports, 'PickerIOS', {
|
|
683
|
-
configurable: true,
|
|
684
|
-
get() {
|
|
685
|
-
invariant(
|
|
686
|
-
false,
|
|
687
|
-
'PickerIOS has been removed from React Native. ' +
|
|
688
|
-
"It can now be installed and imported from '@react-native-picker/picker' instead of 'react-native'. " +
|
|
689
|
-
'See https://github.com/react-native-picker/picker',
|
|
690
|
-
);
|
|
691
|
-
},
|
|
692
|
-
});
|
|
693
|
-
|
|
694
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
695
|
-
* attempting to access Picker. */
|
|
696
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
697
|
-
* attempting to access Picker. */
|
|
698
|
-
Object.defineProperty(module.exports, 'Picker', {
|
|
699
|
-
configurable: true,
|
|
700
|
-
get() {
|
|
701
|
-
invariant(
|
|
702
|
-
false,
|
|
703
|
-
'Picker has been removed from React Native. ' +
|
|
704
|
-
"It can now be installed and imported from '@react-native-picker/picker' instead of 'react-native'. " +
|
|
705
|
-
'See https://github.com/react-native-picker/picker',
|
|
706
|
-
);
|
|
707
|
-
},
|
|
708
|
-
});
|
|
709
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
710
|
-
* attempting to access DatePickerAndroid. */
|
|
711
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
712
|
-
* attempting to access DatePickerAndroid. */
|
|
713
|
-
Object.defineProperty(module.exports, 'DatePickerAndroid', {
|
|
714
|
-
configurable: true,
|
|
715
|
-
get() {
|
|
716
|
-
invariant(
|
|
717
|
-
false,
|
|
718
|
-
'DatePickerAndroid has been removed from React Native. ' +
|
|
719
|
-
"It can now be installed and imported from '@react-native-community/datetimepicker' instead of 'react-native'. " +
|
|
720
|
-
'See https://github.com/react-native-datetimepicker/datetimepicker',
|
|
721
|
-
);
|
|
722
|
-
},
|
|
723
|
-
});
|
|
724
|
-
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
725
|
-
* attempting to access MaskedViewIOS. */
|
|
726
|
-
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|
|
727
|
-
* attempting to access MaskedViewIOS. */
|
|
728
|
-
Object.defineProperty(module.exports, 'MaskedViewIOS', {
|
|
729
|
-
configurable: true,
|
|
730
|
-
get() {
|
|
731
|
-
invariant(
|
|
732
|
-
false,
|
|
733
|
-
'MaskedViewIOS has been removed from React Native. ' +
|
|
734
|
-
"It can now be installed and imported from '@react-native-masked-view/masked-view' instead of 'react-native'. " +
|
|
735
|
-
'See https://github.com/react-native-masked-view/masked-view',
|
|
736
|
-
);
|
|
737
|
-
},
|
|
738
|
-
});
|
|
739
450
|
/* $FlowFixMe[prop-missing] This is intentional: Flow will error when
|
|
740
451
|
* attempting to access AsyncStorage. */
|
|
741
452
|
/* $FlowFixMe[invalid-export] This is intentional: Flow will error when
|