react-native-windows 0.71.0-preview.1 → 0.71.0-preview.2

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.
@@ -289,22 +289,6 @@ function Pressable(props: Props, forwardedRef): React.Node {
289
289
  const viewRef = useRef<React.ElementRef<typeof View> | null>(null);
290
290
  useImperativeHandle(forwardedRef, () => viewRef.current);
291
291
 
292
- // [Windows
293
- const _onBlur = (event: BlurEvent) => {
294
- TextInputState.blurInput(viewRef.current);
295
- if (props.onBlur) {
296
- props.onBlur(event);
297
- }
298
- };
299
-
300
- const _onFocus = (event: FocusEvent) => {
301
- TextInputState.focusInput(viewRef.current);
302
- if (props.onFocus) {
303
- props.onFocus(event);
304
- }
305
- };
306
- // Windows]
307
-
308
292
  const android_rippleConfig = useAndroidRippleForView(android_ripple, viewRef);
309
293
 
310
294
  const [pressed, setPressed] = usePressState(testOnly_pressed === true);
@@ -418,10 +402,6 @@ function Pressable(props: Props, forwardedRef): React.Node {
418
402
  <View
419
403
  {...restPropsWithDefaults}
420
404
  {...eventHandlers}
421
- // [Windows
422
- onBlur={_onBlur}
423
- onFocus={_onFocus}
424
- // Windows]
425
405
  ref={viewRef}
426
406
  style={typeof style === 'function' ? style({pressed}) : style}>
427
407
  {typeof children === 'function' ? children({pressed}) : children}
@@ -10,7 +10,7 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.71.0-preview.1</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.71.0-preview.2</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>71</ReactNativeWindowsMinor>
16
16
  <ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.71.0-preview.1",
3
+ "version": "0.71.0-preview.2",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",