react-native-windows 0.81.0 → 0.81.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/Microsoft.ReactNative.Cxx/ReactCommon/react/bridging/HighResTimeStamp.h +41 -0
- package/Microsoft.ReactNative.Cxx/ReactCommon/react/timing/primitives.h +298 -0
- package/PropertySheets/Generated/PackageVersion.g.props +3 -3
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/YGEnums.h +146 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/algorithm/CalculateLayout.cpp +2435 -0
- package/ReactCommon/TEMP_UntilReactCommonUpdate/yoga/yoga/enums/ExperimentalFeature.h +40 -0
- package/Scripts/Tfs/Layout-MSRN-Headers.ps1 +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
// @generated by enums.py
|
|
9
|
+
// clang-format off
|
|
10
|
+
#pragma once
|
|
11
|
+
|
|
12
|
+
#include <cstdint>
|
|
13
|
+
#include <yoga/YGEnums.h>
|
|
14
|
+
#include <yoga/enums/YogaEnums.h>
|
|
15
|
+
|
|
16
|
+
namespace facebook::yoga {
|
|
17
|
+
|
|
18
|
+
enum class ExperimentalFeature : uint8_t {
|
|
19
|
+
WebFlexBasis = YGExperimentalFeatureWebFlexBasis,
|
|
20
|
+
CallMeasureCallbackOnAllNodes = YGExperimentalFeatureCallMeasureCallbackOnAllNodes, // Used just for NetUI - Keep at end of list
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
template <>
|
|
24
|
+
constexpr int32_t ordinalCount<ExperimentalFeature>() {
|
|
25
|
+
return 2; // This should be +1 from core due to CallMeasureCallbackOnAllNodes
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
constexpr ExperimentalFeature scopedEnum(YGExperimentalFeature unscoped) {
|
|
29
|
+
return static_cast<ExperimentalFeature>(unscoped);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
constexpr YGExperimentalFeature unscopedEnum(ExperimentalFeature scoped) {
|
|
33
|
+
return static_cast<YGExperimentalFeature>(scoped);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
inline const char* toString(ExperimentalFeature e) {
|
|
37
|
+
return YGExperimentalFeatureToString(unscopedEnum(e));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
} // namespace facebook::yoga
|
|
@@ -99,6 +99,7 @@ New-Item -ItemType Directory -Path $MSRNCxxTargetRoot\ReactCommon -Force
|
|
|
99
99
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\callinvoker\ReactCommon\CallInvoker.h -Destination $MSRNCxxTargetRoot\ReactCommon\
|
|
100
100
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\callinvoker\ReactCommon\SchedulerPriority.h -Destination $MSRNCxxTargetRoot\ReactCommon\
|
|
101
101
|
New-Item -ItemType Directory -Path $MSRNCxxTargetRoot\ReactCommon\react\bridging -Force
|
|
102
|
+
New-Item -ItemType Directory -Path $MSRNCxxTargetRoot\ReactCommon\react\timing -Force
|
|
102
103
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\Array.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
103
104
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\AString.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
104
105
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\Base.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
@@ -110,12 +111,14 @@ Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\Convert.h -De
|
|
|
110
111
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\Error.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
111
112
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\EventEmitter.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
112
113
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\Function.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
114
|
+
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\HighResTimeStamp.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
113
115
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\Number.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
114
116
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\LongLivedObject.cpp -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
115
117
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\LongLivedObject.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
116
118
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\Object.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
117
119
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\Promise.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
118
120
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\bridging\Value.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\bridging\
|
|
121
|
+
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\timing\primitives.h -Destination $MSRNCxxTargetRoot\ReactCommon\react\timing\
|
|
119
122
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\nativemodule\core\ReactCommon\TurboModule.cpp -Destination $MSRNCxxTargetRoot\ReactCommon\
|
|
120
123
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\nativemodule\core\ReactCommon\TurboModule.h -Destination $MSRNCxxTargetRoot\ReactCommon\
|
|
121
124
|
Copy-Item -Force -Path $ReactNativeRoot\ReactCommon\react\nativemodule\core\ReactCommon\TurboModuleUtils.cpp -Destination $MSRNCxxTargetRoot\ReactCommon\
|