@office-iss/react-native-win32 0.0.0-canary.292 → 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 +28 -1
- package/CHANGELOG.md +14 -4
- package/Libraries/Blob/URL.js +13 -1
- package/Libraries/Components/Pressable/Pressable.js +4 -1
- package/Libraries/Components/Pressable/Pressable.win32.js +4 -1
- package/Libraries/Components/ScrollView/ScrollView.d.ts +1 -1
- package/Libraries/Components/Switch/Switch.js +7 -3
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +1 -0
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +1 -0
- package/Libraries/Components/TextInput/TextInput.flow.js +25 -0
- package/Libraries/Components/TextInput/TextInput.flow.win32.js +25 -1
- package/Libraries/Components/TextInput/TextInput.js +2 -0
- package/Libraries/Components/TextInput/TextInput.win32.js +2 -0
- package/Libraries/Components/View/View.js +18 -21
- package/Libraries/Components/View/View.win32.js +21 -24
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Core/setUpReactDevTools.js +5 -5
- package/Libraries/Image/ImageProps.js +2 -3
- package/Libraries/Image/ImageSource.js +3 -1
- package/Libraries/Image/ImageSourceUtils.js +4 -2
- package/Libraries/Lists/FlatList.d.ts +2 -2
- package/Libraries/Lists/SectionListModern.js +1 -2
- package/Libraries/LogBox/Data/LogBoxData.js +1 -1
- package/Libraries/NativeModules/specs/NativeDevMenu.js +2 -2
- package/Libraries/ReactNative/AppContainer-dev.js +3 -2
- package/Libraries/ReactNative/RendererImplementation.js +6 -5
- package/Libraries/ReactNative/renderApplication.js +9 -0
- 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/StyleSheet/StyleSheetTypes.d.ts +1 -1
- package/Libraries/StyleSheet/StyleSheetTypes.js +47 -3
- package/Libraries/StyleSheet/processBackgroundImage.js +670 -214
- package/Libraries/Text/TextNativeComponent.js +0 -4
- package/Libraries/Text/TextNativeComponent.win32.js +0 -4
- package/index.js +1 -288
- package/index.win32.js +3 -292
- package/overrides.json +11 -11
- package/package.json +15 -15
- package/src/private/{devmenu → devsupport/devmenu}/DevMenu.js +1 -1
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/BorderBox.js +2 -2
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/BoxInspector.js +5 -4
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/ElementBox.js +7 -5
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/ElementProperties.js +10 -9
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/Inspector.js +13 -11
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/InspectorOverlay.js +4 -3
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/InspectorPanel.js +8 -7
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/NetworkOverlay.js +9 -8
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/ReactDevToolsOverlay.js +7 -7
- package/src/private/{inspector → devsupport/devmenu/elementinspector}/StyleInspector.js +6 -5
- 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 +5 -4
- 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 +22 -17
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +5 -4
- package/src/private/renderer/errorhandling/ErrorHandlers.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeSampleTurboModule.js +3 -0
- package/src/private/types/HostInstance.js +2 -2
- 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/__mocks__/BlobModule.js +0 -16
- 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/Lists/__flowtests__/FlatList-flowtest.js +0 -118
- package/Libraries/Lists/__flowtests__/SectionList-flowtest.js +0 -134
- package/Libraries/StyleSheet/__flowtests__/StyleSheet-flowtest.js +0 -58
- package/Libraries/Utilities/__mocks__/BackHandler.js +0 -45
- package/Libraries/Utilities/__mocks__/GlobalPerformanceLogger.js +0 -16
- package/Libraries/Utilities/__mocks__/PixelRatio.js +0 -25
- 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/webapis/performance/specs/__mocks__/NativePerformanceMock.js +0 -267
- /package/src/private/{devmenu → devsupport/devmenu}/DevMenu.d.ts +0 -0
- /package/src/private/{debugging → devsupport/rndevtools}/FuseboxSessionObserver.js +0 -0
package/overrides.json
CHANGED
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
"**/__snapshots__/**",
|
|
8
8
|
"src-win/rntypes/**"
|
|
9
9
|
],
|
|
10
|
-
"baseVersion": "0.80.0-nightly-
|
|
10
|
+
"baseVersion": "0.80.0-nightly-20250428-9efcdc091",
|
|
11
11
|
"overrides": [
|
|
12
12
|
{
|
|
13
13
|
"type": "derived",
|
|
14
14
|
"file": ".flowconfig",
|
|
15
15
|
"baseFile": ".flowconfig",
|
|
16
|
-
"baseHash": "
|
|
16
|
+
"baseHash": "d274ca7bb384b334c5b2ee0827726e7a3d6c98c9"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"type": "derived",
|
|
20
20
|
"file": "src-win/index.win32.js",
|
|
21
21
|
"baseFile": "packages/react-native/index.js",
|
|
22
|
-
"baseHash": "
|
|
22
|
+
"baseHash": "96361b83bfc122f1d78cc7d87ea0d7c3bfac138f"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
25
|
"type": "platform",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"type": "patch",
|
|
86
86
|
"file": "src-win/Libraries/Components/Pressable/Pressable.win32.js",
|
|
87
87
|
"baseFile": "packages/react-native/Libraries/Components/Pressable/Pressable.js",
|
|
88
|
-
"baseHash": "
|
|
88
|
+
"baseHash": "96bdd4aebf4133fd2fe6d1b448f9d7b4cd3e8982",
|
|
89
89
|
"issue": 6240
|
|
90
90
|
},
|
|
91
91
|
{
|
|
@@ -108,13 +108,13 @@
|
|
|
108
108
|
"type": "derived",
|
|
109
109
|
"file": "src-win/Libraries/Components/TextInput/TextInput.flow.win32.js",
|
|
110
110
|
"baseFile": "packages/react-native/Libraries/Components/TextInput/TextInput.flow.js",
|
|
111
|
-
"baseHash": "
|
|
111
|
+
"baseHash": "f407548782cade71af32a52ecb440f72a403f06e"
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
"type": "derived",
|
|
115
115
|
"file": "src-win/Libraries/Components/TextInput/TextInput.win32.js",
|
|
116
116
|
"baseFile": "packages/react-native/Libraries/Components/TextInput/TextInput.js",
|
|
117
|
-
"baseHash": "
|
|
117
|
+
"baseHash": "4b3128471dd0d362e9828df8937f708d53694e12"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"type": "patch",
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
"type": "patch",
|
|
178
178
|
"file": "src-win/Libraries/Components/View/View.win32.js",
|
|
179
179
|
"baseFile": "packages/react-native/Libraries/Components/View/View.js",
|
|
180
|
-
"baseHash": "
|
|
180
|
+
"baseHash": "2dd3e58cf6c4bc0882550eedd8150435972365eb"
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
"type": "derived",
|
|
@@ -424,7 +424,7 @@
|
|
|
424
424
|
"type": "derived",
|
|
425
425
|
"file": "src-win/Libraries/Text/TextNativeComponent.win32.js",
|
|
426
426
|
"baseFile": "packages/react-native/Libraries/Text/TextNativeComponent.js",
|
|
427
|
-
"baseHash": "
|
|
427
|
+
"baseHash": "19efb0b15014c3e11be035a67c9e46b8e25f3090",
|
|
428
428
|
"issue": 7074
|
|
429
429
|
},
|
|
430
430
|
{
|
|
@@ -495,9 +495,9 @@
|
|
|
495
495
|
},
|
|
496
496
|
{
|
|
497
497
|
"type": "copy",
|
|
498
|
-
"file": "src-win/src/private/
|
|
499
|
-
"baseFile": "packages/react-native/src/private/
|
|
500
|
-
"baseHash": "
|
|
498
|
+
"file": "src-win/src/private/devsupport/rndevtools/ReactDevToolsSettingsManager.win32.js",
|
|
499
|
+
"baseFile": "packages/react-native/src/private/devsupport/rndevtools/ReactDevToolsSettingsManager.android.js",
|
|
500
|
+
"baseHash": "2d33789b0c7a45996dc23f26c4b09fb2026a9285"
|
|
501
501
|
},
|
|
502
502
|
{
|
|
503
503
|
"type": "derived",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
|
-
"version": "0.0.0-canary.
|
|
3
|
+
"version": "0.0.0-canary.293",
|
|
4
4
|
"description": "Implementation of react native on top of Office's Win32 platform.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"@react-native-community/cli-platform-android": "17.0.0",
|
|
31
31
|
"@react-native-community/cli-platform-ios": "17.0.0",
|
|
32
32
|
"@react-native/assets": "1.0.0",
|
|
33
|
-
"@react-native/assets-registry": "0.80.0-nightly-
|
|
34
|
-
"@react-native/codegen": "0.80.0-nightly-
|
|
35
|
-
"@react-native/community-cli-plugin": "0.80.0-nightly-
|
|
36
|
-
"@react-native/gradle-plugin": "0.80.0-nightly-
|
|
37
|
-
"@react-native/js-polyfills": "0.80.0-nightly-
|
|
38
|
-
"@react-native/normalize-colors": "0.80.0-nightly-
|
|
39
|
-
"@react-native/virtualized-lists": "0.80.0-nightly-
|
|
33
|
+
"@react-native/assets-registry": "0.80.0-nightly-20250428-9efcdc091",
|
|
34
|
+
"@react-native/codegen": "0.80.0-nightly-20250428-9efcdc091",
|
|
35
|
+
"@react-native/community-cli-plugin": "0.80.0-nightly-20250428-9efcdc091",
|
|
36
|
+
"@react-native/gradle-plugin": "0.80.0-nightly-20250428-9efcdc091",
|
|
37
|
+
"@react-native/js-polyfills": "0.80.0-nightly-20250428-9efcdc091",
|
|
38
|
+
"@react-native/normalize-colors": "0.80.0-nightly-20250428-9efcdc091",
|
|
39
|
+
"@react-native/virtualized-lists": "0.80.0-nightly-20250428-9efcdc091",
|
|
40
40
|
"abort-controller": "^3.0.0",
|
|
41
41
|
"anser": "^1.4.9",
|
|
42
42
|
"ansi-regex": "^5.0.0",
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@babel/core": "^7.25.2",
|
|
74
74
|
"@babel/eslint-parser": "^7.25.1",
|
|
75
|
-
"@react-native/metro-config": "0.80.0-nightly-
|
|
75
|
+
"@react-native/metro-config": "0.80.0-nightly-20250428-9efcdc091",
|
|
76
76
|
"@rnw-scripts/babel-react-native-config": "0.0.0",
|
|
77
77
|
"@rnw-scripts/eslint-config": "1.2.36",
|
|
78
78
|
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.40",
|
|
79
|
-
"@rnw-scripts/just-task": "2.3.
|
|
79
|
+
"@rnw-scripts/just-task": "2.3.54",
|
|
80
80
|
"@rnw-scripts/metro-dev-config": "0.0.0",
|
|
81
81
|
"@rnx-kit/jest-preset": "^0.1.17",
|
|
82
82
|
"@types/node": "^18.0.0",
|
|
@@ -87,15 +87,15 @@
|
|
|
87
87
|
"jscodeshift": "^0.14.0",
|
|
88
88
|
"just-scripts": "^1.3.3",
|
|
89
89
|
"prettier": "2.8.8",
|
|
90
|
-
"react": "19.
|
|
91
|
-
"react-native": "0.80.0-nightly-
|
|
92
|
-
"react-native-platform-override": "^1.9.
|
|
90
|
+
"react": "19.1.0",
|
|
91
|
+
"react-native": "0.80.0-nightly-20250428-9efcdc091",
|
|
92
|
+
"react-native-platform-override": "^1.9.56",
|
|
93
93
|
"typescript": "5.0.4"
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
96
|
"@types/react": "^19.0.0",
|
|
97
|
-
"react": "^19.
|
|
98
|
-
"react-native": "0.80.0-nightly-
|
|
97
|
+
"react": "^19.1.0",
|
|
98
|
+
"react-native": "0.80.0-nightly-20250428-9efcdc091"
|
|
99
99
|
},
|
|
100
100
|
"beachball": {
|
|
101
101
|
"defaultNpmTag": "canary",
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import type {ViewStyleProp} from '
|
|
13
|
+
import type {ViewStyleProp} from '../../../../../Libraries/StyleSheet/StyleSheet';
|
|
14
14
|
|
|
15
15
|
import * as React from 'react';
|
|
16
16
|
|
|
17
|
-
const View = require('
|
|
17
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
18
18
|
|
|
19
19
|
type Props = $ReadOnly<{
|
|
20
20
|
children: React.Node,
|
|
@@ -13,14 +13,15 @@
|
|
|
13
13
|
import type {
|
|
14
14
|
TextStyleProp,
|
|
15
15
|
ViewStyleProp,
|
|
16
|
-
} from '
|
|
16
|
+
} from '../../../../../Libraries/StyleSheet/StyleSheet';
|
|
17
17
|
import type {InspectedElementFrame} from './Inspector';
|
|
18
18
|
|
|
19
19
|
import * as React from 'react';
|
|
20
20
|
|
|
21
|
-
const View = require('
|
|
22
|
-
const StyleSheet =
|
|
23
|
-
|
|
21
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
22
|
+
const StyleSheet =
|
|
23
|
+
require('../../../../../Libraries/StyleSheet/StyleSheet').default;
|
|
24
|
+
const Text = require('../../../../../Libraries/Text/Text').default;
|
|
24
25
|
const resolveBoxStyle = require('./resolveBoxStyle').default;
|
|
25
26
|
|
|
26
27
|
const blank = {
|
|
@@ -10,16 +10,18 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import type {ViewStyleProp} from '
|
|
13
|
+
import type {ViewStyleProp} from '../../../../../Libraries/StyleSheet/StyleSheet';
|
|
14
14
|
import type {InspectedElementFrame} from './Inspector';
|
|
15
15
|
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
|
|
18
|
-
const View = require('
|
|
18
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
19
19
|
const flattenStyle =
|
|
20
|
-
require('
|
|
21
|
-
const StyleSheet =
|
|
22
|
-
|
|
20
|
+
require('../../../../../Libraries/StyleSheet/flattenStyle').default;
|
|
21
|
+
const StyleSheet =
|
|
22
|
+
require('../../../../../Libraries/StyleSheet/StyleSheet').default;
|
|
23
|
+
const Dimensions =
|
|
24
|
+
require('../../../../../Libraries/Utilities/Dimensions').default;
|
|
23
25
|
const BorderBox = require('./BorderBox').default;
|
|
24
26
|
const resolveBoxStyle = require('./resolveBoxStyle').default;
|
|
25
27
|
|
|
@@ -10,22 +10,23 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import type {InspectorData} from '
|
|
14
|
-
import type {ViewStyleProp} from '
|
|
13
|
+
import type {InspectorData} from '../../../../../Libraries/Renderer/shims/ReactNativeTypes';
|
|
14
|
+
import type {ViewStyleProp} from '../../../../../Libraries/StyleSheet/StyleSheet';
|
|
15
15
|
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
|
|
18
18
|
const TouchableHighlight =
|
|
19
|
-
require('
|
|
19
|
+
require('../../../../../Libraries/Components/Touchable/TouchableHighlight').default;
|
|
20
20
|
const TouchableWithoutFeedback =
|
|
21
|
-
require('
|
|
22
|
-
const View = require('
|
|
21
|
+
require('../../../../../Libraries/Components/Touchable/TouchableWithoutFeedback').default;
|
|
22
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
23
23
|
const flattenStyle =
|
|
24
|
-
require('
|
|
25
|
-
const StyleSheet =
|
|
26
|
-
|
|
24
|
+
require('../../../../../Libraries/StyleSheet/flattenStyle').default;
|
|
25
|
+
const StyleSheet =
|
|
26
|
+
require('../../../../../Libraries/StyleSheet/StyleSheet').default;
|
|
27
|
+
const Text = require('../../../../../Libraries/Text/Text').default;
|
|
27
28
|
const mapWithSeparator =
|
|
28
|
-
require('
|
|
29
|
+
require('../../../../../Libraries/Utilities/mapWithSeparator').default;
|
|
29
30
|
const BoxInspector = require('./BoxInspector').default;
|
|
30
31
|
const StyleInspector = require('./StyleInspector').default;
|
|
31
32
|
|
|
@@ -10,25 +10,27 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import type {InspectedViewRef} from '
|
|
13
|
+
import type {InspectedViewRef} from '../../../../../Libraries/ReactNative/AppContainer-dev';
|
|
14
14
|
import type {
|
|
15
15
|
InspectorData,
|
|
16
16
|
TouchedViewDataAtPoint,
|
|
17
|
-
} from '
|
|
18
|
-
import type {ViewStyleProp} from '
|
|
19
|
-
import type {ReactDevToolsAgent} from '
|
|
17
|
+
} from '../../../../../Libraries/Renderer/shims/ReactNativeTypes';
|
|
18
|
+
import type {ViewStyleProp} from '../../../../../Libraries/StyleSheet/StyleSheet';
|
|
19
|
+
import type {ReactDevToolsAgent} from '../../../../../Libraries/Types/ReactDevToolsTypes';
|
|
20
20
|
|
|
21
|
-
import SafeAreaView from '
|
|
21
|
+
import SafeAreaView from '../../../components/safeareaview/SafeAreaView_INTERNAL_DO_NOT_USE';
|
|
22
22
|
import * as React from 'react';
|
|
23
23
|
|
|
24
|
-
const View = require('
|
|
25
|
-
const PressabilityDebug = require('
|
|
24
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
25
|
+
const PressabilityDebug = require('../../../../../Libraries/Pressability/PressabilityDebug');
|
|
26
26
|
const {
|
|
27
27
|
findNodeHandle,
|
|
28
|
-
} = require('
|
|
29
|
-
const StyleSheet =
|
|
30
|
-
|
|
31
|
-
const
|
|
28
|
+
} = require('../../../../../Libraries/ReactNative/RendererProxy');
|
|
29
|
+
const StyleSheet =
|
|
30
|
+
require('../../../../../Libraries/StyleSheet/StyleSheet').default;
|
|
31
|
+
const Dimensions =
|
|
32
|
+
require('../../../../../Libraries/Utilities/Dimensions').default;
|
|
33
|
+
const Platform = require('../../../../../Libraries/Utilities/Platform').default;
|
|
32
34
|
const getInspectorDataForViewAtPoint =
|
|
33
35
|
require('./getInspectorDataForViewAtPoint').default;
|
|
34
36
|
const InspectorOverlay = require('./InspectorOverlay').default;
|
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import type {GestureResponderEvent} from '
|
|
13
|
+
import type {GestureResponderEvent} from '../../../../../Libraries/Types/CoreEventTypes';
|
|
14
14
|
import type {InspectedElement} from './Inspector';
|
|
15
15
|
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
|
|
18
|
-
const View = require('
|
|
19
|
-
const StyleSheet =
|
|
18
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
19
|
+
const StyleSheet =
|
|
20
|
+
require('../../../../../Libraries/StyleSheet/StyleSheet').default;
|
|
20
21
|
const ElementBox = require('./ElementBox').default;
|
|
21
22
|
|
|
22
23
|
type Props = $ReadOnly<{
|
|
@@ -12,19 +12,20 @@
|
|
|
12
12
|
|
|
13
13
|
import type {ElementsHierarchy, InspectedElement} from './Inspector';
|
|
14
14
|
|
|
15
|
-
import SafeAreaView from '
|
|
15
|
+
import SafeAreaView from '../../../../../Libraries/Components/SafeAreaView/SafeAreaView';
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
|
|
18
18
|
const ScrollView =
|
|
19
|
-
require('
|
|
19
|
+
require('../../../../../Libraries/Components/ScrollView/ScrollView').default;
|
|
20
20
|
const TouchableHighlight =
|
|
21
|
-
require('
|
|
22
|
-
const View = require('
|
|
23
|
-
const StyleSheet =
|
|
24
|
-
|
|
21
|
+
require('../../../../../Libraries/Components/Touchable/TouchableHighlight').default;
|
|
22
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
23
|
+
const StyleSheet =
|
|
24
|
+
require('../../../../../Libraries/StyleSheet/StyleSheet').default;
|
|
25
|
+
const Text = require('../../../../../Libraries/Text/Text').default;
|
|
26
|
+
const PerformanceOverlay = require('../perfmonitor/PerformanceOverlay').default;
|
|
25
27
|
const ElementProperties = require('./ElementProperties').default;
|
|
26
28
|
const NetworkOverlay = require('./NetworkOverlay').default;
|
|
27
|
-
const PerformanceOverlay = require('./PerformanceOverlay').default;
|
|
28
29
|
|
|
29
30
|
type Props = $ReadOnly<{
|
|
30
31
|
devtoolsIsOpen: boolean,
|
|
@@ -10,20 +10,21 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import type XMLHttpRequest from '
|
|
13
|
+
import type XMLHttpRequest from '../../../../../Libraries/Network/XMLHttpRequest';
|
|
14
14
|
import type {ListRenderItemInfo} from '@react-native/virtualized-lists';
|
|
15
15
|
|
|
16
|
-
import ScrollView from '
|
|
16
|
+
import ScrollView from '../../../../../Libraries/Components/ScrollView/ScrollView';
|
|
17
17
|
import * as React from 'react';
|
|
18
18
|
|
|
19
19
|
const TouchableHighlight =
|
|
20
|
-
require('
|
|
21
|
-
const View = require('
|
|
22
|
-
const FlatList = require('
|
|
23
|
-
const StyleSheet =
|
|
24
|
-
|
|
20
|
+
require('../../../../../Libraries/Components/Touchable/TouchableHighlight').default;
|
|
21
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
22
|
+
const FlatList = require('../../../../../Libraries/Lists/FlatList').default;
|
|
23
|
+
const StyleSheet =
|
|
24
|
+
require('../../../../../Libraries/StyleSheet/StyleSheet').default;
|
|
25
|
+
const Text = require('../../../../../Libraries/Text/Text').default;
|
|
25
26
|
const WebSocketInterceptor =
|
|
26
|
-
require('
|
|
27
|
+
require('../../../../../Libraries/WebSocket/WebSocketInterceptor').default;
|
|
27
28
|
const XHRInterceptor = require('./XHRInterceptor').default;
|
|
28
29
|
|
|
29
30
|
const LISTVIEW_CELL_HEIGHT = 15;
|
package/src/private/{inspector → devsupport/devmenu/elementinspector}/ReactDevToolsOverlay.js
RENAMED
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
* @flow
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import type {InspectedViewRef} from '
|
|
12
|
-
import type {PointerEvent} from '
|
|
13
|
-
import type {GestureResponderEvent} from '
|
|
14
|
-
import type {ReactDevToolsAgent} from '
|
|
11
|
+
import type {InspectedViewRef} from '../../../../../Libraries/ReactNative/AppContainer-dev';
|
|
12
|
+
import type {PointerEvent} from '../../../../../Libraries/Types/CoreEventTypes';
|
|
13
|
+
import type {GestureResponderEvent} from '../../../../../Libraries/Types/CoreEventTypes';
|
|
14
|
+
import type {ReactDevToolsAgent} from '../../../../../Libraries/Types/ReactDevToolsTypes';
|
|
15
15
|
import type {InspectedElement} from './Inspector';
|
|
16
16
|
|
|
17
|
-
import View from '
|
|
18
|
-
import ReactNativeFeatureFlags from '
|
|
19
|
-
import StyleSheet from '
|
|
17
|
+
import View from '../../../../../Libraries/Components/View/View';
|
|
18
|
+
import ReactNativeFeatureFlags from '../../../../../Libraries/ReactNative/ReactNativeFeatureFlags';
|
|
19
|
+
import StyleSheet from '../../../../../Libraries/StyleSheet/StyleSheet';
|
|
20
20
|
import ElementBox from './ElementBox';
|
|
21
21
|
import * as React from 'react';
|
|
22
22
|
|
|
@@ -10,14 +10,15 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import type {ViewStyleProp} from '
|
|
14
|
-
import type {____FlattenStyleProp_Internal} from '
|
|
13
|
+
import type {ViewStyleProp} from '../../../../../Libraries/StyleSheet/StyleSheet';
|
|
14
|
+
import type {____FlattenStyleProp_Internal} from '../../../../../Libraries/StyleSheet/StyleSheetTypes';
|
|
15
15
|
|
|
16
16
|
import * as React from 'react';
|
|
17
17
|
|
|
18
|
-
const View = require('
|
|
19
|
-
const StyleSheet =
|
|
20
|
-
|
|
18
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
19
|
+
const StyleSheet =
|
|
20
|
+
require('../../../../../Libraries/StyleSheet/StyleSheet').default;
|
|
21
|
+
const Text = require('../../../../../Libraries/Text/Text').default;
|
|
21
22
|
|
|
22
23
|
type Props = $ReadOnly<{
|
|
23
24
|
style?: ?____FlattenStyleProp_Internal<ViewStyleProp>,
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import typeof XMLHttpRequestT from '
|
|
13
|
+
import typeof XMLHttpRequestT from '../../../../../Libraries/Network/XMLHttpRequest';
|
|
14
14
|
|
|
15
15
|
const XMLHttpRequest: XMLHttpRequestT =
|
|
16
|
-
require('
|
|
16
|
+
require('../../../../../Libraries/Network/XMLHttpRequest').default;
|
|
17
17
|
// $FlowFixMe[method-unbinding]
|
|
18
18
|
const originalXHROpen = XMLHttpRequest.prototype.open;
|
|
19
19
|
// $FlowFixMe[method-unbinding]
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @flow
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import type {TouchedViewDataAtPoint} from '
|
|
12
|
-
import type {HostInstance} from '
|
|
11
|
+
import type {TouchedViewDataAtPoint} from '../../../../../Libraries/Renderer/shims/ReactNativeTypes';
|
|
12
|
+
import type {HostInstance} from '../../../types/HostInstance';
|
|
13
13
|
|
|
14
14
|
const invariant = require('invariant');
|
|
15
15
|
|
|
@@ -12,11 +12,12 @@
|
|
|
12
12
|
|
|
13
13
|
import * as React from 'react';
|
|
14
14
|
|
|
15
|
-
const View = require('
|
|
16
|
-
const StyleSheet =
|
|
17
|
-
|
|
15
|
+
const View = require('../../../../../Libraries/Components/View/View').default;
|
|
16
|
+
const StyleSheet =
|
|
17
|
+
require('../../../../../Libraries/StyleSheet/StyleSheet').default;
|
|
18
|
+
const Text = require('../../../../../Libraries/Text/Text').default;
|
|
18
19
|
const PerformanceLogger =
|
|
19
|
-
require('
|
|
20
|
+
require('../../../../../Libraries/Utilities/GlobalPerformanceLogger').default;
|
|
20
21
|
|
|
21
22
|
class PerformanceOverlay extends React.Component<{...}> {
|
|
22
23
|
render(): React.Node {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* @format
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import type {TurboModule} from '
|
|
11
|
+
import type {TurboModule} from '../../../../../Libraries/TurboModule/RCTExport';
|
|
12
12
|
|
|
13
|
-
import * as TurboModuleRegistry from '
|
|
13
|
+
import * as TurboModuleRegistry from '../../../../../Libraries/TurboModule/TurboModuleRegistry';
|
|
14
14
|
|
|
15
15
|
export interface Spec extends TurboModule {
|
|
16
16
|
+show: () => void;
|
package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.android.js
RENAMED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @format
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import NativeReactDevToolsSettingsManager from '
|
|
11
|
+
import NativeReactDevToolsSettingsManager from './specs/NativeReactDevToolsSettingsManager';
|
|
12
12
|
|
|
13
13
|
module.exports = {
|
|
14
14
|
setGlobalHookSettings(settings: string) {
|
package/src/private/{debugging → devsupport/rndevtools}/ReactDevToolsSettingsManager.win32.js
RENAMED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @format
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import NativeReactDevToolsSettingsManager from '
|
|
11
|
+
import NativeReactDevToolsSettingsManager from './specs/NativeReactDevToolsSettingsManager';
|
|
12
12
|
|
|
13
13
|
module.exports = {
|
|
14
14
|
setGlobalHookSettings(settings: string) {
|
package/src/private/{debugging → devsupport/rndevtools}/setUpFuseboxReactDevToolsDispatcher.js
RENAMED
|
@@ -66,7 +66,7 @@ export class Domain {
|
|
|
66
66
|
* Globally bound object providing a hook for React DevTools runtime API calls
|
|
67
67
|
* over CDP.
|
|
68
68
|
*
|
|
69
|
-
* @see {@link ./__docs__/FuseboxReactDevToolsDispatcher.excalidraw
|
|
69
|
+
* @see {@link ./__docs__/FuseboxReactDevToolsDispatcher.excalidraw.svg}
|
|
70
70
|
*/
|
|
71
71
|
class FuseboxReactDevToolsDispatcher {
|
|
72
72
|
static #domainNameToDomainMap: Map<DomainName, Domain> = new Map();
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* @oncall react_native
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
import type {TurboModule} from '
|
|
12
|
+
import type {TurboModule} from '../../../../../Libraries/TurboModule/RCTExport';
|
|
13
13
|
|
|
14
|
-
import * as TurboModuleRegistry from '
|
|
14
|
+
import * as TurboModuleRegistry from '../../../../../Libraries/TurboModule/TurboModuleRegistry';
|
|
15
15
|
|
|
16
16
|
export type ReloadAndProfileConfig = {
|
|
17
17
|
shouldReloadAndProfile: boolean,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
* @format
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
import type {TurboModule} from '
|
|
11
|
+
import type {TurboModule} from '../../../../../Libraries/TurboModule/RCTExport';
|
|
12
12
|
|
|
13
|
-
import * as TurboModuleRegistry from '
|
|
13
|
+
import * as TurboModuleRegistry from '../../../../../Libraries/TurboModule/TurboModuleRegistry';
|
|
14
14
|
|
|
15
15
|
export interface Spec extends TurboModule {
|
|
16
16
|
+setGlobalHookSettings: (settings: string) => void;
|