react-native-macos 0.72.14 → 0.72.16

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 (72) hide show
  1. package/Libraries/AppDelegate/RCTAppDelegate.h +2 -1
  2. package/Libraries/AppDelegate/RCTAppDelegate.mm +17 -1
  3. package/Libraries/Core/ReactNativeVersion.js +1 -1
  4. package/Libraries/Image/RCTUIImageViewAnimated.m +0 -5
  5. package/Libraries/Network/React-RCTNetwork.podspec +4 -1
  6. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.h +2 -2
  7. package/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm +9 -111
  8. package/Libraries/Text/React-RCTText.podspec +1 -0
  9. package/Libraries/Text/Text/RCTTextView.m +7 -15
  10. package/Libraries/Text/TextInput/RCTBaseTextInputView.m +2 -6
  11. package/Libraries/Text/TextInput/Singleline/macOS/RCTUISecureTextField.h +3 -0
  12. package/Libraries/Text/TextInput/Singleline/macOS/RCTUISecureTextField.m +2 -0
  13. package/React/Base/RCTConstants.h +2 -0
  14. package/React/Base/RCTConstants.m +2 -0
  15. package/React/Base/RCTConvert.m +2 -0
  16. package/React/Base/RCTKeyCommands.m +5 -1
  17. package/React/Base/RCTRootContentView.m +2 -6
  18. package/React/Base/RCTUIKit.h +4 -2
  19. package/React/Base/RCTUtils.h +8 -3
  20. package/React/Base/RCTUtils.m +19 -3
  21. package/React/Base/RCTVersion.m +1 -1
  22. package/React/Base/macOS/RCTUIKit.m +8 -4
  23. package/React/CoreModules/RCTDeviceInfo.h +0 -7
  24. package/React/CoreModules/RCTDeviceInfo.mm +41 -47
  25. package/React/CoreModules/RCTPerfMonitor.mm +7 -1
  26. package/React/CoreModules/RCTRedBox.mm +6 -0
  27. package/React/CoreModules/RCTStatusBarManager.mm +50 -15
  28. package/React/CoreModules/React-CoreModules.podspec +1 -1
  29. package/React/Fabric/Mounting/ComponentViews/ActivityIndicator/RCTActivityIndicatorViewComponentView.mm +8 -0
  30. package/React/Fabric/Mounting/ComponentViews/InputAccessory/RCTInputAccessoryComponentView.mm +4 -0
  31. package/React/Fabric/Mounting/ComponentViews/Modal/RCTFabricModalHostViewController.mm +8 -0
  32. package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +6 -4
  33. package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.mm +7 -15
  34. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +3 -1
  35. package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.mm +2 -2
  36. package/React/Fabric/RCTSurfacePointerHandler.mm +8 -1
  37. package/React/Fabric/RCTSurfaceTouchHandler.mm +4 -0
  38. package/React/Modules/RCTUIManager.m +4 -2
  39. package/React/UIUtils/RCTUIUtils.h +0 -4
  40. package/React/UIUtils/RCTUIUtils.m +39 -45
  41. package/React/Views/RCTActivityIndicatorView.m +8 -4
  42. package/React/Views/RCTActivityIndicatorViewManager.m +11 -1
  43. package/React/Views/RCTModalHostView.m +2 -0
  44. package/React/Views/RCTModalHostViewController.m +8 -0
  45. package/React/Views/RCTWrapperViewController.m +2 -0
  46. package/React/Views/ScrollView/RCTScrollView.m +4 -0
  47. package/React/Views/ScrollView/RCTScrollViewManager.h +2 -0
  48. package/React/Views/ScrollView/RCTScrollViewManager.m +4 -2
  49. package/React-Core.podspec +1 -1
  50. package/ReactAndroid/gradle.properties +1 -1
  51. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
  52. package/ReactAndroid/src/main/jni/third-party/fmt/CMakeLists.txt +1 -1
  53. package/ReactCommon/React-Fabric.podspec +1 -0
  54. package/ReactCommon/ReactCommon.podspec +1 -0
  55. package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -0
  56. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  57. package/ReactCommon/hermes/React-hermes.podspec +1 -0
  58. package/ReactCommon/jsi/React-jsi.podspec +1 -0
  59. package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -0
  60. package/ReactCommon/react/bridging/Base.h +2 -3
  61. package/ReactCommon/react/bridging/Function.h +7 -10
  62. package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp +0 -1
  63. package/ReactCommon/react/nativemodule/samples/platform/ios/ReactCommon/RCTSampleTurboModule.mm +4 -0
  64. package/package.json +1 -1
  65. package/scripts/cocoapods/helpers.rb +5 -0
  66. package/scripts/cocoapods/utils.rb +1 -0
  67. package/scripts/react_native_pods.rb +9 -1
  68. package/template/package.json +1 -1
  69. package/third-party-podspecs/RCT-Folly.podspec +1 -1
  70. package/third-party-podspecs/SocketRocket.podspec +30 -0
  71. package/third-party-podspecs/fmt.podspec +25 -0
  72. package/ReactCommon/butter/function.h +0 -51
@@ -1,51 +0,0 @@
1
- /*
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- #pragma once
9
-
10
- #include <butter/butter.h>
11
-
12
- #if ( \
13
- defined(BUTTER_FUNCTION_OVERRIDE_INCLUDE) && \
14
- defined(BUTTER_FUNCTION_OVERRIDE))
15
-
16
- #include BUTTER_FUNCTION_OVERRIDE_INCLUDE
17
-
18
- #elif defined(BUTTER_USE_FOLLY_CONTAINERS)
19
-
20
- #include <folly/Function.h>
21
-
22
- #else
23
-
24
- #include <functional>
25
-
26
- #endif
27
-
28
- namespace facebook {
29
- namespace butter {
30
-
31
- #if ( \
32
- defined(BUTTER_FUNCTION_OVERRIDE_INCLUDE) && \
33
- defined(BUTTER_FUNCTION_OVERRIDE))
34
-
35
- template <typename... Ts>
36
- using function = BUTTER_FUNCTION_OVERRIDE<Ts...>;
37
-
38
- #elif defined(BUTTER_USE_FOLLY_CONTAINERS)
39
-
40
- template <typename... Ts>
41
- using function = folly::Function<Ts...>;
42
-
43
- #else
44
-
45
- template <typename... Ts>
46
- using function = std::function<Ts...>;
47
-
48
- #endif
49
-
50
- } // namespace butter
51
- } // namespace facebook