react-dom 19.1.0-canary-ebc22ef7-20250225 → 19.1.0-canary-2980f277-20250301
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +231 -157
- package/cjs/react-dom-client.production.js +97 -29
- package/cjs/react-dom-profiling.development.js +231 -157
- package/cjs/react-dom-profiling.profiling.js +97 -29
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -11230,7 +11230,7 @@ function flushSpawnedWork() {
|
|
11230
11230
|
0 !== (finishedWork.flags & 10256)
|
11231
11231
|
? (pendingEffectsStatus = 5)
|
11232
11232
|
: ((pendingEffectsStatus = 0),
|
11233
|
-
(pendingEffectsRoot = null),
|
11233
|
+
(pendingFinishedWork = pendingEffectsRoot = null),
|
11234
11234
|
releaseRootPooledCache(root, root.pendingLanes));
|
11235
11235
|
var remainingLanes = root.pendingLanes;
|
11236
11236
|
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
|
@@ -11277,6 +11277,45 @@ function flushSpawnedWork() {
|
|
11277
11277
|
flushSyncWorkAcrossRoots_impl(0, !1);
|
11278
11278
|
}
|
11279
11279
|
}
|
11280
|
+
function flushGestureMutations() {
|
11281
|
+
if (6 === pendingEffectsStatus) {
|
11282
|
+
pendingEffectsStatus = 0;
|
11283
|
+
var root = pendingEffectsRoot,
|
11284
|
+
prevTransition = ReactSharedInternals.T;
|
11285
|
+
ReactSharedInternals.T = null;
|
11286
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
11287
|
+
ReactDOMSharedInternals.p = 2;
|
11288
|
+
var prevExecutionContext = executionContext;
|
11289
|
+
executionContext |= 4;
|
11290
|
+
try {
|
11291
|
+
var rootContainer = root.containerInfo,
|
11292
|
+
documentElement =
|
11293
|
+
9 === rootContainer.nodeType
|
11294
|
+
? rootContainer.documentElement
|
11295
|
+
: rootContainer.ownerDocument.documentElement;
|
11296
|
+
null !== documentElement &&
|
11297
|
+
"" === documentElement.style.viewTransitionName &&
|
11298
|
+
((documentElement.style.viewTransitionName = "none"),
|
11299
|
+
documentElement.animate(
|
11300
|
+
{ opacity: [0, 0], pointerEvents: ["none", "none"] },
|
11301
|
+
{
|
11302
|
+
duration: 0,
|
11303
|
+
fill: "forwards",
|
11304
|
+
pseudoElement: "::view-transition-group(root)"
|
11305
|
+
}
|
11306
|
+
),
|
11307
|
+
documentElement.animate(
|
11308
|
+
{ width: [0, 0], height: [0, 0] },
|
11309
|
+
{ duration: 0, fill: "forwards", pseudoElement: "::view-transition" }
|
11310
|
+
));
|
11311
|
+
} finally {
|
11312
|
+
(executionContext = prevExecutionContext),
|
11313
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
11314
|
+
(ReactSharedInternals.T = prevTransition);
|
11315
|
+
}
|
11316
|
+
pendingEffectsStatus = 7;
|
11317
|
+
}
|
11318
|
+
}
|
11280
11319
|
function releaseRootPooledCache(root, remainingLanes) {
|
11281
11320
|
0 === (root.pooledCacheLanes &= remainingLanes) &&
|
11282
11321
|
((remainingLanes = root.pooledCache),
|
@@ -11284,6 +11323,35 @@ function releaseRootPooledCache(root, remainingLanes) {
|
|
11284
11323
|
((root.pooledCache = null), releaseCache(remainingLanes)));
|
11285
11324
|
}
|
11286
11325
|
function flushPendingEffects(wasDelayedCommit) {
|
11326
|
+
flushGestureMutations();
|
11327
|
+
flushGestureMutations();
|
11328
|
+
if (7 === pendingEffectsStatus) {
|
11329
|
+
pendingEffectsStatus = 0;
|
11330
|
+
var root = pendingEffectsRoot;
|
11331
|
+
pendingFinishedWork = pendingEffectsRoot = null;
|
11332
|
+
pendingEffectsLanes = 0;
|
11333
|
+
var prevTransition = ReactSharedInternals.T;
|
11334
|
+
ReactSharedInternals.T = null;
|
11335
|
+
var previousPriority = ReactDOMSharedInternals.p;
|
11336
|
+
ReactDOMSharedInternals.p = 2;
|
11337
|
+
var prevExecutionContext = executionContext;
|
11338
|
+
executionContext |= 4;
|
11339
|
+
try {
|
11340
|
+
var rootContainer = root.containerInfo,
|
11341
|
+
documentElement =
|
11342
|
+
9 === rootContainer.nodeType
|
11343
|
+
? rootContainer.documentElement
|
11344
|
+
: rootContainer.ownerDocument.documentElement;
|
11345
|
+
null !== documentElement &&
|
11346
|
+
"none" === documentElement.style.viewTransitionName &&
|
11347
|
+
(documentElement.style.viewTransitionName = "");
|
11348
|
+
} finally {
|
11349
|
+
(executionContext = prevExecutionContext),
|
11350
|
+
(ReactDOMSharedInternals.p = previousPriority),
|
11351
|
+
(ReactSharedInternals.T = prevTransition);
|
11352
|
+
}
|
11353
|
+
ensureRootIsScheduled(root);
|
11354
|
+
}
|
11287
11355
|
flushMutationEffects();
|
11288
11356
|
flushLayoutEffects();
|
11289
11357
|
flushSpawnedWork();
|
@@ -11305,7 +11373,7 @@ function flushPassiveEffects() {
|
|
11305
11373
|
var root$jscomp$0 = pendingEffectsRoot,
|
11306
11374
|
lanes = pendingEffectsLanes;
|
11307
11375
|
pendingEffectsStatus = 0;
|
11308
|
-
pendingEffectsRoot = null;
|
11376
|
+
pendingFinishedWork = pendingEffectsRoot = null;
|
11309
11377
|
pendingEffectsLanes = 0;
|
11310
11378
|
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(331));
|
11311
11379
|
var prevExecutionContext = executionContext;
|
@@ -11744,20 +11812,20 @@ function extractEvents$1(
|
|
11744
11812
|
}
|
11745
11813
|
}
|
11746
11814
|
for (
|
11747
|
-
var i$jscomp$
|
11748
|
-
i$jscomp$
|
11749
|
-
i$jscomp$
|
11815
|
+
var i$jscomp$inline_1536 = 0;
|
11816
|
+
i$jscomp$inline_1536 < simpleEventPluginEvents.length;
|
11817
|
+
i$jscomp$inline_1536++
|
11750
11818
|
) {
|
11751
|
-
var eventName$jscomp$
|
11752
|
-
simpleEventPluginEvents[i$jscomp$
|
11753
|
-
domEventName$jscomp$
|
11754
|
-
eventName$jscomp$
|
11755
|
-
capitalizedEvent$jscomp$
|
11756
|
-
eventName$jscomp$
|
11757
|
-
eventName$jscomp$
|
11819
|
+
var eventName$jscomp$inline_1537 =
|
11820
|
+
simpleEventPluginEvents[i$jscomp$inline_1536],
|
11821
|
+
domEventName$jscomp$inline_1538 =
|
11822
|
+
eventName$jscomp$inline_1537.toLowerCase(),
|
11823
|
+
capitalizedEvent$jscomp$inline_1539 =
|
11824
|
+
eventName$jscomp$inline_1537[0].toUpperCase() +
|
11825
|
+
eventName$jscomp$inline_1537.slice(1);
|
11758
11826
|
registerSimpleEvent(
|
11759
|
-
domEventName$jscomp$
|
11760
|
-
"on" + capitalizedEvent$jscomp$
|
11827
|
+
domEventName$jscomp$inline_1538,
|
11828
|
+
"on" + capitalizedEvent$jscomp$inline_1539
|
11761
11829
|
);
|
11762
11830
|
}
|
11763
11831
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -15250,16 +15318,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15250
15318
|
0 === i && attemptExplicitHydrationTarget(target);
|
15251
15319
|
}
|
15252
15320
|
};
|
15253
|
-
var isomorphicReactPackageVersion$jscomp$
|
15321
|
+
var isomorphicReactPackageVersion$jscomp$inline_1788 = React.version;
|
15254
15322
|
if (
|
15255
|
-
"19.1.0-canary-
|
15256
|
-
isomorphicReactPackageVersion$jscomp$
|
15323
|
+
"19.1.0-canary-2980f277-20250301" !==
|
15324
|
+
isomorphicReactPackageVersion$jscomp$inline_1788
|
15257
15325
|
)
|
15258
15326
|
throw Error(
|
15259
15327
|
formatProdErrorMessage(
|
15260
15328
|
527,
|
15261
|
-
isomorphicReactPackageVersion$jscomp$
|
15262
|
-
"19.1.0-canary-
|
15329
|
+
isomorphicReactPackageVersion$jscomp$inline_1788,
|
15330
|
+
"19.1.0-canary-2980f277-20250301"
|
15263
15331
|
)
|
15264
15332
|
);
|
15265
15333
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15279,24 +15347,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15279
15347
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15280
15348
|
return componentOrElement;
|
15281
15349
|
};
|
15282
|
-
var internals$jscomp$
|
15350
|
+
var internals$jscomp$inline_2280 = {
|
15283
15351
|
bundleType: 0,
|
15284
|
-
version: "19.1.0-canary-
|
15352
|
+
version: "19.1.0-canary-2980f277-20250301",
|
15285
15353
|
rendererPackageName: "react-dom",
|
15286
15354
|
currentDispatcherRef: ReactSharedInternals,
|
15287
|
-
reconcilerVersion: "19.1.0-canary-
|
15355
|
+
reconcilerVersion: "19.1.0-canary-2980f277-20250301"
|
15288
15356
|
};
|
15289
15357
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15290
|
-
var hook$jscomp$
|
15358
|
+
var hook$jscomp$inline_2281 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15291
15359
|
if (
|
15292
|
-
!hook$jscomp$
|
15293
|
-
hook$jscomp$
|
15360
|
+
!hook$jscomp$inline_2281.isDisabled &&
|
15361
|
+
hook$jscomp$inline_2281.supportsFiber
|
15294
15362
|
)
|
15295
15363
|
try {
|
15296
|
-
(rendererID = hook$jscomp$
|
15297
|
-
internals$jscomp$
|
15364
|
+
(rendererID = hook$jscomp$inline_2281.inject(
|
15365
|
+
internals$jscomp$inline_2280
|
15298
15366
|
)),
|
15299
|
-
(injectedHook = hook$jscomp$
|
15367
|
+
(injectedHook = hook$jscomp$inline_2281);
|
15300
15368
|
} catch (err) {}
|
15301
15369
|
}
|
15302
15370
|
exports.createRoot = function (container, options) {
|
@@ -15388,4 +15456,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15388
15456
|
listenToAllSupportedEvents(container);
|
15389
15457
|
return new ReactDOMHydrationRoot(initialChildren);
|
15390
15458
|
};
|
15391
|
-
exports.version = "19.1.0-canary-
|
15459
|
+
exports.version = "19.1.0-canary-2980f277-20250301";
|