react-native-windows 0.76.2 → 0.76.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/Libraries/Components/View/View.windows.js +76 -52
  2. package/Libraries/Modal/Modal.windows.js +352 -0
  3. package/Libraries/Text/Text.windows.js +1 -1
  4. package/Microsoft.ReactNative/CompositionComponentView.idl +2 -1
  5. package/Microsoft.ReactNative/Fabric/AbiComponentDescriptor.cpp +4 -1
  6. package/Microsoft.ReactNative/Fabric/AbiViewComponentDescriptor.cpp +1 -1
  7. package/Microsoft.ReactNative/Fabric/AbiViewProps.cpp +7 -0
  8. package/Microsoft.ReactNative/Fabric/AbiViewProps.h +2 -0
  9. package/Microsoft.ReactNative/Fabric/ComponentView.cpp +45 -50
  10. package/Microsoft.ReactNative/Fabric/ComponentView.h +14 -22
  11. package/Microsoft.ReactNative/Fabric/Composition/BorderPrimitive.cpp +943 -0
  12. package/Microsoft.ReactNative/Fabric/Composition/BorderPrimitive.h +80 -0
  13. package/Microsoft.ReactNative/Fabric/Composition/CompositionDynamicAutomationProvider.cpp +26 -3
  14. package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.cpp +187 -6
  15. package/Microsoft.ReactNative/Fabric/Composition/CompositionEventHandler.h +10 -1
  16. package/Microsoft.ReactNative/Fabric/Composition/CompositionRootAutomationProvider.cpp +8 -32
  17. package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +336 -929
  18. package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.h +32 -29
  19. package/Microsoft.ReactNative/Fabric/Composition/ContentIslandComponentView.cpp +9 -2
  20. package/Microsoft.ReactNative/Fabric/Composition/ContentIslandComponentView.h +2 -1
  21. package/Microsoft.ReactNative/Fabric/Composition/DebuggingOverlayComponentView.cpp +1 -1
  22. package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.cpp +181 -123
  23. package/Microsoft.ReactNative/Fabric/Composition/Modal/WindowsModalHostViewComponentView.h +16 -8
  24. package/Microsoft.ReactNative/Fabric/Composition/ReactCompositionViewComponentBuilder.cpp +99 -37
  25. package/Microsoft.ReactNative/Fabric/Composition/ReactCompositionViewComponentBuilder.h +25 -3
  26. package/Microsoft.ReactNative/Fabric/Composition/ReactNativeIsland.cpp +63 -2
  27. package/Microsoft.ReactNative/Fabric/Composition/ReactNativeIsland.h +12 -0
  28. package/Microsoft.ReactNative/Fabric/Composition/RootComponentView.cpp +51 -3
  29. package/Microsoft.ReactNative/Fabric/Composition/RootComponentView.h +3 -0
  30. package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.cpp +18 -8
  31. package/Microsoft.ReactNative/Fabric/Composition/ScrollViewComponentView.h +3 -0
  32. package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.cpp +54 -5
  33. package/Microsoft.ReactNative/Fabric/Composition/TextInput/WindowsTextInputComponentView.h +8 -0
  34. package/Microsoft.ReactNative/Fabric/Composition/Theme.cpp +9 -3
  35. package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.cpp +11 -0
  36. package/Microsoft.ReactNative/Fabric/Composition/UiaHelpers.h +2 -0
  37. package/Microsoft.ReactNative/Fabric/Composition/UnimplementedNativeViewComponentView.cpp +1 -1
  38. package/Microsoft.ReactNative/Fabric/platform/react/renderer/components/view/HostPlatformViewTraitsInitializer.h +1 -5
  39. package/Microsoft.ReactNative/IReactCompositionViewComponentBuilder.idl +26 -0
  40. package/Microsoft.ReactNative/IReactViewComponentBuilder.idl +1 -1
  41. package/Microsoft.ReactNative/ReactNativeIsland.idl +3 -2
  42. package/Microsoft.ReactNative/ViewProps.idl +2 -0
  43. package/Microsoft.ReactNative.Cxx/ComponentView.Experimental.interop.h +14 -0
  44. package/PropertySheets/Generated/PackageVersion.g.props +3 -3
  45. package/PropertySheets/OutputMSBuildProperties.targets +3 -1
  46. package/PropertySheets/React.Cpp.props +6 -0
  47. package/Shared/Shared.vcxitems +3 -0
  48. package/Shared/Shared.vcxitems.filters +1 -0
  49. package/codegen/NativeAccessibilityInfoSpec.g.h +1 -0
  50. package/codegen/NativeAccessibilityManagerSpec.g.h +1 -0
  51. package/codegen/NativeActionSheetManagerSpec.g.h +1 -0
  52. package/codegen/NativeAlertManagerSpec.g.h +1 -0
  53. package/codegen/NativeAnimatedModuleSpec.g.h +1 -0
  54. package/codegen/NativeAnimatedTurboModuleSpec.g.h +1 -0
  55. package/codegen/NativeAppStateSpec.g.h +1 -0
  56. package/codegen/NativeAppThemeSpec.g.h +1 -0
  57. package/codegen/NativeAppearanceSpec.g.h +1 -0
  58. package/codegen/NativeBlobModuleSpec.g.h +1 -0
  59. package/codegen/NativeBugReportingSpec.g.h +1 -0
  60. package/codegen/NativeClipboardSpec.g.h +1 -0
  61. package/codegen/NativeDOMSpec.g.h +1 -0
  62. package/codegen/NativeDevLoadingViewSpec.g.h +1 -0
  63. package/codegen/NativeDevMenuSpec.g.h +1 -0
  64. package/codegen/NativeDevSettingsSpec.g.h +1 -0
  65. package/codegen/NativeDevToolsSettingsManagerSpec.g.h +1 -0
  66. package/codegen/NativeDeviceEventManagerSpec.g.h +1 -0
  67. package/codegen/NativeDeviceInfoSpec.g.h +1 -0
  68. package/codegen/NativeDialogManagerAndroidSpec.g.h +1 -0
  69. package/codegen/NativeDialogManagerWindowsSpec.g.h +1 -0
  70. package/codegen/NativeExceptionsManagerSpec.g.h +1 -0
  71. package/codegen/NativeFileReaderModuleSpec.g.h +1 -0
  72. package/codegen/NativeFrameRateLoggerSpec.g.h +1 -0
  73. package/codegen/NativeHeadlessJsTaskSupportSpec.g.h +1 -0
  74. package/codegen/NativeI18nManagerSpec.g.h +1 -0
  75. package/codegen/NativeIdleCallbacksSpec.g.h +1 -0
  76. package/codegen/NativeImageEditorSpec.g.h +1 -0
  77. package/codegen/NativeImageLoaderAndroidSpec.g.h +1 -0
  78. package/codegen/NativeImageLoaderIOSSpec.g.h +1 -0
  79. package/codegen/NativeImageStoreAndroidSpec.g.h +1 -0
  80. package/codegen/NativeImageStoreIOSSpec.g.h +1 -0
  81. package/codegen/NativeIntentAndroidSpec.g.h +1 -0
  82. package/codegen/NativeIntersectionObserverSpec.g.h +1 -0
  83. package/codegen/NativeJSCHeapCaptureSpec.g.h +1 -0
  84. package/codegen/NativeJSCSamplingProfilerSpec.g.h +1 -0
  85. package/codegen/NativeKeyboardObserverSpec.g.h +1 -0
  86. package/codegen/NativeLinkingManagerSpec.g.h +1 -0
  87. package/codegen/NativeLogBoxSpec.g.h +1 -0
  88. package/codegen/NativeMicrotasksSpec.g.h +1 -0
  89. package/codegen/NativeModalManagerSpec.g.h +1 -0
  90. package/codegen/NativeMutationObserverSpec.g.h +1 -0
  91. package/codegen/NativeNetworkingAndroidSpec.g.h +1 -0
  92. package/codegen/NativeNetworkingIOSSpec.g.h +1 -0
  93. package/codegen/NativePerformanceObserverSpec.g.h +1 -0
  94. package/codegen/NativePerformanceSpec.g.h +1 -0
  95. package/codegen/NativePermissionsAndroidSpec.g.h +1 -0
  96. package/codegen/NativePlatformConstantsAndroidSpec.g.h +1 -0
  97. package/codegen/NativePlatformConstantsIOSSpec.g.h +1 -0
  98. package/codegen/NativePlatformConstantsWindowsSpec.g.h +1 -0
  99. package/codegen/NativePushNotificationManagerIOSSpec.g.h +1 -0
  100. package/codegen/NativeReactNativeFeatureFlagsSpec.g.h +1 -0
  101. package/codegen/NativeRedBoxSpec.g.h +1 -0
  102. package/codegen/NativeSampleTurboModuleSpec.g.h +1 -0
  103. package/codegen/NativeSegmentFetcherSpec.g.h +1 -0
  104. package/codegen/NativeSettingsManagerSpec.g.h +1 -0
  105. package/codegen/NativeShareModuleSpec.g.h +1 -0
  106. package/codegen/NativeSoundManagerSpec.g.h +1 -0
  107. package/codegen/NativeSourceCodeSpec.g.h +1 -0
  108. package/codegen/NativeStatusBarManagerAndroidSpec.g.h +1 -0
  109. package/codegen/NativeStatusBarManagerIOSSpec.g.h +1 -0
  110. package/codegen/NativeTimingSpec.g.h +1 -0
  111. package/codegen/NativeToastAndroidSpec.g.h +1 -0
  112. package/codegen/NativeUIManagerSpec.g.h +1 -0
  113. package/codegen/NativeVibrationSpec.g.h +1 -0
  114. package/codegen/NativeWebSocketModuleSpec.g.h +1 -0
  115. package/package.json +3 -3
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
@@ -7,6 +7,7 @@
7
7
  * by the TurboModule JS spec.
8
8
  */
9
9
  #pragma once
10
+ // clang-format off
10
11
 
11
12
  #include <NativeModules.h>
12
13
  #include <tuple>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.76.2",
3
+ "version": "0.76.4",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,7 +26,7 @@
26
26
  "@react-native-community/cli": "15.0.0-alpha.2",
27
27
  "@react-native-community/cli-platform-android": "15.0.0-alpha.2",
28
28
  "@react-native-community/cli-platform-ios": "15.0.0-alpha.2",
29
- "@react-native-windows/cli": "0.76.0",
29
+ "@react-native-windows/cli": "0.76.2",
30
30
  "@react-native/assets": "1.0.0",
31
31
  "@react-native/assets-registry": "0.76.2",
32
32
  "@react-native/codegen": "0.76.2",
@@ -69,7 +69,7 @@
69
69
  "yargs": "^17.6.2"
70
70
  },
71
71
  "devDependencies": {
72
- "@react-native-windows/codegen": "0.76.0",
72
+ "@react-native-windows/codegen": "0.76.1",
73
73
  "@react-native/metro-config": "0.76.2",
74
74
  "@rnw-scripts/babel-react-native-config": "0.0.0",
75
75
  "@rnw-scripts/eslint-config": "1.2.27",