react-native-windows 0.68.24 → 0.68.25
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.
|
@@ -249,22 +249,6 @@ function Pressable(props: Props, forwardedRef): React.Node {
|
|
|
249
249
|
const viewRef = useRef<React.ElementRef<typeof View> | null>(null);
|
|
250
250
|
useImperativeHandle(forwardedRef, () => viewRef.current);
|
|
251
251
|
|
|
252
|
-
// [Windows
|
|
253
|
-
const _onBlur = (event: BlurEvent) => {
|
|
254
|
-
TextInputState.blurInput(viewRef.current);
|
|
255
|
-
if (props.onBlur) {
|
|
256
|
-
props.onBlur(event);
|
|
257
|
-
}
|
|
258
|
-
};
|
|
259
|
-
|
|
260
|
-
const _onFocus = (event: FocusEvent) => {
|
|
261
|
-
TextInputState.focusInput(viewRef.current);
|
|
262
|
-
if (props.onFocus) {
|
|
263
|
-
props.onFocus(event);
|
|
264
|
-
}
|
|
265
|
-
};
|
|
266
|
-
// Windows]
|
|
267
|
-
|
|
268
252
|
const android_rippleConfig = useAndroidRippleForView(android_ripple, viewRef);
|
|
269
253
|
|
|
270
254
|
const [pressed, setPressed] = usePressState(testOnly_pressed === true);
|
|
@@ -358,10 +342,6 @@ function Pressable(props: Props, forwardedRef): React.Node {
|
|
|
358
342
|
<View
|
|
359
343
|
{...restPropsWithDefaults}
|
|
360
344
|
{...eventHandlers}
|
|
361
|
-
// [Windows
|
|
362
|
-
onBlur={_onBlur}
|
|
363
|
-
onFocus={_onFocus}
|
|
364
|
-
// Windows]
|
|
365
345
|
ref={viewRef}
|
|
366
346
|
style={typeof style === 'function' ? style({pressed}) : style}>
|
|
367
347
|
{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.68.
|
|
13
|
+
<ReactNativeWindowsVersion>0.68.25</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>68</ReactNativeWindowsMinor>
|
|
16
|
-
<ReactNativeWindowsPatch>
|
|
16
|
+
<ReactNativeWindowsPatch>25</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
18
|
</PropertyGroup>
|
|
19
19
|
</Project>
|