Skip to content

Commit 5f6bd9c

Browse files
committed
Export addTransitionType for www (facebook#32311)
need dis based api DiffTrain build for [ff62833](facebook@ff62833)
1 parent 55a73e5 commit 5f6bd9c

34 files changed

+128
-86
lines changed

compiled/facebook-www/REVISION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
32b411496b92455cede3b286eb37c8b183989051
1+
ff6283340a10bb72ad0fb16ca027606a9ea1e67c
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
32b411496b92455cede3b286eb37c8b183989051
1+
ff6283340a10bb72ad0fb16ca027606a9ea1e67c

compiled/facebook-www/React-dev.classic.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -1884,6 +1884,13 @@ __DEV__ &&
18841884
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
18851885
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
18861886
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
1887+
exports.unstable_addTransitionType = function (type) {
1888+
var pendingTransitionTypes = ReactSharedInternals.V;
1889+
null === pendingTransitionTypes
1890+
? (ReactSharedInternals.V = [type])
1891+
: -1 === pendingTransitionTypes.indexOf(type) &&
1892+
pendingTransitionTypes.push(type);
1893+
};
18871894
exports.unstable_getCacheForType = function (resourceType) {
18881895
var dispatcher = ReactSharedInternals.A;
18891896
return dispatcher
@@ -1965,7 +1972,7 @@ __DEV__ &&
19651972
exports.useTransition = function () {
19661973
return resolveDispatcher().useTransition();
19671974
};
1968-
exports.version = "19.1.0-www-classic-32b41149-20250204";
1975+
exports.version = "19.1.0-www-classic-ff628334-20250205";
19691976
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19701977
"function" ===
19711978
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-dev.modern.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -1884,6 +1884,13 @@ __DEV__ &&
18841884
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
18851885
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
18861886
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
1887+
exports.unstable_addTransitionType = function (type) {
1888+
var pendingTransitionTypes = ReactSharedInternals.V;
1889+
null === pendingTransitionTypes
1890+
? (ReactSharedInternals.V = [type])
1891+
: -1 === pendingTransitionTypes.indexOf(type) &&
1892+
pendingTransitionTypes.push(type);
1893+
};
18871894
exports.unstable_getCacheForType = function (resourceType) {
18881895
var dispatcher = ReactSharedInternals.A;
18891896
return dispatcher
@@ -1965,7 +1972,7 @@ __DEV__ &&
19651972
exports.useTransition = function () {
19661973
return resolveDispatcher().useTransition();
19671974
};
1968-
exports.version = "19.1.0-www-modern-32b41149-20250204";
1975+
exports.version = "19.1.0-www-modern-ff628334-20250205";
19691976
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
19701977
"function" ===
19711978
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-prod.classic.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,13 @@ exports.unstable_Scope = REACT_SCOPE_TYPE;
564564
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
565565
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
566566
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
567+
exports.unstable_addTransitionType = function (type) {
568+
var pendingTransitionTypes = ReactSharedInternals.V;
569+
null === pendingTransitionTypes
570+
? (ReactSharedInternals.V = [type])
571+
: -1 === pendingTransitionTypes.indexOf(type) &&
572+
pendingTransitionTypes.push(type);
573+
};
567574
exports.unstable_getCacheForType = function (resourceType) {
568575
var dispatcher = ReactSharedInternals.A;
569576
return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
@@ -632,4 +639,4 @@ exports.useSyncExternalStore = function (
632639
exports.useTransition = function () {
633640
return ReactSharedInternals.H.useTransition();
634641
};
635-
exports.version = "19.1.0-www-classic-32b41149-20250204";
642+
exports.version = "19.1.0-www-classic-ff628334-20250205";

compiled/facebook-www/React-prod.modern.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,13 @@ exports.unstable_Scope = REACT_SCOPE_TYPE;
564564
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
565565
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
566566
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
567+
exports.unstable_addTransitionType = function (type) {
568+
var pendingTransitionTypes = ReactSharedInternals.V;
569+
null === pendingTransitionTypes
570+
? (ReactSharedInternals.V = [type])
571+
: -1 === pendingTransitionTypes.indexOf(type) &&
572+
pendingTransitionTypes.push(type);
573+
};
567574
exports.unstable_getCacheForType = function (resourceType) {
568575
var dispatcher = ReactSharedInternals.A;
569576
return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
@@ -632,4 +639,4 @@ exports.useSyncExternalStore = function (
632639
exports.useTransition = function () {
633640
return ReactSharedInternals.H.useTransition();
634641
};
635-
exports.version = "19.1.0-www-modern-32b41149-20250204";
642+
exports.version = "19.1.0-www-modern-ff628334-20250205";

compiled/facebook-www/React-profiling.classic.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,13 @@ exports.unstable_Scope = REACT_SCOPE_TYPE;
568568
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
569569
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
570570
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
571+
exports.unstable_addTransitionType = function (type) {
572+
var pendingTransitionTypes = ReactSharedInternals.V;
573+
null === pendingTransitionTypes
574+
? (ReactSharedInternals.V = [type])
575+
: -1 === pendingTransitionTypes.indexOf(type) &&
576+
pendingTransitionTypes.push(type);
577+
};
571578
exports.unstable_getCacheForType = function (resourceType) {
572579
var dispatcher = ReactSharedInternals.A;
573580
return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
@@ -636,7 +643,7 @@ exports.useSyncExternalStore = function (
636643
exports.useTransition = function () {
637644
return ReactSharedInternals.H.useTransition();
638645
};
639-
exports.version = "19.1.0-www-classic-32b41149-20250204";
646+
exports.version = "19.1.0-www-classic-ff628334-20250205";
640647
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
641648
"function" ===
642649
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/React-profiling.modern.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -568,6 +568,13 @@ exports.unstable_Scope = REACT_SCOPE_TYPE;
568568
exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
569569
exports.unstable_TracingMarker = REACT_TRACING_MARKER_TYPE;
570570
exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
571+
exports.unstable_addTransitionType = function (type) {
572+
var pendingTransitionTypes = ReactSharedInternals.V;
573+
null === pendingTransitionTypes
574+
? (ReactSharedInternals.V = [type])
575+
: -1 === pendingTransitionTypes.indexOf(type) &&
576+
pendingTransitionTypes.push(type);
577+
};
571578
exports.unstable_getCacheForType = function (resourceType) {
572579
var dispatcher = ReactSharedInternals.A;
573580
return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
@@ -636,7 +643,7 @@ exports.useSyncExternalStore = function (
636643
exports.useTransition = function () {
637644
return ReactSharedInternals.H.useTransition();
638645
};
639-
exports.version = "19.1.0-www-modern-32b41149-20250204";
646+
exports.version = "19.1.0-www-modern-ff628334-20250205";
640647
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
641648
"function" ===
642649
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.classic.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -17417,10 +17417,10 @@ __DEV__ &&
1741717417
(function () {
1741817418
var internals = {
1741917419
bundleType: 1,
17420-
version: "19.1.0-www-classic-32b41149-20250204",
17420+
version: "19.1.0-www-classic-ff628334-20250205",
1742117421
rendererPackageName: "react-art",
1742217422
currentDispatcherRef: ReactSharedInternals,
17423-
reconcilerVersion: "19.1.0-www-classic-32b41149-20250204"
17423+
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
1742417424
};
1742517425
internals.overrideHookState = overrideHookState;
1742617426
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17454,7 +17454,7 @@ __DEV__ &&
1745417454
exports.Shape = Shape;
1745517455
exports.Surface = Surface;
1745617456
exports.Text = Text;
17457-
exports.version = "19.1.0-www-classic-32b41149-20250204";
17457+
exports.version = "19.1.0-www-classic-ff628334-20250205";
1745817458
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1745917459
"function" ===
1746017460
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-dev.modern.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -17189,10 +17189,10 @@ __DEV__ &&
1718917189
(function () {
1719017190
var internals = {
1719117191
bundleType: 1,
17192-
version: "19.1.0-www-modern-32b41149-20250204",
17192+
version: "19.1.0-www-modern-ff628334-20250205",
1719317193
rendererPackageName: "react-art",
1719417194
currentDispatcherRef: ReactSharedInternals,
17195-
reconcilerVersion: "19.1.0-www-modern-32b41149-20250204"
17195+
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
1719617196
};
1719717197
internals.overrideHookState = overrideHookState;
1719817198
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -17226,7 +17226,7 @@ __DEV__ &&
1722617226
exports.Shape = Shape;
1722717227
exports.Surface = Surface;
1722817228
exports.Text = Text;
17229-
exports.version = "19.1.0-www-modern-32b41149-20250204";
17229+
exports.version = "19.1.0-www-modern-ff628334-20250205";
1723017230
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1723117231
"function" ===
1723217232
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactART-prod.classic.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -11275,10 +11275,10 @@ var slice = Array.prototype.slice,
1127511275
})(React.Component);
1127611276
var internals$jscomp$inline_1567 = {
1127711277
bundleType: 0,
11278-
version: "19.1.0-www-classic-32b41149-20250204",
11278+
version: "19.1.0-www-classic-ff628334-20250205",
1127911279
rendererPackageName: "react-art",
1128011280
currentDispatcherRef: ReactSharedInternals,
11281-
reconcilerVersion: "19.1.0-www-classic-32b41149-20250204"
11281+
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
1128211282
};
1128311283
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1128411284
var hook$jscomp$inline_1568 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11304,4 +11304,4 @@ exports.RadialGradient = RadialGradient;
1130411304
exports.Shape = TYPES.SHAPE;
1130511305
exports.Surface = Surface;
1130611306
exports.Text = Text;
11307-
exports.version = "19.1.0-www-classic-32b41149-20250204";
11307+
exports.version = "19.1.0-www-classic-ff628334-20250205";

compiled/facebook-www/ReactART-prod.modern.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -10990,10 +10990,10 @@ var slice = Array.prototype.slice,
1099010990
})(React.Component);
1099110991
var internals$jscomp$inline_1540 = {
1099210992
bundleType: 0,
10993-
version: "19.1.0-www-modern-32b41149-20250204",
10993+
version: "19.1.0-www-modern-ff628334-20250205",
1099410994
rendererPackageName: "react-art",
1099510995
currentDispatcherRef: ReactSharedInternals,
10996-
reconcilerVersion: "19.1.0-www-modern-32b41149-20250204"
10996+
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
1099710997
};
1099810998
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1099910999
var hook$jscomp$inline_1541 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11019,4 +11019,4 @@ exports.RadialGradient = RadialGradient;
1101911019
exports.Shape = TYPES.SHAPE;
1102011020
exports.Surface = Surface;
1102111021
exports.Text = Text;
11022-
exports.version = "19.1.0-www-modern-32b41149-20250204";
11022+
exports.version = "19.1.0-www-modern-ff628334-20250205";

compiled/facebook-www/ReactDOM-dev.classic.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -28615,11 +28615,11 @@ __DEV__ &&
2861528615
return_targetInst = null;
2861628616
(function () {
2861728617
var isomorphicReactPackageVersion = React.version;
28618-
if ("19.1.0-www-classic-32b41149-20250204" !== isomorphicReactPackageVersion)
28618+
if ("19.1.0-www-classic-ff628334-20250205" !== isomorphicReactPackageVersion)
2861928619
throw Error(
2862028620
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2862128621
(isomorphicReactPackageVersion +
28622-
"\n - react-dom: 19.1.0-www-classic-32b41149-20250204\nLearn more: https://react.dev/warnings/version-mismatch")
28622+
"\n - react-dom: 19.1.0-www-classic-ff628334-20250205\nLearn more: https://react.dev/warnings/version-mismatch")
2862328623
);
2862428624
})();
2862528625
("function" === typeof Map &&
@@ -28662,10 +28662,10 @@ __DEV__ &&
2866228662
!(function () {
2866328663
var internals = {
2866428664
bundleType: 1,
28665-
version: "19.1.0-www-classic-32b41149-20250204",
28665+
version: "19.1.0-www-classic-ff628334-20250205",
2866628666
rendererPackageName: "react-dom",
2866728667
currentDispatcherRef: ReactSharedInternals,
28668-
reconcilerVersion: "19.1.0-www-classic-32b41149-20250204"
28668+
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
2866928669
};
2867028670
internals.overrideHookState = overrideHookState;
2867128671
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29263,7 +29263,7 @@ __DEV__ &&
2926329263
exports.useFormStatus = function () {
2926429264
return resolveDispatcher().useHostTransitionStatus();
2926529265
};
29266-
exports.version = "19.1.0-www-classic-32b41149-20250204";
29266+
exports.version = "19.1.0-www-classic-ff628334-20250205";
2926729267
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2926829268
"function" ===
2926929269
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactDOM-dev.modern.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -28401,11 +28401,11 @@ __DEV__ &&
2840128401
return_targetInst = null;
2840228402
(function () {
2840328403
var isomorphicReactPackageVersion = React.version;
28404-
if ("19.1.0-www-modern-32b41149-20250204" !== isomorphicReactPackageVersion)
28404+
if ("19.1.0-www-modern-ff628334-20250205" !== isomorphicReactPackageVersion)
2840528405
throw Error(
2840628406
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
2840728407
(isomorphicReactPackageVersion +
28408-
"\n - react-dom: 19.1.0-www-modern-32b41149-20250204\nLearn more: https://react.dev/warnings/version-mismatch")
28408+
"\n - react-dom: 19.1.0-www-modern-ff628334-20250205\nLearn more: https://react.dev/warnings/version-mismatch")
2840928409
);
2841028410
})();
2841128411
("function" === typeof Map &&
@@ -28448,10 +28448,10 @@ __DEV__ &&
2844828448
!(function () {
2844928449
var internals = {
2845028450
bundleType: 1,
28451-
version: "19.1.0-www-modern-32b41149-20250204",
28451+
version: "19.1.0-www-modern-ff628334-20250205",
2845228452
rendererPackageName: "react-dom",
2845328453
currentDispatcherRef: ReactSharedInternals,
28454-
reconcilerVersion: "19.1.0-www-modern-32b41149-20250204"
28454+
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
2845528455
};
2845628456
internals.overrideHookState = overrideHookState;
2845728457
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -29049,7 +29049,7 @@ __DEV__ &&
2904929049
exports.useFormStatus = function () {
2905029050
return resolveDispatcher().useHostTransitionStatus();
2905129051
};
29052-
exports.version = "19.1.0-www-modern-32b41149-20250204";
29052+
exports.version = "19.1.0-www-modern-ff628334-20250205";
2905329053
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2905429054
"function" ===
2905529055
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&

compiled/facebook-www/ReactDOM-prod.classic.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -18440,14 +18440,14 @@ function getCrossOriginStringAs(as, input) {
1844018440
}
1844118441
var isomorphicReactPackageVersion$jscomp$inline_1871 = React.version;
1844218442
if (
18443-
"19.1.0-www-classic-32b41149-20250204" !==
18443+
"19.1.0-www-classic-ff628334-20250205" !==
1844418444
isomorphicReactPackageVersion$jscomp$inline_1871
1844518445
)
1844618446
throw Error(
1844718447
formatProdErrorMessage(
1844818448
527,
1844918449
isomorphicReactPackageVersion$jscomp$inline_1871,
18450-
"19.1.0-www-classic-32b41149-20250204"
18450+
"19.1.0-www-classic-ff628334-20250205"
1845118451
)
1845218452
);
1845318453
Internals.findDOMNode = function (componentOrElement) {
@@ -18465,10 +18465,10 @@ Internals.Events = [
1846518465
];
1846618466
var internals$jscomp$inline_2431 = {
1846718467
bundleType: 0,
18468-
version: "19.1.0-www-classic-32b41149-20250204",
18468+
version: "19.1.0-www-classic-ff628334-20250205",
1846918469
rendererPackageName: "react-dom",
1847018470
currentDispatcherRef: ReactSharedInternals,
18471-
reconcilerVersion: "19.1.0-www-classic-32b41149-20250204"
18471+
reconcilerVersion: "19.1.0-www-classic-ff628334-20250205"
1847218472
};
1847318473
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1847418474
var hook$jscomp$inline_2432 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18832,4 +18832,4 @@ exports.useFormState = function (action, initialState, permalink) {
1883218832
exports.useFormStatus = function () {
1883318833
return ReactSharedInternals.H.useHostTransitionStatus();
1883418834
};
18835-
exports.version = "19.1.0-www-classic-32b41149-20250204";
18835+
exports.version = "19.1.0-www-classic-ff628334-20250205";

compiled/facebook-www/ReactDOM-prod.modern.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -18171,14 +18171,14 @@ function getCrossOriginStringAs(as, input) {
1817118171
}
1817218172
var isomorphicReactPackageVersion$jscomp$inline_1861 = React.version;
1817318173
if (
18174-
"19.1.0-www-modern-32b41149-20250204" !==
18174+
"19.1.0-www-modern-ff628334-20250205" !==
1817518175
isomorphicReactPackageVersion$jscomp$inline_1861
1817618176
)
1817718177
throw Error(
1817818178
formatProdErrorMessage(
1817918179
527,
1818018180
isomorphicReactPackageVersion$jscomp$inline_1861,
18181-
"19.1.0-www-modern-32b41149-20250204"
18181+
"19.1.0-www-modern-ff628334-20250205"
1818218182
)
1818318183
);
1818418184
Internals.findDOMNode = function (componentOrElement) {
@@ -18196,10 +18196,10 @@ Internals.Events = [
1819618196
];
1819718197
var internals$jscomp$inline_2413 = {
1819818198
bundleType: 0,
18199-
version: "19.1.0-www-modern-32b41149-20250204",
18199+
version: "19.1.0-www-modern-ff628334-20250205",
1820018200
rendererPackageName: "react-dom",
1820118201
currentDispatcherRef: ReactSharedInternals,
18202-
reconcilerVersion: "19.1.0-www-modern-32b41149-20250204"
18202+
reconcilerVersion: "19.1.0-www-modern-ff628334-20250205"
1820318203
};
1820418204
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1820518205
var hook$jscomp$inline_2414 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -18563,4 +18563,4 @@ exports.useFormState = function (action, initialState, permalink) {
1856318563
exports.useFormStatus = function () {
1856418564
return ReactSharedInternals.H.useHostTransitionStatus();
1856518565
};
18566-
exports.version = "19.1.0-www-modern-32b41149-20250204";
18566+
exports.version = "19.1.0-www-modern-ff628334-20250205";

0 commit comments

Comments
 (0)