@office-iss/react-native-win32 0.0.0-canary.311 → 0.0.0-canary.315
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/.eslintignore +1 -0
- package/.flowconfig +83 -75
- package/CHANGELOG.json +180 -0
- package/CHANGELOG.md +48 -1
- package/IntegrationTests/AppEventsTest.js +3 -3
- package/IntegrationTests/GlobalEvalWithSourceUrlTest.js +22 -9
- package/IntegrationTests/IntegrationTestHarnessTest.js +1 -1
- package/IntegrationTests/IntegrationTestsApp.js +3 -3
- package/IntegrationTests/LayoutEventsTest.js +4 -5
- package/IntegrationTests/LoggingTestModule.js +1 -1
- package/IntegrationTests/PromiseTest.js +1 -0
- package/IntegrationTests/RNTesterDeepEquals.js +51 -0
- package/IntegrationTests/TimersTest.js +39 -13
- package/Libraries/ActionSheetIOS/ActionSheetIOS.js +26 -28
- package/Libraries/Alert/Alert.js +60 -26
- package/Libraries/Alert/Alert.win32.js +42 -7
- package/Libraries/Animated/AnimatedEvent.js +39 -18
- package/Libraries/Animated/AnimatedExports.js +27 -3
- package/Libraries/Animated/AnimatedExports.js.flow +2 -2
- package/Libraries/Animated/AnimatedImplementation.js +159 -29
- package/Libraries/Animated/AnimatedMock.js +3 -1
- package/Libraries/Animated/AnimationTimingUtils.js +39 -0
- package/Libraries/Animated/Easing.js +4 -3
- package/Libraries/Animated/NativeAnimatedAllowlist.js +58 -12
- package/Libraries/Animated/animations/Animation.js +17 -8
- package/Libraries/Animated/animations/DecayAnimation.js +10 -7
- package/Libraries/Animated/animations/SpringAnimation.js +13 -9
- package/Libraries/Animated/animations/TimingAnimation.js +21 -9
- package/Libraries/Animated/bezier.js +39 -124
- package/Libraries/Animated/components/AnimatedFlatList.js +4 -2
- package/Libraries/Animated/components/AnimatedImage.js +5 -4
- package/Libraries/Animated/components/AnimatedScrollView.js +9 -10
- package/Libraries/Animated/components/AnimatedSectionList.js +4 -2
- package/Libraries/Animated/components/AnimatedText.js +3 -3
- package/Libraries/Animated/createAnimatedComponent.js +39 -36
- package/Libraries/Animated/nodes/AnimatedAddition.js +9 -3
- package/Libraries/Animated/nodes/AnimatedColor.js +33 -23
- package/Libraries/Animated/nodes/AnimatedDiffClamp.js +11 -3
- package/Libraries/Animated/nodes/AnimatedDivision.js +9 -3
- package/Libraries/Animated/nodes/AnimatedInterpolation.js +161 -46
- package/Libraries/Animated/nodes/AnimatedModulo.js +10 -3
- package/Libraries/Animated/nodes/AnimatedMultiplication.js +9 -3
- package/Libraries/Animated/nodes/AnimatedNode.js +85 -11
- package/Libraries/Animated/nodes/AnimatedObject.js +18 -10
- package/Libraries/Animated/nodes/AnimatedProps.js +43 -13
- package/Libraries/Animated/nodes/AnimatedStyle.js +14 -10
- package/Libraries/Animated/nodes/AnimatedSubtraction.js +9 -3
- package/Libraries/Animated/nodes/AnimatedTracking.js +23 -9
- package/Libraries/Animated/nodes/AnimatedTransform.js +20 -14
- package/Libraries/Animated/nodes/AnimatedValue.js +31 -77
- package/Libraries/Animated/nodes/AnimatedValueXY.js +17 -12
- package/Libraries/Animated/nodes/AnimatedWithChildren.js +1 -1
- package/Libraries/Animated/useAnimatedColor.js +25 -0
- package/Libraries/Animated/useAnimatedValueXY.js +26 -0
- package/Libraries/AppState/AppState.js +35 -24
- package/Libraries/AppState/useAppState.d.ts +20 -0
- package/Libraries/AppState/useAppState.js +64 -0
- package/Libraries/BatchedBridge/MessageQueue.js +46 -56
- package/Libraries/BatchedBridge/NativeModules.js +12 -5
- package/Libraries/Blob/Blob.js +8 -2
- package/Libraries/Blob/File.js +3 -1
- package/Libraries/Blob/FileReader.js +86 -26
- package/Libraries/Blob/URL.js +10 -7
- package/Libraries/Blob/URLSearchParams.js +13 -7
- package/Libraries/Blob/URLSearchParams.js.flow +6 -6
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +25 -8
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.js +116 -92
- package/Libraries/Components/AccessibilityInfo/AccessibilityInfo.win32.js +123 -99
- package/Libraries/Components/AccessibilityInfo/__tests__/AccessibilityInfoWin32-test.js +75 -0
- package/Libraries/Components/ActivityIndicator/ActivityIndicator.js +68 -55
- package/Libraries/Components/ActivityIndicator/ActivityIndicatorViewNativeComponent.js +2 -2
- package/Libraries/Components/Button/ButtonWin32.js +1 -1
- package/Libraries/Components/Button/ButtonWin32.js.map +1 -1
- package/Libraries/Components/Button.js +102 -196
- package/Libraries/Components/Button.win32.js +102 -196
- package/Libraries/Components/Clipboard/Clipboard.js +5 -0
- package/Libraries/Components/DrawerAndroid/AndroidDrawerLayoutNativeComponent.js +2 -2
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +12 -71
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.ios.js +2 -0
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.js +1 -1
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroidTypes.js +30 -35
- package/Libraries/Components/Keyboard/Keyboard.js +32 -71
- package/Libraries/Components/Keyboard/KeyboardAvoidingView.js +22 -11
- package/Libraries/Components/LayoutConformance/LayoutConformance.js +2 -28
- package/Libraries/Components/LayoutConformance/LayoutConformanceNativeComponent.js +1 -1
- package/Libraries/Components/Pressable/Pressable.js +51 -27
- package/Libraries/Components/Pressable/Pressable.win32.js +57 -33
- package/Libraries/Components/Pressable/useAndroidRippleForView.js +11 -12
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.android.js +5 -6
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroid.js +5 -5
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidNativeComponent.js +2 -2
- package/Libraries/Components/ProgressBarAndroid/ProgressBarAndroidTypes.js +20 -3
- package/Libraries/Components/RefreshControl/AndroidSwipeRefreshLayoutNativeComponent.js +2 -2
- package/Libraries/Components/RefreshControl/PullToRefreshViewNativeComponent.js +2 -2
- package/Libraries/Components/RefreshControl/RefreshControl.js +45 -56
- package/Libraries/Components/SafeAreaView/RCTSafeAreaViewNativeComponent.js +2 -2
- package/Libraries/Components/SafeAreaView/SafeAreaView.js +8 -8
- package/Libraries/Components/SafeAreaView/SafeAreaView.win32.js +8 -8
- package/Libraries/Components/ScrollView/AndroidHorizontalScrollContentViewNativeComponent.js +2 -2
- package/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +8 -12
- package/Libraries/Components/ScrollView/ScrollView.js +241 -142
- package/Libraries/Components/ScrollView/ScrollViewCommands.js +6 -6
- package/Libraries/Components/ScrollView/ScrollViewNativeComponent.js +8 -18
- package/Libraries/Components/ScrollView/ScrollViewNativeComponentType.js +5 -7
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +5 -5
- package/Libraries/Components/StaticRenderer.js +1 -1
- package/Libraries/Components/StatusBar/StatusBar.js +120 -181
- package/Libraries/Components/Switch/AndroidSwitchNativeComponent.js +2 -2
- package/Libraries/Components/Switch/Switch.js +89 -87
- package/Libraries/Components/Switch/SwitchNativeComponent.js +2 -2
- package/Libraries/Components/TextInput/AndroidTextInputNativeComponent.js +63 -63
- package/Libraries/Components/TextInput/InputAccessoryView.js +22 -62
- package/Libraries/Components/TextInput/RCTInputAccessoryViewNativeComponent.js +2 -2
- package/Libraries/Components/TextInput/RCTMultilineTextInputNativeComponent.js +1 -1
- package/Libraries/Components/TextInput/RCTSingelineTextInputNativeComponent.js +2 -2
- package/Libraries/Components/TextInput/RCTTextInputViewConfig.js +10 -11
- package/Libraries/Components/TextInput/TextInput.flow.js +71 -71
- package/Libraries/Components/TextInput/TextInput.flow.win32.js +74 -74
- package/Libraries/Components/TextInput/TextInput.js +184 -182
- package/Libraries/Components/TextInput/TextInput.win32.js +132 -136
- package/Libraries/Components/TextInput/TextInputNativeCommands.js +3 -3
- package/Libraries/Components/TextInput/TextInputState.js +1 -1
- package/Libraries/Components/TextInput/TextInputState.win32.js +1 -1
- package/Libraries/Components/ToastAndroid/ToastAndroid.android.js +30 -24
- package/Libraries/Components/ToastAndroid/ToastAndroidFallback.js +5 -5
- package/Libraries/Components/Touchable/PooledClass.js +12 -6
- package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js +2 -2
- package/Libraries/Components/Touchable/Tests/TouchableWin32Test.js.map +1 -1
- package/Libraries/Components/Touchable/Touchable.js +100 -101
- package/Libraries/Components/Touchable/Touchable.win32.js +105 -106
- package/Libraries/Components/Touchable/TouchableHighlight.js +53 -129
- package/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +2 -4
- package/Libraries/Components/Touchable/TouchableNativeFeedback.js +27 -53
- package/Libraries/Components/Touchable/TouchableNativeFeedback.win32.js +27 -52
- package/Libraries/Components/Touchable/TouchableOpacity.js +17 -96
- package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +90 -91
- package/Libraries/Components/UnimplementedViews/UnimplementedNativeViewNativeComponent.js +2 -2
- package/Libraries/Components/UnimplementedViews/UnimplementedView.js +1 -1
- package/Libraries/Components/View/ReactNativeStyleAttributes.js +92 -33
- package/Libraries/Components/View/View.js +43 -19
- package/Libraries/Components/View/View.win32.js +34 -7
- package/Libraries/Components/View/ViewAccessibility.d.ts +26 -5
- package/Libraries/Components/View/ViewAccessibility.js +35 -14
- package/Libraries/Components/View/ViewAccessibility.win32.js +35 -14
- package/Libraries/Components/View/ViewNativeComponent.js +4 -6
- package/Libraries/Components/View/ViewPropTypes.d.ts +14 -9
- package/Libraries/Components/View/ViewPropTypes.js +110 -43
- package/Libraries/Components/View/ViewPropTypes.win32.js +118 -51
- package/Libraries/Core/Devtools/loadBundleFromServer.js +8 -0
- package/Libraries/Core/Devtools/loadBundleFromServer.win32.js +8 -0
- package/Libraries/Core/Devtools/parseHermesStack.js +8 -8
- package/Libraries/Core/Devtools/symbolicateStackTrace.js +2 -2
- package/Libraries/Core/ExceptionsManager.js +5 -11
- package/Libraries/Core/ExtendedError.js +3 -3
- package/Libraries/Core/InitializeCore.js +9 -14
- package/Libraries/Core/RawEventEmitter.js +1 -1
- package/Libraries/Core/ReactFiberErrorDialog.js +6 -6
- package/Libraries/Core/ReactNativeVersion.js +2 -2
- package/Libraries/Core/ReactNativeVersionCheck.js +1 -1
- package/Libraries/Core/ReactNativeVersionCheck.win32.js +1 -1
- package/Libraries/Core/Timers/JSTimers.js +97 -76
- package/Libraries/Core/Timers/immediateShim.js +6 -4
- package/Libraries/Core/Timers/queueMicrotask.js +3 -4
- package/Libraries/Core/polyfillArrayES2023Methods.js +40 -0
- package/Libraries/Core/setUpBatchedBridge.js +1 -1
- package/Libraries/Core/setUpDeveloperTools.js +1 -1
- package/Libraries/Core/setUpErrorHandling.js +4 -2
- package/Libraries/Core/setUpGlobals.js +9 -4
- package/Libraries/Core/setUpNavigator.js +6 -1
- package/Libraries/Core/setUpPerformance.js +4 -21
- package/Libraries/Core/setUpReactDevTools.js +10 -107
- package/Libraries/Core/setUpReactRefresh.js +2 -1
- package/Libraries/Core/setUpSegmentFetcher.js +2 -2
- package/Libraries/Core/setUpTimers.js +0 -6
- package/Libraries/Core/setUpXHR.js +6 -2
- package/Libraries/Debugging/DebuggingOverlay.js +4 -4
- package/Libraries/Debugging/DebuggingOverlayNativeComponent.js +2 -2
- package/Libraries/Debugging/DebuggingOverlayRegistry.js +1 -1
- package/Libraries/EventEmitter/NativeEventEmitter.js +40 -11
- package/Libraries/EventEmitter/RCTDeviceEventEmitter.js +15 -8
- package/Libraries/EventEmitter/RCTEventEmitter.js +16 -2
- package/Libraries/EventEmitter/RCTNativeAppEventEmitter.js +3 -0
- package/Libraries/Image/AssetSourceResolver.js +19 -27
- package/Libraries/Image/Image.android.js +160 -311
- package/Libraries/Image/Image.ios.js +110 -64
- package/Libraries/Image/Image.win32.js +123 -81
- package/Libraries/Image/ImageBackground.js +30 -18
- package/Libraries/Image/ImageInjection.js +12 -23
- package/Libraries/Image/ImageProps.js +151 -133
- package/Libraries/Image/ImageSource.js +11 -13
- package/Libraries/Image/ImageSourceUtils.js +23 -8
- package/Libraries/Image/ImageTypes.flow.js +4 -2
- package/Libraries/Image/ImageViewNativeComponent.js +8 -17
- package/Libraries/Image/RelativeImageStub.js +3 -3
- package/Libraries/Image/nativeImageSource.js +1 -1
- package/Libraries/Image/resolveAssetSource.js +1 -1
- package/Libraries/Interaction/PanResponder.js +104 -99
- package/Libraries/LayoutAnimation/LayoutAnimation.js +38 -22
- package/Libraries/Linking/Linking.js +25 -24
- package/Libraries/Lists/FlatList.js +28 -22
- package/Libraries/Lists/SectionList.js +14 -5
- package/Libraries/Lists/VirtualizedList.js +3 -0
- package/Libraries/Lists/VirtualizedSectionList.js +4 -0
- package/Libraries/LogBox/Data/LogBoxData.js +39 -25
- package/Libraries/LogBox/Data/LogBoxLog.js +43 -112
- package/Libraries/LogBox/Data/parseLogBoxLog.js +21 -117
- package/Libraries/LogBox/LogBox.js +47 -23
- package/Libraries/LogBox/LogBoxInspectorContainer.js +26 -4
- package/Libraries/LogBox/LogBoxNotificationContainer.js +36 -7
- package/Libraries/LogBox/UI/AnsiHighlight.js +4 -2
- package/Libraries/LogBox/UI/LogBoxButton.js +55 -34
- package/Libraries/LogBox/UI/LogBoxInspector.js +63 -3
- package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js +8 -11
- package/Libraries/LogBox/UI/LogBoxInspectorCodeFrame.win32.js +8 -11
- package/Libraries/LogBox/UI/LogBoxInspectorFooter.js +11 -2
- package/Libraries/LogBox/UI/LogBoxInspectorFooterButton.js +4 -2
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +9 -3
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.win32.js +9 -3
- package/Libraries/LogBox/UI/LogBoxInspectorHeaderButton.js +1 -1
- package/Libraries/LogBox/UI/LogBoxInspectorMessageHeader.js +18 -16
- package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.js +42 -22
- package/Libraries/LogBox/UI/LogBoxInspectorReactFrames.win32.js +32 -20
- package/Libraries/LogBox/UI/LogBoxInspectorSection.js +7 -7
- package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.js +11 -11
- package/Libraries/LogBox/UI/LogBoxInspectorSourceMapStatus.win32.js +14 -14
- package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.js +13 -7
- package/Libraries/LogBox/UI/LogBoxInspectorStackFrame.win32.js +8 -6
- package/Libraries/LogBox/UI/LogBoxInspectorStackFrames.js +20 -30
- package/Libraries/LogBox/UI/LogBoxMessage.js +44 -40
- package/Libraries/LogBox/UI/LogBoxNotification.js +3 -1
- package/Libraries/LogBox/UI/LogBoxNotificationCountBadge.js +4 -1
- package/Libraries/LogBox/UI/LogBoxNotificationDismissButton.js +3 -3
- package/Libraries/LogBox/UI/LogBoxNotificationMessage.js +1 -0
- package/Libraries/LogBox/UI/LogBoxStyle.js +0 -4
- package/Libraries/LogBox/UI/LogBoxStyle.win32.js +0 -4
- package/Libraries/Modal/Modal.js +93 -89
- package/Libraries/Modal/RCTModalHostViewNativeComponent.js +2 -2
- package/Libraries/NativeComponent/BaseViewConfig.android.js +67 -53
- package/Libraries/NativeComponent/BaseViewConfig.ios.js +40 -21
- package/Libraries/NativeComponent/BaseViewConfig.win32.js +37 -16
- package/Libraries/NativeComponent/NativeComponentRegistry.js +2 -2
- package/Libraries/NativeComponent/ViewConfig.js +3 -3
- package/Libraries/NativeComponent/ViewConfigIgnore.js +4 -2
- package/Libraries/Network/FormData.js +1 -1
- package/Libraries/Network/RCTNetworking.android.js +19 -14
- package/Libraries/Network/RCTNetworking.ios.js +2 -2
- package/Libraries/Network/RCTNetworking.js.flow +3 -3
- package/Libraries/Network/RCTNetworking.win32.js +2 -2
- package/Libraries/Network/RCTNetworkingEventDefinitions.flow.js +1 -1
- package/Libraries/Network/XMLHttpRequest.js +94 -59
- package/Libraries/Network/convertRequestBody.js +43 -13
- package/Libraries/Performance/Systrace.js +36 -0
- package/Libraries/PermissionsAndroid/PermissionsAndroid.js +33 -22
- package/Libraries/PersonaCoin/PersonaCoinTypes.js +2 -2
- package/Libraries/PersonaCoin/PersonaCoinTypes.js.map +1 -1
- package/Libraries/Pressability/HoverState.js +3 -3
- package/Libraries/Pressability/HoverState.win32.js +3 -3
- package/Libraries/Pressability/Pressability.js +22 -16
- package/Libraries/Pressability/Pressability.win32.js +26 -20
- package/Libraries/Pressability/PressabilityDebug.js +28 -2
- package/Libraries/Pressability/PressabilityPerformanceEventEmitter.js +1 -1
- package/Libraries/PushNotificationIOS/PushNotificationIOS.js +22 -14
- package/Libraries/QuirkSettings/NativeQuirkSettings.js +2 -2
- package/Libraries/ReactNative/AppContainer-dev.js +23 -16
- package/Libraries/ReactNative/AppContainer-prod.js +1 -2
- package/Libraries/ReactNative/AppContainer.js +3 -3
- package/Libraries/ReactNative/AppRegistry.flow.js +13 -7
- package/Libraries/ReactNative/AppRegistry.js +16 -12
- package/Libraries/ReactNative/AppRegistry.js.flow +1 -1
- package/Libraries/ReactNative/AppRegistryImpl.js +79 -35
- package/Libraries/ReactNative/BridgelessUIManager.js +97 -41
- package/Libraries/ReactNative/DeprecatedPerformanceLoggerStub.js +83 -0
- package/Libraries/ReactNative/DisplayMode.js +1 -1
- package/Libraries/ReactNative/FabricUIManager.js +92 -29
- package/Libraries/ReactNative/I18nManager.js +20 -0
- package/Libraries/{Utilities/IPerformanceLogger.js → ReactNative/IPerformanceLogger.flow.js} +12 -9
- package/Libraries/ReactNative/PaperUIManager.js +9 -8
- package/Libraries/ReactNative/PaperUIManager.win32.js +7 -6
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +2 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactNativeAttributePayload.js +62 -45
- package/Libraries/ReactNative/RendererImplementation.js +26 -142
- package/Libraries/ReactNative/RendererProxy.js +4 -15
- package/Libraries/ReactNative/UIManager.js +86 -13
- package/Libraries/ReactNative/UIManagerProperties.js +1 -1
- package/Libraries/ReactNative/getNativeComponentAttributes.js +54 -15
- package/Libraries/ReactNative/renderApplication.js +33 -59
- package/Libraries/ReactNative/requireNativeComponent.js +7 -5
- package/Libraries/Renderer/implementations/ReactFabric-dev.js +3124 -1599
- package/Libraries/Renderer/implementations/ReactFabric-prod.js +2237 -1009
- package/Libraries/Renderer/implementations/ReactFabric-profiling.js +2467 -1138
- package/Libraries/Renderer/shims/ReactFabric.js +2 -4
- package/Libraries/Renderer/shims/ReactFeatureFlags.js +1 -3
- package/Libraries/Renderer/shims/ReactNativeTypes.js +36 -68
- package/Libraries/Renderer/shims/ReactNativeTypes.win32.js +36 -68
- package/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js +4 -6
- package/Libraries/Renderer/shims/createReactNativeComponentClass.js +2 -4
- package/Libraries/Settings/Settings.ios.js +92 -37
- package/Libraries/Settings/Settings.js +3 -3
- package/Libraries/Settings/Settings.win32.js +3 -3
- package/Libraries/Settings/SettingsFallback.js +3 -3
- package/Libraries/Share/Share.js +26 -29
- package/Libraries/StyleSheet/PlatformColorValueTypes.android.js +15 -3
- package/Libraries/StyleSheet/PlatformColorValueTypes.ios.js +14 -4
- package/Libraries/StyleSheet/PlatformColorValueTypes.js.flow +7 -1
- package/Libraries/StyleSheet/PlatformColorValueTypes.win32.js +5 -5
- package/Libraries/StyleSheet/PlatformColorValueTypesWin32.js +2 -2
- package/Libraries/StyleSheet/PointPropType.js +1 -1
- package/Libraries/StyleSheet/Rect.js +1 -1
- package/Libraries/StyleSheet/StyleSheet.js +46 -9
- package/Libraries/StyleSheet/StyleSheet.js.flow +6 -9
- package/Libraries/StyleSheet/StyleSheetExports.js +22 -29
- package/Libraries/StyleSheet/StyleSheetExports.js.flow +6 -11
- package/Libraries/StyleSheet/StyleSheetTypes.js +100 -76
- package/Libraries/StyleSheet/flattenStyle.js +29 -14
- package/Libraries/StyleSheet/parsePlatformColorArgs.js +55 -0
- package/Libraries/StyleSheet/private/_StyleSheetTypesOverrides.js +5 -5
- package/Libraries/StyleSheet/private/_TransformStyle.js +22 -22
- package/Libraries/StyleSheet/processBackgroundImage.js +50 -22
- package/Libraries/StyleSheet/processBackgroundPosition.js +4 -4
- package/Libraries/StyleSheet/processBackgroundRepeat.js +4 -4
- package/Libraries/StyleSheet/processBackgroundSize.js +11 -16
- package/Libraries/StyleSheet/processBoxShadow.js +15 -13
- package/Libraries/StyleSheet/processColor.js +2 -1
- package/Libraries/StyleSheet/processColorArray.js +2 -2
- package/Libraries/StyleSheet/processFilter.js +26 -15
- package/Libraries/StyleSheet/processFontVariationSettings.js +61 -0
- package/Libraries/StyleSheet/processTransform.js +52 -23
- package/Libraries/StyleSheet/processTransformOrigin.js +18 -7
- package/Libraries/StyleSheet/setNormalizedColorAlpha.js +8 -7
- package/Libraries/StyleSheet/splitLayoutProps.js +6 -6
- package/Libraries/Text/Text.d.ts +16 -14
- package/Libraries/Text/Text.js +329 -633
- package/Libraries/Text/Text.win32.js +396 -752
- package/Libraries/Text/TextEffectNativeComponent.js +31 -0
- package/Libraries/Text/TextNativeComponent.js +32 -15
- package/Libraries/Text/TextNativeComponent.win32.js +19 -15
- package/Libraries/Text/TextProps.js +84 -95
- package/Libraries/Text/TextProps.win32.js +87 -98
- package/Libraries/Text/__tests__/TextNativeComponentWin32-test.js +26 -0
- package/Libraries/Text/requireNativeTextEffect.js +28 -0
- package/Libraries/TurboModule/RCTExport.js +2 -2
- package/Libraries/TurboModule/TurboModuleRegistry.js +3 -3
- package/Libraries/Types/CodegenTypes.js +9 -7
- package/Libraries/Types/CoreEventTypes.js +68 -49
- package/Libraries/Types/CoreEventTypes.win32.js +76 -56
- package/Libraries/Types/ReactDevToolsTypes.js +2 -2
- package/Libraries/Types/UIManagerJSInterface.js +4 -4
- package/Libraries/Utilities/Appearance.js +37 -15
- package/Libraries/Utilities/BackHandler.android.js +24 -31
- package/Libraries/Utilities/BackHandler.ios.js +3 -1
- package/Libraries/Utilities/BackHandler.js.flow +23 -2
- package/Libraries/Utilities/BackHandler.win32.js +24 -31
- package/Libraries/Utilities/DevSettings.js +8 -1
- package/Libraries/Utilities/Dimensions.js +21 -15
- package/Libraries/Utilities/Dimensions.win32.js +21 -16
- package/Libraries/Utilities/FeatureDetection.js +8 -3
- package/Libraries/Utilities/HMRClient.js +45 -6
- package/Libraries/Utilities/HardwareBackPressEvent.js +22 -0
- package/Libraries/Utilities/PixelRatio.js +5 -2
- package/Libraries/Utilities/Platform.js.flow +4 -0
- package/Libraries/Utilities/PlatformTypes.js +78 -1
- package/Libraries/Utilities/ReactNativeTestTools.js +9 -6
- package/Libraries/Utilities/binaryToBase64.js +1 -1
- package/Libraries/Utilities/codegenNativeCommands.js +20 -10
- package/Libraries/Utilities/codegenNativeComponent.js +13 -7
- package/Libraries/Utilities/deepFreezeAndThrowOnMutationInDev.js +7 -5
- package/Libraries/Utilities/differ/deepDiffer.js +11 -6
- package/Libraries/Utilities/differ/insetsDiffer.js +8 -8
- package/Libraries/Utilities/differ/pointsDiffer.js +7 -4
- package/Libraries/Utilities/logError.js +2 -1
- package/Libraries/Utilities/stringifySafe.js +4 -4
- package/Libraries/Utilities/stringifyViewConfig.js +3 -2
- package/Libraries/Utilities/useColorScheme.js +11 -1
- package/Libraries/Utilities/useMergeRefs.js +19 -28
- package/Libraries/Utilities/useWindowDimensions.js +10 -4
- package/Libraries/Vibration/Vibration.js +15 -13
- package/Libraries/WebSocket/WebSocket.js +26 -20
- package/Libraries/WebSocket/WebSocketInterceptor.js +1 -0
- package/Libraries/platform-types.d.ts +1 -0
- package/Libraries/promiseRejectionTrackingOptions.js +5 -1
- package/Libraries/vendor/core/ErrorUtils.js +4 -4
- package/Libraries/vendor/emitter/EventEmitter.js +37 -27
- package/flow/HermesInternalType.js +14 -14
- package/{Libraries/Modal/NativeModalManager.js → flow/LegacyFunction.js} +3 -4
- package/{Libraries/Image/AssetRegistry.js → flow/LegacyObject.js} +3 -4
- package/flow/bom.js.flow +259 -106
- package/flow/cssom.js.flow +24 -32
- package/flow/dom.js.flow +272 -279
- package/flow/global.js +50 -42
- package/index.js +98 -89
- package/index.win32.js +98 -89
- package/index.win32.js.flow +94 -26
- package/jest/RefreshControlMock.js +5 -2
- package/jest/assetFileTransformer.js +9 -4
- package/jest/local-setup.js +6 -2
- package/jest/mock.js +1 -1
- package/jest/mockComponent.js +5 -6
- package/jest/mockNativeComponent.js +4 -4
- package/jest/mocks/AccessibilityInfo.js +4 -0
- package/jest/mocks/ActivityIndicator.js +3 -2
- package/jest/mocks/Image.js +3 -2
- package/jest/mocks/Modal.js +3 -2
- package/jest/mocks/NativeAnimatedHelper.js +23 -0
- package/jest/mocks/NativeComponentRegistry.js +1 -1
- package/jest/mocks/NativeModules.js +0 -7
- package/jest/mocks/RefreshControl.js +5 -3
- package/jest/mocks/RendererProxy.js +3 -6
- package/jest/mocks/ScrollView.js +9 -7
- package/jest/mocks/Text.js +3 -2
- package/jest/mocks/TextInput.js +3 -2
- package/jest/mocks/View.js +3 -2
- package/jest/mocks/ViewNativeComponent.js +1 -1
- package/jest/mocks/requireNativeComponent.js +3 -3
- package/{rn-get-polyfills.js → jest/mocks/useAppState.js} +4 -2
- package/jest/mocks/useColorScheme.js +2 -2
- package/jest/setup.js +106 -34
- package/jest.config.js +13 -2
- package/overrides.json +68 -66
- package/package.json +27 -23
- package/src/asset-registry.js +29 -0
- package/src/private/animated/NativeAnimatedHelper.js +48 -24
- package/src/private/animated/NativeAnimatedHelper.win32.js +48 -24
- package/src/private/animated/NativeAnimatedValidation.js +1 -1
- package/src/private/animated/createAnimatedPropsHook.js +28 -13
- package/src/private/animated/createAnimatedPropsMemoHook.js +21 -19
- package/src/private/assets/AssetRegistry.js +52 -0
- package/src/private/{specs_DEPRECATED/components → components/activityindicator/specs}/ActivityIndicatorViewNativeComponent.js +8 -11
- package/src/private/{specs_DEPRECATED/components → components/debuggingoverlay/specs}/DebuggingOverlayNativeComponent.js +13 -13
- package/src/private/{specs_DEPRECATED/components → components/drawerlayoutandroid/specs}/AndroidDrawerLayoutNativeComponent.js +13 -13
- package/src/private/components/inputaccessoryview/specs/RCTInputAccessoryViewNativeComponent.js +29 -0
- package/src/private/{specs_DEPRECATED/components → components/modal/specs}/RCTModalHostViewNativeComponent.js +9 -15
- package/src/private/{specs_DEPRECATED/components → components/progressbarandroid/specs}/ProgressBarAndroidNativeComponent.js +8 -8
- package/src/private/{specs_DEPRECATED/components → components/refreshcontrol/specs}/AndroidSwipeRefreshLayoutNativeComponent.js +11 -11
- package/src/private/{specs_DEPRECATED/components → components/refreshcontrol/specs}/PullToRefreshViewNativeComponent.js +10 -11
- package/src/private/components/safeareaview/SafeAreaView_INTERNAL_DO_NOT_USE.js +2 -2
- package/src/private/components/safeareaview/specs/RCTSafeAreaViewNativeComponent.js +27 -0
- package/src/private/components/scrollview/HScrollViewNativeComponents.js +1 -1
- package/src/private/{specs_DEPRECATED/components → components/scrollview/specs}/AndroidHorizontalScrollContentViewNativeComponent.js +6 -6
- package/src/private/{specs_DEPRECATED/components → components/switch/specs}/AndroidSwitchNativeComponent.js +11 -11
- package/src/private/{specs_DEPRECATED/components → components/switch/specs}/SwitchNativeComponent.js +17 -11
- package/src/private/components/unimplementedview/specs/UnimplementedNativeViewNativeComponent.js +26 -0
- package/src/private/components/view/warnOnRepeatedSafeAreaInsetsChanges.js +72 -0
- package/src/private/components/virtualcollection/FlingConstants.js +21 -0
- package/src/private/components/virtualcollection/Virtual.js +62 -0
- package/src/private/components/virtualcollection/VirtualCollectionView.js +234 -0
- package/src/private/components/virtualcollection/column/VirtualColumn.js +40 -0
- package/src/private/components/virtualcollection/column/VirtualColumnGenerator.js +72 -0
- package/src/private/components/virtualcollection/row/VirtualRow.js +40 -0
- package/src/private/components/virtualcollection/row/VirtualRowGenerator.js +72 -0
- package/src/private/components/virtualview/VirtualView.js +14 -21
- package/src/private/components/virtualview/VirtualViewExperimentalNativeComponent.js +11 -10
- package/src/private/components/virtualview/VirtualViewNativeComponent.js +7 -5
- package/src/private/devsupport/devmenu/elementinspector/BorderBox.js +2 -2
- package/src/private/devsupport/devmenu/elementinspector/BoxInspector.js +7 -7
- package/src/private/devsupport/devmenu/elementinspector/ElementBox.js +20 -12
- package/src/private/devsupport/devmenu/elementinspector/ElementProperties.js +4 -3
- package/src/private/devsupport/devmenu/elementinspector/Inspector.js +43 -21
- package/src/private/devsupport/devmenu/elementinspector/InspectorOverlay.js +16 -4
- package/src/private/devsupport/devmenu/elementinspector/InspectorPanel.js +2 -2
- package/src/private/devsupport/devmenu/elementinspector/ReactDevToolsOverlay.js +3 -9
- package/src/private/devsupport/devmenu/elementinspector/StyleInspector.js +1 -1
- package/src/private/devsupport/devmenu/elementinspector/XHRInterceptor.js +6 -0
- package/src/private/devsupport/devmenu/elementinspector/getInspectorDataForViewAtPoint.js +18 -6
- package/src/private/devsupport/devmenu/elementinspector/resolveBoxStyle.js +42 -20
- package/src/private/devsupport/devmenu/elementinspector/useExternalInspection.js +102 -0
- package/src/private/devsupport/devmenu/specs/NativeDevMenu.js +5 -5
- package/src/private/devsupport/rndevtools/FuseboxSessionObserver.js +12 -25
- package/src/private/devsupport/rndevtools/GlobalStateObserver.js +56 -0
- package/src/private/devsupport/rndevtools/TracingStateObserver.js +28 -0
- package/src/private/devsupport/rndevtools/setUpFuseboxReactDevToolsDispatcher.js +1 -1
- package/src/private/devsupport/rndevtools/specs/NativeReactDevToolsRuntimeSettingsModule.js +6 -4
- package/src/private/devsupport/rndevtools/specs/NativeReactDevToolsSettingsManager.js +4 -4
- package/src/private/featureflags/ReactNativeFeatureFlags.js +181 -132
- package/src/private/featureflags/ReactNativeFeatureFlagsBase.js +7 -6
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +99 -88
- package/src/private/renderer/errorhandling/ErrorHandlers.js +5 -5
- package/src/private/renderer/events/LegacySyntheticEvent.js +78 -0
- package/src/private/renderer/events/ReactNativeEventTypeMapping.js +103 -0
- package/src/private/renderer/events/ReactNativeResponder.js +732 -0
- package/src/private/renderer/events/ResponderEvent.js +40 -0
- package/src/private/renderer/events/ResponderTouchHistoryStore.js +267 -0
- package/src/private/renderer/events/dispatchNativeEvent.js +139 -0
- package/src/private/setup/setUpDOM.js +41 -9
- package/src/private/setup/setUpDefaultReactNativeEnvironment.js +15 -2
- package/src/private/setup/setUpIntersectionObserver.js +7 -0
- package/src/private/setup/setUpMutationObserver.js +3 -1
- package/src/private/setup/{setUpPerformanceModern.js → setUpPerformance.js} +1 -1
- package/src/private/setup/setUpResizeObserver.js +40 -0
- package/src/private/specs_DEPRECATED/modules/NativeAccessibilityInfo.js +10 -10
- package/src/private/specs_DEPRECATED/modules/NativeAccessibilityInfoWin32.js +11 -11
- package/src/private/specs_DEPRECATED/modules/NativeAccessibilityManager.js +39 -34
- package/src/private/specs_DEPRECATED/modules/NativeActionSheetManager.js +31 -30
- package/src/private/specs_DEPRECATED/modules/NativeAlertManager.js +5 -4
- package/src/private/specs_DEPRECATED/modules/NativeAnimatedModule.js +50 -29
- package/src/private/specs_DEPRECATED/modules/NativeAnimatedTurboModule.js +48 -27
- package/src/private/specs_DEPRECATED/modules/NativeAppState.js +8 -7
- package/src/private/specs_DEPRECATED/modules/NativeAppearance.js +9 -7
- package/src/private/specs_DEPRECATED/modules/NativeBlobModule.js +15 -11
- package/src/private/specs_DEPRECATED/modules/NativeClipboard.js +4 -4
- package/src/private/specs_DEPRECATED/modules/NativeDevLoadingView.js +3 -3
- package/src/private/specs_DEPRECATED/modules/NativeDevSettings.js +12 -12
- package/src/private/specs_DEPRECATED/modules/NativeDeviceEventManager.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeDeviceInfo.js +5 -15
- package/src/private/specs_DEPRECATED/modules/NativeDialogManagerAndroid.js +8 -8
- package/src/private/specs_DEPRECATED/modules/NativeExceptionsManager.js +5 -6
- package/src/private/specs_DEPRECATED/modules/NativeFileReaderModule.js +9 -5
- package/src/private/specs_DEPRECATED/modules/NativeFrameRateLogger.js +5 -5
- package/src/private/specs_DEPRECATED/modules/NativeHeadlessJsTaskSupport.js +3 -3
- package/src/private/specs_DEPRECATED/modules/NativeI18nManager.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeImageEditor.js +15 -15
- package/src/private/specs_DEPRECATED/modules/NativeImageLoaderAndroid.js +12 -8
- package/src/private/specs_DEPRECATED/modules/NativeImageLoaderIOS.js +10 -9
- package/src/private/specs_DEPRECATED/modules/NativeImageLoaderWin32.js +10 -9
- package/src/private/specs_DEPRECATED/modules/NativeImageStoreAndroid.js +4 -4
- package/src/private/specs_DEPRECATED/modules/NativeImageStoreIOS.js +10 -7
- package/src/private/specs_DEPRECATED/modules/NativeIntentAndroid.js +6 -6
- package/src/private/specs_DEPRECATED/modules/NativeJSCHeapCapture.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeKeyboardObserver.js +3 -3
- package/src/private/specs_DEPRECATED/modules/NativeLinkingManager.js +7 -7
- package/src/private/specs_DEPRECATED/modules/NativeLogBox.js +3 -3
- package/src/private/specs_DEPRECATED/modules/NativeNetworkingAndroid.js +9 -8
- package/src/private/specs_DEPRECATED/modules/NativeNetworkingIOS.js +11 -10
- package/src/private/specs_DEPRECATED/modules/NativePermissionsAndroid.js +7 -5
- package/src/private/specs_DEPRECATED/modules/NativePlatformConstantsAndroid.js +4 -4
- package/src/private/specs_DEPRECATED/modules/NativePlatformConstantsIOS.js +3 -3
- package/src/private/specs_DEPRECATED/modules/NativePlatformConstantsWin.js +3 -3
- package/src/private/specs_DEPRECATED/modules/NativePushNotificationManagerIOS.js +39 -34
- package/src/private/specs_DEPRECATED/modules/NativeRedBox.js +8 -4
- package/src/private/specs_DEPRECATED/modules/NativeSegmentFetcher.js +7 -7
- package/src/private/specs_DEPRECATED/modules/NativeSettingsManager.js +8 -7
- package/src/private/specs_DEPRECATED/modules/NativeShareModule.js +3 -3
- package/src/private/specs_DEPRECATED/modules/NativeSoundManager.js +2 -2
- package/src/private/specs_DEPRECATED/modules/NativeSourceCode.js +1 -1
- package/src/private/specs_DEPRECATED/modules/NativeStatusBarManagerAndroid.js +5 -17
- package/src/private/specs_DEPRECATED/modules/NativeStatusBarManagerIOS.js +10 -15
- package/src/private/specs_DEPRECATED/modules/NativeTiming.js +4 -4
- package/src/private/specs_DEPRECATED/modules/NativeToastAndroid.js +5 -5
- package/src/private/specs_DEPRECATED/modules/NativeUIManager.js +62 -30
- package/src/private/specs_DEPRECATED/modules/NativeVibration.js +5 -5
- package/src/private/specs_DEPRECATED/modules/NativeWebSocketModule.js +15 -11
- package/src/private/styles/composeStyles.js +2 -2
- package/src/private/types/HostComponent.js +1 -1
- package/src/private/types/HostInstance.js +38 -80
- package/src/private/utilities/toError.js +27 -0
- package/src/private/utilities/toExtendedError.js +30 -0
- package/src/private/viewtransition/specs/NativeViewTransition.js +35 -0
- package/src/private/webapis/dom/abort-api/AbortController.js +93 -0
- package/src/private/webapis/dom/abort-api/AbortSignal.js +245 -0
- package/src/private/webapis/dom/events/CustomEvent.js +1 -1
- package/src/private/webapis/dom/events/Event.js +72 -13
- package/src/private/webapis/dom/events/EventHandlerAttributes.js +2 -2
- package/src/private/webapis/dom/events/EventTarget.js +196 -33
- package/src/private/webapis/dom/events/internals/EventInternals.js +56 -3
- package/src/private/webapis/dom/events/internals/EventTargetInternals.js +50 -3
- package/src/private/webapis/dom/nodes/ReactNativeDocument.js +11 -0
- package/src/private/webapis/dom/nodes/ReactNativeElement.js +128 -2
- package/src/private/webapis/dom/nodes/ReadOnlyCharacterData.js +11 -0
- package/src/private/webapis/dom/nodes/ReadOnlyElement.js +14 -7
- package/src/private/webapis/dom/nodes/ReadOnlyNode.js +99 -3
- package/src/private/webapis/dom/nodes/ReadOnlyText.js +33 -0
- package/src/private/webapis/dom/nodes/internals/NodeInternals.js +10 -0
- package/src/private/webapis/dom/nodes/specs/NativeDOM.js +65 -63
- package/src/private/webapis/dom/oldstylecollections/HTMLCollection.js +14 -2
- package/src/private/webapis/dom/oldstylecollections/NodeList.js +13 -3
- package/src/private/webapis/errors/DOMException.js +50 -50
- package/src/private/webapis/geometry/DOMRectList.js +14 -2
- package/src/private/webapis/geometry/DOMRectReadOnly.js +1 -1
- package/src/private/webapis/html/events/MessageEvent.js +3 -3
- package/src/private/webapis/idlecallbacks/specs/NativeIdleCallbacks.js +4 -4
- package/src/private/webapis/intersectionobserver/IntersectionObserver.js +10 -10
- package/src/private/webapis/intersectionobserver/IntersectionObserverEntry.js +13 -0
- package/src/private/webapis/intersectionobserver/internals/IntersectionObserverManager.js +8 -16
- package/src/private/webapis/intersectionobserver/specs/NativeIntersectionObserver.js +12 -12
- package/src/private/webapis/microtasks/specs/NativeMicrotasks.js +3 -3
- package/src/private/webapis/mutationobserver/MutationObserver.js +8 -8
- package/src/private/webapis/mutationobserver/MutationRecord.js +14 -2
- package/src/private/webapis/mutationobserver/internals/MutationObserverManager.js +6 -8
- package/src/private/webapis/mutationobserver/specs/NativeMutationObserver.js +9 -9
- package/src/private/webapis/performance/EventTiming.js +5 -8
- package/src/private/webapis/performance/LongTasks.js +3 -3
- package/src/private/webapis/performance/Performance.js +19 -31
- package/src/private/webapis/performance/PerformanceEntry.js +5 -9
- package/src/private/webapis/performance/PerformanceObserver.js +35 -13
- package/src/private/webapis/performance/ResourceTiming.js +13 -13
- package/src/private/webapis/performance/UserTiming.js +8 -6
- package/src/private/webapis/performance/internals/RawPerformanceEntry.js +1 -1
- package/src/private/webapis/performance/specs/NativePerformance.js +34 -26
- package/src/private/webapis/resizeobserver/ResizeObserver.js +207 -0
- package/src/private/webapis/resizeobserver/ResizeObserverEntry.js +146 -0
- package/src/private/webapis/resizeobserver/ResizeObserverSize.js +70 -0
- package/src/private/webapis/resizeobserver/internals/ResizeObserverManager.js +276 -0
- package/src/private/webapis/resizeobserver/specs/NativeResizeObserver.js +50 -0
- package/src/private/webapis/structuredClone/structuredClone.js +219 -45
- package/src/private/webapis/utils/ArrayLikeUtils.js +6 -4
- package/src/private/webapis/webidl/PlatformObjects.js +4 -4
- package/src/private/webapis/websockets/events/CloseEvent.js +3 -3
- package/src/private/webapis/xhr/events/ProgressEvent.js +3 -3
- package/src/react-private-interface.js +109 -0
- package/src/setup-env.js +22 -0
- package/src/types/ErrorUtils.d.ts +17 -0
- package/src/types/globals.d.ts +116 -26
- package/src/unstable-internals-do-not-use.d.ts +266 -0
- package/src/unstable-internals-do-not-use.js +126 -0
- package/src-win/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +25 -8
- package/src-win/Libraries/Components/Button/ButtonWin32.tsx +1 -1
- package/src-win/Libraries/Components/Touchable/Tests/TouchableWin32Test.tsx +5 -5
- package/src-win/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +2 -4
- package/src-win/Libraries/Components/View/ViewAccessibility.d.ts +26 -5
- package/src-win/Libraries/Components/View/ViewPropTypes.d.ts +14 -9
- package/src-win/Libraries/Text/Text.d.ts +16 -14
- package/src-win/Libraries/platform-types.d.ts +1 -0
- package/src-win/index.win32.js.flow +94 -26
- package/{Libraries → types/Libraries}/Alert/Alert.d.ts +1 -4
- package/{Libraries → types/Libraries}/Animated/Animated.d.ts +8 -5
- package/types/Libraries/Animated/useAnimatedColor.d.ts +15 -0
- package/types/Libraries/Animated/useAnimatedValueXY.d.ts +15 -0
- package/{Libraries → types/Libraries}/AppState/AppState.d.ts +5 -6
- package/types/Libraries/Components/AccessibilityInfo/AccessibilityInfo.d.ts +198 -0
- package/{Libraries → types/Libraries}/Components/ActivityIndicator/ActivityIndicator.d.ts +2 -2
- package/{Libraries → types/Libraries}/Components/Button.d.ts +18 -16
- package/{Libraries → types/Libraries}/Components/DrawerAndroid/DrawerLayoutAndroid.d.ts +14 -7
- package/{Libraries → types/Libraries}/Components/Keyboard/Keyboard.d.ts +1 -5
- package/{Libraries → types/Libraries}/Components/Keyboard/KeyboardAvoidingView.d.ts +2 -2
- package/{Libraries → types/Libraries}/Components/Pressable/Pressable.d.ts +11 -8
- package/{Libraries → types/Libraries}/Components/ProgressBarAndroid/ProgressBarAndroid.d.ts +2 -2
- package/{Libraries → types/Libraries}/Components/RefreshControl/RefreshControl.d.ts +3 -4
- package/{Libraries → types/Libraries}/Components/SafeAreaView/SafeAreaView.d.ts +2 -2
- package/{Libraries → types/Libraries}/Components/ScrollView/ScrollView.d.ts +77 -72
- package/{Libraries → types/Libraries}/Components/StatusBar/StatusBar.d.ts +4 -54
- package/{Libraries → types/Libraries}/Components/Switch/Switch.d.ts +4 -7
- package/{Libraries → types/Libraries}/Components/TextInput/InputAccessoryView.d.ts +7 -0
- package/{Libraries → types/Libraries}/Components/TextInput/TextInput.d.ts +49 -64
- package/{Libraries → types/Libraries}/Components/Touchable/Touchable.d.ts +1 -1
- package/types/Libraries/Components/Touchable/TouchableNativeFeedback.d.ts +112 -0
- package/{Libraries → types/Libraries}/Components/Touchable/TouchableOpacity.d.ts +1 -10
- package/{Libraries → types/Libraries}/Components/Touchable/TouchableWithoutFeedback.d.ts +5 -4
- package/{Libraries → types/Libraries}/Components/View/View.d.ts +2 -2
- package/types/Libraries/Components/View/ViewAccessibility.d.ts +485 -0
- package/types/Libraries/Components/View/ViewPropTypes.d.ts +230 -0
- package/{Libraries → types/Libraries}/Image/Image.d.ts +5 -9
- package/{Libraries → types/Libraries}/Image/ImageResizeMode.d.ts +1 -6
- package/{Libraries → types/Libraries}/Image/ImageSource.d.ts +2 -4
- package/{Libraries → types/Libraries}/Interaction/PanResponder.d.ts +1 -1
- package/{Libraries → types/Libraries}/LayoutAnimation/LayoutAnimation.d.ts +2 -10
- package/{Libraries → types/Libraries}/Lists/FlatList.d.ts +11 -17
- package/{Libraries → types/Libraries}/Lists/SectionList.d.ts +14 -14
- package/{Libraries → types/Libraries}/LogBox/LogBox.d.ts +11 -0
- package/{Libraries → types/Libraries}/Modal/Modal.d.ts +7 -11
- package/{Libraries → types/Libraries}/NativeComponent/NativeComponentRegistry.d.ts +1 -1
- package/{Libraries → types/Libraries}/PermissionsAndroid/PermissionsAndroid.d.ts +49 -45
- package/{Libraries → types/Libraries}/PushNotificationIOS/PushNotificationIOS.d.ts +2 -11
- package/{Libraries → types/Libraries}/ReactNative/AppRegistry.d.ts +1 -1
- package/{Libraries/Utilities → types/Libraries/ReactNative}/IPerformanceLogger.d.ts +8 -5
- package/{Libraries → types/Libraries}/ReactNative/RendererProxy.d.ts +1 -4
- package/{Libraries → types/Libraries}/ReactNative/UIManager.d.ts +2 -3
- package/{Libraries → types/Libraries}/ReactNative/requireNativeComponent.d.ts +1 -1
- package/{Libraries → types/Libraries}/StyleSheet/PlatformColorValueTypes.d.ts +3 -1
- package/{Libraries → types/Libraries}/StyleSheet/StyleSheet.d.ts +3 -7
- package/{Libraries → types/Libraries}/StyleSheet/StyleSheetTypes.d.ts +47 -57
- package/types/Libraries/Text/Text.d.ts +236 -0
- package/{Libraries → types/Libraries}/Types/CodegenTypesNamespace.d.ts +1 -2
- package/{Libraries → types/Libraries}/Types/CoreEventTypes.d.ts +15 -5
- package/types/Libraries/Utilities/Appearance.d.ts +66 -0
- package/{Libraries → types/Libraries}/Utilities/BackHandler.d.ts +11 -1
- package/{Libraries → types/Libraries}/Utilities/Platform.d.ts +1 -6
- package/{Libraries → types/Libraries}/Utilities/codegenNativeComponent.d.ts +2 -0
- package/types/index.d.ts +84 -82
- package/types/modules/Codegen.d.ts +1 -2
- package/types/public/DeprecatedPropertiesAlias.d.ts +0 -4
- package/types/public/ReactNativeRenderer.d.ts +10 -12
- package/types/public/ReactNativeTypes.d.ts +8 -7
- package/types/src/private/assets/AssetRegistry.d.ts +44 -0
- package/IntegrationTests/AccessibilityManagerTest.js +0 -59
- package/Libraries/Components/Touchable/TouchableBounce.js +0 -235
- package/Libraries/Components/View/ReactNativeViewAttributes.js +0 -60
- package/Libraries/Components/View/ReactNativeViewAttributes.win32.js +0 -94
- package/Libraries/Image/TextInlineImageNativeComponent.js +0 -49
- package/Libraries/Interaction/InteractionManager.d.ts +0 -87
- package/Libraries/Interaction/InteractionManager.js +0 -188
- package/Libraries/Lists/SectionListModern.js +0 -248
- package/Libraries/ReactPrivate/ReactNativePrivateInitializeCore.js +0 -11
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js +0 -136
- package/Libraries/ReactPrivate/ReactNativePrivateInterface.js.flow +0 -51
- package/Libraries/Renderer/implementations/ReactNativeRenderer-dev.js +0 -19668
- package/Libraries/Renderer/implementations/ReactNativeRenderer-prod.js +0 -11129
- package/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.js +0 -12930
- package/Libraries/Renderer/shims/ReactNative.js +0 -27
- package/Libraries/TurboModule/samples/NativeSampleTurboModule.js +0 -14
- package/Libraries/Utilities/Appearance.d.ts +0 -51
- package/Libraries/Utilities/GlobalPerformanceLogger.js +0 -24
- package/Libraries/Utilities/PerformanceLoggerContext.js +0 -33
- package/Libraries/Utilities/SceneTracker.js +0 -42
- package/Libraries/Utilities/createPerformanceLogger.js +0 -329
- package/Libraries/Utilities/useRefEffect.js +0 -45
- package/flow/console.js +0 -49
- package/interface.js +0 -21
- package/src/private/specs_DEPRECATED/components/RCTInputAccessoryViewNativeComponent.js +0 -29
- package/src/private/specs_DEPRECATED/components/RCTSafeAreaViewNativeComponent.js +0 -28
- package/src/private/specs_DEPRECATED/components/UnimplementedNativeViewNativeComponent.js +0 -26
- package/src/private/specs_DEPRECATED/modules/NativeModalManager.js +0 -21
- package/src/private/specs_DEPRECATED/modules/NativeSampleTurboModule.js +0 -69
- package/src/private/webapis/performance/internals/Utilities.js +0 -27
- /package/{Libraries → types/Libraries}/ActionSheetIOS/ActionSheetIOS.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Animated/Easing.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Animated/useAnimatedValue.d.ts +0 -0
- /package/{Libraries → types/Libraries}/BatchedBridge/NativeModules.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Components/Clipboard/Clipboard.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Components/LayoutConformance/LayoutConformance.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Components/ToastAndroid/ToastAndroid.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Components/Touchable/TouchableHighlight.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Core/registerCallableModule.d.ts +0 -0
- /package/{Libraries → types/Libraries}/EventEmitter/NativeEventEmitter.d.ts +0 -0
- /package/{Libraries → types/Libraries}/EventEmitter/RCTDeviceEventEmitter.d.ts +0 -0
- /package/{Libraries → types/Libraries}/EventEmitter/RCTNativeAppEventEmitter.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Linking/Linking.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Performance/Systrace.d.ts +0 -0
- /package/{Libraries → types/Libraries}/ReactNative/I18nManager.d.ts +0 -0
- /package/{Libraries → types/Libraries}/ReactNative/RootTag.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Settings/Settings.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Share/Share.d.ts +0 -0
- /package/{Libraries → types/Libraries}/StyleSheet/PlatformColorValueTypesIOS.d.ts +0 -0
- /package/{Libraries → types/Libraries}/StyleSheet/processColor.d.ts +0 -0
- /package/{Libraries → types/Libraries}/TurboModule/RCTExport.d.ts +0 -0
- /package/{Libraries → types/Libraries}/TurboModule/TurboModuleRegistry.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Utilities/DevSettings.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Utilities/Dimensions.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Utilities/PixelRatio.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Utilities/codegenNativeCommands.d.ts +0 -0
- /package/{Libraries → types/Libraries}/Vibration/Vibration.d.ts +0 -0
- /package/{Libraries → types/Libraries}/vendor/core/ErrorUtils.d.ts +0 -0
- /package/{Libraries → types/Libraries}/vendor/emitter/EventEmitter.d.ts +0 -0
- /package/{src → types/src}/private/devsupport/devmenu/DevMenu.d.ts +0 -0
package/.eslintignore
CHANGED
package/.flowconfig
CHANGED
|
@@ -1,113 +1,126 @@
|
|
|
1
1
|
[ignore]
|
|
2
2
|
; We fork some components by platform - ignore all platforms except win32
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
**/*.android.js
|
|
4
|
+
**/*.ios.js
|
|
5
|
+
**/*.macos.js
|
|
6
|
+
**/*.windesktop.js
|
|
7
7
|
|
|
8
8
|
; Ignore fb_internal modules
|
|
9
|
-
|
|
9
|
+
packages/react-native/src/fb_internal/**
|
|
10
10
|
|
|
11
11
|
; These modules have base components and win32 versions.
|
|
12
12
|
; Ideally we'd delete the base versions of files that had .win32 overrides as part of the
|
|
13
13
|
; initRNLibraries build step
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
14
|
+
index.js
|
|
15
|
+
Libraries/Alert/Alert.js
|
|
16
|
+
Libraries/Components/AccessibilityInfo/AccessibilityInfo.js
|
|
17
|
+
Libraries/Components/Button.js
|
|
18
|
+
Libraries/Components/Pressable/Pressable.js
|
|
19
|
+
Libraries/Components/SafeAreaView/SafeAreaView.js
|
|
20
|
+
Libraries/Components/TextInput/TextInput.js
|
|
21
|
+
Libraries/Components/TextInput/TextInputState.js
|
|
22
|
+
Libraries/Components/Touchable/Touchable.js
|
|
23
|
+
Libraries/Components/Touchable/TouchableNativeFeedback.js
|
|
24
|
+
Libraries/Components/View/ViewAccessibility.js
|
|
25
|
+
Libraries/Components/View/View.js
|
|
26
|
+
Libraries/Components/View/ViewPropTypes.js
|
|
27
|
+
Libraries/Image/Image.js
|
|
28
|
+
Libraries/Inspector/Inspector.js
|
|
29
|
+
Libraries/Inspector/InspectorOverlay.js
|
|
30
|
+
Libraries/Network/RCTNetworking.js
|
|
31
|
+
Libraries/Pressability/Pressability.js
|
|
32
|
+
Libraries/Pressability/HoverState.js
|
|
33
|
+
Libraries/Renderer/shims/ReactNativeTypes.js
|
|
34
|
+
Libraries/StyleSheet/PlatformColorValueTypes.js
|
|
35
|
+
Libraries/Text/TextProps.js
|
|
36
|
+
Libraries/Types/CoreEventTypes.js
|
|
37
|
+
Libraries/Utilities/Dimensions.js
|
|
38
|
+
Libraries/Utilities/Platform.flow.js
|
|
39
|
+
Libraries/LogBox/UI/LogBoxInspectorCodeFrame.js
|
|
40
|
+
Libraries/LogBox/UI/LogBoxInspectorHeader.js
|
|
41
|
+
Libraries/LogBox/UI/LogBoxInspectorStackFrame.js
|
|
42
|
+
Libraries/LogBox/UI/LogBoxInspectorReactFrames.js
|
|
43
|
+
Libraries/LogBox/UI/LogBoxStyle.js
|
|
44
|
+
|
|
45
|
+
IntegrationTests/ImageCachePolicyTest.js
|
|
46
|
+
IntegrationTests/LayoutEventsTest.js
|
|
47
|
+
IntegrationTests/IntegrationTestsApp.js
|
|
48
|
+
IntegrationTests/PromiseTest.js
|
|
49
|
+
IntegrationTests/TimersTest.js
|
|
49
50
|
|
|
50
51
|
; Ignore react-native files in node_modules since they are copied into project root
|
|
51
|
-
|
|
52
|
+
**/node_modules/react-native/**
|
|
53
|
+
../../../node_modules/react-native/**
|
|
54
|
+
|
|
55
|
+
; Hoisted workspace links resolve to source directories outside this Flow project.
|
|
56
|
+
../../../vnext/**
|
|
57
|
+
../../../packages/@react-native/**
|
|
58
|
+
../../../packages/@react-native-windows/**
|
|
59
|
+
../../../packages/@rnw-scripts/**
|
|
60
|
+
../react-native-win32-tester/**
|
|
61
|
+
../../react-native-platform-override/**
|
|
52
62
|
|
|
53
63
|
; Ignore all flow directory contents in node_modules
|
|
54
|
-
|
|
64
|
+
**/flow/**
|
|
55
65
|
|
|
56
66
|
; Ignore react-native-windows' build output. Flow is not compiled with long path support and after running unittests these folders have long paths
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
67
|
+
**/node_modules/react-native-windows/build/**
|
|
68
|
+
**/node_modules/react-native-windows/target/**
|
|
69
|
+
**/node_modules/react-native-windows/Microsoft.ReactNative.Managed.CodeGen.UnitTests/**
|
|
70
|
+
**/node_modules/react-native-windows/Microsoft.ReactNative.Managed.UnitTests/**
|
|
61
71
|
|
|
62
72
|
; These files dont need to be checked and just increase the build time
|
|
63
|
-
|
|
64
|
-
|
|
73
|
+
**/node_modules/e2etest/**
|
|
74
|
+
**/node_modules/playground/**
|
|
65
75
|
|
|
66
|
-
|
|
76
|
+
packages/react-native/sdks/**
|
|
67
77
|
|
|
68
78
|
; Ignore the codegen e2e tests
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
; Ignore the Dangerfile
|
|
72
|
-
<PROJECT_ROOT>/private/react-native-bots/dangerfile.js
|
|
79
|
+
packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js
|
|
73
80
|
|
|
74
81
|
; Ignore "BUCK" generated dirs
|
|
75
|
-
|
|
82
|
+
.buckd/**
|
|
76
83
|
|
|
77
84
|
; Ignore cache files
|
|
78
|
-
|
|
85
|
+
**/node_modules/.cache*/**
|
|
79
86
|
|
|
80
87
|
; Ignore the src-win folder - flow files are combined with ones from react-native into the root Libraries folder
|
|
81
|
-
|
|
88
|
+
src-win/**
|
|
82
89
|
|
|
83
90
|
; Ignore the private __tests__ (until this is fixed: https://github.com/facebook/react-native/issues/43242)
|
|
84
|
-
|
|
91
|
+
src/private/**/__tests__/**
|
|
85
92
|
|
|
86
93
|
; Ignore files with flow typing issues #9223
|
|
87
|
-
|
|
94
|
+
Libraries/Core/ReactNativeVersionCheck.js
|
|
88
95
|
|
|
89
|
-
|
|
96
|
+
**/node_modules/resolve/test/resolver/malformed_package_json/package.json
|
|
97
|
+
**/node_modules/invariant/**
|
|
98
|
+
../../../node_modules/invariant/**
|
|
90
99
|
|
|
91
100
|
; Checked-in build output
|
|
92
|
-
|
|
101
|
+
packages/debugger-frontend/dist/**
|
|
93
102
|
|
|
94
103
|
; Generated build output
|
|
95
|
-
|
|
104
|
+
packages/*/dist/**
|
|
96
105
|
|
|
97
106
|
; helloworld
|
|
98
|
-
|
|
107
|
+
private/helloworld/ios/Pods/**
|
|
99
108
|
|
|
100
109
|
; Ignore rn-tester Pods
|
|
101
|
-
|
|
110
|
+
packages/rn-tester/Pods/**
|
|
102
111
|
|
|
103
112
|
[untyped]
|
|
104
|
-
|
|
113
|
+
**/node_modules/@react-native-community/cli/**
|
|
114
|
+
../../../node_modules/@react-native-community/cli/**
|
|
105
115
|
; Should work out how to do this properly
|
|
106
|
-
|
|
116
|
+
Libraries/Image/resolveAssetSource.win32.js
|
|
117
|
+
|
|
118
|
+
[declarations]
|
|
119
|
+
.*/node_modules/.*
|
|
107
120
|
|
|
108
121
|
[include]
|
|
109
122
|
; Need to include hoisted modules
|
|
110
|
-
../../../node_modules
|
|
123
|
+
../../../node_modules/**
|
|
111
124
|
|
|
112
125
|
[libs]
|
|
113
126
|
interface.js
|
|
@@ -117,15 +130,10 @@ interface.js
|
|
|
117
130
|
src/types/
|
|
118
131
|
|
|
119
132
|
[options]
|
|
120
|
-
|
|
121
|
-
experimental.pattern_matching=true
|
|
122
|
-
casting_syntax=both
|
|
123
|
-
component_syntax=true
|
|
133
|
+
builtin_lib=core-only
|
|
124
134
|
|
|
125
135
|
emoji=true
|
|
126
136
|
|
|
127
|
-
exact_by_default=true
|
|
128
|
-
|
|
129
137
|
format.bracket_spacing=false
|
|
130
138
|
|
|
131
139
|
module.file_ext=.js
|
|
@@ -141,6 +149,8 @@ munge_underscores=true
|
|
|
141
149
|
|
|
142
150
|
module.name_mapper='^react-native$' -> '<PROJECT_ROOT>/index.win32.js'
|
|
143
151
|
module.name_mapper='^@office-iss/react-native-win32$' -> '<PROJECT_ROOT>/index.win32.js'
|
|
152
|
+
module.name_mapper='^react-native/react-private-interface$' -> '<PROJECT_ROOT>/src/react-private-interface.js'
|
|
153
|
+
module.name_mapper='^react-native/setup-env$' -> '<PROJECT_ROOT>/src/setup-env.js'
|
|
144
154
|
module.name_mapper='^react-native/\(.*\)$' -> '<PROJECT_ROOT>/\1'
|
|
145
155
|
module.name_mapper='^@office-iss/react-native-win32/\(.*\)$' -> '<PROJECT_ROOT>\/1'
|
|
146
156
|
module.name_mapper='^@react-native/dev-middleware$' -> '<PROJECT_ROOT>/\1'
|
|
@@ -152,8 +162,6 @@ react.runtime=automatic
|
|
|
152
162
|
|
|
153
163
|
ban_spread_key_props=true
|
|
154
164
|
|
|
155
|
-
sharedmemory.hash_table_pow=21
|
|
156
|
-
|
|
157
165
|
[lints]
|
|
158
166
|
sketchy-null-number=warn
|
|
159
167
|
sketchy-null-mixed=warn
|
|
@@ -175,4 +183,4 @@ untyped-import
|
|
|
175
183
|
untyped-type-import
|
|
176
184
|
|
|
177
185
|
[version]
|
|
178
|
-
^0.
|
|
186
|
+
^0.338.0
|
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,186 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@office-iss/react-native-win32",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"date": "Thu, 12 Nov 2026 22:36:45 GMT",
|
|
6
|
+
"version": "0.0.0-canary.315",
|
|
7
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.315",
|
|
8
|
+
"comments": {
|
|
9
|
+
"prerelease": [
|
|
10
|
+
{
|
|
11
|
+
"author": "email not defined",
|
|
12
|
+
"package": "@office-iss/react-native-win32",
|
|
13
|
+
"commit": "a115ff1c51494faa6ba3ac421171b9877dcd050f",
|
|
14
|
+
"comment": "Integrate React Native 0.89.0-nightly-20261102-47a9917ac (November 2, 2026)"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "anuagra@microsoft.com",
|
|
18
|
+
"package": "@office-iss/react-native-win32",
|
|
19
|
+
"commit": "a115ff1c51494faa6ba3ac421171b9877dcd050f",
|
|
20
|
+
"comment": "Return false for unsupported Show Borders accessibility queries on Windows and win32."
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Wed, 04 Nov 2026 19:50:02 GMT",
|
|
27
|
+
"version": "0.0.0-canary.314",
|
|
28
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.314",
|
|
29
|
+
"comments": {
|
|
30
|
+
"prerelease": [
|
|
31
|
+
{
|
|
32
|
+
"author": "beachball",
|
|
33
|
+
"package": "@office-iss/react-native-win32",
|
|
34
|
+
"comment": "Bump react-native-platform-override to v0.0.0-canary.1025",
|
|
35
|
+
"commit": "not available"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Thu, 29 Oct 2026 05:31:45 GMT",
|
|
42
|
+
"version": "0.0.0-canary.313",
|
|
43
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.313",
|
|
44
|
+
"comments": {
|
|
45
|
+
"prerelease": [
|
|
46
|
+
{
|
|
47
|
+
"author": "email not defined",
|
|
48
|
+
"package": "@office-iss/react-native-win32",
|
|
49
|
+
"commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
|
|
50
|
+
"comment": "Integrate React Native 0.87.0-nightly-20260519-58cd1bf58"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"author": "email not defined",
|
|
54
|
+
"package": "@office-iss/react-native-win32",
|
|
55
|
+
"commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
|
|
56
|
+
"comment": "Integrate RN nightly 0.88.0-nightly-20260908-3e897cfdf (Sep 8th)"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "email not defined",
|
|
60
|
+
"package": "@office-iss/react-native-win32",
|
|
61
|
+
"commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
|
|
62
|
+
"comment": "Integrate RN nightly 0.88.0-nightly-20260805-f2188610c (Aug 5th)"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"author": "email not defined",
|
|
66
|
+
"package": "@office-iss/react-native-win32",
|
|
67
|
+
"commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
|
|
68
|
+
"comment": "Integrate React Native 0.86.0-nightly-20260325-d1809f0aa"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"author": "email not defined",
|
|
72
|
+
"package": "@office-iss/react-native-win32",
|
|
73
|
+
"commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
|
|
74
|
+
"comment": "Integrate React Native 0.86.0-nightly-20260310-621592d1f"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"author": "email not defined",
|
|
78
|
+
"package": "@office-iss/react-native-win32",
|
|
79
|
+
"commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
|
|
80
|
+
"comment": "Integrate React Native 0.87.0-nightly-20260704-e04ff69ab (July 4th)"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"author": "email not defined",
|
|
84
|
+
"package": "@office-iss/react-native-win32",
|
|
85
|
+
"commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
|
|
86
|
+
"comment": "Integrate React Native 0.87.0-nightly-20260604-63683f091 (June 4th)"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"author": "email not defined",
|
|
90
|
+
"package": "@office-iss/react-native-win32",
|
|
91
|
+
"commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
|
|
92
|
+
"comment": "Integrate React Native 0.89.0-nightly-20261002-cd2de187e (Oct 2nd)"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"author": "email not defined",
|
|
96
|
+
"package": "@office-iss/react-native-win32",
|
|
97
|
+
"commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
|
|
98
|
+
"comment": "Integrate React Native 0.86.0-nightly-20260430-118198599"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"author": "email not defined",
|
|
102
|
+
"package": "@office-iss/react-native-win32",
|
|
103
|
+
"commit": "36a4425edd1667e38e7ba5a14cefce1a034567f3",
|
|
104
|
+
"comment": "Integrate React Native 0.86.0-nightly-20260408-8bac1df5a"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"author": "beachball",
|
|
108
|
+
"package": "@office-iss/react-native-win32",
|
|
109
|
+
"comment": "Bump react-native-platform-override to v0.0.0-canary.1024",
|
|
110
|
+
"commit": "not available"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"date": "Mon, 20 Jul 2026 21:19:51 GMT",
|
|
117
|
+
"version": "0.0.0-canary.312",
|
|
118
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.312",
|
|
119
|
+
"comments": {
|
|
120
|
+
"prerelease": [
|
|
121
|
+
{
|
|
122
|
+
"author": "email not defined",
|
|
123
|
+
"package": "@office-iss/react-native-win32",
|
|
124
|
+
"commit": "cda341bada4bd0214732014bc7868133767b48a6",
|
|
125
|
+
"comment": "Integrate RN 0.85.0-nightly-20260224-42cd0f041"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"author": "email not defined",
|
|
129
|
+
"package": "@office-iss/react-native-win32",
|
|
130
|
+
"commit": "cda341bada4bd0214732014bc7868133767b48a6",
|
|
131
|
+
"comment": "Integrate RN 0.85.0-nightly-20260128-36f07a1b2"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"author": "email not defined",
|
|
135
|
+
"package": "@office-iss/react-native-win32",
|
|
136
|
+
"commit": "cda341bada4bd0214732014bc7868133767b48a6",
|
|
137
|
+
"comment": "Integrate RN 0.85.0-nightly-20260303-c26dbe286"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"author": "email not defined",
|
|
141
|
+
"package": "@office-iss/react-native-win32",
|
|
142
|
+
"commit": "cda341bada4bd0214732014bc7868133767b48a6",
|
|
143
|
+
"comment": "Integrate RN 0.85.0-nightly-20260210-4535df4f6"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"author": "beachball",
|
|
147
|
+
"package": "@office-iss/react-native-win32",
|
|
148
|
+
"comment": "Bump react-native-platform-override to v0.0.0-canary.1023",
|
|
149
|
+
"commit": "not available"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"date": "Tue, 21 Apr 2026 02:54:29 GMT",
|
|
156
|
+
"version": "0.0.0-canary.311",
|
|
157
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.311",
|
|
158
|
+
"comments": {
|
|
159
|
+
"none": [
|
|
160
|
+
{
|
|
161
|
+
"author": "hmalothu@microsoft.com",
|
|
162
|
+
"package": "@office-iss/react-native-win32",
|
|
163
|
+
"commit": "975ff3019b16ed727663e0059a6ad77b0f34ec29",
|
|
164
|
+
"comment": "Apply build fixes for RN 0.85.0-nightly-20260114-f15985f4f integration"
|
|
165
|
+
}
|
|
166
|
+
]
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"date": "Tue, 07 Apr 2026 23:42:38 GMT",
|
|
171
|
+
"version": "0.0.0-canary.311",
|
|
172
|
+
"tag": "@office-iss/react-native-win32_v0.0.0-canary.311",
|
|
173
|
+
"comments": {
|
|
174
|
+
"none": [
|
|
175
|
+
{
|
|
176
|
+
"author": "30809111+acoates-ms@users.noreply.github.com",
|
|
177
|
+
"package": "@office-iss/react-native-win32",
|
|
178
|
+
"commit": "b75fa396ef7aa80383271d427cefc2a30e2b330d",
|
|
179
|
+
"comment": "Cleanup missing peerDependencies"
|
|
180
|
+
}
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
},
|
|
4
184
|
{
|
|
5
185
|
"date": "Tue, 07 Apr 2026 05:29:56 GMT",
|
|
6
186
|
"version": "0.0.0-canary.311",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,56 @@
|
|
|
1
1
|
# Change Log - @office-iss/react-native-win32
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Thu, 12 Nov 2026 22:36:45 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.0.0-canary.315
|
|
8
|
+
|
|
9
|
+
Thu, 12 Nov 2026 22:36:45 GMT
|
|
10
|
+
|
|
11
|
+
### Changes
|
|
12
|
+
|
|
13
|
+
- Integrate React Native 0.89.0-nightly-20261102-47a9917ac (November 2, 2026)
|
|
14
|
+
- Return false for unsupported Show Borders accessibility queries on Windows and win32. (anuagra@microsoft.com)
|
|
15
|
+
|
|
16
|
+
## 0.0.0-canary.314
|
|
17
|
+
|
|
18
|
+
Wed, 04 Nov 2026 19:50:02 GMT
|
|
19
|
+
|
|
20
|
+
### Changes
|
|
21
|
+
|
|
22
|
+
- Bump react-native-platform-override to v0.0.0-canary.1025
|
|
23
|
+
|
|
24
|
+
## 0.0.0-canary.313
|
|
25
|
+
|
|
26
|
+
Thu, 29 Oct 2026 05:31:45 GMT
|
|
27
|
+
|
|
28
|
+
### Changes
|
|
29
|
+
|
|
30
|
+
- Integrate React Native 0.87.0-nightly-20260519-58cd1bf58
|
|
31
|
+
- Integrate RN nightly 0.88.0-nightly-20260908-3e897cfdf (Sep 8th)
|
|
32
|
+
- Integrate RN nightly 0.88.0-nightly-20260805-f2188610c (Aug 5th)
|
|
33
|
+
- Integrate React Native 0.86.0-nightly-20260325-d1809f0aa
|
|
34
|
+
- Integrate React Native 0.86.0-nightly-20260310-621592d1f
|
|
35
|
+
- Integrate React Native 0.87.0-nightly-20260704-e04ff69ab (July 4th)
|
|
36
|
+
- Integrate React Native 0.87.0-nightly-20260604-63683f091 (June 4th)
|
|
37
|
+
- Integrate React Native 0.89.0-nightly-20261002-cd2de187e (Oct 2nd)
|
|
38
|
+
- Integrate React Native 0.86.0-nightly-20260430-118198599
|
|
39
|
+
- Integrate React Native 0.86.0-nightly-20260408-8bac1df5a
|
|
40
|
+
- Bump react-native-platform-override to v0.0.0-canary.1024
|
|
41
|
+
|
|
42
|
+
## 0.0.0-canary.312
|
|
43
|
+
|
|
44
|
+
Mon, 20 Jul 2026 21:19:51 GMT
|
|
45
|
+
|
|
46
|
+
### Changes
|
|
47
|
+
|
|
48
|
+
- Integrate RN 0.85.0-nightly-20260224-42cd0f041 (email not defined)
|
|
49
|
+
- Integrate RN 0.85.0-nightly-20260128-36f07a1b2 (email not defined)
|
|
50
|
+
- Integrate RN 0.85.0-nightly-20260303-c26dbe286 (email not defined)
|
|
51
|
+
- Integrate RN 0.85.0-nightly-20260210-4535df4f6 (email not defined)
|
|
52
|
+
- Bump react-native-platform-override to v0.0.0-canary.1023
|
|
53
|
+
|
|
7
54
|
## 0.0.0-canary.311
|
|
8
55
|
|
|
9
56
|
Tue, 07 Apr 2026 05:29:56 GMT
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
+
import deepEquals from './RNTesterDeepEquals';
|
|
13
14
|
import * as React from 'react';
|
|
14
15
|
import {useEffect, useState} from 'react';
|
|
15
16
|
import {
|
|
@@ -19,14 +20,13 @@ import {
|
|
|
19
20
|
Text,
|
|
20
21
|
View,
|
|
21
22
|
} from 'react-native';
|
|
22
|
-
import deepDiffer from 'react-native/Libraries/Utilities/differ/deepDiffer';
|
|
23
23
|
|
|
24
24
|
const {TestModule} = NativeModules;
|
|
25
25
|
|
|
26
26
|
const TEST_PAYLOAD = {foo: 'bar'};
|
|
27
27
|
|
|
28
28
|
type AppEvent = {
|
|
29
|
-
data:
|
|
29
|
+
data: typeof TEST_PAYLOAD,
|
|
30
30
|
ts: number,
|
|
31
31
|
};
|
|
32
32
|
|
|
@@ -44,7 +44,7 @@ function AppEventsTest(): React.Node {
|
|
|
44
44
|
|
|
45
45
|
useEffect(() => {
|
|
46
46
|
const receiveEvent = (event: any) => {
|
|
47
|
-
if (
|
|
47
|
+
if (!deepEquals(event.data, TEST_PAYLOAD)) {
|
|
48
48
|
throw new Error('Received wrong event: ' + JSON.stringify(event));
|
|
49
49
|
}
|
|
50
50
|
const elapsed = Date.now() - event.ts + 'ms';
|
|
@@ -10,15 +10,30 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
import type {ExtendedError} from 'react-native/Libraries/Core/ExtendedError';
|
|
14
|
-
|
|
15
13
|
import * as React from 'react';
|
|
16
14
|
import {useEffect} from 'react';
|
|
17
15
|
import {NativeModules, View} from 'react-native';
|
|
18
|
-
import parseErrorStack from 'react-native/Libraries/Core/Devtools/parseErrorStack';
|
|
19
16
|
|
|
20
17
|
const {TestModule} = NativeModules;
|
|
21
18
|
|
|
19
|
+
type ErrorWithEngine = Error &
|
|
20
|
+
interface {
|
|
21
|
+
jsEngine?: string,
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
function getFirstStackFrameFile(stack?: string): ?string {
|
|
25
|
+
if (stack == null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
for (const line of stack.split('\n')) {
|
|
29
|
+
const match = line.match(/(?:\(|@|\s)(https?:\/\/.*?):\d+:\d+\)?$/);
|
|
30
|
+
if (match != null) {
|
|
31
|
+
return match[1];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
|
|
22
37
|
function GlobalEvalWithSourceUrlTest(): React.Node {
|
|
23
38
|
useEffect(() => {
|
|
24
39
|
if (typeof global.globalEvalWithSourceUrl !== 'function') {
|
|
@@ -33,7 +48,7 @@ function GlobalEvalWithSourceUrlTest(): React.Node {
|
|
|
33
48
|
'Expected globalEvalWithSourceUrl(expression) to return a value',
|
|
34
49
|
);
|
|
35
50
|
}
|
|
36
|
-
let syntaxError: ?
|
|
51
|
+
let syntaxError: ?ErrorWithEngine;
|
|
37
52
|
try {
|
|
38
53
|
global.globalEvalWithSourceUrl('{');
|
|
39
54
|
} catch (e) {
|
|
@@ -66,12 +81,10 @@ function GlobalEvalWithSourceUrlTest(): React.Node {
|
|
|
66
81
|
'Expected globalEvalWithSourceUrl to throw an Error object',
|
|
67
82
|
);
|
|
68
83
|
}
|
|
69
|
-
const
|
|
70
|
-
if (
|
|
84
|
+
const firstStackFrameFile = getFirstStackFrameFile(error.stack);
|
|
85
|
+
if (firstStackFrameFile !== url) {
|
|
71
86
|
throw new Error(
|
|
72
|
-
`Expected first eval stack frame to be in ${url} but found ${String(
|
|
73
|
-
parsedStack[0].file,
|
|
74
|
-
)}`,
|
|
87
|
+
`Expected first eval stack frame to be in ${url} but found ${String(firstStackFrameFile)}`,
|
|
75
88
|
);
|
|
76
89
|
}
|
|
77
90
|
TestModule.markTestCompleted();
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
require('react-native/
|
|
13
|
+
require('react-native/setup-env');
|
|
14
|
+
|
|
14
15
|
const React = require('react');
|
|
15
16
|
const ReactNative = require('react-native');
|
|
16
17
|
|
|
@@ -29,7 +30,6 @@ const TESTS = [
|
|
|
29
30
|
require('./PromiseTest'),
|
|
30
31
|
require('./SyncMethodTest'),
|
|
31
32
|
require('./WebSocketTest'),
|
|
32
|
-
require('./AccessibilityManagerTest'),
|
|
33
33
|
require('./GlobalEvalWithSourceUrlTest'),
|
|
34
34
|
].map(mod => mod.default);
|
|
35
35
|
|
|
@@ -50,7 +50,7 @@ type Test = any;
|
|
|
50
50
|
|
|
51
51
|
class IntegrationTestsApp extends React.Component<{...}, $FlowFixMe> {
|
|
52
52
|
state: {test: ?Test} = {
|
|
53
|
-
test:
|
|
53
|
+
test: null as ?Test,
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
render(): React.Node {
|
|
@@ -11,20 +11,19 @@
|
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
13
|
import type {LayoutChangeEvent, LayoutRectangle} from 'react-native';
|
|
14
|
-
import type {ViewStyleProp} from 'react-native/Libraries/StyleSheet/StyleSheet';
|
|
15
14
|
|
|
15
|
+
const deepEquals = require('./RNTesterDeepEquals').default;
|
|
16
16
|
const React = require('react');
|
|
17
17
|
const ReactNative = require('react-native');
|
|
18
|
-
const deepDiffer =
|
|
19
|
-
require('react-native/Libraries/Utilities/differ/deepDiffer').default;
|
|
20
18
|
|
|
21
19
|
const {Image, LayoutAnimation, StyleSheet, Text, View} = ReactNative;
|
|
22
20
|
const {TestModule} = ReactNative.NativeModules;
|
|
21
|
+
type ViewStyleProp = NonNullable<React.PropOf<View, 'style'>>;
|
|
23
22
|
function debug(...args: Array<void | LayoutRectangle | string>) {
|
|
24
23
|
// console.log.apply(null, arguments);
|
|
25
24
|
}
|
|
26
25
|
|
|
27
|
-
type Props =
|
|
26
|
+
type Props = Readonly<{}>;
|
|
28
27
|
|
|
29
28
|
type State = {
|
|
30
29
|
didAnimation: boolean,
|
|
@@ -108,7 +107,7 @@ class LayoutEventsTest extends React.Component<Props, State> {
|
|
|
108
107
|
measured: LayoutRectangle,
|
|
109
108
|
onLayout?: ?LayoutRectangle,
|
|
110
109
|
): void {
|
|
111
|
-
if (
|
|
110
|
+
if (!deepEquals(measured, onLayout)) {
|
|
112
111
|
const data = {measured, onLayout};
|
|
113
112
|
throw new Error(
|
|
114
113
|
node +
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import invariant from 'invariant';
|
|
12
|
-
import BatchedBridge from 'react-native/
|
|
12
|
+
import {BatchedBridge} from 'react-native/react-private-interface';
|
|
13
13
|
|
|
14
14
|
const LoggingTestModule = {
|
|
15
15
|
logToConsole(message: string): void {
|