@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.
Files changed (40) hide show
  1. package/.flowconfig +1 -2
  2. package/CHANGELOG.json +100 -1
  3. package/CHANGELOG.md +33 -8
  4. package/Libraries/Animated/createAnimatedComponent.js +20 -3
  5. package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +13 -1
  6. package/Libraries/Components/TextInput/TextInput.win32.js +2 -2
  7. package/Libraries/Components/Touchable/TouchableHighlight.d.ts +4 -10
  8. package/Libraries/Components/Touchable/TouchableOpacity.d.ts +4 -15
  9. package/Libraries/Core/Devtools/loadBundleFromServer.js +3 -3
  10. package/Libraries/Core/ErrorHandlers.js +116 -0
  11. package/Libraries/Core/ReactNativeVersion.js +1 -1
  12. package/Libraries/Core/setUpReactDevTools.js +70 -10
  13. package/Libraries/Debugging/DebuggingOverlayRegistry.js +1 -1
  14. package/Libraries/Inspector/ElementBox.js +2 -3
  15. package/Libraries/NativeComponent/NativeComponentRegistry.js +12 -5
  16. package/Libraries/ReactNative/BridgelessUIManager.js +1 -21
  17. package/Libraries/ReactNative/RendererImplementation.js +20 -2
  18. package/Libraries/ReactNative/UIManager.d.ts +0 -21
  19. package/Libraries/ReactNative/UIManagerProperties.js +0 -3
  20. package/Libraries/ReactNative/getNativeComponentAttributes.js +3 -6
  21. package/Libraries/Renderer/shims/ReactFabric.js +3 -0
  22. package/Libraries/Renderer/shims/ReactFeatureFlags.js +3 -0
  23. package/Libraries/Renderer/shims/ReactNative.js +3 -0
  24. package/Libraries/Renderer/shims/ReactNativeTypes.js +25 -1
  25. package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +3 -0
  26. package/Libraries/Renderer/shims/createReactNativeComponentClass.js +3 -0
  27. package/Libraries/StyleSheet/StyleSheetTypes.d.ts +3 -3
  28. package/Libraries/StyleSheet/StyleSheetTypes.js +3 -3
  29. package/Libraries/Utilities/{LoadingView.android.js → DevLoadingView.js} +33 -11
  30. package/Libraries/Utilities/HMRClient.js +8 -8
  31. package/overrides.json +2 -8
  32. package/package.json +17 -16
  33. package/src/private/featureflags/ReactNativeFeatureFlags.js +16 -6
  34. package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +4 -2
  35. package/src/private/fusebox/setUpFuseboxReactDevToolsDispatcher.js +108 -0
  36. package/src/private/specs/modules/NativeUIManager.js +0 -7
  37. package/src/private/webapis/performance/PerformanceObserver.js +11 -5
  38. package/Libraries/Components/ScrollView/ScrollView.win32.js +0 -1983
  39. package/Libraries/Utilities/LoadingView.ios.js +0 -50
  40. 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
- };