Skip to content

Commit

Permalink
Integrate RN Nightly Build 5/18 (#13282)
Browse files Browse the repository at this point in the history
* Integrate 5/14

* Change files

* Fix CI #1

* Re-add BoundedConsumableBuffer.h

* Integrate 5/18
  • Loading branch information
chiaramooney authored May 31, 2024
1 parent 82e1207 commit c097678
Show file tree
Hide file tree
Showing 40 changed files with 402 additions and 820 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Integrate 5/14",
"packageName": "@office-iss/react-native-win32",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Integrate 5/14",
"packageName": "@react-native-windows/automation-channel",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Integrate 5/14",
"packageName": "@rnw-scripts/eslint-config",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Integrate 5/14",
"packageName": "react-native-windows",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"excludePatterns": [
"src/js/examples-win32/**"
],
"baseVersion": "0.75.0-nightly-20240511-3f17c8b5f",
"baseVersion": "0.75.0-nightly-20240518-93c079b92",
"overrides": [
{
"type": "patch",
Expand Down
4 changes: 2 additions & 2 deletions packages/@office-iss/react-native-win32-tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"peerDependencies": {
"@office-iss/react-native-win32": "^0.0.0-canary.249",
"react": "18.0.0",
"react-native": "0.75.0-nightly-20240511-3f17c8b5f"
"react-native": "0.75.0-nightly-20240518-93c079b92"
},
"devDependencies": {
"@office-iss/react-native-win32": "^0.0.0-canary.249",
Expand All @@ -30,7 +30,7 @@
"@types/node": "^18.0.0",
"eslint": "^8.19.0",
"just-scripts": "^1.3.3",
"react-native": "0.75.0-nightly-20240511-3f17c8b5f",
"react-native": "0.75.0-nightly-20240518-93c079b92",
"react-native-platform-override": "^1.9.36",
"typescript": "5.0.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@office-iss/react-native-win32/overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"**/__snapshots__/**",
"src-win/rntypes/**"
],
"baseVersion": "0.75.0-nightly-20240511-3f17c8b5f",
"baseVersion": "0.75.0-nightly-20240518-93c079b92",
"overrides": [
{
"type": "derived",
Expand Down
20 changes: 10 additions & 10 deletions packages/@office-iss/react-native-win32/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@
"@react-native-community/cli-platform-android": "14.0.0-alpha.2",
"@react-native-community/cli-platform-ios": "14.0.0-alpha.2",
"@react-native/assets": "1.0.0",
"@react-native/assets-registry": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/codegen": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/community-cli-plugin": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/gradle-plugin": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/js-polyfills": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/normalize-colors": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/virtualized-lists": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/assets-registry": "0.75.0-nightly-20240518-93c079b92",
"@react-native/codegen": "0.75.0-nightly-20240518-93c079b92",
"@react-native/community-cli-plugin": "0.75.0-nightly-20240518-93c079b92",
"@react-native/gradle-plugin": "0.75.0-nightly-20240518-93c079b92",
"@react-native/js-polyfills": "0.75.0-nightly-20240518-93c079b92",
"@react-native/normalize-colors": "0.75.0-nightly-20240518-93c079b92",
"@react-native/virtualized-lists": "0.75.0-nightly-20240518-93c079b92",
"abort-controller": "^3.0.0",
"anser": "^1.4.9",
"ansi-regex": "^5.0.0",
Expand Down Expand Up @@ -70,7 +70,7 @@
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/eslint-parser": "^7.20.0",
"@react-native/metro-config": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/metro-config": "0.75.0-nightly-20240518-93c079b92",
"@rnw-scripts/babel-react-native-config": "0.0.0",
"@rnw-scripts/eslint-config": "1.2.19",
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.23",
Expand All @@ -86,14 +86,14 @@
"just-scripts": "^1.3.3",
"prettier": "2.8.8",
"react": "18.3.1",
"react-native": "0.75.0-nightly-20240511-3f17c8b5f",
"react-native": "0.75.0-nightly-20240518-93c079b92",
"react-native-platform-override": "^1.9.36",
"typescript": "5.0.4"
},
"peerDependencies": {
"@types/react": "^18.2.6",
"react": "^18.2.0",
"react-native": "0.75.0-nightly-20240511-3f17c8b5f"
"react-native": "0.75.0-nightly-20240518-93c079b92"
},
"beachball": {
"defaultNpmTag": "canary",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"just-scripts": "^1.3.2",
"prettier": "2.8.8",
"react": "18.3.1",
"react-native": "0.75.0-nightly-20240511-3f17c8b5f",
"react-native": "0.75.0-nightly-20240518-93c079b92",
"react-native-windows": "^0.0.0-canary.822",
"typescript": "5.0.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@react-native-windows/tester/overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"excludePatterns": [
"src/js/examples-win/**"
],
"baseVersion": "0.75.0-nightly-20240511-3f17c8b5f",
"baseVersion": "0.75.0-nightly-20240518-93c079b92",
"overrides": [
{
"type": "derived",
Expand Down
6 changes: 3 additions & 3 deletions packages/@react-native-windows/tester/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"peerDependencies": {
"@react-native-picker/picker": "2.4.10",
"react": "18.0.0",
"react-native": "0.75.0-nightly-20240511-3f17c8b5f",
"react-native": "0.75.0-nightly-20240518-93c079b92",
"react-native-windows": "^0.0.0-canary.822",
"react-native-xaml": "^0.0.78"
},
Expand All @@ -31,8 +31,8 @@
"@types/node": "^18.0.0",
"eslint": "^8.19.0",
"just-scripts": "^1.3.3",
"react-native": "0.75.0-nightly-20240511-3f17c8b5f",
"react-native-platform-override": "^1.9.36",
"react-native": "0.75.0-nightly-20240518-93c079b92",
"react-native-platform-override": "^1.9.35",
"react-native-windows": "^0.0.0-canary.822",
"typescript": "5.0.4"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/@react-native/monorepo/overrides.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"baseVersion": "0.75.0-nightly-20240511-3f17c8b5f",
"baseVersion": "0.75.0-nightly-20240518-93c079b92",
"overrides": [
{
"type": "patch",
"file": "package.json",
"baseFile": "package.json",
"baseHash": "4fe4f2dc6363c59540ad40bf5326f80bc2238498"
"baseHash": "0269f339d6a2c759365ac2ffa3888d1dc9e62cd6"
}
]
}
12 changes: 6 additions & 6 deletions packages/@react-native/monorepo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
"@definitelytyped/dtslint": "^0.0.127",
"@jest/create-cache-key-function": "^29.6.3",
"@pkgjs/parseargs": "^0.11.0",
"@react-native/metro-babel-transformer": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/metro-config": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/metro-babel-transformer": "0.75.0-nightly-20240518-93c079b92",
"@react-native/metro-config": "0.75.0-nightly-20240518-93c079b92",
"@tsconfig/node18": "1.0.1",
"@types/react": "^18.2.6",
"@typescript-eslint/parser": "^7.1.1",
Expand All @@ -72,11 +72,11 @@
"eslint-plugin-react-native": "^4.0.0",
"eslint-plugin-redundant-undefined": "^0.4.0",
"eslint-plugin-relay": "^1.8.3",
"flow-api-translator": "0.21.0",
"flow-api-translator": "0.21.1",
"flow-bin": "^0.236.0",
"glob": "^7.1.1",
"hermes-eslint": "0.21.0",
"hermes-transform": "0.21.0",
"hermes-eslint": "0.21.1",
"hermes-transform": "0.21.1",
"inquirer": "^7.1.0",
"jest": "^29.6.3",
"jest-junit": "^10.0.0",
Expand All @@ -88,7 +88,7 @@
"node-fetch": "^2.2.0",
"nullthrows": "^1.1.1",
"prettier": "2.8.8",
"prettier-plugin-hermes-parser": "0.21.0",
"prettier-plugin-hermes-parser": "0.21.1",
"react": "18.3.1",
"react-test-renderer": "18.3.1",
"rimraf": "^3.0.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -809,18 +809,6 @@ const textInputExamples: Array<RNTesterModuleExample> = [
);
},
},
{
title: 'showSoftInputOnFocus',
render: function (): React.Node {
return (
<View>
<WithLabel label="showSoftInputOnFocus: false">
<ExampleTextInput showSoftInputOnFocus={false} />
</WithLabel>
</View>
);
},
},
{
title: 'Line Break Strategy',
render: function (): React.Node {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1085,4 +1085,16 @@ module.exports = ([
name: 'textStyles',
render: () => <TextStylesExample />,
},
{
title: 'showSoftInputOnFocus',
render: function (): React.Node {
return (
<View>
<WithLabel label="showSoftInputOnFocus: false">
<ExampleTextInput showSoftInputOnFocus={false} />
</WithLabel>
</View>
);
},
},
]: Array<RNTesterModuleExample>);
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ function Flip() {
);
}

function TranslatePercentage() {
return <View style={styles.translatePercentageView} />;
}

const styles = StyleSheet.create({
container: {
height: 500,
Expand Down Expand Up @@ -277,6 +281,12 @@ const styles = StyleSheet.create({
height: 100,
transformOrigin: 'top left',
},
translatePercentageView: {
transform: 'translate(50%)',
padding: 50,
alignSelf: 'flex-start',
backgroundColor: 'lightblue',
},
});

exports.title = 'Transforms';
Expand Down Expand Up @@ -396,4 +406,11 @@ exports.examples = [
return <TransformOriginExample />;
},
},
{
title: 'Translate Percentage',
description: "transform: 'translate(50%)'",
render(): Node {
return <TranslatePercentage />;
},
},
];
6 changes: 3 additions & 3 deletions packages/@react-native/tester/overrides.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"baseVersion": "0.75.0-nightly-20240511-3f17c8b5f",
"baseVersion": "0.75.0-nightly-20240518-93c079b92",
"overrides": [
{
"type": "copy",
Expand Down Expand Up @@ -397,7 +397,7 @@
"type": "copy",
"directory": "js/examples/TextInput",
"baseDirectory": "packages/rn-tester/js/examples/TextInput",
"baseHash": "2a8091d8e88691880b2b7007bce1dfb296770f95",
"baseHash": "96f13a981501e6e737835f322fc96c418ef77e51",
"issue": 4054
},
{
Expand Down Expand Up @@ -425,7 +425,7 @@
"type": "copy",
"directory": "js/examples/Transform",
"baseDirectory": "packages/rn-tester/js/examples/Transform",
"baseHash": "d2dc7f7cac0ee3c8d8ee4fa29b4b57929c08ee29",
"baseHash": "9a8301dcc28c2e9dc124cb1e0ab009b2e40548d8",
"issue": 4054
},
{
Expand Down
4 changes: 2 additions & 2 deletions packages/@rnw-scripts/babel-react-native-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
},
"dependencies": {
"@babel/core": "^7.20.0",
"@react-native/babel-preset": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/babel-preset": "0.75.0-nightly-20240518-93c079b92",
"babel-plugin-transform-flow-enums": "^0.0.2"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@react-native/babel-preset": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/babel-preset": "0.75.0-nightly-20240518-93c079b92",
"eslint": "^8.19.0",
"prettier": "2.8.8"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@rnw-scripts/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@babel/core": "^7.20.0",
"@babel/eslint-parser": "^7.20.0",
"@microsoft/eslint-plugin-sdl": "^0.2.0",
"@react-native/eslint-config": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/eslint-config": "0.75.0-nightly-20240518-93c079b92",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-ft-flow": "^2.0.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/@rnw-scripts/metro-dev-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"lint:fix": "rnw-scripts lint:fix"
},
"dependencies": {
"@react-native/metro-config": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/metro-config": "0.75.0-nightly-20240518-93c079b92",
"@rnx-kit/metro-config": "^1.3.5",
"@rnx-kit/metro-plugin-duplicates-checker": "^2.1.0",
"@rnx-kit/metro-serializer": "^1.0.11",
Expand Down
4 changes: 2 additions & 2 deletions packages/e2e-test-app-fabric/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"react": "18.3.1",
"react-native": "0.75.0-nightly-20240511-3f17c8b5f",
"react-native": "0.75.0-nightly-20240518-93c079b92",
"react-native-windows": "^0.0.0-canary.822"
},
"devDependencies": {
Expand All @@ -31,7 +31,7 @@
"@babel/runtime": "^7.20.0",
"@react-native-windows/automation": "^0.3.244",
"@react-native-windows/automation-commands": "^0.1.265",
"@react-native/metro-config": "0.75.0-nightly-20240511-3f17c8b5f",
"@react-native/metro-config": "0.75.0-nightly-20240518-93c079b92",
"@rnw-scripts/babel-node-config": "2.3.2",
"@rnw-scripts/babel-react-native-config": "0.0.0",
"@rnw-scripts/eslint-config": "1.2.19",
Expand Down
Loading

0 comments on commit c097678

Please sign in to comment.