react-native-windows 0.71.0-preview.3 → 0.71.0-preview.4
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.
|
@@ -11,10 +11,7 @@
|
|
|
11
11
|
import type {PartialViewConfigWithoutName} from './PlatformBaseViewConfig';
|
|
12
12
|
|
|
13
13
|
import ReactNativeStyleAttributes from '../Components/View/ReactNativeStyleAttributes';
|
|
14
|
-
import {
|
|
15
|
-
ConditionallyIgnoredEventHandlers,
|
|
16
|
-
DynamicallyInjectedByGestureHandler,
|
|
17
|
-
} from './ViewConfigIgnore';
|
|
14
|
+
import {DynamicallyInjectedByGestureHandler} from './ViewConfigIgnore';
|
|
18
15
|
|
|
19
16
|
const bubblingEventTypes = {
|
|
20
17
|
// Generic Events
|
|
@@ -162,6 +159,15 @@ const directEventTypes = {
|
|
|
162
159
|
onGestureHandlerStateChange: DynamicallyInjectedByGestureHandler({
|
|
163
160
|
registrationName: 'onGestureHandlerStateChange',
|
|
164
161
|
}),
|
|
162
|
+
// [Windows
|
|
163
|
+
// Mouse enter/leave events
|
|
164
|
+
topMouseEnter: {
|
|
165
|
+
registrationName: 'onMouseEnter',
|
|
166
|
+
},
|
|
167
|
+
topMouseLeave: {
|
|
168
|
+
registrationName: 'onMouseLeave',
|
|
169
|
+
},
|
|
170
|
+
// Windows]
|
|
165
171
|
};
|
|
166
172
|
|
|
167
173
|
const validAttributesForNonEventProps = {
|
|
@@ -295,7 +301,9 @@ const validAttributesForNonEventProps = {
|
|
|
295
301
|
};
|
|
296
302
|
|
|
297
303
|
// Props for bubbling and direct events
|
|
298
|
-
|
|
304
|
+
// [Windows
|
|
305
|
+
const validAttributesForEventProps = {
|
|
306
|
+
// Windows]
|
|
299
307
|
onLayout: true,
|
|
300
308
|
onMagicTap: true,
|
|
301
309
|
|
|
@@ -334,13 +342,23 @@ const validAttributesForEventProps = ConditionallyIgnoredEventHandlers({
|
|
|
334
342
|
onPointerLeave: true,
|
|
335
343
|
onPointerOver: true,
|
|
336
344
|
onPointerOut: true,
|
|
337
|
-
|
|
345
|
+
|
|
346
|
+
// [Windows
|
|
347
|
+
// Mouse enter/leave events
|
|
348
|
+
onMouseEnter: true,
|
|
349
|
+
onMouseLeave: true,
|
|
350
|
+
// Windows]
|
|
351
|
+
// [Windows
|
|
352
|
+
};
|
|
353
|
+
// Windows]
|
|
338
354
|
|
|
339
355
|
/**
|
|
340
356
|
* On iOS, view managers define all of a component's props.
|
|
341
357
|
* All view managers extend RCTViewManager, and RCTViewManager declares these props.
|
|
342
358
|
*/
|
|
359
|
+
// [Windows
|
|
343
360
|
const PlatformBaseViewConfigWindows: PartialViewConfigWithoutName = {
|
|
361
|
+
// Windows]
|
|
344
362
|
bubblingEventTypes,
|
|
345
363
|
directEventTypes,
|
|
346
364
|
validAttributes: {
|
|
@@ -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.
|
|
13
|
+
<ReactNativeWindowsVersion>0.71.0-preview.4</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>71</ReactNativeWindowsMinor>
|
|
16
16
|
<ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
|