react-native-windows 0.70.8 → 0.70.10

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.
@@ -253,22 +253,6 @@ function Pressable(props: Props, forwardedRef): React.Node {
253
253
  const viewRef = useRef<React.ElementRef<typeof View> | null>(null);
254
254
  useImperativeHandle(forwardedRef, () => viewRef.current);
255
255
 
256
- // [Windows
257
- const _onBlur = (event: BlurEvent) => {
258
- TextInputState.blurInput(viewRef.current);
259
- if (props.onBlur) {
260
- props.onBlur(event);
261
- }
262
- };
263
-
264
- const _onFocus = (event: FocusEvent) => {
265
- TextInputState.focusInput(viewRef.current);
266
- if (props.onFocus) {
267
- props.onFocus(event);
268
- }
269
- };
270
- // Windows]
271
-
272
256
  const android_rippleConfig = useAndroidRippleForView(android_ripple, viewRef);
273
257
 
274
258
  const [pressed, setPressed] = usePressState(testOnly_pressed === true);
@@ -360,10 +344,6 @@ function Pressable(props: Props, forwardedRef): React.Node {
360
344
  <View
361
345
  {...restPropsWithDefaults}
362
346
  {...eventHandlers}
363
- // [Windows
364
- onBlur={_onBlur}
365
- onFocus={_onFocus}
366
- // Windows]
367
347
  ref={viewRef}
368
348
  style={typeof style === 'function' ? style({pressed}) : style}>
369
349
  {typeof children === 'function' ? children({pressed}) : children}
@@ -10,10 +10,10 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.70.8</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.70.10</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>70</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>8</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>10</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
18
  </PropertyGroup>
19
19
  </Project>
@@ -113,6 +113,8 @@ bool OriginPolicyHttpFilter::ConstWcharComparer::operator()(const wchar_t *a, co
113
113
  /*static*/ void OriginPolicyHttpFilter::SetStaticOrigin(std::string &&url) {
114
114
  if (!url.empty())
115
115
  s_origin = Uri{to_hstring(url)};
116
+ else
117
+ s_origin = nullptr;
116
118
  }
117
119
 
118
120
  /*static*/ bool OriginPolicyHttpFilter::IsSameOrigin(Uri const &u1, Uri const &u2) noexcept {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.70.8",
3
+ "version": "0.70.10",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",