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.
- package/Libraries/AppDelegate/RCTAppDelegate.h +2 -1
- package/Libraries/AppDelegate/RCTAppDelegate.mm +17 -1
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Image/RCTUIImageViewAnimated.m +0 -5
- package/Libraries/Network/React-RCTNetwork.podspec +4 -1
- package/Libraries/PushNotificationIOS/RCTPushNotificationManager.h +2 -2
- package/Libraries/PushNotificationIOS/RCTPushNotificationManager.mm +9 -111
- package/Libraries/Text/React-RCTText.podspec +1 -0
- package/Libraries/Text/Text/RCTTextView.m +7 -15
- package/Libraries/Text/TextInput/RCTBaseTextInputView.m +2 -6
- package/Libraries/Text/TextInput/Singleline/macOS/RCTUISecureTextField.h +3 -0
- package/Libraries/Text/TextInput/Singleline/macOS/RCTUISecureTextField.m +2 -0
- package/React/Base/RCTConstants.h +2 -0
- package/React/Base/RCTConstants.m +2 -0
- package/React/Base/RCTConvert.m +2 -0
- package/React/Base/RCTKeyCommands.m +5 -1
- package/React/Base/RCTRootContentView.m +2 -6
- package/React/Base/RCTUIKit.h +4 -2
- package/React/Base/RCTUtils.h +8 -3
- package/React/Base/RCTUtils.m +19 -3
- package/React/Base/RCTVersion.m +1 -1
- package/React/Base/macOS/RCTUIKit.m +8 -4
- package/React/CoreModules/RCTDeviceInfo.h +0 -7
- package/React/CoreModules/RCTDeviceInfo.mm +41 -47
- package/React/CoreModules/RCTPerfMonitor.mm +7 -1
- package/React/CoreModules/RCTRedBox.mm +6 -0
- package/React/CoreModules/RCTStatusBarManager.mm +50 -15
- package/React/CoreModules/React-CoreModules.podspec +1 -1
- package/React/Fabric/Mounting/ComponentViews/ActivityIndicator/RCTActivityIndicatorViewComponentView.mm +8 -0
- package/React/Fabric/Mounting/ComponentViews/InputAccessory/RCTInputAccessoryComponentView.mm +4 -0
- package/React/Fabric/Mounting/ComponentViews/Modal/RCTFabricModalHostViewController.mm +8 -0
- package/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +6 -4
- package/React/Fabric/Mounting/ComponentViews/Text/RCTParagraphComponentView.mm +7 -15
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputComponentView.mm +3 -1
- package/React/Fabric/Mounting/ComponentViews/TextInput/RCTTextInputUtils.mm +2 -2
- package/React/Fabric/RCTSurfacePointerHandler.mm +8 -1
- package/React/Fabric/RCTSurfaceTouchHandler.mm +4 -0
- package/React/Modules/RCTUIManager.m +4 -2
- package/React/UIUtils/RCTUIUtils.h +0 -4
- package/React/UIUtils/RCTUIUtils.m +39 -45
- package/React/Views/RCTActivityIndicatorView.m +8 -4
- package/React/Views/RCTActivityIndicatorViewManager.m +11 -1
- package/React/Views/RCTModalHostView.m +2 -0
- package/React/Views/RCTModalHostViewController.m +8 -0
- package/React/Views/RCTWrapperViewController.m +2 -0
- package/React/Views/ScrollView/RCTScrollView.m +4 -0
- package/React/Views/ScrollView/RCTScrollViewManager.h +2 -0
- package/React/Views/ScrollView/RCTScrollViewManager.m +4 -2
- package/React-Core.podspec +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactAndroid/src/main/jni/third-party/fmt/CMakeLists.txt +1 -1
- package/ReactCommon/React-Fabric.podspec +1 -0
- package/ReactCommon/ReactCommon.podspec +1 -0
- package/ReactCommon/cxxreact/React-cxxreact.podspec +1 -0
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/hermes/React-hermes.podspec +1 -0
- package/ReactCommon/jsi/React-jsi.podspec +1 -0
- package/ReactCommon/jsiexecutor/React-jsiexecutor.podspec +1 -0
- package/ReactCommon/react/bridging/Base.h +2 -3
- package/ReactCommon/react/bridging/Function.h +7 -10
- package/ReactCommon/react/nativemodule/core/platform/android/ReactCommon/JavaTurboModule.cpp +0 -1
- package/ReactCommon/react/nativemodule/samples/platform/ios/ReactCommon/RCTSampleTurboModule.mm +4 -0
- package/package.json +1 -1
- package/scripts/cocoapods/helpers.rb +5 -0
- package/scripts/cocoapods/utils.rb +1 -0
- package/scripts/react_native_pods.rb +9 -1
- package/template/package.json +1 -1
- package/third-party-podspecs/RCT-Folly.podspec +1 -1
- package/third-party-podspecs/SocketRocket.podspec +30 -0
- package/third-party-podspecs/fmt.podspec +25 -0
- 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
|