Skip to content

Commit cf8fe49

Browse files
committed
ncc-compiled
1 parent 1ca23ec commit cf8fe49

File tree

84 files changed

+3943
-2058
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+3943
-2058
lines changed

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js

Lines changed: 301 additions & 244 deletions
Large diffs are not rendered by default.

packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9426,15 +9426,15 @@ function pushViewTransitionCancelableScope() {
94269426
}
94279427
var viewTransitionHostInstanceIdx = 0;
94289428
function applyViewTransitionToHostInstances(
9429-
child,
9429+
fiber,
94309430
name,
94319431
className,
94329432
collectMeasurements,
94339433
stopAtNestedViewTransitions
94349434
) {
94359435
viewTransitionHostInstanceIdx = 0;
94369436
return applyViewTransitionToHostInstancesRecursive(
9437-
child,
9437+
fiber.child,
94389438
name,
94399439
className,
94409440
collectMeasurements,
@@ -9513,7 +9513,7 @@ function commitAppearingPairViewTransitions(placement) {
95139513
props = getViewTransitionClassName(props.default, props.share);
95149514
"none" !== props &&
95159515
(applyViewTransitionToHostInstances(
9516-
placement.child,
9516+
placement,
95179517
name,
95189518
props,
95199519
null,
@@ -9534,13 +9534,7 @@ function commitEnterViewTransitions(placement, gesture) {
95349534
state.paired ? props.share : props.enter
95359535
);
95369536
"none" !== className
9537-
? applyViewTransitionToHostInstances(
9538-
placement.child,
9539-
name,
9540-
className,
9541-
null,
9542-
!1
9543-
)
9537+
? applyViewTransitionToHostInstances(placement, name, className, null, !1)
95449538
? (commitAppearingPairViewTransitions(placement),
95459539
state.paired ||
95469540
gesture ||
@@ -9574,7 +9568,7 @@ function commitDeletedPairViewTransitions(deletion) {
95749568
);
95759569
"none" !== className &&
95769570
(applyViewTransitionToHostInstances(
9577-
deletion.child,
9571+
deletion,
95789572
name,
95799573
className,
95809574
null,
@@ -9609,13 +9603,7 @@ function commitExitViewTransitions(deletion) {
96099603
void 0 !== pair ? props.share : props.exit
96109604
);
96119605
"none" !== className &&
9612-
(applyViewTransitionToHostInstances(
9613-
deletion.child,
9614-
name,
9615-
className,
9616-
null,
9617-
!1
9618-
)
9606+
(applyViewTransitionToHostInstances(deletion, name, className, null, !1)
96199607
? void 0 !== pair
96209608
? ((className = deletion.stateNode),
96219609
(pair.paired = className),
@@ -9642,7 +9630,7 @@ function commitNestedViewTransitions(changedParent) {
96429630
changedParent.flags &= -5;
96439631
"none" !== props &&
96449632
applyViewTransitionToHostInstances(
9645-
changedParent.child,
9633+
changedParent,
96469634
name,
96479635
props,
96489636
(changedParent.memoizedState = []),
@@ -10036,7 +10024,7 @@ function commitBeforeMutationEffects_complete(
1003610024
(flags = getViewTransitionClassName(flags.default, flags.update)),
1003710025
"none" !== flags &&
1003810026
applyViewTransitionToHostInstances(
10039-
current.child,
10027+
current,
1004010028
isViewTransitionEligible,
1004110029
flags,
1004210030
(current.memoizedState = []),
@@ -12715,6 +12703,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
1271512703
!workInProgressRootDidSkipSuspendedSiblings
1271612704
);
1271712705
if (0 !== getNextLanes(shouldTimeSlice, 0, !0)) break a;
12706+
pendingEffectsLanes = lanes;
1271812707
shouldTimeSlice.timeoutHandle = scheduleTimeout(
1271912708
commitRootWhenReady.bind(
1272012709
null,
@@ -12729,7 +12718,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
1272912718
workInProgressSuspendedRetryLanes,
1273012719
workInProgressRootDidSkipSuspendedSiblings,
1273112720
renderWasConcurrent,
12732-
2,
12721+
"Throttled",
1273312722
-0,
1273412723
0
1273512724
),
@@ -12749,7 +12738,7 @@ function performWorkOnRoot(root$jscomp$0, lanes, forceSync) {
1274912738
workInProgressSuspendedRetryLanes,
1275012739
workInProgressRootDidSkipSuspendedSiblings,
1275112740
renderWasConcurrent,
12752-
0,
12741+
null,
1275312742
-0,
1275412743
0
1275512744
);
@@ -12794,6 +12783,7 @@ function commitRootWhenReady(
1279412783
imgBytes: 0,
1279512784
suspenseyImages: [],
1279612785
waitingForImages: !0,
12786+
waitingForViewTransition: !1,
1279712787
unsuspend: noop$1
1279812788
}),
1279912789
(appearingViewTransitions = null),
@@ -12813,6 +12803,7 @@ function commitRootWhenReady(
1281312803
).__reactViewTransition),
1281412804
null != isViewTransitionEligible &&
1281512805
(subtreeFlags.count++,
12806+
(subtreeFlags.waitingForViewTransition = !0),
1281612807
(subtreeFlags = onUnsuspend.bind(subtreeFlags)),
1281712808
isViewTransitionEligible.finished.then(subtreeFlags, subtreeFlags))),
1281812809
(subtreeFlags =
@@ -12827,6 +12818,7 @@ function commitRootWhenReady(
1282712818
)),
1282812819
null !== subtreeFlags)
1282912820
) {
12821+
pendingEffectsLanes = lanes;
1283012822
root.cancelPendingCommit = subtreeFlags(
1283112823
commitRoot.bind(
1283212824
null,
@@ -12841,7 +12833,7 @@ function commitRootWhenReady(
1284112833
suspendedRetryLanes,
1284212834
exitStatus,
1284312835
suspendedCommitReason,
12844-
1,
12836+
null,
1284512837
completedRenderStartTime,
1284612838
completedRenderEndTime
1284712839
)
@@ -12947,6 +12939,7 @@ function prepareFreshStack(root, lanes) {
1294712939
timeoutHandle = root.cancelPendingCommit;
1294812940
null !== timeoutHandle &&
1294912941
((root.cancelPendingCommit = null), timeoutHandle());
12942+
pendingEffectsLanes = 0;
1295012943
resetWorkInProgressStack();
1295112944
workInProgressRoot = root;
1295212945
workInProgress = timeoutHandle = createWorkInProgress(root.current, null);
@@ -13487,6 +13480,7 @@ function commitRoot(
1348713480
flushSpawnedWork,
1348813481
flushPassiveEffects,
1348913482
reportViewTransitionError,
13483+
null,
1349013484
null
1349113485
))
1349213486
: (flushMutationEffects(), flushLayoutEffects(), flushSpawnedWork());
@@ -19567,14 +19561,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
1956719561
};
1956819562
var isomorphicReactPackageVersion$jscomp$inline_2216 = React.version;
1956919563
if (
19570-
"19.2.0-experimental-d415fd3e-20250919" !==
19564+
"19.2.0-experimental-1eca9a27-20250922" !==
1957119565
isomorphicReactPackageVersion$jscomp$inline_2216
1957219566
)
1957319567
throw Error(
1957419568
formatProdErrorMessage(
1957519569
527,
1957619570
isomorphicReactPackageVersion$jscomp$inline_2216,
19577-
"19.2.0-experimental-d415fd3e-20250919"
19571+
"19.2.0-experimental-1eca9a27-20250922"
1957819572
)
1957919573
);
1958019574
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -19596,10 +19590,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
1959619590
};
1959719591
var internals$jscomp$inline_2913 = {
1959819592
bundleType: 0,
19599-
version: "19.2.0-experimental-d415fd3e-20250919",
19593+
version: "19.2.0-experimental-1eca9a27-20250922",
1960019594
rendererPackageName: "react-dom",
1960119595
currentDispatcherRef: ReactSharedInternals,
19602-
reconcilerVersion: "19.2.0-experimental-d415fd3e-20250919"
19596+
reconcilerVersion: "19.2.0-experimental-1eca9a27-20250922"
1960319597
};
1960419598
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
1960519599
var hook$jscomp$inline_2914 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19706,4 +19700,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
1970619700
listenToAllSupportedEvents(container);
1970719701
return new ReactDOMHydrationRoot(initialChildren);
1970819702
};
19709-
exports.version = "19.2.0-experimental-d415fd3e-20250919";
19703+
exports.version = "19.2.0-experimental-1eca9a27-20250922";

0 commit comments

Comments
 (0)