@office-iss/react-native-win32 0.0.0-canary.256 → 0.0.0-canary.257
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 +40 -1
- package/CHANGELOG.md +20 -8
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Core/setUpTimers.js +19 -0
- package/Libraries/LogBox/Data/LogBoxData.js +39 -4
- package/Libraries/LogBox/Data/LogBoxLog.js +5 -2
- package/Libraries/LogBox/Data/parseLogBoxLog.js +22 -1
- package/Libraries/LogBox/LogBox.js +29 -12
- package/Libraries/LogBox/LogBoxNotificationContainer.js +4 -0
- package/Libraries/LogBox/UI/LogBoxInspector.js +8 -70
- package/Libraries/LogBox/UI/LogBoxInspectorBody.js +87 -0
- package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +6 -42
- package/Libraries/LogBox/UI/LogBoxInspectorFooterButton.js +58 -0
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +5 -66
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +7 -72
- package/Libraries/LogBox/UI/LogBoxInspectorHeaderButton.js +76 -0
- package/Libraries/LogBox/UI/LogBoxNotification.js +13 -152
- package/Libraries/LogBox/UI/LogBoxNotificationCountBadge.js +63 -0
- package/Libraries/LogBox/UI/LogBoxNotificationDismissButton.js +67 -0
- package/Libraries/LogBox/UI/LogBoxNotificationMessage.js +57 -0
- package/Libraries/Renderer/implementations/ReactFabric-dev.js +15690 -26405
- package/Libraries/Renderer/implementations/ReactFabric-prod.js +2675 -1630
- package/Libraries/Renderer/implementations/ReactFabric-profiling.js +2945 -1682
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +16141 -27018
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +2723 -1666
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +2984 -1737
- package/Libraries/Share/Share.d.ts +16 -10
- package/Libraries/Share/Share.js +14 -15
- package/Libraries/Text/Text.js +25 -20
- package/Libraries/Text/Text.win32.js +25 -20
- package/Libraries/Text/TextNativeComponent.js +1 -1
- package/Libraries/Text/TextNativeComponent.win32.js +1 -1
- package/Libraries/Text/TextOptimized.js +538 -0
- package/Libraries/Utilities/ReactNativeTestTools.js +7 -24
- package/Libraries/__tests__/ButtonWin32-test.js +7 -6
- package/Libraries/promiseRejectionTrackingOptions.js +1 -0
- package/jest/renderer.js +25 -14
- package/jest/setup.js +5 -0
- package/overrides.json +5 -5
- package/package.json +19 -19
- package/src/private/specs/modules/NativeDevSettings.js +1 -0
- package/src/private/webapis/idlecallbacks/specs/NativeIdleCallbacks.js +34 -0
package/overrides.json
CHANGED
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
"**/__snapshots__/**",
|
|
8
8
|
"src-win/rntypes/**"
|
|
9
9
|
],
|
|
10
|
-
"baseVersion": "0.75.0-nightly-
|
|
10
|
+
"baseVersion": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
11
11
|
"overrides": [
|
|
12
12
|
{
|
|
13
13
|
"type": "derived",
|
|
14
14
|
"file": ".flowconfig",
|
|
15
15
|
"baseFile": ".flowconfig",
|
|
16
|
-
"baseHash": "
|
|
16
|
+
"baseHash": "75582b181be0cd6790f7c021bfafb761dfc42381"
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"type": "derived",
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
"type": "patch",
|
|
318
318
|
"file": "src-win/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js",
|
|
319
319
|
"baseFile": "packages/react-native/Libraries/LogBox/UI/LogBoxInspectorHeader.js",
|
|
320
|
-
"baseHash": "
|
|
320
|
+
"baseHash": "e85290422895e30d58e2d804f11e73407a743282",
|
|
321
321
|
"issue": 7952
|
|
322
322
|
},
|
|
323
323
|
{
|
|
@@ -439,13 +439,13 @@
|
|
|
439
439
|
"type": "derived",
|
|
440
440
|
"file": "src-win/Libraries/Text/Text.win32.js",
|
|
441
441
|
"baseFile": "packages/react-native/Libraries/Text/Text.js",
|
|
442
|
-
"baseHash": "
|
|
442
|
+
"baseHash": "71c24366f3f0baa9a48ba34c08b255483bf77553"
|
|
443
443
|
},
|
|
444
444
|
{
|
|
445
445
|
"type": "derived",
|
|
446
446
|
"file": "src-win/Libraries/Text/TextNativeComponent.win32.js",
|
|
447
447
|
"baseFile": "packages/react-native/Libraries/Text/TextNativeComponent.js",
|
|
448
|
-
"baseHash": "
|
|
448
|
+
"baseHash": "1b2e6301edc13f3a91e47b9befe8a47a12e6ad39",
|
|
449
449
|
"issue": 7074
|
|
450
450
|
},
|
|
451
451
|
{
|
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.257",
|
|
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": "14.0.0-alpha.2",
|
|
31
31
|
"@react-native-community/cli-platform-ios": "14.0.0-alpha.2",
|
|
32
32
|
"@react-native/assets": "1.0.0",
|
|
33
|
-
"@react-native/assets-registry": "0.75.0-nightly-
|
|
34
|
-
"@react-native/codegen": "0.75.0-nightly-
|
|
35
|
-
"@react-native/community-cli-plugin": "0.75.0-nightly-
|
|
36
|
-
"@react-native/gradle-plugin": "0.75.0-nightly-
|
|
37
|
-
"@react-native/js-polyfills": "0.75.0-nightly-
|
|
38
|
-
"@react-native/normalize-colors": "0.75.0-nightly-
|
|
39
|
-
"@react-native/virtualized-lists": "0.75.0-nightly-
|
|
33
|
+
"@react-native/assets-registry": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
34
|
+
"@react-native/codegen": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
35
|
+
"@react-native/community-cli-plugin": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
36
|
+
"@react-native/gradle-plugin": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
37
|
+
"@react-native/js-polyfills": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
38
|
+
"@react-native/normalize-colors": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
39
|
+
"@react-native/virtualized-lists": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
40
40
|
"abort-controller": "^3.0.0",
|
|
41
41
|
"anser": "^1.4.9",
|
|
42
42
|
"ansi-regex": "^5.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"react-refresh": "^0.14.0",
|
|
62
62
|
"react-shallow-renderer": "^16.15.0",
|
|
63
63
|
"regenerator-runtime": "^0.13.2",
|
|
64
|
-
"scheduler": "0.
|
|
64
|
+
"scheduler": "0.25.0-rc-fb9a90fa48-20240614",
|
|
65
65
|
"semver": "^7.1.3",
|
|
66
66
|
"stacktrace-parser": "^0.1.10",
|
|
67
67
|
"whatwg-fetch": "^3.0.0",
|
|
@@ -71,13 +71,13 @@
|
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@babel/core": "^7.20.0",
|
|
73
73
|
"@babel/eslint-parser": "^7.20.0",
|
|
74
|
-
"@react-native/metro-config": "0.75.0-nightly-
|
|
74
|
+
"@react-native/metro-config": "0.75.0-nightly-20240614-8b53d41a8",
|
|
75
75
|
"@rnw-scripts/babel-react-native-config": "0.0.0",
|
|
76
|
-
"@rnw-scripts/eslint-config": "1.2.
|
|
77
|
-
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.
|
|
78
|
-
"@rnw-scripts/just-task": "2.3.
|
|
76
|
+
"@rnw-scripts/eslint-config": "1.2.25",
|
|
77
|
+
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.29",
|
|
78
|
+
"@rnw-scripts/just-task": "2.3.42",
|
|
79
79
|
"@rnw-scripts/metro-dev-config": "0.0.0",
|
|
80
|
-
"@rnx-kit/jest-preset": "^0.1.
|
|
80
|
+
"@rnx-kit/jest-preset": "^0.1.17",
|
|
81
81
|
"@types/node": "^18.0.0",
|
|
82
82
|
"@types/prop-types": "15.7.1",
|
|
83
83
|
"@types/react": "^18.2.6",
|
|
@@ -86,15 +86,15 @@
|
|
|
86
86
|
"jscodeshift": "^0.14.0",
|
|
87
87
|
"just-scripts": "^1.3.3",
|
|
88
88
|
"prettier": "2.8.8",
|
|
89
|
-
"react": "
|
|
90
|
-
"react-native": "0.75.0-nightly-
|
|
91
|
-
"react-native-platform-override": "^1.9.
|
|
89
|
+
"react": "19.0.0-rc-fb9a90fa48-20240614",
|
|
90
|
+
"react-native": "0.75.0-nightly-20240618-5df5ed1a8",
|
|
91
|
+
"react-native-platform-override": "^1.9.44",
|
|
92
92
|
"typescript": "5.0.4"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"@types/react": "^18.2.6",
|
|
96
|
-
"react": "^
|
|
97
|
-
"react-native": "0.75.0-nightly-
|
|
96
|
+
"react": "^19.0.0-rc-fb9a90fa48-20240614",
|
|
97
|
+
"react-native": "0.75.0-nightly-20240618-5df5ed1a8"
|
|
98
98
|
},
|
|
99
99
|
"beachball": {
|
|
100
100
|
"defaultNpmTag": "canary",
|
|
@@ -21,6 +21,7 @@ export interface Spec extends TurboModule {
|
|
|
21
21
|
+setProfilingEnabled: (isProfilingEnabled: boolean) => void;
|
|
22
22
|
+toggleElementInspector: () => void;
|
|
23
23
|
+addMenuItem: (title: string) => void;
|
|
24
|
+
+openDebugger?: () => void;
|
|
24
25
|
|
|
25
26
|
// Events
|
|
26
27
|
+addListener: (eventName: string) => void;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @flow strict
|
|
8
|
+
* @format
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
import type {TurboModule} from '../../../../../Libraries/TurboModule/RCTExport';
|
|
12
|
+
|
|
13
|
+
import * as TurboModuleRegistry from '../../../../../Libraries/TurboModule/TurboModuleRegistry';
|
|
14
|
+
|
|
15
|
+
export type RequestIdleCallbackOptions = {
|
|
16
|
+
timeout?: number,
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export type IdleDeadline = {
|
|
20
|
+
didTimeout: boolean,
|
|
21
|
+
timeRemaining: () => mixed,
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export interface Spec extends TurboModule {
|
|
25
|
+
+requestIdleCallback: (
|
|
26
|
+
callback: (idleDeadline: IdleDeadline) => mixed,
|
|
27
|
+
options?: RequestIdleCallbackOptions,
|
|
28
|
+
) => mixed;
|
|
29
|
+
+cancelIdleCallback: (handle: mixed) => void;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default (TurboModuleRegistry.getEnforcing<Spec>(
|
|
33
|
+
'NativeIdleCallbacksCxx',
|
|
34
|
+
): Spec);
|