react-native-macos 0.73.9 → 0.73.11

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 (44) hide show
  1. package/Libraries/AppDelegate/RCTAppDelegate.mm +5 -1
  2. package/Libraries/Core/ReactNativeVersion.js +1 -1
  3. package/Libraries/Image/RCTUIImageViewAnimated.mm +0 -5
  4. package/Libraries/Network/React-RCTNetwork.podspec +4 -1
  5. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.h +2 -2
  6. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm +9 -111
  7. package/Libraries/Text/React-RCTText.podspec +4 -1
  8. package/Libraries/Text/Text/RCTTextView.mm +7 -15
  9. package/Libraries/Text/TextInput/RCTBaseTextInputView.mm +2 -6
  10. package/Libraries/Text/TextInput/Singleline/macOS/RCTUISecureTextField.h +3 -0
  11. package/Libraries/Text/TextInput/Singleline/macOS/RCTUISecureTextField.m +2 -0
  12. package/React/Base/RCTConvert.m +2 -0
  13. package/React/Base/RCTKeyCommands.m +5 -1
  14. package/React/Base/RCTUtils.h +5 -0
  15. package/React/Base/RCTUtils.m +12 -0
  16. package/React/Base/RCTVersion.m +1 -1
  17. package/React/CoreModules/RCTDeviceInfo.mm +9 -9
  18. package/React/CoreModules/RCTPerfMonitor.mm +5 -1
  19. package/React/CoreModules/RCTRedBox.mm +6 -0
  20. package/React/CoreModules/RCTStatusBarManager.mm +50 -15
  21. package/React/CoreModules/React-CoreModules.podspec +1 -1
  22. package/React/Fabric/Mounting/ComponentViews/InputAccessory/RCTInputAccessoryComponentView.mm +4 -0
  23. package/React/Fabric/Mounting/ComponentViews/Modal/RCTFabricModalHostViewController.mm +8 -0
  24. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +6 -4
  25. package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.mm +7 -15
  26. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +3 -1
  27. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.mm +2 -2
  28. package/React/Fabric/RCTSurfacePointerHandler.mm +8 -1
  29. package/React/Fabric/RCTSurfaceTouchHandler.mm +4 -0
  30. package/React/Modules/RCTUIManager.m +4 -2
  31. package/React/React-RCTFabric.podspec +5 -2
  32. package/React/UIUtils/RCTUIUtils.m +21 -4
  33. package/React/Views/RCTModalHostView.m +2 -0
  34. package/React/Views/RCTModalHostViewController.m +8 -0
  35. package/React/Views/RCTWrapperViewController.m +2 -0
  36. package/React/Views/ScrollView/RCTScrollView.m +4 -0
  37. package/React/Views/ScrollView/RCTScrollViewManager.h +2 -0
  38. package/React/Views/ScrollView/RCTScrollViewManager.m +4 -2
  39. package/React-Core.podspec +1 -1
  40. package/ReactAndroid/gradle.properties +1 -1
  41. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
  42. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  43. package/ReactCommon/react/nativemodule/samples/platform/ios/ReactCommon/RCTSampleTurboModule.mm +4 -0
  44. package/package.json +1 -1
@@ -17,7 +17,7 @@ namespace facebook::react {
17
17
  constexpr struct {
18
18
  int32_t Major = 0;
19
19
  int32_t Minor = 73;
20
- int32_t Patch = 9;
20
+ int32_t Patch = 11;
21
21
  std::string_view Prerelease = "";
22
22
  } ReactNativeVersion;
23
23
 
@@ -46,8 +46,12 @@ RCT_EXPORT_MODULE()
46
46
  __block NSDictionary *constants;
47
47
  RCTUnsafeExecuteOnMainQueueSync(^{
48
48
  #if !TARGET_OS_OSX // [macOS]
49
+ #if !TARGET_OS_VISION // [visionOS]
49
50
  UIScreen *mainScreen = UIScreen.mainScreen;
50
51
  CGSize screenSize = mainScreen.bounds.size;
52
+ #else // [visionOS
53
+ CGSize screenSize = CGSizeZero;
54
+ #endif // visionOS]
51
55
  #else // [macOS
52
56
  NSScreen *mainScreen = NSScreen.mainScreen;
53
57
  CGSize screenSize = mainScreen.frame.size;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-macos",
3
- "version": "0.73.9",
3
+ "version": "0.73.11",
4
4
  "description": "React Native for macOS",
5
5
  "license": "MIT",
6
6
  "repository": {