react-native-windows 0.73.6 → 0.73.8

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.
@@ -337,7 +337,9 @@ void UISchedulerWinRT<TDispatcherTraits>::Shutdown() noexcept {
337
337
  template <typename TDispatcherTraits>
338
338
  void UISchedulerWinRT<TDispatcherTraits>::AwaitTermination() noexcept {
339
339
  Shutdown();
340
- m_terminationEvent.Wait();
340
+ if (m_threadId != std::this_thread::get_id()) {
341
+ m_terminationEvent.Wait();
342
+ }
341
343
  }
342
344
 
343
345
  template <typename TDispatcherTraits>
@@ -411,7 +413,7 @@ void UISchedulerWinRT<TDispatcherTraits>::CleanupContext::CheckTermination() noe
411
413
  }
412
414
 
413
415
  //=============================================================================
414
- // DispatchQueueStatic::MakeCurrentThreadUIScheduler implementation
416
+ // DispatchQueueStatic::GetCurrentUIThreadQueue implementation
415
417
  //=============================================================================
416
418
 
417
419
  DispatchQueue DispatchQueueStatic::GetCurrentUIThreadQueue() noexcept {
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.73.6</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.73.8</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>73</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>6</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>8</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>d1b6abda55649a09a35f36da61b5b184089b0db9</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>5c050b043c55972dfe468590af39101e74510924</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
@@ -0,0 +1,142 @@
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
+ #include <yoga/YGMacros.h>
12
+
13
+ YG_EXTERN_C_BEGIN
14
+
15
+ YG_ENUM_SEQ_DECL(
16
+ YGAlign,
17
+ YGAlignAuto,
18
+ YGAlignFlexStart,
19
+ YGAlignCenter,
20
+ YGAlignFlexEnd,
21
+ YGAlignStretch,
22
+ YGAlignBaseline,
23
+ YGAlignSpaceBetween,
24
+ YGAlignSpaceAround)
25
+
26
+ YG_ENUM_SEQ_DECL(
27
+ YGDimension,
28
+ YGDimensionWidth,
29
+ YGDimensionHeight)
30
+
31
+ YG_ENUM_SEQ_DECL(
32
+ YGDirection,
33
+ YGDirectionInherit,
34
+ YGDirectionLTR,
35
+ YGDirectionRTL)
36
+
37
+ YG_ENUM_SEQ_DECL(
38
+ YGDisplay,
39
+ YGDisplayFlex,
40
+ YGDisplayNone)
41
+
42
+ YG_ENUM_SEQ_DECL(
43
+ YGEdge,
44
+ YGEdgeLeft,
45
+ YGEdgeTop,
46
+ YGEdgeRight,
47
+ YGEdgeBottom,
48
+ YGEdgeStart,
49
+ YGEdgeEnd,
50
+ YGEdgeHorizontal,
51
+ YGEdgeVertical,
52
+ YGEdgeAll)
53
+
54
+ YG_ENUM_DECL(
55
+ YGErrata,
56
+ YGErrataNone = 0,
57
+ YGErrataStretchFlexBasis = 1,
58
+ YGErrataAll = 2147483647,
59
+ YGErrataClassic = 2147483646)
60
+ YG_DEFINE_ENUM_FLAG_OPERATORS(YGErrata)
61
+
62
+ YG_ENUM_SEQ_DECL(
63
+ YGExperimentalFeature,
64
+ YGExperimentalFeatureWebFlexBasis,
65
+ YGExperimentalFeatureAbsolutePercentageAgainstPaddingEdge,
66
+ YGExperimentalFeatureCallMeasureCallbackOnAllNodes) // [Win] - Only used within NetUI in Office - Keep this flag at the end of the enum
67
+
68
+ YG_ENUM_SEQ_DECL(
69
+ YGFlexDirection,
70
+ YGFlexDirectionColumn,
71
+ YGFlexDirectionColumnReverse,
72
+ YGFlexDirectionRow,
73
+ YGFlexDirectionRowReverse)
74
+
75
+ YG_ENUM_SEQ_DECL(
76
+ YGGutter,
77
+ YGGutterColumn,
78
+ YGGutterRow,
79
+ YGGutterAll)
80
+
81
+ YG_ENUM_SEQ_DECL(
82
+ YGJustify,
83
+ YGJustifyFlexStart,
84
+ YGJustifyCenter,
85
+ YGJustifyFlexEnd,
86
+ YGJustifySpaceBetween,
87
+ YGJustifySpaceAround,
88
+ YGJustifySpaceEvenly)
89
+
90
+ YG_ENUM_SEQ_DECL(
91
+ YGLogLevel,
92
+ YGLogLevelError,
93
+ YGLogLevelWarn,
94
+ YGLogLevelInfo,
95
+ YGLogLevelDebug,
96
+ YGLogLevelVerbose,
97
+ YGLogLevelFatal)
98
+
99
+ YG_ENUM_SEQ_DECL(
100
+ YGMeasureMode,
101
+ YGMeasureModeUndefined,
102
+ YGMeasureModeExactly,
103
+ YGMeasureModeAtMost)
104
+
105
+ YG_ENUM_SEQ_DECL(
106
+ YGNodeType,
107
+ YGNodeTypeDefault,
108
+ YGNodeTypeText)
109
+
110
+ YG_ENUM_SEQ_DECL(
111
+ YGOverflow,
112
+ YGOverflowVisible,
113
+ YGOverflowHidden,
114
+ YGOverflowScroll)
115
+
116
+ YG_ENUM_SEQ_DECL(
117
+ YGPositionType,
118
+ YGPositionTypeStatic,
119
+ YGPositionTypeRelative,
120
+ YGPositionTypeAbsolute)
121
+
122
+ YG_ENUM_DECL(
123
+ YGPrintOptions,
124
+ YGPrintOptionsLayout = 1,
125
+ YGPrintOptionsStyle = 2,
126
+ YGPrintOptionsChildren = 4)
127
+ YG_DEFINE_ENUM_FLAG_OPERATORS(YGPrintOptions)
128
+
129
+ YG_ENUM_SEQ_DECL(
130
+ YGUnit,
131
+ YGUnitUndefined,
132
+ YGUnitPoint,
133
+ YGUnitPercent,
134
+ YGUnitAuto)
135
+
136
+ YG_ENUM_SEQ_DECL(
137
+ YGWrap,
138
+ YGWrapNoWrap,
139
+ YGWrapWrap,
140
+ YGWrapWrapReverse)
141
+
142
+ YG_EXTERN_C_END