react-native-windows 0.73.6 → 0.73.7

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.
@@ -0,0 +1,46 @@
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
+ AbsolutePercentageAgainstPaddingEdge = YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge,
21
+ CallMeasureCallbackOnAllNodes = YGExperimentalFeatureCallMeasureCallbackOnAllNodes, // Used just for NetUI - Keep at end of list
22
+ };
23
+
24
+ template <>
25
+ constexpr inline int32_t ordinalCount<ExperimentalFeature>() {
26
+ return 3; // This should be +1 from core due to CallMeasureCallbackOnAllNodes
27
+ }
28
+
29
+ template <>
30
+ constexpr inline int32_t bitCount<ExperimentalFeature>() {
31
+ return 2; // Depending on the number of ExperimentalFeature's this will either match core, or be core+1
32
+ }
33
+
34
+ constexpr inline ExperimentalFeature scopedEnum(YGExperimentalFeature unscoped) {
35
+ return static_cast<ExperimentalFeature>(unscoped);
36
+ }
37
+
38
+ constexpr inline YGExperimentalFeature unscopedEnum(ExperimentalFeature scoped) {
39
+ return static_cast<YGExperimentalFeature>(scoped);
40
+ }
41
+
42
+ inline const char* toString(ExperimentalFeature e) {
43
+ return YGExperimentalFeatureToString(unscopedEnum(e));
44
+ }
45
+
46
+ } // namespace facebook::yoga
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.73.6",
3
+ "version": "0.73.7",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",