@office-iss/react-native-win32 0.0.0-canary.245 → 0.0.0-canary.247
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 -2
- package/CHANGELOG.json +100 -1
- package/CHANGELOG.md +33 -8
- package/Libraries/Animated/createAnimatedComponent.js +20 -3
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +13 -1
- package/Libraries/Components/TextInput/TextInput.win32.js +2 -2
- package/Libraries/Components/Touchable/TouchableHighlight.d.ts +4 -10
- package/Libraries/Components/Touchable/TouchableOpacity.d.ts +4 -15
- package/Libraries/Core/Devtools/loadBundleFromServer.js +3 -3
- package/Libraries/Core/ErrorHandlers.js +116 -0
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Core/setUpReactDevTools.js +70 -10
- package/Libraries/Debugging/DebuggingOverlayRegistry.js +1 -1
- package/Libraries/Inspector/ElementBox.js +2 -3
- package/Libraries/NativeComponent/NativeComponentRegistry.js +12 -5
- package/Libraries/ReactNative/BridgelessUIManager.js +1 -21
- package/Libraries/ReactNative/RendererImplementation.js +20 -2
- package/Libraries/ReactNative/UIManager.d.ts +0 -21
- package/Libraries/ReactNative/UIManagerProperties.js +0 -3
- package/Libraries/ReactNative/getNativeComponentAttributes.js +3 -6
- package/Libraries/Renderer/shims/ReactFabric.js +3 -0
- package/Libraries/Renderer/shims/ReactFeatureFlags.js +3 -0
- package/Libraries/Renderer/shims/ReactNative.js +3 -0
- package/Libraries/Renderer/shims/ReactNativeTypes.js +25 -1
- package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +3 -0
- package/Libraries/Renderer/shims/createReactNativeComponentClass.js +3 -0
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +3 -3
- package/Libraries/StyleSheet/StyleSheetTypes.js +3 -3
- package/Libraries/Utilities/{LoadingView.android.js → DevLoadingView.js} +33 -11
- package/Libraries/Utilities/HMRClient.js +8 -8
- package/overrides.json +2 -8
- package/package.json +17 -16
- package/src/private/featureflags/ReactNativeFeatureFlags.js +16 -6
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +4 -2
- package/src/private/fusebox/setUpFuseboxReactDevToolsDispatcher.js +108 -0
- package/src/private/specs/modules/NativeUIManager.js +0 -7
- package/src/private/webapis/performance/PerformanceObserver.js +11 -5
- package/Libraries/Components/ScrollView/ScrollView.win32.js +0 -1983
- package/Libraries/Utilities/LoadingView.ios.js +0 -50
- package/Libraries/Utilities/LoadingView.js +0 -16
|
@@ -1,50 +0,0 @@
|
|
|
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
|
-
* @format
|
|
8
|
-
* @flow strict-local
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import processColor from '../StyleSheet/processColor';
|
|
12
|
-
import Appearance from './Appearance';
|
|
13
|
-
import NativeDevLoadingView from './NativeDevLoadingView';
|
|
14
|
-
|
|
15
|
-
module.exports = {
|
|
16
|
-
showMessage(message: string, type: 'load' | 'refresh') {
|
|
17
|
-
if (NativeDevLoadingView) {
|
|
18
|
-
if (type === 'refresh') {
|
|
19
|
-
const backgroundColor = processColor('#2584e8');
|
|
20
|
-
const textColor = processColor('#ffffff');
|
|
21
|
-
|
|
22
|
-
NativeDevLoadingView.showMessage(
|
|
23
|
-
message,
|
|
24
|
-
typeof textColor === 'number' ? textColor : null,
|
|
25
|
-
typeof backgroundColor === 'number' ? backgroundColor : null,
|
|
26
|
-
);
|
|
27
|
-
} else if (type === 'load') {
|
|
28
|
-
let backgroundColor;
|
|
29
|
-
let textColor;
|
|
30
|
-
|
|
31
|
-
if (Appearance.getColorScheme() === 'dark') {
|
|
32
|
-
backgroundColor = processColor('#fafafa');
|
|
33
|
-
textColor = processColor('#242526');
|
|
34
|
-
} else {
|
|
35
|
-
backgroundColor = processColor('#404040');
|
|
36
|
-
textColor = processColor('#ffffff');
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
NativeDevLoadingView.showMessage(
|
|
40
|
-
message,
|
|
41
|
-
typeof textColor === 'number' ? textColor : null,
|
|
42
|
-
typeof backgroundColor === 'number' ? backgroundColor : null,
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
hide() {
|
|
48
|
-
NativeDevLoadingView && NativeDevLoadingView.hide();
|
|
49
|
-
},
|
|
50
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
* @format
|
|
8
|
-
* @flow strict-local
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
'use strict';
|
|
12
|
-
|
|
13
|
-
module.exports = {
|
|
14
|
-
showMessage(message: string, type: 'load' | 'refresh') {},
|
|
15
|
-
hide() {},
|
|
16
|
-
};
|