RN Integration 05/02/24 (88de74b2d) (#13264)

* RN Integration 05/02

* Change files

* fix

* fix
This commit is contained in:
Marlene Cota 2024-05-22 14:07:47 -07:00 коммит произвёл GitHub
Родитель 3d221a9e15
Коммит 9a5ddf6026
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
39 изменённых файлов: 385 добавлений и 331 удалений

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "RN Integration 05/02",
"packageName": "@office-iss/react-native-win32",
"email": "1422161+marlenecota@users.noreply.github.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "RN Integration 05/02",
"packageName": "@react-native-windows/automation-channel",
"email": "1422161+marlenecota@users.noreply.github.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "RN Integration 05/02",
"packageName": "@rnw-scripts/eslint-config",
"email": "1422161+marlenecota@users.noreply.github.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "RN Integration 05/02",
"packageName": "react-native-windows",
"email": "1422161+marlenecota@users.noreply.github.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -5,7 +5,7 @@
"excludePatterns": [
"src/js/examples-win32/**"
],
"baseVersion": "0.75.0-nightly-20240427-e2ad6696d",
"baseVersion": "0.75.0-nightly-20240502-88de74b2d",
"overrides": [
{
"type": "patch",

Просмотреть файл

@ -19,7 +19,7 @@
"peerDependencies": {
"@office-iss/react-native-win32": "^0.0.0-canary.247",
"react": "18.0.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d"
"react-native": "0.75.0-nightly-20240502-88de74b2d"
},
"devDependencies": {
"@office-iss/react-native-win32": "^0.0.0-canary.247",
@ -30,7 +30,7 @@
"@types/node": "^18.0.0",
"eslint": "^8.19.0",
"just-scripts": "^1.3.3",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-platform-override": "^1.9.34",
"typescript": "5.0.4"
},

Просмотреть файл

@ -7,7 +7,7 @@
"**/__snapshots__/**",
"src-win/rntypes/**"
],
"baseVersion": "0.75.0-nightly-20240427-e2ad6696d",
"baseVersion": "0.75.0-nightly-20240502-88de74b2d",
"overrides": [
{
"type": "derived",
@ -180,7 +180,7 @@
"type": "patch",
"file": "src-win/Libraries/Components/View/View.win32.js",
"baseFile": "packages/react-native/Libraries/Components/View/View.js",
"baseHash": "d621a2fb669bbc2fc0657db1233c9a930a073fba"
"baseHash": "1905f72f4d202d466ea7d8ed4b36df0845f2c310"
},
{
"type": "derived",
@ -337,7 +337,7 @@
"type": "derived",
"file": "src-win/Libraries/NativeComponent/BaseViewConfig.win32.js",
"baseFile": "packages/react-native/Libraries/NativeComponent/BaseViewConfig.ios.js",
"baseHash": "5fce369e10bcb5b502f8e05bc60668dfc8f7a76b"
"baseHash": "2a5e0ee3fed39205087dc49e2a7b180b6438f589"
},
{
"type": "copy",

Просмотреть файл

@ -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-20240427-e2ad6696d",
"@react-native/codegen": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/community-cli-plugin": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/gradle-plugin": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/js-polyfills": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/normalize-colors": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/virtualized-lists": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/assets-registry": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/codegen": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/community-cli-plugin": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/gradle-plugin": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/js-polyfills": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/normalize-colors": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/virtualized-lists": "0.75.0-nightly-20240502-88de74b2d",
"abort-controller": "^3.0.0",
"anser": "^1.4.9",
"ansi-regex": "^5.0.0",
@ -70,7 +70,7 @@
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/eslint-parser": "^7.20.0",
"@react-native/metro-config": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/metro-config": "0.75.0-nightly-20240502-88de74b2d",
"@rnw-scripts/babel-react-native-config": "0.0.0",
"@rnw-scripts/eslint-config": "1.2.17",
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.21",
@ -86,14 +86,14 @@
"just-scripts": "^1.3.3",
"prettier": "2.8.8",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-platform-override": "^1.9.34",
"typescript": "5.0.4"
},
"peerDependencies": {
"@types/react": "^18.2.6",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d"
"react-native": "0.75.0-nightly-20240502-88de74b2d"
},
"beachball": {
"defaultNpmTag": "canary",

Просмотреть файл

@ -10,7 +10,6 @@
import type {ViewProps} from './ViewPropTypes';
import flattenStyle from '../../StyleSheet/flattenStyle';
import TextAncestor from '../../Text/TextAncestor';
import ViewNativeComponent from './ViewNativeComponent';
import * as React from 'react';
@ -71,7 +70,6 @@ const View: React.AbstractComponent<
id,
importantForAccessibility,
nativeID,
pointerEvents,
tabIndex,
...otherProps
}: ViewProps,
@ -118,12 +116,6 @@ const View: React.AbstractComponent<
};
}
// $FlowFixMe[underconstrained-implicit-instantiation]
let style = flattenStyle(otherProps.style);
// $FlowFixMe[sketchy-null-mixed]
const newPointerEvents = style?.pointerEvents || pointerEvents;
const _keyDown = (event: KeyEvent) => {
if (otherProps.keyDownEvents && event.isPropagationStopped() !== true) {
// $FlowFixMe - keyDownEvents was already checked to not be undefined
@ -253,9 +245,6 @@ const View: React.AbstractComponent<
: importantForAccessibility
}
nativeID={id ?? nativeID}
style={style}
// $FlowFixMe[incompatible-type]
pointerEvents={newPointerEvents}
ref={forwardedRef}
onKeyDown={_keyDown}
onKeyDownCapture={_keyDownCapture}

Просмотреть файл

@ -374,6 +374,7 @@ const validAttributesForEventProps = ConditionallyIgnoredEventHandlers({
// Pointer events
onClick: true,
onClickCapture: true,
onPointerUp: true,
onPointerDown: true,
onPointerCancel: true,

Просмотреть файл

@ -31,7 +31,7 @@
"just-scripts": "^1.3.2",
"prettier": "2.8.8",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-windows": "^0.0.0-canary.818",
"typescript": "5.0.4"
},

Просмотреть файл

@ -5,7 +5,7 @@
"excludePatterns": [
"src/js/examples-win/**"
],
"baseVersion": "0.75.0-nightly-20240427-e2ad6696d",
"baseVersion": "0.75.0-nightly-20240502-88de74b2d",
"overrides": [
{
"type": "derived",

Просмотреть файл

@ -18,7 +18,7 @@
"peerDependencies": {
"@react-native-picker/picker": "2.4.10",
"react": "18.0.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-windows": "^0.0.0-canary.818",
"react-native-xaml": "^0.0.78"
},
@ -31,7 +31,7 @@
"@types/node": "^18.0.0",
"eslint": "^8.19.0",
"just-scripts": "^1.3.3",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-platform-override": "^1.9.34",
"react-native-windows": "^0.0.0-canary.818",
"typescript": "5.0.4"

Просмотреть файл

@ -1,5 +1,5 @@
{
"baseVersion": "0.75.0-nightly-20240427-e2ad6696d",
"baseVersion": "0.75.0-nightly-20240502-88de74b2d",
"overrides": [
{
"type": "patch",

Просмотреть файл

@ -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-20240427-e2ad6696d",
"@react-native/metro-config": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/metro-babel-transformer": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/metro-config": "0.75.0-nightly-20240502-88de74b2d",
"@tsconfig/node18": "1.0.1",
"@types/react": "^18.2.6",
"@typescript-eslint/parser": "^7.1.1",

Просмотреть файл

@ -17,11 +17,6 @@ export enum EnumInt {
IB = 42,
}
export enum EnumFloat {
FA = 1.23,
FB = 4.56,
}
export enum EnumNone {
NA,
NB,
@ -74,6 +69,12 @@ export type MenuItem = {
items?: Array<MenuItem>,
};
export type CustomDeviceEvent = {
type: string,
level: number,
degree?: ?number,
};
export interface Spec extends TurboModule {
+getArray: (arg: Array<ObjectStruct | null>) => Array<ObjectStruct | null>;
+getBool: (arg: boolean) => boolean;
@ -83,7 +84,7 @@ export interface Spec extends TurboModule {
+consumeCustomHostObject: (customHostObject: CustomHostObject) => string;
+getBinaryTreeNode: (arg: BinaryTreeNode) => BinaryTreeNode;
+getGraphNode: (arg: GraphNode) => GraphNode;
+getNumEnum: (arg: EnumInt) => EnumFloat;
+getNumEnum: (arg: EnumInt) => EnumInt;
+getStrEnum: (arg: EnumNone) => EnumStr;
+getMap: (arg: {[key: string]: ?number}) => {[key: string]: ?number};
+getNumber: (arg: number) => number;

Просмотреть файл

@ -165,7 +165,7 @@ class NativeCxxModuleExampleExample extends React.Component<{||}, State> {
DeviceEventEmitter.addListener(CUSTOM_EVENT_TYPE, (...args) => {
this._setResult(
'emitDeviceEvent',
`${CUSTOM_EVENT_TYPE}(${args.map(s => `${s}`).join(', ')})`,
`${CUSTOM_EVENT_TYPE}(${args.map(s => (typeof s === 'object' ? JSON.stringify(s) : s)).join(', ')})`,
);
});
NativeCxxModuleExample?.emitCustomDeviceEvent(CUSTOM_EVENT_TYPE);

Просмотреть файл

@ -1,5 +1,5 @@
{
"baseVersion": "0.75.0-nightly-20240427-e2ad6696d",
"baseVersion": "0.75.0-nightly-20240502-88de74b2d",
"overrides": [
{
"type": "copy",
@ -432,7 +432,7 @@
"type": "copy",
"directory": "js/examples/TurboModule",
"baseDirectory": "packages/rn-tester/js/examples/TurboModule",
"baseHash": "fb59228f6705a8aadc308836b3871adeb004fe1e",
"baseHash": "65f835078b8a09f0359cde0d71c7d06a81a14587",
"issue": 4054
},
{
@ -551,7 +551,7 @@
"type": "copy",
"file": "NativeCxxModuleExample/NativeCxxModuleExample.js",
"baseFile": "packages/rn-tester/NativeCxxModuleExample/NativeCxxModuleExample.js",
"baseHash": "9bfa4c46577acbec7fb2361145a4b650bdb1a619",
"baseHash": "3ce701f721ee1b78e40264e01c65d9a07d8d7e8a",
"issue": 4054
},
{

Просмотреть файл

@ -11,12 +11,12 @@
},
"dependencies": {
"@babel/core": "^7.20.0",
"@react-native/babel-preset": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/babel-preset": "0.75.0-nightly-20240502-88de74b2d",
"babel-plugin-transform-flow-enums": "^0.0.2"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@react-native/babel-preset": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/babel-preset": "0.75.0-nightly-20240502-88de74b2d",
"eslint": "^8.19.0",
"prettier": "2.8.8"
},

Просмотреть файл

@ -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-20240427-e2ad6696d",
"@react-native/eslint-config": "0.75.0-nightly-20240502-88de74b2d",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-ft-flow": "^2.0.1"
},

Просмотреть файл

@ -17,7 +17,7 @@
"lint:fix": "rnw-scripts lint:fix"
},
"dependencies": {
"@react-native/metro-config": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/metro-config": "0.75.0-nightly-20240502-88de74b2d",
"@rnx-kit/metro-config": "^1.3.5",
"@rnx-kit/metro-plugin-duplicates-checker": "^2.1.0",
"@rnx-kit/metro-serializer": "^1.0.11",

Просмотреть файл

@ -20,7 +20,7 @@
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-windows": "^0.0.0-canary.818"
},
"devDependencies": {
@ -31,7 +31,7 @@
"@babel/runtime": "^7.20.0",
"@react-native-windows/automation": "^0.3.240",
"@react-native-windows/automation-commands": "^0.1.260",
"@react-native/metro-config": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/metro-config": "0.75.0-nightly-20240502-88de74b2d",
"@rnw-scripts/babel-node-config": "2.3.2",
"@rnw-scripts/babel-react-native-config": "0.0.0",
"@rnw-scripts/eslint-config": "1.2.17",

Просмотреть файл

@ -20,7 +20,7 @@
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-windows": "^0.0.0-canary.818",
"react-native-xaml": "^0.0.78"
},
@ -32,7 +32,7 @@
"@babel/runtime": "^7.20.0",
"@react-native-windows/automation": "^0.3.240",
"@react-native-windows/automation-commands": "^0.1.260",
"@react-native/metro-config": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/metro-config": "0.75.0-nightly-20240502-88de74b2d",
"@rnw-scripts/babel-node-config": "2.3.2",
"@rnw-scripts/babel-react-native-config": "0.0.0",
"@rnw-scripts/eslint-config": "1.2.17",

Просмотреть файл

@ -17,7 +17,7 @@
"@typescript-eslint/parser": "^5.21.0",
"chai": "^4.2.0",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-windows": "^0.0.0-canary.818"
},
"devDependencies": {
@ -27,7 +27,7 @@
"@babel/preset-typescript": "^7.11.5",
"@babel/traverse": "^7.11.5",
"@babel/types": "^7.11.5",
"@react-native/metro-config": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/metro-config": "0.75.0-nightly-20240502-88de74b2d",
"@rnw-scripts/babel-node-config": "2.3.2",
"@rnw-scripts/eslint-config": "^1.2.17",
"@rnw-scripts/just-task": "^2.3.33",

Просмотреть файл

@ -16,13 +16,13 @@
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-windows": "^0.0.0-canary.818"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/metro-config": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/metro-config": "0.75.0-nightly-20240502-88de74b2d",
"@rnw-scripts/babel-react-native-config": "0.0.0",
"@rnw-scripts/eslint-config": "1.2.17",
"@rnw-scripts/just-task": "2.3.33",

Просмотреть файл

@ -15,7 +15,7 @@
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-windows": "^0.0.0-canary.818"
},
"devDependencies": {
@ -25,7 +25,7 @@
"@babel/preset-typescript": "^7.8.3",
"@babel/runtime": "^7.20.0",
"@jest/globals": "^29.7.0",
"@react-native/metro-config": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/metro-config": "0.75.0-nightly-20240502-88de74b2d",
"@rnw-scripts/babel-node-config": "2.3.2",
"@rnw-scripts/babel-react-native-config": "0.0.0",
"@rnw-scripts/eslint-config": "1.2.17",

Просмотреть файл

@ -16,7 +16,7 @@
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.57.1",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-windows": "^0.0.0-canary.818"
},
"devDependencies": {
@ -25,7 +25,7 @@
"@babel/runtime": "^7.20.0",
"@react-native-windows/cli": "0.0.0-canary.214",
"@react-native-windows/codegen": "0.0.0-canary.88",
"@react-native/metro-config": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/metro-config": "0.75.0-nightly-20240502-88de74b2d",
"@rnw-scripts/babel-react-native-config": "0.0.0",
"@rnw-scripts/eslint-config": "1.2.17",
"@rnw-scripts/just-task": "2.3.33",

Просмотреть файл

@ -527,6 +527,7 @@
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\componentregistry\ComponentDescriptorProviderRegistry.cpp" />
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\componentregistry\ComponentDescriptorRegistry.cpp" />
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\componentregistry\componentNameByReactViewName.cpp" />
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\image\ImageComponentDescriptor.cpp" />
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\image\ImageEventEmitter.cpp" />
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\image\ImageProps.cpp" />
<ClCompile Include="$(ReactNativeDir)\ReactCommon\react\renderer\components\image\ImageShadowNode.cpp" />

Просмотреть файл

@ -13,12 +13,6 @@
namespace Microsoft::ReactNativeSpecs {
struct IntersectionObserverSpec_NativeIntersectionObserverObserveOptions {
double intersectionObserverId;
targetShadowNode;
std::vector<double> thresholds;
};
struct IntersectionObserverSpec_NativeIntersectionObserverEntry {
double intersectionObserverId;
targetInstanceHandle;
@ -29,15 +23,12 @@ struct IntersectionObserverSpec_NativeIntersectionObserverEntry {
double time;
};
struct IntersectionObserverSpec_NativeIntersectionObserverObserveOptions {
double intersectionObserverId;
targetShadowNode;
std::vector<double> thresholds;
};
inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(IntersectionObserverSpec_NativeIntersectionObserverObserveOptions*) noexcept {
winrt::Microsoft::ReactNative::FieldMap fieldMap {
{L"intersectionObserverId", &IntersectionObserverSpec_NativeIntersectionObserverObserveOptions::intersectionObserverId},
{L"targetShadowNode", &IntersectionObserverSpec_NativeIntersectionObserverObserveOptions::targetShadowNode},
{L"thresholds", &IntersectionObserverSpec_NativeIntersectionObserverObserveOptions::thresholds},
};
return fieldMap;
}
inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(IntersectionObserverSpec_NativeIntersectionObserverEntry*) noexcept {
winrt::Microsoft::ReactNative::FieldMap fieldMap {
@ -52,6 +43,15 @@ inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(IntersectionObserve
return fieldMap;
}
inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(IntersectionObserverSpec_NativeIntersectionObserverObserveOptions*) noexcept {
winrt::Microsoft::ReactNative::FieldMap fieldMap {
{L"intersectionObserverId", &IntersectionObserverSpec_NativeIntersectionObserverObserveOptions::intersectionObserverId},
{L"targetShadowNode", &IntersectionObserverSpec_NativeIntersectionObserverObserveOptions::targetShadowNode},
{L"thresholds", &IntersectionObserverSpec_NativeIntersectionObserverObserveOptions::thresholds},
};
return fieldMap;
}
struct IntersectionObserverSpec : winrt::Microsoft::ReactNative::TurboModuleSpec {
static constexpr auto methods = std::tuple{
Method<void(IntersectionObserverSpec_NativeIntersectionObserverObserveOptions) noexcept>{0, L"observe"},

Просмотреть файл

@ -13,12 +13,6 @@
namespace Microsoft::ReactNativeSpecs {
struct MutationObserverSpec_NativeMutationObserverObserveOptions {
double mutationObserverId;
targetShadowNode;
bool subtree;
};
struct MutationObserverSpec_NativeMutationRecord {
double mutationObserverId;
target;
@ -26,15 +20,12 @@ struct MutationObserverSpec_NativeMutationRecord {
std::vector<> removedNodes;
};
struct MutationObserverSpec_NativeMutationObserverObserveOptions {
double mutationObserverId;
targetShadowNode;
bool subtree;
};
inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(MutationObserverSpec_NativeMutationObserverObserveOptions*) noexcept {
winrt::Microsoft::ReactNative::FieldMap fieldMap {
{L"mutationObserverId", &MutationObserverSpec_NativeMutationObserverObserveOptions::mutationObserverId},
{L"targetShadowNode", &MutationObserverSpec_NativeMutationObserverObserveOptions::targetShadowNode},
{L"subtree", &MutationObserverSpec_NativeMutationObserverObserveOptions::subtree},
};
return fieldMap;
}
inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(MutationObserverSpec_NativeMutationRecord*) noexcept {
winrt::Microsoft::ReactNative::FieldMap fieldMap {
@ -46,6 +37,15 @@ inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(MutationObserverSpe
return fieldMap;
}
inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(MutationObserverSpec_NativeMutationObserverObserveOptions*) noexcept {
winrt::Microsoft::ReactNative::FieldMap fieldMap {
{L"mutationObserverId", &MutationObserverSpec_NativeMutationObserverObserveOptions::mutationObserverId},
{L"targetShadowNode", &MutationObserverSpec_NativeMutationObserverObserveOptions::targetShadowNode},
{L"subtree", &MutationObserverSpec_NativeMutationObserverObserveOptions::subtree},
};
return fieldMap;
}
struct MutationObserverSpec : winrt::Microsoft::ReactNative::TurboModuleSpec {
static constexpr auto methods = std::tuple{
Method<void(MutationObserverSpec_NativeMutationObserverObserveOptions) noexcept>{0, L"observe"},

Просмотреть файл

@ -13,6 +13,28 @@
namespace Microsoft::ReactNativeSpecs {
struct PerformanceSpec_NativeMemoryInfo {
};
struct PerformanceSpec_ReactNativeStartupTiming {
};
inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(PerformanceSpec_NativeMemoryInfo*) noexcept {
winrt::Microsoft::ReactNative::FieldMap fieldMap {
};
return fieldMap;
}
inline winrt::Microsoft::ReactNative::FieldMap GetStructInfo(PerformanceSpec_ReactNativeStartupTiming*) noexcept {
winrt::Microsoft::ReactNative::FieldMap fieldMap {
};
return fieldMap;
}
struct PerformanceSpec : winrt::Microsoft::ReactNative::TurboModuleSpec {
static constexpr auto methods = std::tuple{

Просмотреть файл

@ -23,18 +23,19 @@ struct ReactNativeFeatureFlagsSpec : winrt::Microsoft::ReactNative::TurboModuleS
SyncMethod<bool() noexcept>{4, L"destroyFabricSurfacesInReactInstanceManager"},
SyncMethod<bool() noexcept>{5, L"enableBackgroundExecutor"},
SyncMethod<bool() noexcept>{6, L"enableCleanTextInputYogaNode"},
SyncMethod<bool() noexcept>{7, L"enableMicrotasks"},
SyncMethod<bool() noexcept>{8, L"enableSpannableBuildingUnification"},
SyncMethod<bool() noexcept>{7, L"enableGranularShadowTreeStateReconciliation"},
SyncMethod<bool() noexcept>{8, L"enableMicrotasks"},
SyncMethod<bool() noexcept>{9, L"enableSynchronousStateUpdates"},
SyncMethod<bool() noexcept>{10, L"enableUIConsistency"},
SyncMethod<bool() noexcept>{11, L"fixMountedFlagAndFixPreallocationClone"},
SyncMethod<bool() noexcept>{12, L"forceBatchingMountItemsOnAndroid"},
SyncMethod<bool() noexcept>{13, L"inspectorEnableCxxInspectorPackagerConnection"},
SyncMethod<bool() noexcept>{14, L"inspectorEnableModernCDPRegistry"},
SyncMethod<bool() noexcept>{15, L"preventDoubleTextMeasure"},
SyncMethod<bool() noexcept>{16, L"useModernRuntimeScheduler"},
SyncMethod<bool() noexcept>{17, L"useNativeViewConfigsInBridgelessMode"},
SyncMethod<bool() noexcept>{18, L"useStateAlignmentMechanism"},
SyncMethod<bool() noexcept>{15, L"lazyAnimationCallbacks"},
SyncMethod<bool() noexcept>{16, L"preventDoubleTextMeasure"},
SyncMethod<bool() noexcept>{17, L"useModernRuntimeScheduler"},
SyncMethod<bool() noexcept>{18, L"useNativeViewConfigsInBridgelessMode"},
SyncMethod<bool() noexcept>{19, L"useStateAlignmentMechanism"},
};
template <class TModule>
@ -78,14 +79,14 @@ struct ReactNativeFeatureFlagsSpec : winrt::Microsoft::ReactNative::TurboModuleS
" REACT_SYNC_METHOD(enableCleanTextInputYogaNode) static bool enableCleanTextInputYogaNode() noexcept { /* implementation */ }\n");
REACT_SHOW_METHOD_SPEC_ERRORS(
7,
"enableGranularShadowTreeStateReconciliation",
" REACT_SYNC_METHOD(enableGranularShadowTreeStateReconciliation) bool enableGranularShadowTreeStateReconciliation() noexcept { /* implementation */ }\n"
" REACT_SYNC_METHOD(enableGranularShadowTreeStateReconciliation) static bool enableGranularShadowTreeStateReconciliation() noexcept { /* implementation */ }\n");
REACT_SHOW_METHOD_SPEC_ERRORS(
8,
"enableMicrotasks",
" REACT_SYNC_METHOD(enableMicrotasks) bool enableMicrotasks() noexcept { /* implementation */ }\n"
" REACT_SYNC_METHOD(enableMicrotasks) static bool enableMicrotasks() noexcept { /* implementation */ }\n");
REACT_SHOW_METHOD_SPEC_ERRORS(
8,
"enableSpannableBuildingUnification",
" REACT_SYNC_METHOD(enableSpannableBuildingUnification) bool enableSpannableBuildingUnification() noexcept { /* implementation */ }\n"
" REACT_SYNC_METHOD(enableSpannableBuildingUnification) static bool enableSpannableBuildingUnification() noexcept { /* implementation */ }\n");
REACT_SHOW_METHOD_SPEC_ERRORS(
9,
"enableSynchronousStateUpdates",
@ -118,21 +119,26 @@ struct ReactNativeFeatureFlagsSpec : winrt::Microsoft::ReactNative::TurboModuleS
" REACT_SYNC_METHOD(inspectorEnableModernCDPRegistry) static bool inspectorEnableModernCDPRegistry() noexcept { /* implementation */ }\n");
REACT_SHOW_METHOD_SPEC_ERRORS(
15,
"lazyAnimationCallbacks",
" REACT_SYNC_METHOD(lazyAnimationCallbacks) bool lazyAnimationCallbacks() noexcept { /* implementation */ }\n"
" REACT_SYNC_METHOD(lazyAnimationCallbacks) static bool lazyAnimationCallbacks() noexcept { /* implementation */ }\n");
REACT_SHOW_METHOD_SPEC_ERRORS(
16,
"preventDoubleTextMeasure",
" REACT_SYNC_METHOD(preventDoubleTextMeasure) bool preventDoubleTextMeasure() noexcept { /* implementation */ }\n"
" REACT_SYNC_METHOD(preventDoubleTextMeasure) static bool preventDoubleTextMeasure() noexcept { /* implementation */ }\n");
REACT_SHOW_METHOD_SPEC_ERRORS(
16,
17,
"useModernRuntimeScheduler",
" REACT_SYNC_METHOD(useModernRuntimeScheduler) bool useModernRuntimeScheduler() noexcept { /* implementation */ }\n"
" REACT_SYNC_METHOD(useModernRuntimeScheduler) static bool useModernRuntimeScheduler() noexcept { /* implementation */ }\n");
REACT_SHOW_METHOD_SPEC_ERRORS(
17,
18,
"useNativeViewConfigsInBridgelessMode",
" REACT_SYNC_METHOD(useNativeViewConfigsInBridgelessMode) bool useNativeViewConfigsInBridgelessMode() noexcept { /* implementation */ }\n"
" REACT_SYNC_METHOD(useNativeViewConfigsInBridgelessMode) static bool useNativeViewConfigsInBridgelessMode() noexcept { /* implementation */ }\n");
REACT_SHOW_METHOD_SPEC_ERRORS(
18,
19,
"useStateAlignmentMechanism",
" REACT_SYNC_METHOD(useStateAlignmentMechanism) bool useStateAlignmentMechanism() noexcept { /* implementation */ }\n"
" REACT_SYNC_METHOD(useStateAlignmentMechanism) static bool useStateAlignmentMechanism() noexcept { /* implementation */ }\n");

Просмотреть файл

@ -46,13 +46,13 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableC
rt
);
}
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableMicrotasks(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableMicrotasks(
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableGranularShadowTreeStateReconciliation(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableGranularShadowTreeStateReconciliation(
rt
);
}
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableSpannableBuildingUnification(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableSpannableBuildingUnification(
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableMicrotasks(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->enableMicrotasks(
rt
);
}
@ -86,6 +86,11 @@ static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_inspect
rt
);
}
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_lazyAnimationCallbacks(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->lazyAnimationCallbacks(
rt
);
}
static jsi::Value __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_preventDoubleTextMeasure(jsi::Runtime &rt, TurboModule &turboModule, const jsi::Value* args, size_t count) {
return static_cast<NativeReactNativeFeatureFlagsCxxSpecJSI *>(&turboModule)->preventDoubleTextMeasure(
rt
@ -116,14 +121,15 @@ NativeReactNativeFeatureFlagsCxxSpecJSI::NativeReactNativeFeatureFlagsCxxSpecJSI
methodMap_["destroyFabricSurfacesInReactInstanceManager"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_destroyFabricSurfacesInReactInstanceManager};
methodMap_["enableBackgroundExecutor"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableBackgroundExecutor};
methodMap_["enableCleanTextInputYogaNode"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableCleanTextInputYogaNode};
methodMap_["enableGranularShadowTreeStateReconciliation"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableGranularShadowTreeStateReconciliation};
methodMap_["enableMicrotasks"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableMicrotasks};
methodMap_["enableSpannableBuildingUnification"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableSpannableBuildingUnification};
methodMap_["enableSynchronousStateUpdates"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableSynchronousStateUpdates};
methodMap_["enableUIConsistency"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_enableUIConsistency};
methodMap_["fixMountedFlagAndFixPreallocationClone"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_fixMountedFlagAndFixPreallocationClone};
methodMap_["forceBatchingMountItemsOnAndroid"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_forceBatchingMountItemsOnAndroid};
methodMap_["inspectorEnableCxxInspectorPackagerConnection"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_inspectorEnableCxxInspectorPackagerConnection};
methodMap_["inspectorEnableModernCDPRegistry"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_inspectorEnableModernCDPRegistry};
methodMap_["lazyAnimationCallbacks"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_lazyAnimationCallbacks};
methodMap_["preventDoubleTextMeasure"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_preventDoubleTextMeasure};
methodMap_["useModernRuntimeScheduler"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_useModernRuntimeScheduler};
methodMap_["useNativeViewConfigsInBridgelessMode"] = MethodMetadata {0, __hostFunction_NativeReactNativeFeatureFlagsCxxSpecJSI_useNativeViewConfigsInBridgelessMode};

Просмотреть файл

@ -27,14 +27,15 @@ public:
virtual bool destroyFabricSurfacesInReactInstanceManager(jsi::Runtime &rt) = 0;
virtual bool enableBackgroundExecutor(jsi::Runtime &rt) = 0;
virtual bool enableCleanTextInputYogaNode(jsi::Runtime &rt) = 0;
virtual bool enableGranularShadowTreeStateReconciliation(jsi::Runtime &rt) = 0;
virtual bool enableMicrotasks(jsi::Runtime &rt) = 0;
virtual bool enableSpannableBuildingUnification(jsi::Runtime &rt) = 0;
virtual bool enableSynchronousStateUpdates(jsi::Runtime &rt) = 0;
virtual bool enableUIConsistency(jsi::Runtime &rt) = 0;
virtual bool fixMountedFlagAndFixPreallocationClone(jsi::Runtime &rt) = 0;
virtual bool forceBatchingMountItemsOnAndroid(jsi::Runtime &rt) = 0;
virtual bool inspectorEnableCxxInspectorPackagerConnection(jsi::Runtime &rt) = 0;
virtual bool inspectorEnableModernCDPRegistry(jsi::Runtime &rt) = 0;
virtual bool lazyAnimationCallbacks(jsi::Runtime &rt) = 0;
virtual bool preventDoubleTextMeasure(jsi::Runtime &rt) = 0;
virtual bool useModernRuntimeScheduler(jsi::Runtime &rt) = 0;
virtual bool useNativeViewConfigsInBridgelessMode(jsi::Runtime &rt) = 0;
@ -118,6 +119,14 @@ private:
return bridging::callFromJs<bool>(
rt, &T::enableCleanTextInputYogaNode, jsInvoker_, instance_);
}
bool enableGranularShadowTreeStateReconciliation(jsi::Runtime &rt) override {
static_assert(
bridging::getParameterCount(&T::enableGranularShadowTreeStateReconciliation) == 1,
"Expected enableGranularShadowTreeStateReconciliation(...) to have 1 parameters");
return bridging::callFromJs<bool>(
rt, &T::enableGranularShadowTreeStateReconciliation, jsInvoker_, instance_);
}
bool enableMicrotasks(jsi::Runtime &rt) override {
static_assert(
bridging::getParameterCount(&T::enableMicrotasks) == 1,
@ -126,14 +135,6 @@ private:
return bridging::callFromJs<bool>(
rt, &T::enableMicrotasks, jsInvoker_, instance_);
}
bool enableSpannableBuildingUnification(jsi::Runtime &rt) override {
static_assert(
bridging::getParameterCount(&T::enableSpannableBuildingUnification) == 1,
"Expected enableSpannableBuildingUnification(...) to have 1 parameters");
return bridging::callFromJs<bool>(
rt, &T::enableSpannableBuildingUnification, jsInvoker_, instance_);
}
bool enableSynchronousStateUpdates(jsi::Runtime &rt) override {
static_assert(
bridging::getParameterCount(&T::enableSynchronousStateUpdates) == 1,
@ -182,6 +183,14 @@ private:
return bridging::callFromJs<bool>(
rt, &T::inspectorEnableModernCDPRegistry, jsInvoker_, instance_);
}
bool lazyAnimationCallbacks(jsi::Runtime &rt) override {
static_assert(
bridging::getParameterCount(&T::lazyAnimationCallbacks) == 1,
"Expected lazyAnimationCallbacks(...) to have 1 parameters");
return bridging::callFromJs<bool>(
rt, &T::lazyAnimationCallbacks, jsInvoker_, instance_);
}
bool preventDoubleTextMeasure(jsi::Runtime &rt) override {
static_assert(
bridging::getParameterCount(&T::preventDoubleTextMeasure) == 1,
@ -4265,61 +4274,6 @@ private:
#pragma mark - NativeIntersectionObserverCxxNativeIntersectionObserverObserveOptions
template <typename P0, typename P1, typename P2>
struct NativeIntersectionObserverCxxNativeIntersectionObserverObserveOptions {
P0 intersectionObserverId;
P1 targetShadowNode;
P2 thresholds;
bool operator==(const NativeIntersectionObserverCxxNativeIntersectionObserverObserveOptions &other) const {
return intersectionObserverId == other.intersectionObserverId && targetShadowNode == other.targetShadowNode && thresholds == other.thresholds;
}
};
template <typename T>
struct NativeIntersectionObserverCxxNativeIntersectionObserverObserveOptionsBridging {
static T types;
static T fromJs(
jsi::Runtime &rt,
const jsi::Object &value,
const std::shared_ptr<CallInvoker> &jsInvoker) {
T result{
bridging::fromJs<decltype(types.intersectionObserverId)>(rt, value.getProperty(rt, "intersectionObserverId"), jsInvoker),
bridging::fromJs<decltype(types.targetShadowNode)>(rt, value.getProperty(rt, "targetShadowNode"), jsInvoker),
bridging::fromJs<decltype(types.thresholds)>(rt, value.getProperty(rt, "thresholds"), jsInvoker)};
return result;
}
#ifdef DEBUG
static double intersectionObserverIdToJs(jsi::Runtime &rt, decltype(types.intersectionObserverId) value) {
return bridging::toJs(rt, value);
}
static jsi::Value targetShadowNodeToJs(jsi::Runtime &rt, decltype(types.targetShadowNode) value) {
return bridging::toJs(rt, value);
}
static jsi::Array thresholdsToJs(jsi::Runtime &rt, decltype(types.thresholds) value) {
return bridging::toJs(rt, value);
}
#endif
static jsi::Object toJs(
jsi::Runtime &rt,
const T &value,
const std::shared_ptr<CallInvoker> &jsInvoker) {
auto result = facebook::jsi::Object(rt);
result.setProperty(rt, "intersectionObserverId", bridging::toJs(rt, value.intersectionObserverId, jsInvoker));
result.setProperty(rt, "targetShadowNode", bridging::toJs(rt, value.targetShadowNode, jsInvoker));
result.setProperty(rt, "thresholds", bridging::toJs(rt, value.thresholds, jsInvoker));
return result;
}
};
#pragma mark - NativeIntersectionObserverCxxNativeIntersectionObserverEntry
template <typename P0, typename P1, typename P2, typename P3, typename P4, typename P5, typename P6>
@ -4401,6 +4355,61 @@ struct NativeIntersectionObserverCxxNativeIntersectionObserverEntryBridging {
}
};
#pragma mark - NativeIntersectionObserverCxxNativeIntersectionObserverObserveOptions
template <typename P0, typename P1, typename P2>
struct NativeIntersectionObserverCxxNativeIntersectionObserverObserveOptions {
P0 intersectionObserverId;
P1 targetShadowNode;
P2 thresholds;
bool operator==(const NativeIntersectionObserverCxxNativeIntersectionObserverObserveOptions &other) const {
return intersectionObserverId == other.intersectionObserverId && targetShadowNode == other.targetShadowNode && thresholds == other.thresholds;
}
};
template <typename T>
struct NativeIntersectionObserverCxxNativeIntersectionObserverObserveOptionsBridging {
static T types;
static T fromJs(
jsi::Runtime &rt,
const jsi::Object &value,
const std::shared_ptr<CallInvoker> &jsInvoker) {
T result{
bridging::fromJs<decltype(types.intersectionObserverId)>(rt, value.getProperty(rt, "intersectionObserverId"), jsInvoker),
bridging::fromJs<decltype(types.targetShadowNode)>(rt, value.getProperty(rt, "targetShadowNode"), jsInvoker),
bridging::fromJs<decltype(types.thresholds)>(rt, value.getProperty(rt, "thresholds"), jsInvoker)};
return result;
}
#ifdef DEBUG
static double intersectionObserverIdToJs(jsi::Runtime &rt, decltype(types.intersectionObserverId) value) {
return bridging::toJs(rt, value);
}
static jsi::Value targetShadowNodeToJs(jsi::Runtime &rt, decltype(types.targetShadowNode) value) {
return bridging::toJs(rt, value);
}
static jsi::Array thresholdsToJs(jsi::Runtime &rt, decltype(types.thresholds) value) {
return bridging::toJs(rt, value);
}
#endif
static jsi::Object toJs(
jsi::Runtime &rt,
const T &value,
const std::shared_ptr<CallInvoker> &jsInvoker) {
auto result = facebook::jsi::Object(rt);
result.setProperty(rt, "intersectionObserverId", bridging::toJs(rt, value.intersectionObserverId, jsInvoker));
result.setProperty(rt, "targetShadowNode", bridging::toJs(rt, value.targetShadowNode, jsInvoker));
result.setProperty(rt, "thresholds", bridging::toJs(rt, value.thresholds, jsInvoker));
return result;
}
};
class JSI_EXPORT NativeIntersectionObserverCxxSpecJSI : public TurboModule {
protected:
NativeIntersectionObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);
@ -4832,61 +4841,6 @@ private:
#pragma mark - NativeMutationObserverCxxNativeMutationObserverObserveOptions
template <typename P0, typename P1, typename P2>
struct NativeMutationObserverCxxNativeMutationObserverObserveOptions {
P0 mutationObserverId;
P1 targetShadowNode;
P2 subtree;
bool operator==(const NativeMutationObserverCxxNativeMutationObserverObserveOptions &other) const {
return mutationObserverId == other.mutationObserverId && targetShadowNode == other.targetShadowNode && subtree == other.subtree;
}
};
template <typename T>
struct NativeMutationObserverCxxNativeMutationObserverObserveOptionsBridging {
static T types;
static T fromJs(
jsi::Runtime &rt,
const jsi::Object &value,
const std::shared_ptr<CallInvoker> &jsInvoker) {
T result{
bridging::fromJs<decltype(types.mutationObserverId)>(rt, value.getProperty(rt, "mutationObserverId"), jsInvoker),
bridging::fromJs<decltype(types.targetShadowNode)>(rt, value.getProperty(rt, "targetShadowNode"), jsInvoker),
bridging::fromJs<decltype(types.subtree)>(rt, value.getProperty(rt, "subtree"), jsInvoker)};
return result;
}
#ifdef DEBUG
static double mutationObserverIdToJs(jsi::Runtime &rt, decltype(types.mutationObserverId) value) {
return bridging::toJs(rt, value);
}
static jsi::Value targetShadowNodeToJs(jsi::Runtime &rt, decltype(types.targetShadowNode) value) {
return bridging::toJs(rt, value);
}
static bool subtreeToJs(jsi::Runtime &rt, decltype(types.subtree) value) {
return bridging::toJs(rt, value);
}
#endif
static jsi::Object toJs(
jsi::Runtime &rt,
const T &value,
const std::shared_ptr<CallInvoker> &jsInvoker) {
auto result = facebook::jsi::Object(rt);
result.setProperty(rt, "mutationObserverId", bridging::toJs(rt, value.mutationObserverId, jsInvoker));
result.setProperty(rt, "targetShadowNode", bridging::toJs(rt, value.targetShadowNode, jsInvoker));
result.setProperty(rt, "subtree", bridging::toJs(rt, value.subtree, jsInvoker));
return result;
}
};
#pragma mark - NativeMutationObserverCxxNativeMutationRecord
template <typename P0, typename P1, typename P2, typename P3>
@ -4947,6 +4901,61 @@ struct NativeMutationObserverCxxNativeMutationRecordBridging {
}
};
#pragma mark - NativeMutationObserverCxxNativeMutationObserverObserveOptions
template <typename P0, typename P1, typename P2>
struct NativeMutationObserverCxxNativeMutationObserverObserveOptions {
P0 mutationObserverId;
P1 targetShadowNode;
P2 subtree;
bool operator==(const NativeMutationObserverCxxNativeMutationObserverObserveOptions &other) const {
return mutationObserverId == other.mutationObserverId && targetShadowNode == other.targetShadowNode && subtree == other.subtree;
}
};
template <typename T>
struct NativeMutationObserverCxxNativeMutationObserverObserveOptionsBridging {
static T types;
static T fromJs(
jsi::Runtime &rt,
const jsi::Object &value,
const std::shared_ptr<CallInvoker> &jsInvoker) {
T result{
bridging::fromJs<decltype(types.mutationObserverId)>(rt, value.getProperty(rt, "mutationObserverId"), jsInvoker),
bridging::fromJs<decltype(types.targetShadowNode)>(rt, value.getProperty(rt, "targetShadowNode"), jsInvoker),
bridging::fromJs<decltype(types.subtree)>(rt, value.getProperty(rt, "subtree"), jsInvoker)};
return result;
}
#ifdef DEBUG
static double mutationObserverIdToJs(jsi::Runtime &rt, decltype(types.mutationObserverId) value) {
return bridging::toJs(rt, value);
}
static jsi::Value targetShadowNodeToJs(jsi::Runtime &rt, decltype(types.targetShadowNode) value) {
return bridging::toJs(rt, value);
}
static bool subtreeToJs(jsi::Runtime &rt, decltype(types.subtree) value) {
return bridging::toJs(rt, value);
}
#endif
static jsi::Object toJs(
jsi::Runtime &rt,
const T &value,
const std::shared_ptr<CallInvoker> &jsInvoker) {
auto result = facebook::jsi::Object(rt);
result.setProperty(rt, "mutationObserverId", bridging::toJs(rt, value.mutationObserverId, jsInvoker));
result.setProperty(rt, "targetShadowNode", bridging::toJs(rt, value.targetShadowNode, jsInvoker));
result.setProperty(rt, "subtree", bridging::toJs(rt, value.subtree, jsInvoker));
return result;
}
};
class JSI_EXPORT NativeMutationObserverCxxSpecJSI : public TurboModule {
protected:
NativeMutationObserverCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);
@ -7505,7 +7514,8 @@ private:
};
class JSI_EXPORT NativePerformanceCxxSpecJSI : public TurboModule {
class JSI_EXPORT NativePerformanceCxxSpecJSI : public TurboModule {
protected:
NativePerformanceCxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);

Просмотреть файл

@ -8,7 +8,7 @@
"**/__snapshots__/**",
"src-win/rntypes/**"
],
"baseVersion": "0.75.0-nightly-20240427-e2ad6696d",
"baseVersion": "0.75.0-nightly-20240502-88de74b2d",
"overrides": [
{
"type": "derived",
@ -387,7 +387,7 @@
"type": "patch",
"file": "src-win/Libraries/Components/View/View.windows.js",
"baseFile": "packages/react-native/Libraries/Components/View/View.js",
"baseHash": "d621a2fb669bbc2fc0657db1233c9a930a073fba"
"baseHash": "1905f72f4d202d466ea7d8ed4b36df0845f2c310"
},
{
"type": "derived",
@ -478,7 +478,7 @@
"type": "derived",
"file": "src-win/Libraries/NativeComponent/BaseViewConfig.windows.js",
"baseFile": "packages/react-native/Libraries/NativeComponent/BaseViewConfig.ios.js",
"baseHash": "5fce369e10bcb5b502f8e05bc60668dfc8f7a76b"
"baseHash": "2a5e0ee3fed39205087dc49e2a7b180b6438f589"
},
{
"type": "derived",

Просмотреть файл

@ -28,13 +28,13 @@
"@react-native-community/cli-platform-ios": "14.0.0-alpha.2",
"@react-native-windows/cli": "0.0.0-canary.214",
"@react-native/assets": "1.0.0",
"@react-native/assets-registry": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/codegen": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/community-cli-plugin": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/gradle-plugin": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/js-polyfills": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/normalize-colors": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/virtualized-lists": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/assets-registry": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/codegen": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/community-cli-plugin": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/gradle-plugin": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/js-polyfills": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/normalize-colors": "0.75.0-nightly-20240502-88de74b2d",
"@react-native/virtualized-lists": "0.75.0-nightly-20240502-88de74b2d",
"abort-controller": "^3.0.0",
"anser": "^1.4.9",
"ansi-regex": "^5.0.0",
@ -66,7 +66,7 @@
},
"devDependencies": {
"@react-native-windows/codegen": "0.0.0-canary.88",
"@react-native/metro-config": "0.75.0-nightly-20240427-e2ad6696d",
"@react-native/metro-config": "0.75.0-nightly-20240502-88de74b2d",
"@rnw-scripts/babel-react-native-config": "0.0.0",
"@rnw-scripts/eslint-config": "1.2.17",
"@rnw-scripts/jest-out-of-tree-snapshot-resolver": "^1.1.21",
@ -82,7 +82,7 @@
"just-scripts": "^1.3.3",
"prettier": "2.8.8",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d",
"react-native": "0.75.0-nightly-20240502-88de74b2d",
"react-native-platform-override": "^1.9.34",
"react-refresh": "^0.14.0",
"typescript": "5.0.4"
@ -90,7 +90,7 @@
"peerDependencies": {
"@types/react": "^18.2.6",
"react": "18.2.0",
"react-native": "0.75.0-nightly-20240427-e2ad6696d"
"react-native": "0.75.0-nightly-20240502-88de74b2d"
},
"beachball": {
"defaultNpmTag": "canary",

Просмотреть файл

@ -10,7 +10,6 @@
import type {ViewProps} from './ViewPropTypes';
import flattenStyle from '../../StyleSheet/flattenStyle';
import TextAncestor from '../../Text/TextAncestor';
import ViewNativeComponent from './ViewNativeComponent';
import * as React from 'react';
@ -64,7 +63,6 @@ const View: React.AbstractComponent<
id,
importantForAccessibility,
nativeID,
pointerEvents,
tabIndex,
...otherProps
}: ViewProps,
@ -106,12 +104,6 @@ const View: React.AbstractComponent<
};
}
// $FlowFixMe[underconstrained-implicit-instantiation]
let style = flattenStyle(otherProps.style);
// $FlowFixMe[sketchy-null-mixed]
const newPointerEvents = style?.pointerEvents || pointerEvents;
const _keyDown = (event: KeyEvent) => {
if (otherProps.keyDownEvents && event.isPropagationStopped() !== true) {
// $FlowFixMe - keyDownEvents was already checked to not be undefined
@ -254,9 +246,6 @@ const View: React.AbstractComponent<
: importantForAccessibility
}
nativeID={id ?? nativeID}
style={style}
// $FlowFixMe[incompatible-type]
pointerEvents={newPointerEvents}
ref={forwardedRef}
onKeyDown={_keyDown}
onKeyDownCapture={_keyDownCapture}

Просмотреть файл

@ -409,6 +409,7 @@ const validAttributesForEventProps = {
// Pointer events
onClick: true,
onClickCapture: true,
onPointerUp: true,
onPointerDown: true,
onPointerCancel: true,

160
yarn.lock
Просмотреть файл

@ -2487,27 +2487,27 @@
resolved "https://registry.yarnpkg.com/@react-native-picker/picker/-/picker-2.7.6.tgz#fda996742f6878660277b995e878711641e778f4"
integrity sha512-Cs3PxRmE2vu6TofM9vt9TV8ZYFOtEPSupNxwoorH9lpkKM9HGG8QwK2i29KOEoODpUbtudKHUTtqhMZSuX9pgA==
"@react-native/assets-registry@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/assets-registry/-/assets-registry-0.75.0-nightly-20240427-e2ad6696d.tgz#3d74b16da594630d0039ffa58fbff0ee97839529"
integrity sha512-OEIRthIkO9pXeCuFKbWB3HFsJ8l8Wps7j++r7T1Mg2R3g58D0JRh2jhUgkch5FJ746iA+3pb6C4v/vMRWzPj/A==
"@react-native/assets-registry@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/assets-registry/-/assets-registry-0.75.0-nightly-20240502-88de74b2d.tgz#696e74cb812dec2e7d1c3480ec53aeaeabaf8e6d"
integrity sha512-4aIiUaqp2DkewMI0N2ezqetAH89DhPvRbLj6+H/T8m51MJKBDMxNfNnzVHeArRPy9S5fdiPyLWGaO583dnWmXg==
"@react-native/assets@1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@react-native/assets/-/assets-1.0.0.tgz#c6f9bf63d274bafc8e970628de24986b30a55c8e"
integrity sha512-KrwSpS1tKI70wuKl68DwJZYEvXktDHdZMG0k2AXD/rJVSlB23/X2CB2cutVR0HwNMJIal9HOUOBB2rVfa6UGtQ==
"@react-native/babel-plugin-codegen@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.75.0-nightly-20240427-e2ad6696d.tgz#89b9e55c6373f27eedd1071db3bb0e21407f6af5"
integrity sha512-U0I5gVQPTI+wKMzFJSMp/a8fyRhIimxqm4ZB+NE+1RBT6Gy3BGW6zhuKIlAzkQvanZjowI2ZFOMvw0W7ShPihw==
"@react-native/babel-plugin-codegen@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/babel-plugin-codegen/-/babel-plugin-codegen-0.75.0-nightly-20240502-88de74b2d.tgz#824097c8380f54e2674b81fc963c24dde327385f"
integrity sha512-DygxIiTsGpdmLdJw1Ng4YWFX7CxZZc06dQNVIVTTizbD9FRwQ5Tmb89LrhNQL9oO634mAqLFPU3Yg+hodaOsbg==
dependencies:
"@react-native/codegen" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/codegen" "0.75.0-nightly-20240502-88de74b2d"
"@react-native/babel-preset@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/babel-preset/-/babel-preset-0.75.0-nightly-20240427-e2ad6696d.tgz#32beb31eebe6f5fdaf09e948650f9037d669b17e"
integrity sha512-Zo1sJpmJKpZfE7PqJwAg50i/WynI7DWbD9n3BZ6WmRhAUXLio0csuDPqU5zTURF+FYHIEpzAXdYhO8rsZMaPTw==
"@react-native/babel-preset@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/babel-preset/-/babel-preset-0.75.0-nightly-20240502-88de74b2d.tgz#dd4adea07f5747aa5f9797833dfc3c74428fc907"
integrity sha512-TE/OeH7aCnyJCq6Hslnuuz0q9g53DG89uG+UJ/2nULJ59fj/Ox9yXSLFf+vZuOLhK/0Zf3EbKJjCExtXwcwu2g==
dependencies:
"@babel/core" "^7.20.0"
"@babel/plugin-proposal-async-generator-functions" "^7.0.0"
@ -2549,14 +2549,14 @@
"@babel/plugin-transform-typescript" "^7.5.0"
"@babel/plugin-transform-unicode-regex" "^7.0.0"
"@babel/template" "^7.0.0"
"@react-native/babel-plugin-codegen" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/babel-plugin-codegen" "0.75.0-nightly-20240502-88de74b2d"
babel-plugin-transform-flow-enums "^0.0.2"
react-refresh "^0.14.0"
"@react-native/codegen@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/codegen/-/codegen-0.75.0-nightly-20240427-e2ad6696d.tgz#09db90fcb2546cd069686af953217f1fed144d6b"
integrity sha512-xl5hFmU2OWyie6STX9dNprbGcCDCloYdUQQdop/5biMgfEIqBig6a/3KWQGFlWPl9/DYjmw7H5+G8wUh9LKP8g==
"@react-native/codegen@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/codegen/-/codegen-0.75.0-nightly-20240502-88de74b2d.tgz#b4d26bd3e7e462c894230f1d810cf422f7005498"
integrity sha512-ZwCL9dSGWjY/HH6E1UVafMSvsqTIMednpViyCTJNPBX1KcR+xl/ZdgTaRJpu/UkdX8dstdZBL+R1gSU6oqsEEg==
dependencies:
"@babel/parser" "^7.20.0"
glob "^7.1.1"
@ -2566,15 +2566,15 @@
mkdirp "^0.5.1"
nullthrows "^1.1.1"
"@react-native/community-cli-plugin@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/community-cli-plugin/-/community-cli-plugin-0.75.0-nightly-20240427-e2ad6696d.tgz#d5797246aa90941dccb5d052ebfd4eba709c92cc"
integrity sha512-R5CAiXI626VxqMgL7FLEhoEvExJCWsRPMcgU83cD19u1l76LFh0xNCXnUPtL9BoZaoGgMcAuCxU87w5rAxFX5Q==
"@react-native/community-cli-plugin@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/community-cli-plugin/-/community-cli-plugin-0.75.0-nightly-20240502-88de74b2d.tgz#61afeca0d2979df3d0fac4cf2f117fb5b3b7df8c"
integrity sha512-UjRDMM48XjC31fy2OluaYbwf9d9tH4FIYNrDL26/QRz6NEA42UPmsMPheHDkH4d4BIVpfY8F7i0yn57FZABBnA==
dependencies:
"@react-native-community/cli-server-api" "14.0.0-alpha.2"
"@react-native-community/cli-tools" "14.0.0-alpha.2"
"@react-native/dev-middleware" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/metro-babel-transformer" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/dev-middleware" "0.75.0-nightly-20240502-88de74b2d"
"@react-native/metro-babel-transformer" "0.75.0-nightly-20240502-88de74b2d"
chalk "^4.0.0"
execa "^5.1.1"
metro "^0.80.3"
@ -2584,18 +2584,18 @@
querystring "^0.2.1"
readline "^1.3.0"
"@react-native/debugger-frontend@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/debugger-frontend/-/debugger-frontend-0.75.0-nightly-20240427-e2ad6696d.tgz#99ffc12174fe4adf6c3cc3774fbd12d0571ae015"
integrity sha512-M3Dgn42CuaHWYm8wF/ioYzgwuRXNsO+STRXseR/eYT5cPL3RJGDqCfE7KhoDPjhEPwsookyeIjeFtbAiC9yPQw==
"@react-native/debugger-frontend@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/debugger-frontend/-/debugger-frontend-0.75.0-nightly-20240502-88de74b2d.tgz#4d7814daa3aba059f5272175c689ba7a9cf7afa7"
integrity sha512-mBJ4oXMzpk57LM/lWp3VhusK0iOkK8ORiCPacAMuGo774TVxN8bSVYWkAwLlFaoxAysqtedMiuQHVVR9TSd1Iw==
"@react-native/dev-middleware@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/dev-middleware/-/dev-middleware-0.75.0-nightly-20240427-e2ad6696d.tgz#35c120ab81bfc49d8086e77959c37d3df9096211"
integrity sha512-l0V68MEdJdq3X/rihXcuAaz/G3DEKVBsxWa45GNq+/7hBxXaVm3uhSMWUZEn+JnNFDl2J8+2WYrZqRjkrwjsKg==
"@react-native/dev-middleware@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/dev-middleware/-/dev-middleware-0.75.0-nightly-20240502-88de74b2d.tgz#5cfb35bfd0d22a94a6d405687f963b20a0824092"
integrity sha512-vlJup46aah7Up/gF6ugI3jLjMuSIFZNmsFBvF1EI3JurG6ED/dOjTFK7ltvD6hevd1VQGKvcZ66GzvUEcMuXnA==
dependencies:
"@isaacs/ttlcache" "^1.4.1"
"@react-native/debugger-frontend" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/debugger-frontend" "0.75.0-nightly-20240502-88de74b2d"
chrome-launcher "^0.15.2"
chromium-edge-launcher "^0.2.0"
connect "^3.6.5"
@ -2608,14 +2608,14 @@
temp-dir "^2.0.0"
ws "^6.2.2"
"@react-native/eslint-config@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/eslint-config/-/eslint-config-0.75.0-nightly-20240427-e2ad6696d.tgz#42de7a3bb9547dd84a66e390c66af0ae9d24acb2"
integrity sha512-MAh2HLIYlv6zxOzle8EGnV5TfMwFRTsncvureyIloZHKIKmtCicDROq68ZHGuMSumWBaAp3qy2l5RrXmtxzUcw==
"@react-native/eslint-config@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/eslint-config/-/eslint-config-0.75.0-nightly-20240502-88de74b2d.tgz#c36bb24a49c4df56fb5971724cc02303f67a9a42"
integrity sha512-13UdUSFoQRVjtZgHRbOqdKAhDwLUUue105zhXzJOt+bC9UFtQjUQH1c+/yKAP9gykQe49T2/JOG4YUS0rroCNQ==
dependencies:
"@babel/core" "^7.20.0"
"@babel/eslint-parser" "^7.20.0"
"@react-native/eslint-plugin" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/eslint-plugin" "0.75.0-nightly-20240502-88de74b2d"
"@typescript-eslint/eslint-plugin" "^7.1.1"
"@typescript-eslint/parser" "^7.1.1"
eslint-config-prettier "^8.5.0"
@ -2626,45 +2626,45 @@
eslint-plugin-react-hooks "^4.6.0"
eslint-plugin-react-native "^4.0.0"
"@react-native/eslint-plugin@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/eslint-plugin/-/eslint-plugin-0.75.0-nightly-20240427-e2ad6696d.tgz#8eb70c1105824d04a6d0910efd4755d7c21aef94"
integrity sha512-4LOaJoOgpm4Q1zqgc3eezccMd4438daYwX0VnWpq/Ob3SiBryYaTm1+NZjNbvyeuEUo3eWtRJtNMc/C/6FOD/A==
"@react-native/eslint-plugin@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/eslint-plugin/-/eslint-plugin-0.75.0-nightly-20240502-88de74b2d.tgz#1e20152f1016dfa02625bc068fd8ca2962b6f268"
integrity sha512-3yLLK92U+V+Sf5aH+YzQi90jF8/mzbpKBexZ+fTNEvmlafS/UeCaSglFzd+toscSKc8e2AXSJz8m+89yHqoR1Q==
"@react-native/gradle-plugin@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/gradle-plugin/-/gradle-plugin-0.75.0-nightly-20240427-e2ad6696d.tgz#b935bcb87fe41783942bf4bdd1519e4bfb902c27"
integrity sha512-qTl0+Rw0UV+fzuslA7X7KJKtoBO0gpxvjc2Q7ConxKi9tm28pHaFufX/alf+zWRipoygo+nQPjWQrG8brC6wiQ==
"@react-native/gradle-plugin@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/gradle-plugin/-/gradle-plugin-0.75.0-nightly-20240502-88de74b2d.tgz#937db90bc57f17111f8a3cee90f7b553b2090d75"
integrity sha512-h2vePTFBX+Sv22fYuZ4SYpQWg3qot3JKetn7L6kqDU3TEPkm7n7xQH805B7LQzCoyOVCxC0Kwrgj9+fNSz10rA==
"@react-native/js-polyfills@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/js-polyfills/-/js-polyfills-0.75.0-nightly-20240427-e2ad6696d.tgz#4ac5501ae85d4433f472d4c2460b5697bb97c15c"
integrity sha512-TN82KegoqwBFx2Whkb7SZ85YT6KbynVoayRiNO/lXnda4EPn31n4RE4l07uLH7Jxqa9rGJXbDfF378nPMuhhCg==
"@react-native/js-polyfills@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/js-polyfills/-/js-polyfills-0.75.0-nightly-20240502-88de74b2d.tgz#9366772e5ae88816e8fa2d5176ef1d477ba10573"
integrity sha512-bGVMRRh7wnNDZT1k02tVzcnLeboFGNLN/g1bi+ODcNHP88w93PkDJURZPmlBR9WyFpP1sYRVCp2KEQDDBWPUGA==
"@react-native/metro-babel-transformer@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/metro-babel-transformer/-/metro-babel-transformer-0.75.0-nightly-20240427-e2ad6696d.tgz#2c40fa1f4dbf52d431775b8fe049bb03a3ffab1e"
integrity sha512-nTo8PLPIvQXXrgfj4qLgxExKM0zUa9qs+N+YkrqiNJ9qpjkpwldSICiFntz5By5J7zeAvbbl4sd8TbVkyjJPbA==
"@react-native/metro-babel-transformer@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/metro-babel-transformer/-/metro-babel-transformer-0.75.0-nightly-20240502-88de74b2d.tgz#d34666009a5149f63c2bf73912c1da69e9023551"
integrity sha512-sQ2BXMUv2556faSqhyL8aPEE268PQ1ExoRXMe7fH1yv6S4XAuFaQrqHQYB94lonujJbs97HAIc0E3qeAUyws8g==
dependencies:
"@babel/core" "^7.20.0"
"@react-native/babel-preset" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/babel-preset" "0.75.0-nightly-20240502-88de74b2d"
hermes-parser "0.20.1"
nullthrows "^1.1.1"
"@react-native/metro-config@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/metro-config/-/metro-config-0.75.0-nightly-20240427-e2ad6696d.tgz#9ad166809a295c387a9c33e31a0ef9c949aba8fe"
integrity sha512-6N4NZhRdPuqDbIZjcWeIOY+vENDJd1q3aypic4CPN8q/p8mdM+v+bskWhnUig5M97pwVoX4QLNPLWvmk7KeDNA==
"@react-native/metro-config@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/metro-config/-/metro-config-0.75.0-nightly-20240502-88de74b2d.tgz#6661f7262950700c5931c75a8b28d0f2dd5020e7"
integrity sha512-dKkG6w8gHGAflV5ID8Poi2+bFc+eqIJ50DqjbyhyLdh5DNfajrPimo0cdYZWqi5H1Rzf6r2Z7oDdOgONd3xg9g==
dependencies:
"@react-native/js-polyfills" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/metro-babel-transformer" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/js-polyfills" "0.75.0-nightly-20240502-88de74b2d"
"@react-native/metro-babel-transformer" "0.75.0-nightly-20240502-88de74b2d"
metro-config "^0.80.3"
metro-runtime "^0.80.3"
"@react-native/normalize-colors@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.75.0-nightly-20240427-e2ad6696d.tgz#85c5a8256a7912ca4834f40359752c2e5994b89e"
integrity sha512-ECNCfvvZNQMgBxEsWSQSA7faYcVXkIZPg0FLhnrWQS1DmvFOKBI9T9c3e7hy7AM5o052CFVUVMaerg6heSN1Mw==
"@react-native/normalize-colors@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/normalize-colors/-/normalize-colors-0.75.0-nightly-20240502-88de74b2d.tgz#62748c42426ec1d9ab4d45734316cc67ce0ff28d"
integrity sha512-rURASr4udslgGhObydjcOhOKrvUOcHiNrUDav9KSx+DfMbS9XFNfZ5lrJ8sqw4GOO+9WLMpgZ+/hOOZoa4gE8w==
"@react-native/popup-menu-android@0.75.0-main":
version "0.75.0-main"
@ -2673,10 +2673,10 @@
dependencies:
nullthrows "^1.1.1"
"@react-native/virtualized-lists@0.75.0-nightly-20240427-e2ad6696d":
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/@react-native/virtualized-lists/-/virtualized-lists-0.75.0-nightly-20240427-e2ad6696d.tgz#fe9d24e0e95c460c70ffb41852b21a9efc30bd59"
integrity sha512-viSkpRm3V21ExcXAYY/F9tTaajiE6Zsee3DFxaxqgiwrKLR2loMTVS8JWPsWQIDMsJc/aEy9QGEhxcf+OcJ2uQ==
"@react-native/virtualized-lists@0.75.0-nightly-20240502-88de74b2d":
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/@react-native/virtualized-lists/-/virtualized-lists-0.75.0-nightly-20240502-88de74b2d.tgz#644fa1165664e58b98d761227b0a8c65845ed2d5"
integrity sha512-TUKDa4rT99ch7hS0DT8r9Th4TUPmId2kCy9MftZ6WBjtp25k3xe6DkBj6NDfWp2n8Tl0nJo3XRxKqrrIEAyS8w==
dependencies:
invariant "^2.2.4"
nullthrows "^1.1.1"
@ -10835,22 +10835,22 @@ react-native-xaml@^0.0.78:
dependencies:
"@types/react" "*"
react-native@0.75.0-nightly-20240427-e2ad6696d:
version "0.75.0-nightly-20240427-e2ad6696d"
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.75.0-nightly-20240427-e2ad6696d.tgz#6d100393e1a52902743c32420a8f0db9cf4cfdb4"
integrity sha512-1NymuCWKZmbPNfrODNWO5l9VHeIurlUyqFBMMN2dHBCVyqgJzu8t+Lga4jC30Y1EsbgHsyxKvjAKZXxO2rzFmw==
react-native@0.75.0-nightly-20240502-88de74b2d:
version "0.75.0-nightly-20240502-88de74b2d"
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.75.0-nightly-20240502-88de74b2d.tgz#0ce2015a11dd91c4420b7d7673ba8d5f614080f4"
integrity sha512-MY1rkP9c4cYato4/aJxf1HIuCxFY9rJo0KeqBRjpRDW3fiExrIj4m9tS0rq5/7w29HxbhmEN7TLJ0bY5bNz3gA==
dependencies:
"@jest/create-cache-key-function" "^29.6.3"
"@react-native-community/cli" "14.0.0-alpha.2"
"@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-registry" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/codegen" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/community-cli-plugin" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/gradle-plugin" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/js-polyfills" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/normalize-colors" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/virtualized-lists" "0.75.0-nightly-20240427-e2ad6696d"
"@react-native/assets-registry" "0.75.0-nightly-20240502-88de74b2d"
"@react-native/codegen" "0.75.0-nightly-20240502-88de74b2d"
"@react-native/community-cli-plugin" "0.75.0-nightly-20240502-88de74b2d"
"@react-native/gradle-plugin" "0.75.0-nightly-20240502-88de74b2d"
"@react-native/js-polyfills" "0.75.0-nightly-20240502-88de74b2d"
"@react-native/normalize-colors" "0.75.0-nightly-20240502-88de74b2d"
"@react-native/virtualized-lists" "0.75.0-nightly-20240502-88de74b2d"
abort-controller "^3.0.0"
anser "^1.4.9"
ansi-regex "^5.0.0"