Skip to content

Commit 9e3edeb

Browse files
committed
[DOM] Use SyntheticTransitionEvent for onTransitionRun, onTransitionStart, and onTransitionCancel (#37985)
DiffTrain build for [e9df86c](e9df86c)
1 parent ef836f8 commit 9e3edeb

23 files changed

Lines changed: 98 additions & 78 deletions

‎compiled-rn/VERSION_NATIVE_FB‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
19.3.0-native-fb-c050dbdd-20261026
1+
19.3.0-native-fb-e9df86ca-20261027

‎compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<7e9caa3f0d9637f6df0f583618636935>>
10+
* @generated SignedSource<<879d4b185ca96129e38ec1de1b6d5112>>
1111
*/
1212

1313
"use strict";
@@ -423,5 +423,5 @@ __DEV__ &&
423423
exports.useFormStatus = function () {
424424
return resolveDispatcher().useHostTransitionStatus();
425425
};
426-
exports.version = "19.3.0-native-fb-c050dbdd-20261026";
426+
exports.version = "19.3.0-native-fb-e9df86ca-20261027";
427427
})();

‎compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<c6dbd00be9ce5d7fdd1282803f4a8cfb>>
10+
* @generated SignedSource<<3e5e58f8be3a1299160f3f1b82e044c2>>
1111
*/
1212

