react-native-windows 0.74.36 → 0.74.37
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/Fabric/AbiViewProps.cpp +8 -10
- package/Microsoft.ReactNative/Fabric/Composition/CompositionViewComponentView.cpp +1 -1
- package/Microsoft.ReactNative/Fabric/Composition/TooltipService.cpp +41 -37
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/HostPlatformColor.h +3 -8
- package/Microsoft.ReactNative/Fabric/platform/react/renderer/graphics/PlatformColorParser.h +0 -1
- package/Microsoft.ReactNative.Cxx/NativeModules.h +9 -0
- package/PropertySheets/Generated/PackageVersion.g.props +3 -3
- package/Shared/Networking/WinRTWebSocketResource.cpp +371 -6
- package/Shared/Networking/WinRTWebSocketResource.h +118 -0
- package/codegen/react/components/rnwcore/ActivityIndicatorView.g.h +6 -6
- package/codegen/react/components/rnwcore/AndroidDrawerLayout.g.h +6 -6
- package/codegen/react/components/rnwcore/AndroidHorizontalScrollContentView.g.h +6 -6
- package/codegen/react/components/rnwcore/AndroidProgressBar.g.h +6 -6
- package/codegen/react/components/rnwcore/AndroidSwipeRefreshLayout.g.h +6 -6
- package/codegen/react/components/rnwcore/AndroidSwitch.g.h +6 -6
- package/codegen/react/components/rnwcore/DebuggingOverlay.g.h +6 -6
- package/codegen/react/components/rnwcore/InputAccessory.g.h +6 -6
- package/codegen/react/components/rnwcore/ModalHostView.g.h +6 -6
- package/codegen/react/components/rnwcore/PullToRefreshView.g.h +6 -6
- package/codegen/react/components/rnwcore/SafeAreaView.g.h +6 -6
- package/codegen/react/components/rnwcore/Switch.g.h +6 -6
- package/codegen/react/components/rnwcore/UnimplementedNativeView.g.h +6 -6
- package/package.json +3 -3
|
@@ -175,7 +175,7 @@ void RegisterPullToRefreshViewNativeComponent(
|
|
|
175
175
|
userData->UpdateEventEmitter(std::make_shared<PullToRefreshViewEventEmitter>(eventEmitter));
|
|
176
176
|
});
|
|
177
177
|
|
|
178
|
-
if
|
|
178
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::FinalizeUpdate != &BasePullToRefreshView<TUserData>::FinalizeUpdate) {
|
|
179
179
|
builder.SetFinalizeUpdateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
180
180
|
winrt::Microsoft::ReactNative::ComponentViewUpdateMask mask) noexcept {
|
|
181
181
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -183,7 +183,7 @@ void RegisterPullToRefreshViewNativeComponent(
|
|
|
183
183
|
});
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
if
|
|
186
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UpdateState != &BasePullToRefreshView<TUserData>::UpdateState) {
|
|
187
187
|
builder.SetUpdateStateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
188
188
|
const winrt::Microsoft::ReactNative::IComponentState &newState) noexcept {
|
|
189
189
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -197,7 +197,7 @@ void RegisterPullToRefreshViewNativeComponent(
|
|
|
197
197
|
userData->HandleCommand(view, args);
|
|
198
198
|
});
|
|
199
199
|
|
|
200
|
-
if
|
|
200
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::MountChildComponentView != &BasePullToRefreshView<TUserData>::MountChildComponentView) {
|
|
201
201
|
builder.SetMountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
202
202
|
const winrt::Microsoft::ReactNative::MountChildComponentViewArgs &args) noexcept {
|
|
203
203
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -205,7 +205,7 @@ void RegisterPullToRefreshViewNativeComponent(
|
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
if
|
|
208
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UnmountChildComponentView != &BasePullToRefreshView<TUserData>::UnmountChildComponentView) {
|
|
209
209
|
builder.SetUnmountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
210
210
|
const winrt::Microsoft::ReactNative::UnmountChildComponentViewArgs &args) noexcept {
|
|
211
211
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -215,13 +215,13 @@ void RegisterPullToRefreshViewNativeComponent(
|
|
|
215
215
|
|
|
216
216
|
compBuilder.SetViewComponentViewInitializer([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept {
|
|
217
217
|
auto userData = winrt::make_self<TUserData>();
|
|
218
|
-
if
|
|
218
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::Initialize != &BasePullToRefreshView<TUserData>::Initialize) {
|
|
219
219
|
userData->Initialize(view);
|
|
220
220
|
}
|
|
221
221
|
view.UserData(*userData);
|
|
222
222
|
});
|
|
223
223
|
|
|
224
|
-
if
|
|
224
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::CreateVisual != &BasePullToRefreshView<TUserData>::CreateVisual) {
|
|
225
225
|
compBuilder.SetCreateVisualHandler([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept {
|
|
226
226
|
auto userData = view.UserData().as<TUserData>();
|
|
227
227
|
return userData->CreateVisual(view);
|
|
@@ -132,7 +132,7 @@ void RegisterSafeAreaViewNativeComponent(
|
|
|
132
132
|
userData->UpdateEventEmitter(std::make_shared<SafeAreaViewEventEmitter>(eventEmitter));
|
|
133
133
|
});
|
|
134
134
|
|
|
135
|
-
if
|
|
135
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::FinalizeUpdate != &BaseSafeAreaView<TUserData>::FinalizeUpdate) {
|
|
136
136
|
builder.SetFinalizeUpdateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
137
137
|
winrt::Microsoft::ReactNative::ComponentViewUpdateMask mask) noexcept {
|
|
138
138
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -140,7 +140,7 @@ void RegisterSafeAreaViewNativeComponent(
|
|
|
140
140
|
});
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
if
|
|
143
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UpdateState != &BaseSafeAreaView<TUserData>::UpdateState) {
|
|
144
144
|
builder.SetUpdateStateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
145
145
|
const winrt::Microsoft::ReactNative::IComponentState &newState) noexcept {
|
|
146
146
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -148,7 +148,7 @@ void RegisterSafeAreaViewNativeComponent(
|
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
if
|
|
151
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::MountChildComponentView != &BaseSafeAreaView<TUserData>::MountChildComponentView) {
|
|
152
152
|
builder.SetMountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
153
153
|
const winrt::Microsoft::ReactNative::MountChildComponentViewArgs &args) noexcept {
|
|
154
154
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -156,7 +156,7 @@ void RegisterSafeAreaViewNativeComponent(
|
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
if
|
|
159
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UnmountChildComponentView != &BaseSafeAreaView<TUserData>::UnmountChildComponentView) {
|
|
160
160
|
builder.SetUnmountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
161
161
|
const winrt::Microsoft::ReactNative::UnmountChildComponentViewArgs &args) noexcept {
|
|
162
162
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -166,13 +166,13 @@ void RegisterSafeAreaViewNativeComponent(
|
|
|
166
166
|
|
|
167
167
|
compBuilder.SetViewComponentViewInitializer([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept {
|
|
168
168
|
auto userData = winrt::make_self<TUserData>();
|
|
169
|
-
if
|
|
169
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::Initialize != &BaseSafeAreaView<TUserData>::Initialize) {
|
|
170
170
|
userData->Initialize(view);
|
|
171
171
|
}
|
|
172
172
|
view.UserData(*userData);
|
|
173
173
|
});
|
|
174
174
|
|
|
175
|
-
if
|
|
175
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::CreateVisual != &BaseSafeAreaView<TUserData>::CreateVisual) {
|
|
176
176
|
compBuilder.SetCreateVisualHandler([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept {
|
|
177
177
|
auto userData = view.UserData().as<TUserData>();
|
|
178
178
|
return userData->CreateVisual(view);
|
|
@@ -192,7 +192,7 @@ void RegisterSwitchNativeComponent(
|
|
|
192
192
|
userData->UpdateEventEmitter(std::make_shared<SwitchEventEmitter>(eventEmitter));
|
|
193
193
|
});
|
|
194
194
|
|
|
195
|
-
if
|
|
195
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::FinalizeUpdate != &BaseSwitch<TUserData>::FinalizeUpdate) {
|
|
196
196
|
builder.SetFinalizeUpdateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
197
197
|
winrt::Microsoft::ReactNative::ComponentViewUpdateMask mask) noexcept {
|
|
198
198
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -200,7 +200,7 @@ void RegisterSwitchNativeComponent(
|
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
if
|
|
203
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UpdateState != &BaseSwitch<TUserData>::UpdateState) {
|
|
204
204
|
builder.SetUpdateStateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
205
205
|
const winrt::Microsoft::ReactNative::IComponentState &newState) noexcept {
|
|
206
206
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -214,7 +214,7 @@ void RegisterSwitchNativeComponent(
|
|
|
214
214
|
userData->HandleCommand(view, args);
|
|
215
215
|
});
|
|
216
216
|
|
|
217
|
-
if
|
|
217
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::MountChildComponentView != &BaseSwitch<TUserData>::MountChildComponentView) {
|
|
218
218
|
builder.SetMountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
219
219
|
const winrt::Microsoft::ReactNative::MountChildComponentViewArgs &args) noexcept {
|
|
220
220
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -222,7 +222,7 @@ void RegisterSwitchNativeComponent(
|
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
if
|
|
225
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UnmountChildComponentView != &BaseSwitch<TUserData>::UnmountChildComponentView) {
|
|
226
226
|
builder.SetUnmountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
227
227
|
const winrt::Microsoft::ReactNative::UnmountChildComponentViewArgs &args) noexcept {
|
|
228
228
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -232,13 +232,13 @@ void RegisterSwitchNativeComponent(
|
|
|
232
232
|
|
|
233
233
|
compBuilder.SetViewComponentViewInitializer([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept {
|
|
234
234
|
auto userData = winrt::make_self<TUserData>();
|
|
235
|
-
if
|
|
235
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::Initialize != &BaseSwitch<TUserData>::Initialize) {
|
|
236
236
|
userData->Initialize(view);
|
|
237
237
|
}
|
|
238
238
|
view.UserData(*userData);
|
|
239
239
|
});
|
|
240
240
|
|
|
241
|
-
if
|
|
241
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::CreateVisual != &BaseSwitch<TUserData>::CreateVisual) {
|
|
242
242
|
compBuilder.SetCreateVisualHandler([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept {
|
|
243
243
|
auto userData = view.UserData().as<TUserData>();
|
|
244
244
|
return userData->CreateVisual(view);
|
|
@@ -135,7 +135,7 @@ void RegisterUnimplementedNativeViewNativeComponent(
|
|
|
135
135
|
userData->UpdateEventEmitter(std::make_shared<UnimplementedNativeViewEventEmitter>(eventEmitter));
|
|
136
136
|
});
|
|
137
137
|
|
|
138
|
-
if
|
|
138
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::FinalizeUpdate != &BaseUnimplementedNativeView<TUserData>::FinalizeUpdate) {
|
|
139
139
|
builder.SetFinalizeUpdateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
140
140
|
winrt::Microsoft::ReactNative::ComponentViewUpdateMask mask) noexcept {
|
|
141
141
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -143,7 +143,7 @@ void RegisterUnimplementedNativeViewNativeComponent(
|
|
|
143
143
|
});
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
if
|
|
146
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UpdateState != &BaseUnimplementedNativeView<TUserData>::UpdateState) {
|
|
147
147
|
builder.SetUpdateStateHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
148
148
|
const winrt::Microsoft::ReactNative::IComponentState &newState) noexcept {
|
|
149
149
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -151,7 +151,7 @@ void RegisterUnimplementedNativeViewNativeComponent(
|
|
|
151
151
|
});
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
if
|
|
154
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::MountChildComponentView != &BaseUnimplementedNativeView<TUserData>::MountChildComponentView) {
|
|
155
155
|
builder.SetMountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
156
156
|
const winrt::Microsoft::ReactNative::MountChildComponentViewArgs &args) noexcept {
|
|
157
157
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -159,7 +159,7 @@ void RegisterUnimplementedNativeViewNativeComponent(
|
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
if
|
|
162
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::UnmountChildComponentView != &BaseUnimplementedNativeView<TUserData>::UnmountChildComponentView) {
|
|
163
163
|
builder.SetUnmountChildComponentViewHandler([](const winrt::Microsoft::ReactNative::ComponentView &view,
|
|
164
164
|
const winrt::Microsoft::ReactNative::UnmountChildComponentViewArgs &args) noexcept {
|
|
165
165
|
auto userData = view.UserData().as<TUserData>();
|
|
@@ -169,13 +169,13 @@ void RegisterUnimplementedNativeViewNativeComponent(
|
|
|
169
169
|
|
|
170
170
|
compBuilder.SetViewComponentViewInitializer([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept {
|
|
171
171
|
auto userData = winrt::make_self<TUserData>();
|
|
172
|
-
if
|
|
172
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::Initialize != &BaseUnimplementedNativeView<TUserData>::Initialize) {
|
|
173
173
|
userData->Initialize(view);
|
|
174
174
|
}
|
|
175
175
|
view.UserData(*userData);
|
|
176
176
|
});
|
|
177
177
|
|
|
178
|
-
if
|
|
178
|
+
if CONSTEXPR_SUPPORTED_ON_VIRTUAL_FN_ADDRESS (&TUserData::CreateVisual != &BaseUnimplementedNativeView<TUserData>::CreateVisual) {
|
|
179
179
|
compBuilder.SetCreateVisualHandler([](const winrt::Microsoft::ReactNative::ComponentView &view) noexcept {
|
|
180
180
|
auto userData = view.UserData().as<TUserData>();
|
|
181
181
|
return userData->CreateVisual(view);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
|
-
"version": "0.74.
|
|
3
|
+
"version": "0.74.37",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@react-native-community/cli": "13.6.9",
|
|
27
27
|
"@react-native-community/cli-platform-android": "13.6.9",
|
|
28
28
|
"@react-native-community/cli-platform-ios": "13.6.9",
|
|
29
|
-
"@react-native-windows/cli": "0.74.
|
|
29
|
+
"@react-native-windows/cli": "0.74.11",
|
|
30
30
|
"@react-native/assets": "1.0.0",
|
|
31
31
|
"@react-native/assets-registry": "0.74.87",
|
|
32
32
|
"@react-native/codegen": "0.74.87",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"yargs": "^17.6.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@react-native-windows/codegen": "0.74.
|
|
67
|
+
"@react-native-windows/codegen": "0.74.8",
|
|
68
68
|
"@react-native/metro-config": "0.74.87",
|
|
69
69
|
"@rnw-scripts/babel-react-native-config": "0.0.0",
|
|
70
70
|
"@rnw-scripts/eslint-config": "1.2.9",
|