react-native-windows 0.69.15 → 0.69.16
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.
|
@@ -251,22 +251,6 @@ function Pressable(props: Props, forwardedRef): React.Node {
|
|
|
251
251
|
const viewRef = useRef<React.ElementRef<typeof View> | null>(null);
|
|
252
252
|
useImperativeHandle(forwardedRef, () => viewRef.current);
|
|
253
253
|
|
|
254
|
-
// [Windows
|
|
255
|
-
const _onBlur = (event: BlurEvent) => {
|
|
256
|
-
TextInputState.blurInput(viewRef.current);
|
|
257
|
-
if (props.onBlur) {
|
|
258
|
-
props.onBlur(event);
|
|
259
|
-
}
|
|
260
|
-
};
|
|
261
|
-
|
|
262
|
-
const _onFocus = (event: FocusEvent) => {
|
|
263
|
-
TextInputState.focusInput(viewRef.current);
|
|
264
|
-
if (props.onFocus) {
|
|
265
|
-
props.onFocus(event);
|
|
266
|
-
}
|
|
267
|
-
};
|
|
268
|
-
// Windows]
|
|
269
|
-
|
|
270
254
|
const android_rippleConfig = useAndroidRippleForView(android_ripple, viewRef);
|
|
271
255
|
|
|
272
256
|
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.69.
|
|
13
|
+
<ReactNativeWindowsVersion>0.69.16</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>69</ReactNativeWindowsMinor>
|
|
16
|
-
<ReactNativeWindowsPatch>
|
|
16
|
+
<ReactNativeWindowsPatch>16</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
18
|
</PropertyGroup>
|
|
19
19
|
</Project>
|