react-native-windows 0.75.3 → 0.76.0-preview.1
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 +6 -4
- package/Directory.Build.props +4 -0
- package/Directory.Build.targets +5 -0
- package/Libraries/Alert/Alert.js +3 -0
- package/Libraries/Alert/Alert.windows.js +3 -0
- package/Libraries/Animated/AnimatedEvent.js +1 -1
- package/Libraries/Animated/AnimatedImplementation.js +7 -7
- package/Libraries/Animated/NativeAnimatedAllowlist.js +111 -0
- package/Libraries/Animated/animations/Animation.js +11 -1
- package/Libraries/Animated/animations/DecayAnimation.js +1 -1
- package/Libraries/Animated/animations/SpringAnimation.js +1 -1
- package/Libraries/Animated/animations/TimingAnimation.js +2 -1
- package/Libraries/Animated/components/AnimatedScrollView.js +3 -2
- package/Libraries/Animated/createAnimatedComponent.js +10 -9
- package/Libraries/Animated/nodes/AnimatedColor.js +1 -1
- package/Libraries/Animated/nodes/AnimatedInterpolation.js +3 -2
- package/Libraries/Animated/nodes/AnimatedNode.js +42 -33
- package/Libraries/Animated/nodes/AnimatedObject.js +56 -50
- package/Libraries/Animated/nodes/AnimatedProps.js +77 -40
- package/Libraries/Animated/nodes/AnimatedStyle.js +103 -59
- package/Libraries/Animated/nodes/AnimatedTracking.js +1 -1
- package/Libraries/Animated/nodes/AnimatedTransform.js +102 -67
- package/Libraries/Animated/nodes/AnimatedValue.js +2 -1
- package/Libraries/Animated/nodes/AnimatedWithChildren.js +21 -22
- package/Libraries/Animated/useAnimatedProps.js +142 -7
- package/Libraries/BatchedBridge/NativeModules.js +2 -0
- package/Libraries/Blob/FileReader.js +1 -1
- package/Libraries/Blob/URL.js +2 -62
- package/Libraries/Blob/URLSearchParams.js +71 -0
- package/Libraries/Components/Button.windows.js +0 -1
- package/Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js +1 -1
- package/Libraries/Components/Keyboard/KeyboardExt.js.map +1 -1
- package/Libraries/Components/RefreshControl/__mocks__/RefreshControlMock.js +1 -1
- package/Libraries/Components/ScrollView/ScrollView.js +131 -169
- package/Libraries/Components/ScrollView/ScrollViewStickyHeader.js +1 -1
- package/Libraries/Components/StatusBar/StatusBar.js +3 -1
- package/Libraries/Components/TextInput/TextInput.d.ts +32 -2
- package/Libraries/Components/TextInput/TextInput.js +230 -94
- package/Libraries/Components/TextInput/TextInput.windows.js +230 -105
- package/Libraries/Components/View/ReactNativeStyleAttributes.js +22 -0
- package/Libraries/Components/View/ReactNativeViewAttributes.js +2 -0
- package/Libraries/Components/View/ReactNativeViewAttributes.windows.js +2 -0
- package/Libraries/Components/View/View.windows.js +32 -30
- package/Libraries/Components/View/ViewAccessibility.d.ts +15 -0
- package/Libraries/Components/View/ViewNativeComponent.js +0 -1
- package/Libraries/Components/View/ViewPropTypes.js +14 -0
- package/Libraries/Components/View/ViewPropTypes.windows.js +14 -0
- package/Libraries/Core/ExceptionsManager.js +2 -0
- package/Libraries/Core/InitializeCore.js +3 -1
- package/Libraries/Core/ReactFiberErrorDialog.js +3 -0
- package/Libraries/Core/ReactNativeVersion.js +4 -4
- package/Libraries/Core/setUpErrorHandling.js +7 -1
- package/Libraries/Core/setUpGlobals.js +1 -0
- package/Libraries/Core/setUpReactRefresh.js +0 -4
- package/Libraries/Image/AssetSourceResolver.js +28 -1
- package/Libraries/Image/AssetSourceResolver.windows.js +28 -1
- package/Libraries/Image/Image.android.js +9 -14
- package/Libraries/Image/Image.ios.js +11 -22
- package/Libraries/Image/Image.windows.js +11 -22
- package/Libraries/Image/ImageBackground.js +1 -8
- package/Libraries/Image/ImageUtils.js +9 -9
- package/Libraries/Image/ImageViewNativeComponent.js +1 -0
- package/Libraries/Inspector/Inspector.js +3 -2
- package/Libraries/Inspector/InspectorPanel.js +16 -10
- package/Libraries/Inspector/NetworkOverlay.js +1 -1
- package/Libraries/Interaction/TaskQueue.js +1 -0
- package/Libraries/Lists/FlatList.js +1 -1
- package/Libraries/Lists/SectionList.js +2 -2
- package/Libraries/Lists/SectionListModern.js +3 -3
- package/Libraries/LogBox/Data/LogBoxData.js +24 -3
- package/Libraries/LogBox/LogBoxNotificationContainer.js +3 -2
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.js +9 -8
- package/Libraries/LogBox/UI/LogBoxInspectorHeader.windows.js +9 -8
- package/Libraries/Modal/Modal.js +0 -1
- package/Libraries/NativeComponent/BaseViewConfig.android.js +8 -0
- package/Libraries/NativeComponent/BaseViewConfig.ios.js +7 -0
- package/Libraries/NativeComponent/BaseViewConfig.windows.js +7 -0
- package/Libraries/NativeComponent/NativeComponentRegistry.js +22 -22
- package/Libraries/NativeComponent/StaticViewConfigValidator.js +0 -21
- package/Libraries/Network/XMLHttpRequest.js +4 -2
- package/Libraries/ReactNative/AppContainer-dev.js +1 -5
- package/Libraries/ReactNative/AppContainer-prod.js +1 -5
- package/Libraries/ReactNative/AppContainer.js +1 -2
- package/Libraries/ReactNative/AppRegistry.d.ts +0 -4
- package/Libraries/ReactNative/AppRegistry.js +1 -7
- package/Libraries/ReactNative/BridgelessUIManager.js +1 -0
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricHostComponent.js +1 -1
- package/Libraries/ReactNative/ReactFabricPublicInstance/ReactFabricPublicInstance.js +5 -5
- package/Libraries/ReactNative/RendererImplementation.js +26 -4
- package/Libraries/ReactNative/getNativeComponentAttributes.js +8 -0
- package/Libraries/ReactNative/renderApplication.js +1 -3
- package/Libraries/Renderer/shims/ReactNativeTypes.js +11 -4
- package/Libraries/StyleSheet/StyleSheet.js +1 -1
- package/Libraries/StyleSheet/StyleSheetTypes.d.ts +74 -15
- package/Libraries/StyleSheet/StyleSheetTypes.js +60 -5
- package/Libraries/StyleSheet/processBackgroundImage.js +384 -0
- package/Libraries/StyleSheet/processBoxShadow.js +211 -0
- package/Libraries/StyleSheet/processFilter.js +231 -42
- package/Libraries/Text/Text.js +394 -196
- package/Libraries/Text/Text.windows.js +476 -300
- package/Libraries/Text/TextNativeComponent.js +2 -1
- package/Libraries/TurboModule/TurboModuleRegistry.js +13 -50
- package/Libraries/Types/CodegenTypes.js +3 -1
- package/Libraries/Utilities/Appearance.js +108 -84
- package/Libraries/Utilities/DevLoadingView.js +2 -4
- package/Libraries/Utilities/HMRClient.js +2 -1
- package/Libraries/Utilities/ReactNativeTestTools.js +1 -1
- package/Libraries/Utilities/createPerformanceLogger.js +0 -9
- package/Libraries/Utilities/stringifyViewConfig.js +22 -0
- package/Libraries/Utilities/useColorScheme.js +3 -3
- package/Libraries/WebSocket/WebSocket.js +1 -1
- package/Libraries/promiseRejectionTrackingOptions.js +1 -1
- package/Libraries/vendor/emitter/EventEmitter.js +6 -5
- package/Microsoft.ReactNative/ComponentView.idl +11 -0
- package/Microsoft.ReactNative/Composition.Input.idl +1 -0
- package/Microsoft.ReactNative/CompositionSwitcher.idl +3 -0
- package/Microsoft.ReactNative/Fabric/AbiComponentDescriptor.cpp +9 -9
- package/Microsoft.ReactNative/Fabric/AbiViewComponentDescriptor.cpp +9 -9
- package/Microsoft.ReactNative/Fabric/ComponentView.cpp +7 -9
- package/Microsoft.ReactNative/Fabric/ComponentView.h +5 -6
- package/Microsoft.ReactNative/Fabric/Composition/Composition.Input.cpp +4 -0
- package/Microsoft.ReactNative/Fabric/Composition/Composition.Input.h +1 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionContextHelper.cpp +44 -13
- package/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.cpp +42 -5
- package/Microsoft.ReactNative/Fabric/Composition/CompositionHwndHost.cpp +1 -0
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +81 -63
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.h +2 -3
- package/Microsoft.ReactNative/Fabric/Composition/DebuggingOverlayComponentView.cpp +8 -6
- package/Microsoft.ReactNative/Fabric/Composition/DebuggingOverlayComponentView.h +1 -2
- package/Microsoft.ReactNative/Fabric/Composition/FocusManager.cpp +20 -6
- package/Microsoft.ReactNative/Fabric/Composition/FocusManager.h +13 -6
- package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.cpp +2 -3
- package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.h +1 -2
- package/Microsoft.ReactNative/Fabric/Composition/ReactNativeIsland.cpp +72 -54
- package/Microsoft.ReactNative/Fabric/Composition/ReactNativeIsland.h +14 -4
- package/Microsoft.ReactNative/Fabric/Composition/RootComponentView.cpp +26 -8
- package/Microsoft.ReactNative/Fabric/Composition/RootComponentView.h +5 -2
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +18 -7
- package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.h +1 -2
- package/Microsoft.ReactNative/Fabric/Composition/SwitchComponentView.cpp +6 -6
- package/Microsoft.ReactNative/Fabric/Composition/SwitchComponentView.h +1 -2
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp +97 -140
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.h +8 -4
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputShadowNode.cpp +18 -11
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputShadowNode.h +5 -4
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputState.cpp +0 -13
- package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputState.h +0 -3
- package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.cpp +29 -4
- package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.h +2 -0
- package/Microsoft.ReactNative/Fabric/Composition/UnimplementedNativeViewComponentView.cpp +1 -2
- package/Microsoft.ReactNative/Fabric/Composition/UnimplementedNativeViewComponentView.h +1 -2
- package/Microsoft.ReactNative/Fabric/FabricUIManagerModule.cpp +28 -12
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/HostPlatformColor.h +33 -0
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/textlayoutmanager/TextLayoutManager.cpp +26 -9
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/textlayoutmanager/TextLayoutManager.h +10 -4
- package/Microsoft.ReactNative/IReactModuleBuilder.cpp +5 -0
- package/Microsoft.ReactNative/IReactModuleBuilder.h +1 -0
- package/Microsoft.ReactNative/IReactModuleBuilder.idl +9 -0
- package/Microsoft.ReactNative/IReactViewComponentBuilder.idl +8 -1
- package/Microsoft.ReactNative/Microsoft.ReactNative.vcxproj +2 -0
- package/Microsoft.ReactNative/Modules/AlertModule.cpp +3 -1
- package/Microsoft.ReactNative/Modules/AppearanceModule.cpp +1 -1
- package/Microsoft.ReactNative/Modules/AppearanceModule.h +7 -1
- package/Microsoft.ReactNative/Modules/DevSettingsModule.cpp +3 -3
- package/Microsoft.ReactNative/Modules/DevSettingsModule.h +1 -1
- package/Microsoft.ReactNative/Modules/LinkingManagerModule.cpp +2 -2
- package/Microsoft.ReactNative/Modules/LinkingManagerModule.h +1 -1
- package/Microsoft.ReactNative/Modules/LogBoxModule.cpp +9 -0
- package/Microsoft.ReactNative/Modules/LogBoxModule.h +2 -0
- package/Microsoft.ReactNative/Modules/SampleTurboModule.cpp +121 -0
- package/Microsoft.ReactNative/Modules/SampleTurboModule.h +90 -0
- package/Microsoft.ReactNative/ReactHost/MsoReactContext.cpp +0 -7
- package/Microsoft.ReactNative/ReactHost/MsoReactContext.h +0 -5
- package/Microsoft.ReactNative/ReactHost/ReactInstanceWin.cpp +5 -1
- package/Microsoft.ReactNative/ReactInstanceSettingsBuilder.cpp +59 -0
- package/Microsoft.ReactNative/ReactInstanceSettingsBuilder.h +23 -0
- package/Microsoft.ReactNative/ReactNativeAppBuilder.cpp +179 -0
- package/Microsoft.ReactNative/ReactNativeAppBuilder.h +35 -0
- package/Microsoft.ReactNative/ReactNativeAppBuilder.idl +69 -0
- package/Microsoft.ReactNative/ReactNativeIsland.idl +2 -0
- package/Microsoft.ReactNative/ReactNativeWin32App.cpp +82 -0
- package/Microsoft.ReactNative/ReactNativeWin32App.h +38 -0
- package/Microsoft.ReactNative/TurboModulesProvider.cpp +45 -0
- package/Microsoft.ReactNative/Views/DynamicAutomationPeer.cpp +2 -1
- package/Microsoft.ReactNative/Views/FlyoutViewManager.cpp +25 -16
- package/Microsoft.ReactNative/packages.fabric.lock.json +159 -0
- package/Microsoft.ReactNative/packages.lock.json +11 -12
- package/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems +3 -4
- package/Microsoft.ReactNative.Cxx/Microsoft.ReactNative.Cxx.vcxitems.filters +3 -0
- package/Microsoft.ReactNative.Cxx/ModuleRegistration.cpp +2 -2
- package/Microsoft.ReactNative.Cxx/ModuleRegistration.h +62 -4
- package/Microsoft.ReactNative.Cxx/NativeModules.h +131 -14
- package/Microsoft.ReactNative.Managed/packages.lock.json +9 -9
- package/Microsoft.ReactNative.Managed.CodeGen/ReactNativeNames.cs +10 -2
- package/PropertySheets/Autolink.props +1 -1
- package/PropertySheets/Bundle.props +1 -1
- package/PropertySheets/Codegen.props +1 -1
- package/PropertySheets/Generated/PackageVersion.g.props +4 -4
- package/PropertySheets/NuGet.LockFile.props +18 -0
- package/README.md +29 -29
- package/ReactCommon/ReactCommon.vcxproj +5 -1
- package/ReactCommon/ReactCommon.vcxproj.filters +11 -2
- package/ReactCommon/TEMP_UntilReactCommonUpdate/cxxreact/JSExecutor.cpp +2 -7
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/NetworkIOAgent.cpp +441 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/NetworkIOAgent.h +266 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/Utf8.h +56 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/bridging/Base.h +3 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/bridging/Bridging.h +2 -2
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/bridging/CallbackWrapper.h +1 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/bridging/Convert.h +172 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/bridging/EventEmitter.h +4 -5
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/bridging/Function.h +2 -2
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/core/ReactCommon/TurboModule.h +1 -1
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/nativemodule/core/ReactCommon/TurboModuleUtils.h +3 -2
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/components/scrollview/ScrollViewProps.cpp +9 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/core/LayoutableShadowNode.cpp +363 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/runtime/JSRuntimeFactory.h +22 -2
- package/ReactCommon/TEMP_UntilReactCommonUpdate/react/runtime/ReactInstance.cpp +118 -51
- package/ReactCommon/packages.lock.json +2 -2
- package/Scripts/NuGetRestoreForceEvaluateAllSolutions.ps1 +8 -1
- package/Scripts/Tfs/Layout-MSRN-Headers.ps1 +2 -2
- package/Shared/Modules/WebSocketModule.cpp +1 -2
- package/Shared/Networking/WinRTWebSocketResource.cpp +4 -1
- package/Shared/Shared.vcxitems +38 -2
- package/Shared/Shared.vcxitems.filters +6 -1
- package/Shared/TurboModuleManager.cpp +0 -3
- package/codegen/NativeLinkingManagerSpec.g.h +3 -3
- package/codegen/NativeReactNativeFeatureFlagsSpec.g.h +198 -54
- package/codegen/NativeSampleTurboModuleSpec.g.h +35 -0
- package/codegen/rnwcoreJSI-generated.cpp +245 -101
- package/codegen/rnwcoreJSI.h +847 -548
- package/index.js +3 -1
- package/index.windows.js +3 -1
- package/jest/mockComponent.js +4 -1
- package/jest/mockModal.js +1 -3
- package/jest/mockScrollView.js +1 -1
- package/jest/renderer.js +2 -2
- package/jest/setup.js +16 -13
- package/package.json +26 -25
- package/src/private/animated/NativeAnimatedHelper.js +438 -0
- package/src/private/animated/NativeAnimatedValidation.js +64 -0
- package/src/private/components/HScrollViewNativeComponents.js +56 -0
- package/src/private/components/SafeAreaView_INTERNAL_DO_NOT_USE.js +27 -0
- package/src/private/components/VScrollViewNativeComponents.js +48 -0
- package/src/private/components/useSyncOnScroll.js +48 -0
- package/src/private/featureflags/ReactNativeFeatureFlags.js +166 -16
- package/src/private/featureflags/specs/NativeReactNativeFeatureFlags.js +29 -5
- package/src/private/fusebox/FuseboxSessionObserver.js +42 -0
- package/{Libraries/Core → src/private/renderer/errorhandling}/ErrorHandlers.js +14 -4
- package/src/private/setup/setUpDOM.js +28 -0
- package/src/private/setup/setUpIntersectionObserver.js +27 -0
- package/src/private/setup/setUpMutationObserver.js +26 -0
- package/src/private/setup/setUpPerformanceObserver.js +64 -0
- package/src/private/specs/modules/NativeAppearance.js +3 -3
- package/src/private/specs/modules/NativeLinkingManager.js +1 -1
- package/src/private/specs/modules/NativePlatformConstantsWindows.js +7 -0
- package/src/private/specs/modules/NativeSampleTurboModule.js +14 -1
- package/src/private/webapis/dom/nodes/ReadOnlyNode.js +6 -4
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserver.js +5 -3
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserverEntry.js +3 -3
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver}/IntersectionObserverManager.js +14 -17
- package/src/private/{specs/modules → webapis/intersectionobserver/specs}/NativeIntersectionObserver.js +2 -2
- package/{Libraries/IntersectionObserver → src/private/webapis/intersectionobserver/specs}/__mocks__/NativeIntersectionObserver.js +4 -4
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationObserver.js +5 -3
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationObserverManager.js +24 -15
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver}/MutationRecord.js +4 -6
- package/src/private/{specs/modules → webapis/mutationobserver/specs}/NativeMutationObserver.js +2 -2
- package/{Libraries/MutationObserver → src/private/webapis/mutationobserver/specs}/__mocks__/NativeMutationObserver.js +5 -5
- package/src/private/webapis/performance/{EventCounts.js → EventTiming.js} +65 -3
- package/src/private/webapis/performance/LongTasks.js +39 -0
- package/src/private/webapis/performance/Performance.js +22 -9
- package/src/private/webapis/performance/PerformanceEntry.js +36 -18
- package/src/private/webapis/performance/PerformanceObserver.js +29 -43
- package/src/private/webapis/performance/RawPerformanceEntry.js +24 -1
- package/src/private/webapis/performance/UserTiming.js +17 -12
- package/src/private/webapis/performance/specs/NativePerformanceObserver.js +1 -1
- package/template/cpp-app/src/AutolinkedNativeModules.g.cpp +1 -1
- package/template/cpp-app/src/AutolinkedNativeModules.g.h +1 -1
- package/template/cs-app/src/AutolinkedNativeModules.g.cs +1 -1
- package/template/index.windows.bundle +1 -1
- package/template/metro.config.js +2 -2
- package/template/shared-app/src/AutolinkedNativeModules.g.props +1 -1
- package/template/shared-app/src/AutolinkedNativeModules.g.targets +1 -1
- package/templates/cpp-app/metro.config.js +2 -2
- package/templates/cpp-app/template.config.js +5 -5
- package/templates/cpp-app/windows/MyApp/AutolinkedNativeModules.g.cpp +1 -1
- package/templates/cpp-app/windows/MyApp/AutolinkedNativeModules.g.h +1 -1
- package/templates/cpp-app/windows/MyApp/MyApp.cpp +2 -0
- package/templates/cpp-app/windows/MyApp/MyApp.vcxproj +1 -1
- package/templates/cpp-lib/example/metro.config.js +2 -2
- package/templates/cpp-lib/template.config.js +3 -3
- package/templates/cpp-lib/windows/MyLib/MyLib.h +3 -3
- package/templates/cpp-lib/windows/MyLib/MyLib.vcxproj +1 -1
- package/types/experimental.d.ts +20 -1
- package/Libraries/Animated/NativeAnimatedHelper.js +0 -615
- package/Libraries/Core/setUpIntersectionObserver.js +0 -16
- package/Libraries/Core/setUpMutationObserver.js +0 -16
- package/Libraries/Core/setUpPerformanceObserver.js +0 -18
- package/Libraries/IntersectionObserver/NativeIntersectionObserver.js +0 -13
- package/Libraries/MutationObserver/NativeMutationObserver.js +0 -13
- package/Libraries/Utilities/verifyComponentAttributeEquivalence.js +0 -135
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/algorithm/CalculateLayout.cpp +0 -2396
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/config/Config.cpp +0 -136
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/config/Config.h +0 -92
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/node/LayoutResults.cpp +0 -48
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/node/LayoutResults.h +0 -122
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/node/Node.cpp +0 -388
- package/src/private/core/setUpDOM.js +0 -18
- package/src/private/webapis/performance/PerformanceEventTiming.js +0 -55
- /package/src/private/{core → styles}/composeStyles.js +0 -0
|
@@ -382,7 +382,10 @@ void WinRTWebSocketResource::Connect(string &&url, const Protocols &protocols, c
|
|
|
382
382
|
scheme = L"https";
|
|
383
383
|
}
|
|
384
384
|
|
|
385
|
-
|
|
385
|
+
// Only add a port if a port is defined
|
|
386
|
+
winrt::hstring originPort = port != 0 ? L":" + winrt::to_hstring(port) : L"";
|
|
387
|
+
auto origin = winrt::hstring{scheme + L"://" + host + originPort};
|
|
388
|
+
|
|
386
389
|
m_socket.SetRequestHeader(L"Origin", std::move(origin));
|
|
387
390
|
}
|
|
388
391
|
|
package/Shared/Shared.vcxitems
CHANGED
|
@@ -219,6 +219,21 @@
|
|
|
219
219
|
</ClCompile>
|
|
220
220
|
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\SynchronousEventBeat.cpp">
|
|
221
221
|
<ExcludedFromBuild Condition="'$(UseFabric)' != 'true'">true</ExcludedFromBuild>
|
|
222
|
+
</ClCompile>
|
|
223
|
+
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\ReactNativeWin32App.cpp">
|
|
224
|
+
<ExcludedFromBuild Condition="'$(UseFabric)' != 'true'">true</ExcludedFromBuild>
|
|
225
|
+
<DependentUpon>$(ReactNativeWindowsDir)Microsoft.ReactNative\ReactNativeAppBuilder.idl</DependentUpon>
|
|
226
|
+
<SubType>Code</SubType>
|
|
227
|
+
</ClCompile>
|
|
228
|
+
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\ReactNativeAppBuilder.cpp">
|
|
229
|
+
<ExcludedFromBuild Condition="'$(UseFabric)' != 'true'">true</ExcludedFromBuild>
|
|
230
|
+
<DependentUpon>$(ReactNativeWindowsDir)Microsoft.ReactNative\ReactNativeAppBuilder.idl</DependentUpon>
|
|
231
|
+
<SubType>Code</SubType>
|
|
232
|
+
</ClCompile>
|
|
233
|
+
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\ReactInstanceSettingsBuilder.cpp">
|
|
234
|
+
<ExcludedFromBuild Condition="'$(UseFabric)' != 'true'">true</ExcludedFromBuild>
|
|
235
|
+
<DependentUpon>$(ReactNativeWindowsDir)Microsoft.ReactNative\ReactNativeAppBuilder.idl</DependentUpon>
|
|
236
|
+
<SubType>Code</SubType>
|
|
222
237
|
</ClCompile>
|
|
223
238
|
<ClCompile Include="$(MSBuildThisFileDirectory)BaseFileReaderResource.cpp" />
|
|
224
239
|
<ClCompile Include="$(MSBuildThisFileDirectory)BaseScriptStoreImpl.cpp" />
|
|
@@ -322,6 +337,21 @@
|
|
|
322
337
|
<DependentUpon>$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\JsiApi.idl</DependentUpon>
|
|
323
338
|
</ClInclude>
|
|
324
339
|
<ClInclude Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\SchedulerSettings.h" />
|
|
340
|
+
<ClInclude Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\ReactNativeWin32App.h">
|
|
341
|
+
<ExcludedFromBuild Condition="'$(UseFabric)' != 'true'">true</ExcludedFromBuild>
|
|
342
|
+
<DependentUpon>$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\ReactNativeAppBuilder.idl</DependentUpon>
|
|
343
|
+
<SubType>Code</SubType>
|
|
344
|
+
</ClInclude>
|
|
345
|
+
<ClInclude Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\ReactNativeAppBuilder.h">
|
|
346
|
+
<ExcludedFromBuild Condition="'$(UseFabric)' != 'true'">true</ExcludedFromBuild>
|
|
347
|
+
<DependentUpon>$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\ReactNativeAppBuilder.idl</DependentUpon>
|
|
348
|
+
<SubType>Code</SubType>
|
|
349
|
+
</ClInclude>
|
|
350
|
+
<ClInclude Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\ReactInstanceSettingsBuilder.h">
|
|
351
|
+
<ExcludedFromBuild Condition="'$(UseFabric)' != 'true'">true</ExcludedFromBuild>
|
|
352
|
+
<DependentUpon>$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\ReactNativeAppBuilder.idl</DependentUpon>
|
|
353
|
+
<SubType>Code</SubType>
|
|
354
|
+
</ClInclude>
|
|
325
355
|
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\DynamicReader.cpp">
|
|
326
356
|
<DependentUpon>$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\IJSValueReader.idl</DependentUpon>
|
|
327
357
|
</ClCompile>
|
|
@@ -376,6 +406,7 @@
|
|
|
376
406
|
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\Timer.cpp">
|
|
377
407
|
<DependentUpon>$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\Timer.idl</DependentUpon>
|
|
378
408
|
</ClCompile>
|
|
409
|
+
|
|
379
410
|
<ClInclude Include="$(MSBuildThisFileDirectory)AbiSafe.h" />
|
|
380
411
|
<ClInclude Include="$(MSBuildThisFileDirectory)BaseFileReaderResource.h" />
|
|
381
412
|
<ClInclude Include="$(MSBuildThisFileDirectory)CppRuntimeOptions.h" />
|
|
@@ -467,6 +498,7 @@
|
|
|
467
498
|
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Modules\PlatformConstantsWinModule.cpp" />
|
|
468
499
|
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Modules\ExceptionsManager.cpp" />
|
|
469
500
|
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Modules\Timing.cpp" />
|
|
501
|
+
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Modules\SampleTurboModule.cpp" />
|
|
470
502
|
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Modules\SourceCode.cpp" />
|
|
471
503
|
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\NativeModulesProvider.cpp" />
|
|
472
504
|
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\ReactHost\AsyncActionQueue.cpp" />
|
|
@@ -496,6 +528,7 @@
|
|
|
496
528
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\runtimescheduler\RuntimeSchedulerBinding.cpp" />
|
|
497
529
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\runtimescheduler\RuntimeSchedulerCallInvoker.cpp" />
|
|
498
530
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\runtimescheduler\Task.cpp" />
|
|
531
|
+
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\scrollview\ScrollEvent.cpp" />
|
|
499
532
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\utils\CoreFeatures.cpp" />
|
|
500
533
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\featureflags\ReactNativeFeatureFlags.cpp" />
|
|
501
534
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\featureflags\ReactNativeFeatureFlagsAccessor.cpp" />
|
|
@@ -504,7 +537,6 @@
|
|
|
504
537
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\ExecutionContextManager.cpp" />
|
|
505
538
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\FallbackRuntimeAgentDelegate.cpp" />
|
|
506
539
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\FallbackRuntimeTargetDelegate.cpp" />
|
|
507
|
-
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\ConsoleMessage.cpp" />
|
|
508
540
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\HostAgent.cpp" />
|
|
509
541
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\HostTarget.cpp" />
|
|
510
542
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\InspectorUtilities.cpp" />
|
|
@@ -512,7 +544,10 @@
|
|
|
512
544
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\InstanceTarget.cpp" />
|
|
513
545
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeAgent.cpp" />
|
|
514
546
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeTarget.cpp" />
|
|
547
|
+
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeTargetDebuggerSessionObserver.cpp" />
|
|
515
548
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeTargetConsole.cpp" />
|
|
549
|
+
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\ConsoleMessage.cpp" />
|
|
550
|
+
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\NetworkIOAgent.cpp" />
|
|
516
551
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\utils\jsi-utils.cpp" />
|
|
517
552
|
</ItemGroup>
|
|
518
553
|
<ItemGroup>
|
|
@@ -520,7 +555,6 @@
|
|
|
520
555
|
</ItemGroup>
|
|
521
556
|
<ItemGroup Condition="'$(UseFabric)' == 'true'">
|
|
522
557
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\config\ReactNativeConfig.cpp" />
|
|
523
|
-
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\performance\timeline\PerformanceEntryReporter.cpp" />
|
|
524
558
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\attributedstring\AttributedString.cpp" />
|
|
525
559
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\attributedstring\AttributedStringBox.cpp" DisableSpecificWarnings="4715;%(DisableSpecificWarnings)" />
|
|
526
560
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\view\BaseViewProps.cpp" DisableSpecificWarnings="4459;4715;%(DisableSpecificWarnings)" />
|
|
@@ -623,6 +657,7 @@
|
|
|
623
657
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\runtime\JSRuntimeFactory.cpp" />
|
|
624
658
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\runtime\ReactInstance.cpp" />
|
|
625
659
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\runtime\TimerManager.cpp" />
|
|
660
|
+
<CLCompile Include="$(ReactNativeDir)\ReactCommon\react\performance\timeline\PerformanceEntryReporter.cpp" />
|
|
626
661
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jserrorhandler\JsErrorHandler.cpp" />
|
|
627
662
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\componentregistry\native\NativeComponentRegistryBinding.cpp" />
|
|
628
663
|
</ItemGroup>
|
|
@@ -662,6 +697,7 @@
|
|
|
662
697
|
<Midl Condition="'$(UseFabric)' == 'true' OR '$(IncludeFabricInterface)' == 'true'" Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Theme.idl" />
|
|
663
698
|
<Midl Condition="'$(UseFabric)' == 'true' OR '$(IncludeFabricInterface)' == 'true'" Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\UriImageManager.idl" />
|
|
664
699
|
<Midl Condition="'$(UseFabric)' == 'true' OR '$(IncludeFabricInterface)' == 'true'" Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\ViewProps.idl" />
|
|
700
|
+
<Midl Condition="'$(UseFabric)' == 'true' OR '$(IncludeFabricInterface)' == 'true'" Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\ReactNativeAppBuilder.idl" />
|
|
665
701
|
</ItemGroup>
|
|
666
702
|
<ItemGroup>
|
|
667
703
|
<ClInclude Include="$(NodeApiJsiDir)src\ApiLoaders\HermesApi.h" />
|
|
@@ -293,6 +293,7 @@
|
|
|
293
293
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\runtimescheduler\RuntimeSchedulerBinding.cpp" />
|
|
294
294
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\runtimescheduler\RuntimeSchedulerCallInvoker.cpp" />
|
|
295
295
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\runtimescheduler\Task.cpp" />
|
|
296
|
+
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\scrollview\ScrollEvent.cpp" />
|
|
296
297
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\utils\CoreFeatures.cpp" />
|
|
297
298
|
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\Fabric\platform\react\renderer\graphics\PlatformColorUtils.cpp" />
|
|
298
299
|
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\Fabric\AbiViewShadowNode.cpp" />
|
|
@@ -304,6 +305,7 @@
|
|
|
304
305
|
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\Fabric\AbiShadowNode.cpp" />
|
|
305
306
|
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Modules\PlatformConstantsWinModule.cpp" />
|
|
306
307
|
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Modules\ExceptionsManager.cpp" />
|
|
308
|
+
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Modules\SampleTurboModule.cpp" />
|
|
307
309
|
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Modules\SourceCode.cpp" />
|
|
308
310
|
<ClCompile Include="$(ReactNativeWindowsDir)Microsoft.ReactNative\Modules\Timing.cpp" />
|
|
309
311
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\featureflags\ReactNativeFeatureFlags.cpp" />
|
|
@@ -317,17 +319,20 @@
|
|
|
317
319
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\cxxreact\Instance.cpp" />
|
|
318
320
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\FallbackRuntimeAgentDelegate.cpp" />
|
|
319
321
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\FallbackRuntimeTargetDelegate.cpp" />
|
|
320
|
-
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\ConsoleMessage.cpp" />
|
|
321
322
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeTarget.cpp" />
|
|
323
|
+
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeTargetDebuggerSessionObserver.cpp" />
|
|
322
324
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\ExecutionContextManager.cpp" />
|
|
323
325
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\ExecutionContext.cpp" />
|
|
324
326
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\CdpJson.cpp" />
|
|
327
|
+
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\ConsoleMessage.cpp" />
|
|
328
|
+
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\NetworkIOAgent.cpp" />
|
|
325
329
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\utils\jsi-utils.cpp" />
|
|
326
330
|
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\Fabric\Composition\TextDrawing.cpp" />
|
|
327
331
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\graphics\ColorComponents.cpp" />
|
|
328
332
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\cxxreact\JSExecutor.cpp" />
|
|
329
333
|
<ClCompile Include="$(ReactNativeDir)\ReactCommon\jsinspector-modern\RuntimeTargetConsole.cpp" />
|
|
330
334
|
<ClCompile Include="$(MSBuildThisFileDirectory)Networking\NetworkPropertyIds.cpp" />
|
|
335
|
+
<ClCompile Include="$(MSBuildThisFileDirectory)..\Microsoft.ReactNative\Fabric\AbiEventEmitter.cpp" />
|
|
331
336
|
</ItemGroup>
|
|
332
337
|
<ItemGroup>
|
|
333
338
|
<Filter Include="Source Files">
|
|
@@ -30,9 +30,6 @@ std::shared_ptr<TurboModule> TurboModuleManager::getModule(const std::string &mo
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
if (moduleName.compare("SampleTurboModule") == 0) {
|
|
34
|
-
return m_modules.emplace(moduleName, std::make_shared<SampleTurboCxxModule>(m_callInvoker)).first->second;
|
|
35
|
-
}
|
|
36
33
|
return nullptr;
|
|
37
34
|
}
|
|
38
35
|
|
|
@@ -16,7 +16,7 @@ namespace Microsoft::ReactNativeSpecs {
|
|
|
16
16
|
|
|
17
17
|
struct LinkingManagerSpec : winrt::Microsoft::ReactNative::TurboModuleSpec {
|
|
18
18
|
static constexpr auto methods = std::tuple{
|
|
19
|
-
Method<void(Promise<std::string
|
|
19
|
+
Method<void(Promise<std::optional<std::string>>) noexcept>{0, L"getInitialURL"},
|
|
20
20
|
Method<void(std::string, Promise<bool>) noexcept>{1, L"canOpenURL"},
|
|
21
21
|
Method<void(std::string, Promise<void>) noexcept>{2, L"openURL"},
|
|
22
22
|
Method<void(Promise<void>) noexcept>{3, L"openSettings"},
|
|
@@ -31,8 +31,8 @@ struct LinkingManagerSpec : winrt::Microsoft::ReactNative::TurboModuleSpec {
|
|
|
31
31
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
32
32
|
0,
|
|
33
33
|
"getInitialURL",
|
|
34
|
-
" REACT_METHOD(getInitialURL) void getInitialURL(::React::ReactPromise<std::string
|
|
35
|
-
" REACT_METHOD(getInitialURL) static void getInitialURL(::React::ReactPromise<std::string
|
|
34
|
+
" REACT_METHOD(getInitialURL) void getInitialURL(::React::ReactPromise<std::optional<std::string>> &&result) noexcept { /* implementation */ }\n"
|
|
35
|
+
" REACT_METHOD(getInitialURL) static void getInitialURL(::React::ReactPromise<std::optional<std::string>> &&result) noexcept { /* implementation */ }\n");
|
|
36
36
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
37
37
|
1,
|
|
38
38
|
"canOpenURL",
|
|
@@ -17,29 +17,53 @@ namespace Microsoft::ReactNativeSpecs {
|
|
|
17
17
|
struct ReactNativeFeatureFlagsSpec : winrt::Microsoft::ReactNative::TurboModuleSpec {
|
|
18
18
|
static constexpr auto methods = std::tuple{
|
|
19
19
|
SyncMethod<bool() noexcept>{0, L"commonTestFlag"},
|
|
20
|
-
SyncMethod<bool() noexcept>{1, L"
|
|
21
|
-
SyncMethod<bool() noexcept>{2, L"
|
|
22
|
-
SyncMethod<bool() noexcept>{3, L"
|
|
20
|
+
SyncMethod<bool() noexcept>{1, L"allowRecursiveCommitsWithSynchronousMountOnAndroid"},
|
|
21
|
+
SyncMethod<bool() noexcept>{2, L"batchRenderingUpdatesInEventLoop"},
|
|
22
|
+
SyncMethod<bool() noexcept>{3, L"completeReactInstanceCreationOnBgThreadOnAndroid"},
|
|
23
23
|
SyncMethod<bool() noexcept>{4, L"destroyFabricSurfacesInReactInstanceManager"},
|
|
24
|
-
SyncMethod<bool() noexcept>{5, L"
|
|
25
|
-
SyncMethod<bool() noexcept>{6, L"
|
|
26
|
-
SyncMethod<bool() noexcept>{7, L"
|
|
27
|
-
SyncMethod<bool() noexcept>{8, L"
|
|
28
|
-
SyncMethod<bool() noexcept>{9, L"
|
|
29
|
-
SyncMethod<bool() noexcept>{10, L"
|
|
30
|
-
SyncMethod<bool() noexcept>{11, L"
|
|
31
|
-
SyncMethod<bool() noexcept>{12, L"
|
|
32
|
-
SyncMethod<bool() noexcept>{13, L"
|
|
33
|
-
SyncMethod<bool() noexcept>{14, L"
|
|
34
|
-
SyncMethod<bool() noexcept>{15, L"
|
|
35
|
-
SyncMethod<bool() noexcept>{16, L"
|
|
36
|
-
SyncMethod<bool() noexcept>{17, L"
|
|
37
|
-
SyncMethod<bool() noexcept>{18, L"
|
|
38
|
-
SyncMethod<bool() noexcept>{19, L"
|
|
39
|
-
SyncMethod<bool() noexcept>{20, L"
|
|
40
|
-
SyncMethod<bool() noexcept>{21, L"
|
|
41
|
-
SyncMethod<bool() noexcept>{22, L"
|
|
42
|
-
SyncMethod<bool() noexcept>{23, L"
|
|
24
|
+
SyncMethod<bool() noexcept>{5, L"enableAlignItemsBaselineOnFabricIOS"},
|
|
25
|
+
SyncMethod<bool() noexcept>{6, L"enableAndroidMixBlendModeProp"},
|
|
26
|
+
SyncMethod<bool() noexcept>{7, L"enableBackgroundStyleApplicator"},
|
|
27
|
+
SyncMethod<bool() noexcept>{8, L"enableCleanTextInputYogaNode"},
|
|
28
|
+
SyncMethod<bool() noexcept>{9, L"enableEagerRootViewAttachment"},
|
|
29
|
+
SyncMethod<bool() noexcept>{10, L"enableEventEmitterRetentionDuringGesturesOnAndroid"},
|
|
30
|
+
SyncMethod<bool() noexcept>{11, L"enableFabricLogs"},
|
|
31
|
+
SyncMethod<bool() noexcept>{12, L"enableFabricRendererExclusively"},
|
|
32
|
+
SyncMethod<bool() noexcept>{13, L"enableGranularShadowTreeStateReconciliation"},
|
|
33
|
+
SyncMethod<bool() noexcept>{14, L"enableIOSViewClipToPaddingBox"},
|
|
34
|
+
SyncMethod<bool() noexcept>{15, L"enableLayoutAnimationsOnIOS"},
|
|
35
|
+
SyncMethod<bool() noexcept>{16, L"enableLongTaskAPI"},
|
|
36
|
+
SyncMethod<bool() noexcept>{17, L"enableMicrotasks"},
|
|
37
|
+
SyncMethod<bool() noexcept>{18, L"enablePropsUpdateReconciliationAndroid"},
|
|
38
|
+
SyncMethod<bool() noexcept>{19, L"enableReportEventPaintTime"},
|
|
39
|
+
SyncMethod<bool() noexcept>{20, L"enableSynchronousStateUpdates"},
|
|
40
|
+
SyncMethod<bool() noexcept>{21, L"enableUIConsistency"},
|
|
41
|
+
SyncMethod<bool() noexcept>{22, L"enableViewRecycling"},
|
|
42
|
+
SyncMethod<bool() noexcept>{23, L"excludeYogaFromRawProps"},
|
|
43
|
+
SyncMethod<bool() noexcept>{24, L"fetchImagesInViewPreallocation"},
|
|
44
|
+
SyncMethod<bool() noexcept>{25, L"fixIncorrectScrollViewStateUpdateOnAndroid"},
|
|
45
|
+
SyncMethod<bool() noexcept>{26, L"fixMappingOfEventPrioritiesBetweenFabricAndReact"},
|
|
46
|
+
SyncMethod<bool() noexcept>{27, L"fixMissedFabricStateUpdatesOnAndroid"},
|
|
47
|
+
SyncMethod<bool() noexcept>{28, L"fixMountingCoordinatorReportedPendingTransactionsOnAndroid"},
|
|
48
|
+
SyncMethod<bool() noexcept>{29, L"forceBatchingMountItemsOnAndroid"},
|
|
49
|
+
SyncMethod<bool() noexcept>{30, L"fuseboxEnabledDebug"},
|
|
50
|
+
SyncMethod<bool() noexcept>{31, L"fuseboxEnabledRelease"},
|
|
51
|
+
SyncMethod<bool() noexcept>{32, L"initEagerTurboModulesOnNativeModulesQueueAndroid"},
|
|
52
|
+
SyncMethod<bool() noexcept>{33, L"lazyAnimationCallbacks"},
|
|
53
|
+
SyncMethod<bool() noexcept>{34, L"loadVectorDrawablesOnImages"},
|
|
54
|
+
SyncMethod<bool() noexcept>{35, L"setAndroidLayoutDirection"},
|
|
55
|
+
SyncMethod<bool() noexcept>{36, L"traceTurboModulePromiseRejectionsOnAndroid"},
|
|
56
|
+
SyncMethod<bool() noexcept>{37, L"useFabricInterop"},
|
|
57
|
+
SyncMethod<bool() noexcept>{38, L"useImmediateExecutorInAndroidBridgeless"},
|
|
58
|
+
SyncMethod<bool() noexcept>{39, L"useModernRuntimeScheduler"},
|
|
59
|
+
SyncMethod<bool() noexcept>{40, L"useNativeViewConfigsInBridgelessMode"},
|
|
60
|
+
SyncMethod<bool() noexcept>{41, L"useNewReactImageViewBackgroundDrawing"},
|
|
61
|
+
SyncMethod<bool() noexcept>{42, L"useOptimisedViewPreallocationOnAndroid"},
|
|
62
|
+
SyncMethod<bool() noexcept>{43, L"useOptimizedEventBatchingOnAndroid"},
|
|
63
|
+
SyncMethod<bool() noexcept>{44, L"useRuntimeShadowNodeReferenceUpdate"},
|
|
64
|
+
SyncMethod<bool() noexcept>{45, L"useRuntimeShadowNodeReferenceUpdateOnLayout"},
|
|
65
|
+
SyncMethod<bool() noexcept>{46, L"useStateAlignmentMechanism"},
|
|
66
|
+
SyncMethod<bool() noexcept>{47, L"useTurboModuleInterop"},
|
|
43
67
|
};
|
|
44
68
|
|
|
45
69
|
template <class TModule>
|
|
@@ -53,19 +77,19 @@ struct ReactNativeFeatureFlagsSpec : winrt::Microsoft::ReactNative::TurboModuleS
|
|
|
53
77
|
" REACT_SYNC_METHOD(commonTestFlag) static bool commonTestFlag() noexcept { /* implementation */ }\n");
|
|
54
78
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
55
79
|
1,
|
|
56
|
-
"allowCollapsableChildren",
|
|
57
|
-
" REACT_SYNC_METHOD(allowCollapsableChildren) bool allowCollapsableChildren() noexcept { /* implementation */ }\n"
|
|
58
|
-
" REACT_SYNC_METHOD(allowCollapsableChildren) static bool allowCollapsableChildren() noexcept { /* implementation */ }\n");
|
|
59
|
-
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
60
|
-
2,
|
|
61
80
|
"allowRecursiveCommitsWithSynchronousMountOnAndroid",
|
|
62
81
|
" REACT_SYNC_METHOD(allowRecursiveCommitsWithSynchronousMountOnAndroid) bool allowRecursiveCommitsWithSynchronousMountOnAndroid() noexcept { /* implementation */ }\n"
|
|
63
82
|
" REACT_SYNC_METHOD(allowRecursiveCommitsWithSynchronousMountOnAndroid) static bool allowRecursiveCommitsWithSynchronousMountOnAndroid() noexcept { /* implementation */ }\n");
|
|
64
83
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
65
|
-
|
|
84
|
+
2,
|
|
66
85
|
"batchRenderingUpdatesInEventLoop",
|
|
67
86
|
" REACT_SYNC_METHOD(batchRenderingUpdatesInEventLoop) bool batchRenderingUpdatesInEventLoop() noexcept { /* implementation */ }\n"
|
|
68
87
|
" REACT_SYNC_METHOD(batchRenderingUpdatesInEventLoop) static bool batchRenderingUpdatesInEventLoop() noexcept { /* implementation */ }\n");
|
|
88
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
89
|
+
3,
|
|
90
|
+
"completeReactInstanceCreationOnBgThreadOnAndroid",
|
|
91
|
+
" REACT_SYNC_METHOD(completeReactInstanceCreationOnBgThreadOnAndroid) bool completeReactInstanceCreationOnBgThreadOnAndroid() noexcept { /* implementation */ }\n"
|
|
92
|
+
" REACT_SYNC_METHOD(completeReactInstanceCreationOnBgThreadOnAndroid) static bool completeReactInstanceCreationOnBgThreadOnAndroid() noexcept { /* implementation */ }\n");
|
|
69
93
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
70
94
|
4,
|
|
71
95
|
"destroyFabricSurfacesInReactInstanceManager",
|
|
@@ -73,99 +97,219 @@ struct ReactNativeFeatureFlagsSpec : winrt::Microsoft::ReactNative::TurboModuleS
|
|
|
73
97
|
" REACT_SYNC_METHOD(destroyFabricSurfacesInReactInstanceManager) static bool destroyFabricSurfacesInReactInstanceManager() noexcept { /* implementation */ }\n");
|
|
74
98
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
75
99
|
5,
|
|
76
|
-
"
|
|
77
|
-
" REACT_SYNC_METHOD(
|
|
78
|
-
" REACT_SYNC_METHOD(
|
|
100
|
+
"enableAlignItemsBaselineOnFabricIOS",
|
|
101
|
+
" REACT_SYNC_METHOD(enableAlignItemsBaselineOnFabricIOS) bool enableAlignItemsBaselineOnFabricIOS() noexcept { /* implementation */ }\n"
|
|
102
|
+
" REACT_SYNC_METHOD(enableAlignItemsBaselineOnFabricIOS) static bool enableAlignItemsBaselineOnFabricIOS() noexcept { /* implementation */ }\n");
|
|
79
103
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
80
104
|
6,
|
|
105
|
+
"enableAndroidMixBlendModeProp",
|
|
106
|
+
" REACT_SYNC_METHOD(enableAndroidMixBlendModeProp) bool enableAndroidMixBlendModeProp() noexcept { /* implementation */ }\n"
|
|
107
|
+
" REACT_SYNC_METHOD(enableAndroidMixBlendModeProp) static bool enableAndroidMixBlendModeProp() noexcept { /* implementation */ }\n");
|
|
108
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
109
|
+
7,
|
|
110
|
+
"enableBackgroundStyleApplicator",
|
|
111
|
+
" REACT_SYNC_METHOD(enableBackgroundStyleApplicator) bool enableBackgroundStyleApplicator() noexcept { /* implementation */ }\n"
|
|
112
|
+
" REACT_SYNC_METHOD(enableBackgroundStyleApplicator) static bool enableBackgroundStyleApplicator() noexcept { /* implementation */ }\n");
|
|
113
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
114
|
+
8,
|
|
81
115
|
"enableCleanTextInputYogaNode",
|
|
82
116
|
" REACT_SYNC_METHOD(enableCleanTextInputYogaNode) bool enableCleanTextInputYogaNode() noexcept { /* implementation */ }\n"
|
|
83
117
|
" REACT_SYNC_METHOD(enableCleanTextInputYogaNode) static bool enableCleanTextInputYogaNode() noexcept { /* implementation */ }\n");
|
|
84
118
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
85
|
-
|
|
119
|
+
9,
|
|
120
|
+
"enableEagerRootViewAttachment",
|
|
121
|
+
" REACT_SYNC_METHOD(enableEagerRootViewAttachment) bool enableEagerRootViewAttachment() noexcept { /* implementation */ }\n"
|
|
122
|
+
" REACT_SYNC_METHOD(enableEagerRootViewAttachment) static bool enableEagerRootViewAttachment() noexcept { /* implementation */ }\n");
|
|
123
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
124
|
+
10,
|
|
125
|
+
"enableEventEmitterRetentionDuringGesturesOnAndroid",
|
|
126
|
+
" REACT_SYNC_METHOD(enableEventEmitterRetentionDuringGesturesOnAndroid) bool enableEventEmitterRetentionDuringGesturesOnAndroid() noexcept { /* implementation */ }\n"
|
|
127
|
+
" REACT_SYNC_METHOD(enableEventEmitterRetentionDuringGesturesOnAndroid) static bool enableEventEmitterRetentionDuringGesturesOnAndroid() noexcept { /* implementation */ }\n");
|
|
128
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
129
|
+
11,
|
|
130
|
+
"enableFabricLogs",
|
|
131
|
+
" REACT_SYNC_METHOD(enableFabricLogs) bool enableFabricLogs() noexcept { /* implementation */ }\n"
|
|
132
|
+
" REACT_SYNC_METHOD(enableFabricLogs) static bool enableFabricLogs() noexcept { /* implementation */ }\n");
|
|
133
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
134
|
+
12,
|
|
135
|
+
"enableFabricRendererExclusively",
|
|
136
|
+
" REACT_SYNC_METHOD(enableFabricRendererExclusively) bool enableFabricRendererExclusively() noexcept { /* implementation */ }\n"
|
|
137
|
+
" REACT_SYNC_METHOD(enableFabricRendererExclusively) static bool enableFabricRendererExclusively() noexcept { /* implementation */ }\n");
|
|
138
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
139
|
+
13,
|
|
86
140
|
"enableGranularShadowTreeStateReconciliation",
|
|
87
141
|
" REACT_SYNC_METHOD(enableGranularShadowTreeStateReconciliation) bool enableGranularShadowTreeStateReconciliation() noexcept { /* implementation */ }\n"
|
|
88
142
|
" REACT_SYNC_METHOD(enableGranularShadowTreeStateReconciliation) static bool enableGranularShadowTreeStateReconciliation() noexcept { /* implementation */ }\n");
|
|
89
143
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
90
|
-
|
|
144
|
+
14,
|
|
145
|
+
"enableIOSViewClipToPaddingBox",
|
|
146
|
+
" REACT_SYNC_METHOD(enableIOSViewClipToPaddingBox) bool enableIOSViewClipToPaddingBox() noexcept { /* implementation */ }\n"
|
|
147
|
+
" REACT_SYNC_METHOD(enableIOSViewClipToPaddingBox) static bool enableIOSViewClipToPaddingBox() noexcept { /* implementation */ }\n");
|
|
148
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
149
|
+
15,
|
|
150
|
+
"enableLayoutAnimationsOnIOS",
|
|
151
|
+
" REACT_SYNC_METHOD(enableLayoutAnimationsOnIOS) bool enableLayoutAnimationsOnIOS() noexcept { /* implementation */ }\n"
|
|
152
|
+
" REACT_SYNC_METHOD(enableLayoutAnimationsOnIOS) static bool enableLayoutAnimationsOnIOS() noexcept { /* implementation */ }\n");
|
|
153
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
154
|
+
16,
|
|
155
|
+
"enableLongTaskAPI",
|
|
156
|
+
" REACT_SYNC_METHOD(enableLongTaskAPI) bool enableLongTaskAPI() noexcept { /* implementation */ }\n"
|
|
157
|
+
" REACT_SYNC_METHOD(enableLongTaskAPI) static bool enableLongTaskAPI() noexcept { /* implementation */ }\n");
|
|
158
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
159
|
+
17,
|
|
91
160
|
"enableMicrotasks",
|
|
92
161
|
" REACT_SYNC_METHOD(enableMicrotasks) bool enableMicrotasks() noexcept { /* implementation */ }\n"
|
|
93
162
|
" REACT_SYNC_METHOD(enableMicrotasks) static bool enableMicrotasks() noexcept { /* implementation */ }\n");
|
|
94
163
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
95
|
-
|
|
164
|
+
18,
|
|
165
|
+
"enablePropsUpdateReconciliationAndroid",
|
|
166
|
+
" REACT_SYNC_METHOD(enablePropsUpdateReconciliationAndroid) bool enablePropsUpdateReconciliationAndroid() noexcept { /* implementation */ }\n"
|
|
167
|
+
" REACT_SYNC_METHOD(enablePropsUpdateReconciliationAndroid) static bool enablePropsUpdateReconciliationAndroid() noexcept { /* implementation */ }\n");
|
|
168
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
169
|
+
19,
|
|
170
|
+
"enableReportEventPaintTime",
|
|
171
|
+
" REACT_SYNC_METHOD(enableReportEventPaintTime) bool enableReportEventPaintTime() noexcept { /* implementation */ }\n"
|
|
172
|
+
" REACT_SYNC_METHOD(enableReportEventPaintTime) static bool enableReportEventPaintTime() noexcept { /* implementation */ }\n");
|
|
173
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
174
|
+
20,
|
|
96
175
|
"enableSynchronousStateUpdates",
|
|
97
176
|
" REACT_SYNC_METHOD(enableSynchronousStateUpdates) bool enableSynchronousStateUpdates() noexcept { /* implementation */ }\n"
|
|
98
177
|
" REACT_SYNC_METHOD(enableSynchronousStateUpdates) static bool enableSynchronousStateUpdates() noexcept { /* implementation */ }\n");
|
|
99
178
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
100
|
-
|
|
179
|
+
21,
|
|
101
180
|
"enableUIConsistency",
|
|
102
181
|
" REACT_SYNC_METHOD(enableUIConsistency) bool enableUIConsistency() noexcept { /* implementation */ }\n"
|
|
103
182
|
" REACT_SYNC_METHOD(enableUIConsistency) static bool enableUIConsistency() noexcept { /* implementation */ }\n");
|
|
104
183
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
105
|
-
|
|
106
|
-
"
|
|
107
|
-
" REACT_SYNC_METHOD(
|
|
108
|
-
" REACT_SYNC_METHOD(
|
|
184
|
+
22,
|
|
185
|
+
"enableViewRecycling",
|
|
186
|
+
" REACT_SYNC_METHOD(enableViewRecycling) bool enableViewRecycling() noexcept { /* implementation */ }\n"
|
|
187
|
+
" REACT_SYNC_METHOD(enableViewRecycling) static bool enableViewRecycling() noexcept { /* implementation */ }\n");
|
|
109
188
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
110
|
-
|
|
189
|
+
23,
|
|
190
|
+
"excludeYogaFromRawProps",
|
|
191
|
+
" REACT_SYNC_METHOD(excludeYogaFromRawProps) bool excludeYogaFromRawProps() noexcept { /* implementation */ }\n"
|
|
192
|
+
" REACT_SYNC_METHOD(excludeYogaFromRawProps) static bool excludeYogaFromRawProps() noexcept { /* implementation */ }\n");
|
|
193
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
194
|
+
24,
|
|
195
|
+
"fetchImagesInViewPreallocation",
|
|
196
|
+
" REACT_SYNC_METHOD(fetchImagesInViewPreallocation) bool fetchImagesInViewPreallocation() noexcept { /* implementation */ }\n"
|
|
197
|
+
" REACT_SYNC_METHOD(fetchImagesInViewPreallocation) static bool fetchImagesInViewPreallocation() noexcept { /* implementation */ }\n");
|
|
198
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
199
|
+
25,
|
|
200
|
+
"fixIncorrectScrollViewStateUpdateOnAndroid",
|
|
201
|
+
" REACT_SYNC_METHOD(fixIncorrectScrollViewStateUpdateOnAndroid) bool fixIncorrectScrollViewStateUpdateOnAndroid() noexcept { /* implementation */ }\n"
|
|
202
|
+
" REACT_SYNC_METHOD(fixIncorrectScrollViewStateUpdateOnAndroid) static bool fixIncorrectScrollViewStateUpdateOnAndroid() noexcept { /* implementation */ }\n");
|
|
203
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
204
|
+
26,
|
|
205
|
+
"fixMappingOfEventPrioritiesBetweenFabricAndReact",
|
|
206
|
+
" REACT_SYNC_METHOD(fixMappingOfEventPrioritiesBetweenFabricAndReact) bool fixMappingOfEventPrioritiesBetweenFabricAndReact() noexcept { /* implementation */ }\n"
|
|
207
|
+
" REACT_SYNC_METHOD(fixMappingOfEventPrioritiesBetweenFabricAndReact) static bool fixMappingOfEventPrioritiesBetweenFabricAndReact() noexcept { /* implementation */ }\n");
|
|
208
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
209
|
+
27,
|
|
210
|
+
"fixMissedFabricStateUpdatesOnAndroid",
|
|
211
|
+
" REACT_SYNC_METHOD(fixMissedFabricStateUpdatesOnAndroid) bool fixMissedFabricStateUpdatesOnAndroid() noexcept { /* implementation */ }\n"
|
|
212
|
+
" REACT_SYNC_METHOD(fixMissedFabricStateUpdatesOnAndroid) static bool fixMissedFabricStateUpdatesOnAndroid() noexcept { /* implementation */ }\n");
|
|
213
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
214
|
+
28,
|
|
215
|
+
"fixMountingCoordinatorReportedPendingTransactionsOnAndroid",
|
|
216
|
+
" REACT_SYNC_METHOD(fixMountingCoordinatorReportedPendingTransactionsOnAndroid) bool fixMountingCoordinatorReportedPendingTransactionsOnAndroid() noexcept { /* implementation */ }\n"
|
|
217
|
+
" REACT_SYNC_METHOD(fixMountingCoordinatorReportedPendingTransactionsOnAndroid) static bool fixMountingCoordinatorReportedPendingTransactionsOnAndroid() noexcept { /* implementation */ }\n");
|
|
218
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
219
|
+
29,
|
|
111
220
|
"forceBatchingMountItemsOnAndroid",
|
|
112
221
|
" REACT_SYNC_METHOD(forceBatchingMountItemsOnAndroid) bool forceBatchingMountItemsOnAndroid() noexcept { /* implementation */ }\n"
|
|
113
222
|
" REACT_SYNC_METHOD(forceBatchingMountItemsOnAndroid) static bool forceBatchingMountItemsOnAndroid() noexcept { /* implementation */ }\n");
|
|
114
223
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
115
|
-
|
|
224
|
+
30,
|
|
116
225
|
"fuseboxEnabledDebug",
|
|
117
226
|
" REACT_SYNC_METHOD(fuseboxEnabledDebug) bool fuseboxEnabledDebug() noexcept { /* implementation */ }\n"
|
|
118
227
|
" REACT_SYNC_METHOD(fuseboxEnabledDebug) static bool fuseboxEnabledDebug() noexcept { /* implementation */ }\n");
|
|
119
228
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
120
|
-
|
|
229
|
+
31,
|
|
121
230
|
"fuseboxEnabledRelease",
|
|
122
231
|
" REACT_SYNC_METHOD(fuseboxEnabledRelease) bool fuseboxEnabledRelease() noexcept { /* implementation */ }\n"
|
|
123
232
|
" REACT_SYNC_METHOD(fuseboxEnabledRelease) static bool fuseboxEnabledRelease() noexcept { /* implementation */ }\n");
|
|
124
233
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
125
|
-
|
|
234
|
+
32,
|
|
235
|
+
"initEagerTurboModulesOnNativeModulesQueueAndroid",
|
|
236
|
+
" REACT_SYNC_METHOD(initEagerTurboModulesOnNativeModulesQueueAndroid) bool initEagerTurboModulesOnNativeModulesQueueAndroid() noexcept { /* implementation */ }\n"
|
|
237
|
+
" REACT_SYNC_METHOD(initEagerTurboModulesOnNativeModulesQueueAndroid) static bool initEagerTurboModulesOnNativeModulesQueueAndroid() noexcept { /* implementation */ }\n");
|
|
238
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
239
|
+
33,
|
|
126
240
|
"lazyAnimationCallbacks",
|
|
127
241
|
" REACT_SYNC_METHOD(lazyAnimationCallbacks) bool lazyAnimationCallbacks() noexcept { /* implementation */ }\n"
|
|
128
242
|
" REACT_SYNC_METHOD(lazyAnimationCallbacks) static bool lazyAnimationCallbacks() noexcept { /* implementation */ }\n");
|
|
129
243
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
130
|
-
|
|
131
|
-
"
|
|
132
|
-
" REACT_SYNC_METHOD(
|
|
133
|
-
" REACT_SYNC_METHOD(
|
|
244
|
+
34,
|
|
245
|
+
"loadVectorDrawablesOnImages",
|
|
246
|
+
" REACT_SYNC_METHOD(loadVectorDrawablesOnImages) bool loadVectorDrawablesOnImages() noexcept { /* implementation */ }\n"
|
|
247
|
+
" REACT_SYNC_METHOD(loadVectorDrawablesOnImages) static bool loadVectorDrawablesOnImages() noexcept { /* implementation */ }\n");
|
|
134
248
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
135
|
-
|
|
249
|
+
35,
|
|
136
250
|
"setAndroidLayoutDirection",
|
|
137
251
|
" REACT_SYNC_METHOD(setAndroidLayoutDirection) bool setAndroidLayoutDirection() noexcept { /* implementation */ }\n"
|
|
138
252
|
" REACT_SYNC_METHOD(setAndroidLayoutDirection) static bool setAndroidLayoutDirection() noexcept { /* implementation */ }\n");
|
|
139
253
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
140
|
-
|
|
254
|
+
36,
|
|
255
|
+
"traceTurboModulePromiseRejectionsOnAndroid",
|
|
256
|
+
" REACT_SYNC_METHOD(traceTurboModulePromiseRejectionsOnAndroid) bool traceTurboModulePromiseRejectionsOnAndroid() noexcept { /* implementation */ }\n"
|
|
257
|
+
" REACT_SYNC_METHOD(traceTurboModulePromiseRejectionsOnAndroid) static bool traceTurboModulePromiseRejectionsOnAndroid() noexcept { /* implementation */ }\n");
|
|
258
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
259
|
+
37,
|
|
260
|
+
"useFabricInterop",
|
|
261
|
+
" REACT_SYNC_METHOD(useFabricInterop) bool useFabricInterop() noexcept { /* implementation */ }\n"
|
|
262
|
+
" REACT_SYNC_METHOD(useFabricInterop) static bool useFabricInterop() noexcept { /* implementation */ }\n");
|
|
263
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
264
|
+
38,
|
|
141
265
|
"useImmediateExecutorInAndroidBridgeless",
|
|
142
266
|
" REACT_SYNC_METHOD(useImmediateExecutorInAndroidBridgeless) bool useImmediateExecutorInAndroidBridgeless() noexcept { /* implementation */ }\n"
|
|
143
267
|
" REACT_SYNC_METHOD(useImmediateExecutorInAndroidBridgeless) static bool useImmediateExecutorInAndroidBridgeless() noexcept { /* implementation */ }\n");
|
|
144
268
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
145
|
-
|
|
269
|
+
39,
|
|
146
270
|
"useModernRuntimeScheduler",
|
|
147
271
|
" REACT_SYNC_METHOD(useModernRuntimeScheduler) bool useModernRuntimeScheduler() noexcept { /* implementation */ }\n"
|
|
148
272
|
" REACT_SYNC_METHOD(useModernRuntimeScheduler) static bool useModernRuntimeScheduler() noexcept { /* implementation */ }\n");
|
|
149
273
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
150
|
-
|
|
274
|
+
40,
|
|
151
275
|
"useNativeViewConfigsInBridgelessMode",
|
|
152
276
|
" REACT_SYNC_METHOD(useNativeViewConfigsInBridgelessMode) bool useNativeViewConfigsInBridgelessMode() noexcept { /* implementation */ }\n"
|
|
153
277
|
" REACT_SYNC_METHOD(useNativeViewConfigsInBridgelessMode) static bool useNativeViewConfigsInBridgelessMode() noexcept { /* implementation */ }\n");
|
|
154
278
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
155
|
-
|
|
279
|
+
41,
|
|
280
|
+
"useNewReactImageViewBackgroundDrawing",
|
|
281
|
+
" REACT_SYNC_METHOD(useNewReactImageViewBackgroundDrawing) bool useNewReactImageViewBackgroundDrawing() noexcept { /* implementation */ }\n"
|
|
282
|
+
" REACT_SYNC_METHOD(useNewReactImageViewBackgroundDrawing) static bool useNewReactImageViewBackgroundDrawing() noexcept { /* implementation */ }\n");
|
|
283
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
284
|
+
42,
|
|
285
|
+
"useOptimisedViewPreallocationOnAndroid",
|
|
286
|
+
" REACT_SYNC_METHOD(useOptimisedViewPreallocationOnAndroid) bool useOptimisedViewPreallocationOnAndroid() noexcept { /* implementation */ }\n"
|
|
287
|
+
" REACT_SYNC_METHOD(useOptimisedViewPreallocationOnAndroid) static bool useOptimisedViewPreallocationOnAndroid() noexcept { /* implementation */ }\n");
|
|
288
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
289
|
+
43,
|
|
290
|
+
"useOptimizedEventBatchingOnAndroid",
|
|
291
|
+
" REACT_SYNC_METHOD(useOptimizedEventBatchingOnAndroid) bool useOptimizedEventBatchingOnAndroid() noexcept { /* implementation */ }\n"
|
|
292
|
+
" REACT_SYNC_METHOD(useOptimizedEventBatchingOnAndroid) static bool useOptimizedEventBatchingOnAndroid() noexcept { /* implementation */ }\n");
|
|
293
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
294
|
+
44,
|
|
156
295
|
"useRuntimeShadowNodeReferenceUpdate",
|
|
157
296
|
" REACT_SYNC_METHOD(useRuntimeShadowNodeReferenceUpdate) bool useRuntimeShadowNodeReferenceUpdate() noexcept { /* implementation */ }\n"
|
|
158
297
|
" REACT_SYNC_METHOD(useRuntimeShadowNodeReferenceUpdate) static bool useRuntimeShadowNodeReferenceUpdate() noexcept { /* implementation */ }\n");
|
|
159
298
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
160
|
-
|
|
299
|
+
45,
|
|
161
300
|
"useRuntimeShadowNodeReferenceUpdateOnLayout",
|
|
162
301
|
" REACT_SYNC_METHOD(useRuntimeShadowNodeReferenceUpdateOnLayout) bool useRuntimeShadowNodeReferenceUpdateOnLayout() noexcept { /* implementation */ }\n"
|
|
163
302
|
" REACT_SYNC_METHOD(useRuntimeShadowNodeReferenceUpdateOnLayout) static bool useRuntimeShadowNodeReferenceUpdateOnLayout() noexcept { /* implementation */ }\n");
|
|
164
303
|
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
165
|
-
|
|
304
|
+
46,
|
|
166
305
|
"useStateAlignmentMechanism",
|
|
167
306
|
" REACT_SYNC_METHOD(useStateAlignmentMechanism) bool useStateAlignmentMechanism() noexcept { /* implementation */ }\n"
|
|
168
307
|
" REACT_SYNC_METHOD(useStateAlignmentMechanism) static bool useStateAlignmentMechanism() noexcept { /* implementation */ }\n");
|
|
308
|
+
REACT_SHOW_METHOD_SPEC_ERRORS(
|
|
309
|
+
47,
|
|
310
|
+
"useTurboModuleInterop",
|
|
311
|
+
" REACT_SYNC_METHOD(useTurboModuleInterop) bool useTurboModuleInterop() noexcept { /* implementation */ }\n"
|
|
312
|
+
" REACT_SYNC_METHOD(useTurboModuleInterop) static bool useTurboModuleInterop() noexcept { /* implementation */ }\n");
|
|
169
313
|
}
|
|
170
314
|
};
|
|
171
315
|
|
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
|
|
14
14
|
namespace Microsoft::ReactNativeSpecs {
|
|
15
15
|
|
|
16
|
+
struct SampleTurboModuleSpec_ObjectStruct {
|
|
17
|
+
double a;
|
|
18
|
+
std::string b;
|
|
19
|
+
std::optional<std::string> c;
|
|
20
|
+
};
|
|
21
|
+
|
|
16
22
|
struct SampleTurboModuleSpec_Constants {
|
|
17
23
|
bool const1;
|
|
18
24
|
double const2;
|
|
@@ -20,6 +26,15 @@ struct SampleTurboModuleSpec_Constants {
|
|
|
20
26
|
};
|
|
21
27
|
|
|
22
28
|
|
|
29
|
+
inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(SampleTurboModuleSpec_ObjectStruct*) noexcept {
|
|
30
|
+
winrt::Microsoft::ReactNative::FieldMap fieldMap {
|
|
31
|
+
{L"a", &SampleTurboModuleSpec_ObjectStruct::a},
|
|
32
|
+
{L"b", &SampleTurboModuleSpec_ObjectStruct::b},
|
|
33
|
+
{L"c", &SampleTurboModuleSpec_ObjectStruct::c},
|
|
34
|
+
};
|
|
35
|
+
return fieldMap;
|
|
36
|
+
}
|
|
37
|
+
|
|
23
38
|
inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(SampleTurboModuleSpec_Constants*) noexcept {
|
|
24
39
|
winrt::Microsoft::ReactNative::FieldMap fieldMap {
|
|
25
40
|
{L"const1", &SampleTurboModuleSpec_Constants::const1},
|
|
@@ -52,6 +67,10 @@ struct SampleTurboModuleSpec : winrt::Microsoft::ReactNative::TurboModuleSpec {
|
|
|
52
67
|
Method<void() noexcept>{15, L"voidFuncAssert"},
|
|
53
68
|
SyncMethod<::React::JSValue(::React::JSValue) noexcept>{16, L"getObjectAssert"},
|
|
54
69
|
Method<void(Promise<void>) noexcept>{17, L"promiseAssert"},
|
|
70
|
+
EventEmitter<void(void)>{18, L"onPress"},
|
|
71
|
+
EventEmitter<void(std::string)>{19, L"onClick"},
|
|
72
|
+
EventEmitter<void(SampleTurboModuleSpec_ObjectStruct)>{20, L"onChange"},
|
|
73
|
+
EventEmitter<void(std::vector<SampleTurboModuleSpec_ObjectStruct>)>{21, L"onSubmit"},
|
|
55
74
|
};
|
|
56
75
|
|
|
57
76
|
template <class TModule>
|
|
@@ -155,6 +174,22 @@ struct SampleTurboModuleSpec : winrt::Microsoft::ReactNative::TurboModuleSpec {
|
|
|
155
174
|
"promiseAssert",
|
|
156
175
|
" REACT_METHOD(promiseAssert) void promiseAssert(::React::ReactPromise<void> &&result) noexcept { /* implementation */ }\n"
|
|
157
176
|
" REACT_METHOD(promiseAssert) static void promiseAssert(::React::ReactPromise<void> &&result) noexcept { /* implementation */ }\n");
|
|
177
|
+
REACT_SHOW_EVENTEMITTER_SPEC_ERRORS(
|
|
178
|
+
18,
|
|
179
|
+
"onPress",
|
|
180
|
+
" REACT_EVENT(onPress) std::function<void(void)> onPress;\n");
|
|
181
|
+
REACT_SHOW_EVENTEMITTER_SPEC_ERRORS(
|
|
182
|
+
19,
|
|
183
|
+
"onClick",
|
|
184
|
+
" REACT_EVENT(onClick) std::function<void(std::string)> onClick;\n");
|
|
185
|
+
REACT_SHOW_EVENTEMITTER_SPEC_ERRORS(
|
|
186
|
+
20,
|
|
187
|
+
"onChange",
|
|
188
|
+
" REACT_EVENT(onChange) std::function<void(SampleTurboModuleSpec_ObjectStruct)> onChange;\n");
|
|
189
|
+
REACT_SHOW_EVENTEMITTER_SPEC_ERRORS(
|
|
190
|
+
21,
|
|
191
|
+
"onSubmit",
|
|
192
|
+
" REACT_EVENT(onSubmit) std::function<void(std::vector<SampleTurboModuleSpec_ObjectStruct>)> onSubmit;\n");
|
|
158
193
|
}
|
|
159
194
|
};
|
|
160
195
|
|