[Fizz] Make ViewTransition enter/exit/share null the same as none (#33331)

I believe that these mean the same thing. We don't have to emit the
attribute if it's `none` for these cases because if there is no matching
scenario we won't apply the animation in this case.

The only case where we have to emit `none` in the attribute is for
`vt-update` because those can block updates from propagating upwards.

DiffTrain build for [08064ea671](https://github.com/facebook/react/commit/08064ea6713ff55730c5d4f50b733891ebe0e875)
This commit is contained in:
sebmarkbage
2025-05-22 07:28:24 -07:00
parent 6aa2f23d6e
commit 6e4ebd744d
36 changed files with 128 additions and 132 deletions
+1 -1
View File
@@ -1 +1 @@
99781d605b6a6fd332bba654ac0c328e41df888c
08064ea6713ff55730c5d4f50b733891ebe0e875
+1 -1
View File
@@ -1 +1 @@
99781d605b6a6fd332bba654ac0c328e41df888c
08064ea6713ff55730c5d4f50b733891ebe0e875
+1 -1
View File
@@ -1537,7 +1537,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1537,7 +1537,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
+1 -1
View File
@@ -635,4 +635,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -639,7 +639,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19080,10 +19080,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-99781d60-20250522",
version: "19.2.0-www-classic-08064ea6-20250522",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
reconcilerVersion: "19.2.0-www-classic-08064ea6-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19117,7 +19117,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -18852,10 +18852,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-99781d60-20250522",
version: "19.2.0-www-modern-08064ea6-20250522",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
reconcilerVersion: "19.2.0-www-modern-08064ea6-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18889,7 +18889,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11392,10 +11392,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1624 = {
bundleType: 0,
version: "19.2.0-www-classic-99781d60-20250522",
version: "19.2.0-www-classic-08064ea6-20250522",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
reconcilerVersion: "19.2.0-www-classic-08064ea6-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1625 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11421,4 +11421,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
@@ -11104,10 +11104,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1597 = {
bundleType: 0,
version: "19.2.0-www-modern-99781d60-20250522",
version: "19.2.0-www-modern-08064ea6-20250522",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
reconcilerVersion: "19.2.0-www-modern-08064ea6-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1598 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11133,4 +11133,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
@@ -31452,11 +31452,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-99781d60-20250522" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-08064ea6-20250522" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-classic-99781d60-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-08064ea6-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31499,10 +31499,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-99781d60-20250522",
version: "19.2.0-www-classic-08064ea6-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
reconcilerVersion: "19.2.0-www-classic-08064ea6-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32102,7 +32102,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -31238,11 +31238,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-99781d60-20250522" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-08064ea6-20250522" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-modern-99781d60-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-08064ea6-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31285,10 +31285,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-99781d60-20250522",
version: "19.2.0-www-modern-08064ea6-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
reconcilerVersion: "19.2.0-www-modern-08064ea6-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31888,7 +31888,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19566,14 +19566,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2083 = React.version;
if (
"19.2.0-www-classic-99781d60-20250522" !==
"19.2.0-www-classic-08064ea6-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2083
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2083,
"19.2.0-www-classic-99781d60-20250522"
"19.2.0-www-classic-08064ea6-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19591,10 +19591,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2696 = {
bundleType: 0,
version: "19.2.0-www-classic-99781d60-20250522",
version: "19.2.0-www-classic-08064ea6-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
reconcilerVersion: "19.2.0-www-classic-08064ea6-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2697 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20006,4 +20006,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
@@ -19295,14 +19295,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2073 = React.version;
if (
"19.2.0-www-modern-99781d60-20250522" !==
"19.2.0-www-modern-08064ea6-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2073
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2073,
"19.2.0-www-modern-99781d60-20250522"
"19.2.0-www-modern-08064ea6-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19320,10 +19320,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2678 = {
bundleType: 0,
version: "19.2.0-www-modern-99781d60-20250522",
version: "19.2.0-www-modern-08064ea6-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
reconcilerVersion: "19.2.0-www-modern-08064ea6-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2679 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19735,4 +19735,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
@@ -21548,14 +21548,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2327 = React.version;
if (
"19.2.0-www-classic-99781d60-20250522" !==
"19.2.0-www-classic-08064ea6-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2327
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2327,
"19.2.0-www-classic-99781d60-20250522"
"19.2.0-www-classic-08064ea6-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21573,10 +21573,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2329 = {
bundleType: 0,
version: "19.2.0-www-classic-99781d60-20250522",
version: "19.2.0-www-classic-08064ea6-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
reconcilerVersion: "19.2.0-www-classic-08064ea6-20250522"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2329.getLaneLabelMap = getLaneLabelMap),
@@ -21991,7 +21991,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -21346,14 +21346,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2317 = React.version;
if (
"19.2.0-www-modern-99781d60-20250522" !==
"19.2.0-www-modern-08064ea6-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2317
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2317,
"19.2.0-www-modern-99781d60-20250522"
"19.2.0-www-modern-08064ea6-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21371,10 +21371,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2319 = {
bundleType: 0,
version: "19.2.0-www-modern-99781d60-20250522",
version: "19.2.0-www-modern-08064ea6-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
reconcilerVersion: "19.2.0-www-modern-08064ea6-20250522"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2319.getLaneLabelMap = getLaneLabelMap),
@@ -21789,7 +21789,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -866,8 +866,8 @@ __DEV__ &&
? null
: {
update: parentViewTransition.update,
enter: null,
exit: null,
enter: "none",
exit: "none",
share: parentViewTransition.update,
name: parentViewTransition.autoName,
autoName: parentViewTransition.autoName,
@@ -911,11 +911,11 @@ __DEV__ &&
),
formatContext.nameIdx++),
pushStringAttribute(target, "vt-update", formatContext.update),
null !== formatContext.enter &&
"none" !== formatContext.enter &&
pushStringAttribute(target, "vt-enter", formatContext.enter),
null !== formatContext.exit &&
"none" !== formatContext.exit &&
pushStringAttribute(target, "vt-exit", formatContext.exit),
null !== formatContext.share &&
"none" !== formatContext.share &&
pushStringAttribute(target, "vt-share", formatContext.share)));
}
function pushStyleAttribute(target, style) {
@@ -10120,5 +10120,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
})();
@@ -866,8 +866,8 @@ __DEV__ &&
? null
: {
update: parentViewTransition.update,
enter: null,
exit: null,
enter: "none",
exit: "none",
share: parentViewTransition.update,
name: parentViewTransition.autoName,
autoName: parentViewTransition.autoName,
@@ -911,11 +911,11 @@ __DEV__ &&
),
formatContext.nameIdx++),
pushStringAttribute(target, "vt-update", formatContext.update),
null !== formatContext.enter &&
"none" !== formatContext.enter &&
pushStringAttribute(target, "vt-enter", formatContext.enter),
null !== formatContext.exit &&
"none" !== formatContext.exit &&
pushStringAttribute(target, "vt-exit", formatContext.exit),
null !== formatContext.share &&
"none" !== formatContext.share &&
pushStringAttribute(target, "vt-share", formatContext.share)));
}
function pushStyleAttribute(target, style) {
@@ -10049,5 +10049,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
})();
@@ -421,8 +421,8 @@ function getSuspenseViewTransition(parentViewTransition) {
? null
: {
update: parentViewTransition.update,
enter: null,
exit: null,
enter: "none",
exit: "none",
share: parentViewTransition.update,
name: parentViewTransition.autoName,
autoName: parentViewTransition.autoName,
@@ -465,11 +465,11 @@ function pushViewTransitionAttributes(target, formatContext) {
),
formatContext.nameIdx++),
pushStringAttribute(target, "vt-update", formatContext.update),
null !== formatContext.enter &&
"none" !== formatContext.enter &&
pushStringAttribute(target, "vt-enter", formatContext.enter),
null !== formatContext.exit &&
"none" !== formatContext.exit &&
pushStringAttribute(target, "vt-exit", formatContext.exit),
null !== formatContext.share &&
"none" !== formatContext.share &&
pushStringAttribute(target, "vt-share", formatContext.share)));
}
var styleNameCache = new Map();
@@ -6848,4 +6848,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
@@ -419,8 +419,8 @@ function getSuspenseViewTransition(parentViewTransition) {
? null
: {
update: parentViewTransition.update,
enter: null,
exit: null,
enter: "none",
exit: "none",
share: parentViewTransition.update,
name: parentViewTransition.autoName,
autoName: parentViewTransition.autoName,
@@ -463,11 +463,11 @@ function pushViewTransitionAttributes(target, formatContext) {
),
formatContext.nameIdx++),
pushStringAttribute(target, "vt-update", formatContext.update),
null !== formatContext.enter &&
"none" !== formatContext.enter &&
pushStringAttribute(target, "vt-enter", formatContext.enter),
null !== formatContext.exit &&
"none" !== formatContext.exit &&
pushStringAttribute(target, "vt-exit", formatContext.exit),
null !== formatContext.share &&
"none" !== formatContext.share &&
pushStringAttribute(target, "vt-share", formatContext.share)));
}
var styleNameCache = new Map();
@@ -6706,4 +6706,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
@@ -821,8 +821,8 @@ __DEV__ &&
? null
: {
update: parentViewTransition.update,
enter: null,
exit: null,
enter: "none",
exit: "none",
share: parentViewTransition.update,
name: parentViewTransition.autoName,
autoName: parentViewTransition.autoName,
@@ -879,11 +879,11 @@ __DEV__ &&
),
formatContext.nameIdx++),
pushStringAttribute(target, "vt-update", formatContext.update),
null !== formatContext.enter &&
"none" !== formatContext.enter &&
pushStringAttribute(target, "vt-enter", formatContext.enter),
null !== formatContext.exit &&
"none" !== formatContext.exit &&
pushStringAttribute(target, "vt-exit", formatContext.exit),
null !== formatContext.share &&
"none" !== formatContext.share &&
pushStringAttribute(target, "vt-share", formatContext.share)));
}
function pushStyleAttribute(target, style) {
@@ -5746,19 +5746,17 @@ __DEV__ &&
null !== parentViewTransition
? ((name$jscomp$0 = parentViewTransition.name),
(share = parentViewTransition.share))
: ((name$jscomp$0 = "auto"), (share = null));
: ((name$jscomp$0 = "auto"), (share = "none"));
} else
"none" === share
? (share = null)
: (null == share && (share = "auto"),
prevContext$jscomp$0.tagScope & 4 &&
(resumableState$jscomp$1.instructions |= 128));
null == share && (share = "auto"),
prevContext$jscomp$0.tagScope & 4 &&
(resumableState$jscomp$1.instructions |= 128);
prevContext$jscomp$0.tagScope & 8
? (resumableState$jscomp$1.instructions |= 128)
: (exit = null);
: (exit = "none");
prevContext$jscomp$0.tagScope & 16
? (resumableState$jscomp$1.instructions |= 128)
: (enter = null);
: (enter = "none");
var viewTransition = {
update: update,
enter: enter,
@@ -385,8 +385,8 @@ function getSuspenseViewTransition(parentViewTransition) {
? null
: {
update: parentViewTransition.update,
enter: null,
exit: null,
enter: "none",
exit: "none",
share: parentViewTransition.update,
name: parentViewTransition.autoName,
autoName: parentViewTransition.autoName,
@@ -438,11 +438,11 @@ function pushViewTransitionAttributes(target, formatContext) {
),
formatContext.nameIdx++),
pushStringAttribute(target, "vt-update", formatContext.update),
null !== formatContext.enter &&
"none" !== formatContext.enter &&
pushStringAttribute(target, "vt-enter", formatContext.enter),
null !== formatContext.exit &&
"none" !== formatContext.exit &&
pushStringAttribute(target, "vt-exit", formatContext.exit),
null !== formatContext.share &&
"none" !== formatContext.share &&
pushStringAttribute(target, "vt-share", formatContext.share)));
}
var styleNameCache = new Map();
@@ -4579,19 +4579,17 @@ function renderElement(request, task, keyPath, type, props, ref) {
null !== parentViewTransition
? ((name = parentViewTransition.name),
(share = parentViewTransition.share))
: ((name = "auto"), (share = null));
: ((name = "auto"), (share = "none"));
} else
"none" === share
? (share = null)
: (null == share && (share = "auto"),
prevContext$jscomp$0.tagScope & 4 &&
(resumableState$jscomp$1.instructions |= 128));
null == share && (share = "auto"),
prevContext$jscomp$0.tagScope & 4 &&
(resumableState$jscomp$1.instructions |= 128);
prevContext$jscomp$0.tagScope & 8
? (resumableState$jscomp$1.instructions |= 128)
: (exit = null);
: (exit = "none");
prevContext$jscomp$0.tagScope & 16
? (resumableState$jscomp$1.instructions |= 128)
: (enter = null);
: (enter = "none");
var viewTransition = {
update: update,
enter: enter,
@@ -31773,11 +31773,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-99781d60-20250522" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-08064ea6-20250522" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-classic-99781d60-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-08064ea6-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31820,10 +31820,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-99781d60-20250522",
version: "19.2.0-www-classic-08064ea6-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
reconcilerVersion: "19.2.0-www-classic-08064ea6-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32589,5 +32589,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
})();
@@ -31559,11 +31559,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-99781d60-20250522" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-08064ea6-20250522" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-modern-99781d60-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-08064ea6-20250522\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31606,10 +31606,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-99781d60-20250522",
version: "19.2.0-www-modern-08064ea6-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
reconcilerVersion: "19.2.0-www-modern-08064ea6-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32375,5 +32375,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
})();
@@ -19882,14 +19882,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2112 = React.version;
if (
"19.2.0-www-classic-99781d60-20250522" !==
"19.2.0-www-classic-08064ea6-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2112
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2112,
"19.2.0-www-classic-99781d60-20250522"
"19.2.0-www-classic-08064ea6-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19907,10 +19907,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2730 = {
bundleType: 0,
version: "19.2.0-www-classic-99781d60-20250522",
version: "19.2.0-www-classic-08064ea6-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
reconcilerVersion: "19.2.0-www-classic-08064ea6-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2731 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20473,4 +20473,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
@@ -19611,14 +19611,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2102 = React.version;
if (
"19.2.0-www-modern-99781d60-20250522" !==
"19.2.0-www-modern-08064ea6-20250522" !==
isomorphicReactPackageVersion$jscomp$inline_2102
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2102,
"19.2.0-www-modern-99781d60-20250522"
"19.2.0-www-modern-08064ea6-20250522"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19636,10 +19636,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2712 = {
bundleType: 0,
version: "19.2.0-www-modern-99781d60-20250522",
version: "19.2.0-www-modern-08064ea6-20250522",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
reconcilerVersion: "19.2.0-www-modern-08064ea6-20250522"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2713 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20202,4 +20202,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
@@ -21908,7 +21908,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
reconcilerVersion: "19.2.0-www-classic-08064ea6-20250522"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -21689,7 +21689,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
reconcilerVersion: "19.2.0-www-modern-08064ea6-20250522"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -14135,7 +14135,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
reconcilerVersion: "19.2.0-www-classic-08064ea6-20250522"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13852,7 +13852,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
reconcilerVersion: "19.2.0-www-modern-08064ea6-20250522"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15386,10 +15386,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-99781d60-20250522",
version: "19.2.0-www-classic-08064ea6-20250522",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-99781d60-20250522"
reconcilerVersion: "19.2.0-www-classic-08064ea6-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15524,5 +15524,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-classic-99781d60-20250522";
exports.version = "19.2.0-www-classic-08064ea6-20250522";
})();
@@ -15386,10 +15386,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-99781d60-20250522",
version: "19.2.0-www-modern-08064ea6-20250522",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-99781d60-20250522"
reconcilerVersion: "19.2.0-www-modern-08064ea6-20250522"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15524,5 +15524,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-modern-99781d60-20250522";
exports.version = "19.2.0-www-modern-08064ea6-20250522";
})();
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-classic-99781d60-20250522
19.2.0-www-classic-08064ea6-20250522
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-modern-99781d60-20250522
19.2.0-www-modern-08064ea6-20250522