1313
"use strict";
@@ -222,4 +222,4 @@ exports.useFormState = function (action, initialState, permalink) {
222222
exports.useFormStatus = function () {
223223
return ReactSharedInternals.H.useHostTransitionStatus();
224224
};
225-
exports.version = "19.3.0-native-fb-c050dbdd-20261026";
225+
exports.version = "19.3.0-native-fb-e9df86ca-20261027";

‎compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<c6dbd00be9ce5d7fdd1282803f4a8cfb>>
10+
* @generated SignedSource<<3e5e58f8be3a1299160f3f1b82e044c2>>
1111
*/
1212

1313
"use strict";
@@ -222,4 +222,4 @@ exports.useFormState = function (action, initialState, permalink) {
222222
exports.useFormStatus = function () {
223223
return ReactSharedInternals.H.useHostTransitionStatus();
224224
};
225-
exports.version = "19.3.0-native-fb-c050dbdd-20261026";
225+
exports.version = "19.3.0-native-fb-e9df86ca-20261027";

‎compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<75d53db1d1ef836dbe6885df441874e6>>
10+
* @generated SignedSource<<7db91008da6875d860040f73f6d9981d>>
1111
*/
1212

1313
/*
@@ -22151,7 +22151,10 @@ __DEV__ &&
2215122151
case ANIMATION_START:
2215222152
SyntheticEventCtor = SyntheticAnimationEvent;
2215322153
break;
22154+
case TRANSITION_CANCEL:
2215422155
case TRANSITION_END:
22156+
case TRANSITION_RUN:
22157+
case TRANSITION_START:
2215522158
SyntheticEventCtor = SyntheticTransitionEvent;
2215622159
break;
2215722160
case "scroll":
@@ -32435,11 +32438,11 @@ __DEV__ &&
3243532438
};
3243632439
(function () {
3243732440
var isomorphicReactPackageVersion = React.version;
32438-
if ("19.3.0-native-fb-c050dbdd-20261026" !== isomorphicReactPackageVersion)
32441+
if ("19.3.0-native-fb-e9df86ca-20261027" !== isomorphicReactPackageVersion)
3243932442
throw Error(
3244032443
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3244132444
(isomorphicReactPackageVersion +
32442-
"\n - react-dom: 19.3.0-native-fb-c050dbdd-20261026\nLearn more: https://react.dev/warnings/version-mismatch")
32445+
"\n - react-dom: 19.3.0-native-fb-e9df86ca-20261027\nLearn more: https://react.dev/warnings/version-mismatch")
3244332446
);
3244432447
})();
3244532448
("function" === typeof Map &&
@@ -32476,10 +32479,10 @@ __DEV__ &&
3247632479
!(function () {
3247732480
var internals = {
3247832481
bundleType: 1,
32479-
version: "19.3.0-native-fb-c050dbdd-20261026",
32482+
version: "19.3.0-native-fb-e9df86ca-20261027",
3248032483
rendererPackageName: "react-dom",
3248132484
currentDispatcherRef: ReactSharedInternals,
32482-
reconcilerVersion: "19.3.0-native-fb-c050dbdd-20261026"
32485+
reconcilerVersion: "19.3.0-native-fb-e9df86ca-20261027"
3248332486
};
3248432487
internals.overrideHookState = overrideHookState;
3248532488
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32629,5 +32632,5 @@ __DEV__ &&
3262932632
listenToAllSupportedEvents(container);
3263032633
return new ReactDOMHydrationRoot(initialChildren);
3263132634
};
32632-
exports.version = "19.3.0-native-fb-c050dbdd-20261026";
32635+
exports.version = "19.3.0-native-fb-e9df86ca-20261027";
3263332636
})();

‎compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<e78ed63fa0d869fce04dfc96e047a5b2>>
10+
* @generated SignedSource<<dad4164004856d84051959b22bff64ea>>
1111
*/
1212

1313
/*
@@ -14892,7 +14892,10 @@ function dispatchEventForPluginEventSystem(
1489214892
case ANIMATION_START:
1489314893
SyntheticEventCtor = SyntheticAnimationEvent;
1489414894
break;
14895+
case TRANSITION_CANCEL:
1489514896
case TRANSITION_END:
14897+
case TRANSITION_RUN:
14898+
case TRANSITION_START:
1489614899
SyntheticEventCtor = SyntheticTransitionEvent;
1489714900
break;
1489814901
case "scroll":
@@ -19569,14 +19572,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1956919572
};
1957019573
var isomorphicReactPackageVersion$jscomp$inline_2136 = React.version;
1957119574
if (
19572-
"19.3.0-native-fb-c050dbdd-20261026" !==
19575+
"19.3.0-native-fb-e9df86ca-20261027" !==
1957319576
isomorphicReactPackageVersion$jscomp$inline_2136
1957419577
)
1957519578
throw Error(
1957619579
formatProdErrorMessage(
1957719580
527,
1957819581
isomorphicReactPackageVersion$jscomp$inline_2136,
19579-
"19.3.0-native-fb-c050dbdd-20261026"
19582+
"19.3.0-native-fb-e9df86ca-20261027"
1958019583
)
1958119584
);
1958219585
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19598,10 +19601,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1959819601
};
1959919602
var internals$jscomp$inline_2708 = {
1960019603
bundleType: 0,
19601-
version: "19.3.0-native-fb-c050dbdd-20261026",
19604+
version: "19.3.0-native-fb-e9df86ca-20261027",
1960219605
rendererPackageName: "react-dom",
1960319606
currentDispatcherRef: ReactSharedInternals,
19604-
reconcilerVersion: "19.3.0-native-fb-c050dbdd-20261026"
19607+
reconcilerVersion: "19.3.0-native-fb-e9df86ca-20261027"
1960519608
};
1960619609
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1960719610
var hook$jscomp$inline_2709 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19708,4 +19711,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1970819711
listenToAllSupportedEvents(container);
1970919712
return new ReactDOMHydrationRoot(initialChildren);
1971019713
};
19711-
exports.version = "19.3.0-native-fb-c050dbdd-20261026";
19714+
exports.version = "19.3.0-native-fb-e9df86ca-20261027";

‎compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<6eb3ece709802773d0591bac4b7aae89>>
10+
* @generated SignedSource<<57ed9eb99d0db6c7ddf77114981aa8b6>>
1111
*/
1212

1313
/*
@@ -16920,7 +16920,10 @@ function dispatchEventForPluginEventSystem(
1692016920
case ANIMATION_START:
1692116921
SyntheticEventCtor = SyntheticAnimationEvent;
1692216922
break;
16923+
case TRANSITION_CANCEL:
1692316924
case TRANSITION_END:
16925+
case TRANSITION_RUN:
16926+
case TRANSITION_START:
1692416927
SyntheticEventCtor = SyntheticTransitionEvent;
1692516928
break;
1692616929
case "scroll":
@@ -21634,14 +21637,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
2163421637
};
2163521638
var isomorphicReactPackageVersion$jscomp$inline_2483 = React.version;
2163621639
if (
21637-
"19.3.0-native-fb-c050dbdd-20261026" !==
21640+
"19.3.0-native-fb-e9df86ca-20261027" !==
2163821641
isomorphicReactPackageVersion$jscomp$inline_2483
2163921642
)
2164021643
throw Error(
2164121644
formatProdErrorMessage(
2164221645
527,
2164321646
isomorphicReactPackageVersion$jscomp$inline_2483,
21644-
"19.3.0-native-fb-c050dbdd-20261026"
21647+
"19.3.0-native-fb-e9df86ca-20261027"
2164521648
)
2164621649
);
2164721650
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -21663,10 +21666,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
2166321666
};
2166421667
var internals$jscomp$inline_2490 = {
2166521668
bundleType: 0,
21666-
version: "19.3.0-native-fb-c050dbdd-20261026",
21669+
version: "19.3.0-native-fb-e9df86ca-20261027",
2166721670
rendererPackageName: "react-dom",
2166821671
currentDispatcherRef: ReactSharedInternals,
21669-
reconcilerVersion: "19.3.0-native-fb-c050dbdd-20261026",
21672+
reconcilerVersion: "19.3.0-native-fb-e9df86ca-20261027",
2167021673
getLaneLabelMap: function () {
2167121674
for (
2167221675
var map = new Map(), lane = 1, index$351 = 0;
@@ -21789,4 +21792,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
2178921792
listenToAllSupportedEvents(container);
2179021793
return new ReactDOMHydrationRoot(initialChildren);
2179121794
};
21792-
exports.version = "19.3.0-native-fb-c050dbdd-20261026";
21795+
exports.version = "19.3.0-native-fb-e9df86ca-20261027";

‎compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<c9ec0c7a7719a12c48d8046fa3861beb>>
10+
* @generated SignedSource<<20a3c14ba13e21947bc1190462676b18>>
1111
*/
1212

1313
/*
@@ -22159,7 +22159,10 @@ __DEV__ &&
2215922159
case ANIMATION_START:
2216022160
SyntheticEventCtor = SyntheticAnimationEvent;
2216122161
break;
22162+
case TRANSITION_CANCEL:
2216222163
case TRANSITION_END:
22164+
case TRANSITION_RUN:
22165+
case TRANSITION_START:
2216322166
SyntheticEventCtor = SyntheticTransitionEvent;
2216422167
break;
2216522168
case "scroll":
@@ -32497,11 +32500,11 @@ __DEV__ &&
3249732500
};
3249832501
(function () {
3249932502
var isomorphicReactPackageVersion = React.version;
32500-
if ("19.3.0-native-fb-c050dbdd-20261026" !== isomorphicReactPackageVersion)
32503+
if ("19.3.0-native-fb-e9df86ca-20261027" !== isomorphicReactPackageVersion)
3250132504
throw Error(
3250232505
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
3250332506
(isomorphicReactPackageVersion +
32504-
"\n - react-dom: 19.3.0-native-fb-c050dbdd-20261026\nLearn more: https://react.dev/warnings/version-mismatch")
32507+
"\n - react-dom: 19.3.0-native-fb-e9df86ca-20261027\nLearn more: https://react.dev/warnings/version-mismatch")
3250532508
);
3250632509
})();
3250732510
("function" === typeof Map &&
@@ -32538,10 +32541,10 @@ __DEV__ &&
3253832541
!(function () {
3253932542
var internals = {
3254032543
bundleType: 1,
32541-
version: "19.3.0-native-fb-c050dbdd-20261026",
32544+
version: "19.3.0-native-fb-e9df86ca-20261027",
3254232545
rendererPackageName: "react-dom",
3254332546
currentDispatcherRef: ReactSharedInternals,
32544-
reconcilerVersion: "19.3.0-native-fb-c050dbdd-20261026"
32547+
reconcilerVersion: "19.3.0-native-fb-e9df86ca-20261027"
3254532548
};
3254632549
internals.overrideHookState = overrideHookState;
3254732550
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -33019,7 +33022,7 @@ __DEV__ &&
3301933022
exports.useFormStatus = function () {
3302033023
return resolveDispatcher().useHostTransitionStatus();
3302133024
};
33022-
exports.version = "19.3.0-native-fb-c050dbdd-20261026";
33025+
exports.version = "19.3.0-native-fb-e9df86ca-20261027";
3302333026
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3302433027
"function" ===
3302533028
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

‎compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<4ce16bc14953c7b5ea211d884f26b54a>>
10+
* @generated SignedSource<<9c3000164648b9f1a56aff65ff2da54e>>
1111
*/
1212

1313
/*
@@ -14893,7 +14893,10 @@ function dispatchEventForPluginEventSystem(
1489314893
case ANIMATION_START:
1489414894
SyntheticEventCtor = SyntheticAnimationEvent;
1489514895
break;
14896+
case TRANSITION_CANCEL:
1489614897
case TRANSITION_END:
14898+
case TRANSITION_RUN:
14899+
case TRANSITION_START:
1489714900
SyntheticEventCtor = SyntheticTransitionEvent;
1489814901
break;
1489914902
case "scroll":
@@ -19586,14 +19589,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1958619589
};
1958719590
var isomorphicReactPackageVersion$jscomp$inline_2137 = React.version;
1958819591
if (
19589-
"19.3.0-native-fb-c050dbdd-20261026" !==
19592+
"19.3.0-native-fb-e9df86ca-20261027" !==
1959019593
isomorphicReactPackageVersion$jscomp$inline_2137
1959119594
)
1959219595
throw Error(
1959319596
formatProdErrorMessage(
1959419597
527,
1959519598
isomorphicReactPackageVersion$jscomp$inline_2137,
19596-
"19.3.0-native-fb-c050dbdd-20261026"
19599+
"19.3.0-native-fb-e9df86ca-20261027"
1959719600
)
1959819601
);
1959919602
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19615,10 +19618,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1961519618
};
1961619619
var internals$jscomp$inline_2711 = {
1961719620
bundleType: 0,
19618-
version: "19.3.0-native-fb-c050dbdd-20261026",
19621+
version: "19.3.0-native-fb-e9df86ca-20261027",
1961919622
rendererPackageName: "react-dom",
1962019623
currentDispatcherRef: ReactSharedInternals,
19621-
reconcilerVersion: "19.3.0-native-fb-c050dbdd-20261026"
19624+
reconcilerVersion: "19.3.0-native-fb-e9df86ca-20261027"
1962219625
};
1962319626
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1962419627
var hook$jscomp$inline_2712 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19890,4 +19893,4 @@ exports.useFormState = function (action, initialState, permalink) {
1989019893
exports.useFormStatus = function () {
1989119894
return ReactSharedInternals.H.useHostTransitionStatus();
1989219895
};
19893-
exports.version = "19.3.0-native-fb-c050dbdd-20261026";
19896+
exports.version = "19.3.0-native-fb-e9df86ca-20261027";

‎compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js‎

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @noflow
88
* @nolint
99
* @preventMunge
10-
* @generated SignedSource<<ff3a2d56087172b22f22af2f1913c2e4>>
10+
* @generated SignedSource<<f237751c1d12485341854c450921d9bf>>
1111
*/
1212

1313
/*
@@ -16925,7 +16925,10 @@ function dispatchEventForPluginEventSystem(
1692516925
case ANIMATION_START:
1692616926
SyntheticEventCtor = SyntheticAnimationEvent;
1692716927
break;
16928+
case TRANSITION_CANCEL:
1692816929
case TRANSITION_END:
16930+
case TRANSITION_RUN:
16931+
case TRANSITION_START:
1692916932
SyntheticEventCtor = SyntheticTransitionEvent;
1693016933
break;
1693116934
case "scroll":
@@ -21655,14 +21658,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
2165521658
};
2165621659
var isomorphicReactPackageVersion$jscomp$inline_2484 = React.version;
2165721660
if (
21658-
"19.3.0-native-fb-c050dbdd-20261026" !==
21661+
"19.3.0-native-fb-e9df86ca-20261027" !==
2165921662
isomorphicReactPackageVersion$jscomp$inline_2484
2166021663
)
2166121664
throw Error(
2166221665
formatProdErrorMessage(
2166321666
527,
2166421667
isomorphicReactPackageVersion$jscomp$inline_2484,
21665-
"19.3.0-native-fb-c050dbdd-20261026"
21668+
"19.3.0-native-fb-e9df86ca-20261027"
2166621669
)
2166721670
);
2166821671
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -21684,10 +21687,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
2168421687
};
2168521688
var internals$jscomp$inline_2491 = {
2168621689
bundleType: 0,
21687-
version: "19.3.0-native-fb-c050dbdd-20261026",
21690+
version: "19.3.0-native-fb-e9df86ca-20261027",
2168821691
rendererPackageName: "react-dom",
2168921692
currentDispatcherRef: ReactSharedInternals,
21690-
reconcilerVersion: "19.3.0-native-fb-c050dbdd-20261026",
21693+
reconcilerVersion: "19.3.0-native-fb-e9df86ca-20261027",
2169121694
getLaneLabelMap: function () {
2169221695
for (
2169321696
var map = new Map(), lane = 1, index$351 = 0;
@@ -21975,7 +21978,7 @@ exports.useFormState = function (action, initialState, permalink) {
2197521978
exports.useFormStatus = function () {
2197621979
return ReactSharedInternals.H.useHostTransitionStatus();
2197721980
};
21978-
exports.version = "19.3.0-native-fb-c050dbdd-20261026";
21981+
exports.version = "19.3.0-native-fb-e9df86ca-20261027";
2197921982
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2198021983
"function" ===
2198121984
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

0 commit comments

Comments
 (0)