react-native-windows 0.75.0-preview.2 → 0.75.0-preview.3
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.
- package/Libraries/Components/Flyout/Flyout.js +1 -2
- package/Libraries/Core/ReactNativeVersion.js +1 -1
- package/Libraries/Text/Text.windows.js +4 -9
- package/Libraries/Utilities/Platform.android.js +1 -1
- package/Libraries/Utilities/Platform.d.ts +1 -1
- package/Libraries/Utilities/Platform.flow.js +2 -2
- package/Libraries/Utilities/Platform.flow.windows.js +2 -2
- package/Libraries/Utilities/Platform.ios.js +1 -1
- package/PropertySheets/Generated/PackageVersion.g.props +2 -2
- package/PropertySheets/JSEngine.props +1 -2
- package/codegen/NativePlatformConstantsAndroidSpec.g.h +1 -1
- package/codegen/NativePlatformConstantsIOSSpec.g.h +1 -1
- package/codegen/rnwcoreJSI.h +1 -1
- package/package.json +12 -12
- package/src/private/specs/modules/NativePlatformConstantsAndroid.js +1 -1
- package/src/private/specs/modules/NativePlatformConstantsIOS.js +1 -1
|
@@ -8,8 +8,7 @@ import type {ViewProps} from 'react-native';
|
|
|
8
8
|
|
|
9
9
|
import FlyoutNativeComponent from './FlyoutNativeComponent';
|
|
10
10
|
import * as React from 'react';
|
|
11
|
-
import StyleSheet from 'react-native';
|
|
12
|
-
import {findNodeHandle} from 'react-native';
|
|
11
|
+
import {findNodeHandle, StyleSheet} from 'react-native';
|
|
13
12
|
|
|
14
13
|
type Placement =
|
|
15
14
|
| 'top'
|
|
@@ -109,11 +109,6 @@ const Text: React.AbstractComponent<
|
|
|
109
109
|
const _accessibilityStateDisabled = _accessibilityState?.disabled;
|
|
110
110
|
const _disabled = disabled ?? _accessibilityStateDisabled;
|
|
111
111
|
|
|
112
|
-
const nativeTextAccessibilityState =
|
|
113
|
-
_disabled !== _accessibilityState?.disabled
|
|
114
|
-
? {..._accessibilityState, disabled: _disabled}
|
|
115
|
-
: _accessibilityState;
|
|
116
|
-
|
|
117
112
|
const isPressable =
|
|
118
113
|
(onPress != null ||
|
|
119
114
|
onLongPress != null ||
|
|
@@ -375,12 +370,12 @@ const Text: React.AbstractComponent<
|
|
|
375
370
|
disabled={_disabled}
|
|
376
371
|
ellipsizeMode={ellipsizeMode ?? 'tail'}
|
|
377
372
|
isHighlighted={isHighlighted}
|
|
378
|
-
nativeID={
|
|
379
|
-
numberOfLines={
|
|
373
|
+
nativeID={_nativeID}
|
|
374
|
+
numberOfLines={_numberOfLines}
|
|
380
375
|
ref={forwardedRef}
|
|
381
376
|
selectable={_selectable}
|
|
382
377
|
selectionColor={_selectionColor}
|
|
383
|
-
style={
|
|
378
|
+
style={processedStyle}
|
|
384
379
|
/>
|
|
385
380
|
</TextAncestor.Provider>
|
|
386
381
|
</View>
|
|
@@ -402,7 +397,7 @@ const Text: React.AbstractComponent<
|
|
|
402
397
|
ellipsizeMode={ellipsizeMode ?? 'tail'}
|
|
403
398
|
isHighlighted={isHighlighted}
|
|
404
399
|
nativeID={_nativeID}
|
|
405
|
-
numberOfLines={
|
|
400
|
+
numberOfLines={_numberOfLines}
|
|
406
401
|
ref={forwardedRef}
|
|
407
402
|
selectable={_selectable}
|
|
408
403
|
selectionColor={_selectionColor}
|
|
@@ -32,7 +32,7 @@ type IOSPlatform = {
|
|
|
32
32
|
major: number,
|
|
33
33
|
minor: number,
|
|
34
34
|
patch: number,
|
|
35
|
-
prerelease: ?
|
|
35
|
+
prerelease: ?string,
|
|
36
36
|
|},
|
|
37
37
|
systemName: string,
|
|
38
38
|
isMacCatalyst?: boolean,
|
|
@@ -65,7 +65,7 @@ type AndroidPlatform = {
|
|
|
65
65
|
major: number,
|
|
66
66
|
minor: number,
|
|
67
67
|
patch: number,
|
|
68
|
-
prerelease: ?
|
|
68
|
+
prerelease: ?string,
|
|
69
69
|
|},
|
|
70
70
|
Version: number,
|
|
71
71
|
Release: string,
|
|
@@ -33,7 +33,7 @@ type IOSPlatform = {
|
|
|
33
33
|
major: number,
|
|
34
34
|
minor: number,
|
|
35
35
|
patch: number,
|
|
36
|
-
prerelease: ?
|
|
36
|
+
prerelease: ?string,
|
|
37
37
|
|},
|
|
38
38
|
systemName: string,
|
|
39
39
|
|},
|
|
@@ -63,7 +63,7 @@ type AndroidPlatform = {
|
|
|
63
63
|
major: number,
|
|
64
64
|
minor: number,
|
|
65
65
|
patch: number,
|
|
66
|
-
prerelease: ?
|
|
66
|
+
prerelease: ?string,
|
|
67
67
|
|},
|
|
68
68
|
Version: number,
|
|
69
69
|
Release: string,
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
-->
|
|
11
11
|
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
12
12
|
<PropertyGroup>
|
|
13
|
-
<ReactNativeWindowsVersion>0.75.0-preview.
|
|
13
|
+
<ReactNativeWindowsVersion>0.75.0-preview.3</ReactNativeWindowsVersion>
|
|
14
14
|
<ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
|
|
15
15
|
<ReactNativeWindowsMinor>75</ReactNativeWindowsMinor>
|
|
16
16
|
<ReactNativeWindowsPatch>0</ReactNativeWindowsPatch>
|
|
17
17
|
<ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
|
|
18
|
-
<ReactNativeWindowsCommitId>
|
|
18
|
+
<ReactNativeWindowsCommitId>78a21ec1bba5cd676751ef01ddc3651af8c856f4</ReactNativeWindowsCommitId>
|
|
19
19
|
</PropertyGroup>
|
|
20
20
|
</Project>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<!-- Enabling this will (1) Include hermes glues in the Microsoft.ReactNative binaries AND (2) Make hermes the default engine -->
|
|
7
7
|
<UseHermes Condition="'$(UseHermes)' == ''">true</UseHermes>
|
|
8
8
|
<!-- This will be true if (1) the client want to use hermes by setting UseHermes to true OR (2) We are building for UWP where dynamic switching is enabled -->
|
|
9
|
-
<HermesVersion Condition="'$(HermesVersion)' == ''">0.1.
|
|
9
|
+
<HermesVersion Condition="'$(HermesVersion)' == ''">0.1.23</HermesVersion>
|
|
10
10
|
<HermesPackage Condition="'$(HermesPackage)' == '' And Exists('$(PkgMicrosoft_JavaScript_Hermes)')">$(PkgMicrosoft_JavaScript_Hermes)</HermesPackage>
|
|
11
11
|
<HermesPackage Condition="'$(HermesPackage)' == ''">$(NuGetPackageRoot)\Microsoft.JavaScript.Hermes\$(HermesVersion)</HermesPackage>
|
|
12
12
|
<EnableHermesInspectorInReleaseFlavor Condition="'$(EnableHermesInspectorInReleaseFlavor)' == ''">false</EnableHermesInspectorInReleaseFlavor>
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
<HermesNoLink Condition="'$(HermesNoLink)' == '' and '$(Configuration)' == 'Release' and '$(EnableHermesInspectorInReleaseFlavor)' != 'true'">true</HermesNoLink>
|
|
15
15
|
<!-- Use Hermes bytecode bundles provided by metro hermes compiler when available -->
|
|
16
16
|
<EnableDevServerHBCBundles Condition="'$(EnableDevServerHBCBundles)' == ''">false</EnableDevServerHBCBundles>
|
|
17
|
-
<HermesPlatform Condition="'$(Platform)' == 'ARM64EC'">x64</HermesPlatform>
|
|
18
17
|
|
|
19
18
|
<UseV8 Condition="'$(UseV8)' == ''">false</UseV8>
|
|
20
19
|
<V8Version Condition="'$(V8Version)' == ''">0.71.8</V8Version>
|
|
@@ -17,7 +17,7 @@ struct PlatformConstantsAndroidSpec_ReactNativeVersionAndroid {
|
|
|
17
17
|
double major;
|
|
18
18
|
double minor;
|
|
19
19
|
double patch;
|
|
20
|
-
std::optional<
|
|
20
|
+
std::optional<std::string> prerelease;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
struct PlatformConstantsAndroidSpec_PlatformConstantsAndroid {
|
|
@@ -17,7 +17,7 @@ struct PlatformConstantsIOSSpec_PlatformConstantsIOS_reactNativeVersion {
|
|
|
17
17
|
double major;
|
|
18
18
|
double minor;
|
|
19
19
|
double patch;
|
|
20
|
-
std::optional<
|
|
20
|
+
std::optional<std::string> prerelease;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
struct PlatformConstantsIOSSpec_PlatformConstantsIOS {
|
package/codegen/rnwcoreJSI.h
CHANGED
|
@@ -5602,7 +5602,7 @@ struct NativePlatformConstantsAndroidReactNativeVersionAndroidBridging {
|
|
|
5602
5602
|
return bridging::toJs(rt, value);
|
|
5603
5603
|
}
|
|
5604
5604
|
|
|
5605
|
-
static std::optional<
|
|
5605
|
+
static std::optional<jsi::String> prereleaseToJs(jsi::Runtime &rt, decltype(types.prerelease) value) {
|
|
5606
5606
|
return bridging::toJs(rt, value);
|
|
5607
5607
|
}
|
|
5608
5608
|
#endif
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-windows",
|
|
3
|
-
"version": "0.75.0-preview.
|
|
3
|
+
"version": "0.75.0-preview.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"@react-native-community/cli-platform-ios": "14.0.0-alpha.11",
|
|
29
29
|
"@react-native-windows/cli": "0.75.0-preview.1",
|
|
30
30
|
"@react-native/assets": "1.0.0",
|
|
31
|
-
"@react-native/assets-registry": "0.75.0-rc.
|
|
32
|
-
"@react-native/codegen": "0.75.0-rc.
|
|
33
|
-
"@react-native/community-cli-plugin": "0.75.0-rc.
|
|
34
|
-
"@react-native/gradle-plugin": "0.75.0-rc.
|
|
35
|
-
"@react-native/js-polyfills": "0.75.0-rc.
|
|
36
|
-
"@react-native/normalize-colors": "0.75.0-rc.
|
|
37
|
-
"@react-native/virtualized-lists": "0.75.0-rc.
|
|
31
|
+
"@react-native/assets-registry": "0.75.0-rc.5",
|
|
32
|
+
"@react-native/codegen": "0.75.0-rc.5",
|
|
33
|
+
"@react-native/community-cli-plugin": "0.75.0-rc.5",
|
|
34
|
+
"@react-native/gradle-plugin": "0.75.0-rc.5",
|
|
35
|
+
"@react-native/js-polyfills": "0.75.0-rc.5",
|
|
36
|
+
"@react-native/normalize-colors": "0.75.0-rc.5",
|
|
37
|
+
"@react-native/virtualized-lists": "0.75.0-rc.5",
|
|
38
38
|
"abort-controller": "^3.0.0",
|
|
39
39
|
"anser": "^1.4.9",
|
|
40
40
|
"ansi-regex": "^5.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"nullthrows": "^1.1.1",
|
|
54
54
|
"pretty-format": "^26.5.2",
|
|
55
55
|
"promise": "^8.3.0",
|
|
56
|
-
"react-devtools-core": "5.1
|
|
56
|
+
"react-devtools-core": "^5.3.1",
|
|
57
57
|
"react-refresh": "^0.14.0",
|
|
58
58
|
"react-shallow-renderer": "^16.15.0",
|
|
59
59
|
"regenerator-runtime": "^0.13.2",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@react-native-windows/codegen": "0.75.0-preview.1",
|
|
70
|
-
"@react-native/metro-config": "0.75.0-rc.
|
|
70
|
+
"@react-native/metro-config": "0.75.0-rc.5",
|
|
71
71
|
"@rnw-scripts/babel-react-native-config": "0.0.0",
|
|
72
72
|
"@rnw-scripts/eslint-config": "1.2.23",
|
|
73
73
|
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.27",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"just-scripts": "^1.3.3",
|
|
84
84
|
"prettier": "2.8.8",
|
|
85
85
|
"react": "19.0.0-rc-fb9a90fa48-20240614",
|
|
86
|
-
"react-native": "0.75.0-rc.
|
|
86
|
+
"react-native": "0.75.0-rc.5",
|
|
87
87
|
"react-native-platform-override": "^1.9.42",
|
|
88
88
|
"react-refresh": "^0.14.0",
|
|
89
89
|
"typescript": "5.0.4"
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"@types/react": "^18.2.6",
|
|
93
93
|
"react": "^19.0.0-rc-fb9a90fa48-20240614",
|
|
94
|
-
"react-native": "0.75.0-rc.
|
|
94
|
+
"react-native": "0.75.0-rc.5"
|
|
95
95
|
},
|
|
96
96
|
"beachball": {
|
|
97
97
|
"defaultNpmTag": "preview",
|