react-dom 19.1.0-canary-2980f277-20250301 → 19.1.0-canary-e03ac20f-20250305
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 +188 -187
- package/cjs/react-dom-client.production.js +55 -53
- package/cjs/react-dom-profiling.development.js +188 -187
- package/cjs/react-dom-profiling.profiling.js +55 -53
- 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
@@ -2264,9 +2264,10 @@ var ANIMATION_END = getVendorPrefixedEventName("animationend"),
|
|
2264
2264
|
TRANSITION_END = getVendorPrefixedEventName("transitionend"),
|
2265
2265
|
topLevelEventsToReactNames = new Map(),
|
2266
2266
|
simpleEventPluginEvents =
|
2267
|
-
"abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll
|
2267
|
+
"abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
|
2268
2268
|
" "
|
2269
2269
|
);
|
2270
|
+
simpleEventPluginEvents.push("scrollEnd");
|
2270
2271
|
function registerSimpleEvent(domEventName, reactName) {
|
2271
2272
|
topLevelEventsToReactNames.set(domEventName, reactName);
|
2272
2273
|
registerTwoPhaseEvent(reactName, [domEventName]);
|
@@ -11288,26 +11289,21 @@ function flushGestureMutations() {
|
|
11288
11289
|
var prevExecutionContext = executionContext;
|
11289
11290
|
executionContext |= 4;
|
11290
11291
|
try {
|
11291
|
-
var
|
11292
|
-
|
11292
|
+
var rootClone = root.gestureClone;
|
11293
|
+
if (null !== rootClone) {
|
11294
|
+
root.gestureClone = null;
|
11295
|
+
var rootContainer = root.containerInfo;
|
11296
|
+
var containerInstance =
|
11293
11297
|
9 === rootContainer.nodeType
|
11294
|
-
? rootContainer.
|
11295
|
-
: rootContainer.
|
11296
|
-
|
11297
|
-
|
11298
|
-
|
11299
|
-
|
11300
|
-
|
11301
|
-
|
11302
|
-
|
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
|
-
));
|
11298
|
+
? rootContainer.body
|
11299
|
+
: "HTML" === rootContainer.nodeName
|
11300
|
+
? rootContainer.ownerDocument.body
|
11301
|
+
: rootContainer;
|
11302
|
+
var containerParent = containerInstance.parentNode;
|
11303
|
+
if (null === containerParent) throw Error(formatProdErrorMessage(552));
|
11304
|
+
containerParent.removeChild(rootClone);
|
11305
|
+
containerInstance.style.viewTransitionName = "root";
|
11306
|
+
}
|
11311
11307
|
} finally {
|
11312
11308
|
(executionContext = prevExecutionContext),
|
11313
11309
|
(ReactDOMSharedInternals.p = previousPriority),
|
@@ -11337,11 +11333,16 @@ function flushPendingEffects(wasDelayedCommit) {
|
|
11337
11333
|
var prevExecutionContext = executionContext;
|
11338
11334
|
executionContext |= 4;
|
11339
11335
|
try {
|
11340
|
-
var rootContainer = root.containerInfo
|
11341
|
-
|
11342
|
-
|
11343
|
-
|
11344
|
-
|
11336
|
+
var rootContainer = root.containerInfo;
|
11337
|
+
var containerInstance =
|
11338
|
+
9 === rootContainer.nodeType
|
11339
|
+
? rootContainer.body
|
11340
|
+
: "HTML" === rootContainer.nodeName
|
11341
|
+
? rootContainer.ownerDocument.body
|
11342
|
+
: rootContainer;
|
11343
|
+
"root" === containerInstance.style.viewTransitionName &&
|
11344
|
+
(containerInstance.style.viewTransitionName = "");
|
11345
|
+
var documentElement = containerInstance.ownerDocument.documentElement;
|
11345
11346
|
null !== documentElement &&
|
11346
11347
|
"none" === documentElement.style.viewTransitionName &&
|
11347
11348
|
(documentElement.style.viewTransitionName = "");
|
@@ -11812,20 +11813,20 @@ function extractEvents$1(
|
|
11812
11813
|
}
|
11813
11814
|
}
|
11814
11815
|
for (
|
11815
|
-
var i$jscomp$
|
11816
|
-
i$jscomp$
|
11817
|
-
i$jscomp$
|
11816
|
+
var i$jscomp$inline_1537 = 0;
|
11817
|
+
i$jscomp$inline_1537 < simpleEventPluginEvents.length;
|
11818
|
+
i$jscomp$inline_1537++
|
11818
11819
|
) {
|
11819
|
-
var eventName$jscomp$
|
11820
|
-
simpleEventPluginEvents[i$jscomp$
|
11821
|
-
domEventName$jscomp$
|
11822
|
-
eventName$jscomp$
|
11823
|
-
capitalizedEvent$jscomp$
|
11824
|
-
eventName$jscomp$
|
11825
|
-
eventName$jscomp$
|
11820
|
+
var eventName$jscomp$inline_1538 =
|
11821
|
+
simpleEventPluginEvents[i$jscomp$inline_1537],
|
11822
|
+
domEventName$jscomp$inline_1539 =
|
11823
|
+
eventName$jscomp$inline_1538.toLowerCase(),
|
11824
|
+
capitalizedEvent$jscomp$inline_1540 =
|
11825
|
+
eventName$jscomp$inline_1538[0].toUpperCase() +
|
11826
|
+
eventName$jscomp$inline_1538.slice(1);
|
11826
11827
|
registerSimpleEvent(
|
11827
|
-
domEventName$jscomp$
|
11828
|
-
"on" + capitalizedEvent$jscomp$
|
11828
|
+
domEventName$jscomp$inline_1539,
|
11829
|
+
"on" + capitalizedEvent$jscomp$inline_1540
|
11829
11830
|
);
|
11830
11831
|
}
|
11831
11832
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -12507,9 +12508,10 @@ function accumulateTwoPhaseListeners(targetFiber, reactName) {
|
|
12507
12508
|
listeners.push(
|
12508
12509
|
createDispatchListener(targetFiber, _instance2, stateNode)
|
12509
12510
|
));
|
12511
|
+
if (3 === targetFiber.tag) return listeners;
|
12510
12512
|
targetFiber = targetFiber.return;
|
12511
12513
|
}
|
12512
|
-
return
|
12514
|
+
return [];
|
12513
12515
|
}
|
12514
12516
|
function getParent(inst) {
|
12515
12517
|
if (null === inst) return null;
|
@@ -15318,16 +15320,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15318
15320
|
0 === i && attemptExplicitHydrationTarget(target);
|
15319
15321
|
}
|
15320
15322
|
};
|
15321
|
-
var isomorphicReactPackageVersion$jscomp$
|
15323
|
+
var isomorphicReactPackageVersion$jscomp$inline_1789 = React.version;
|
15322
15324
|
if (
|
15323
|
-
"19.1.0-canary-
|
15324
|
-
isomorphicReactPackageVersion$jscomp$
|
15325
|
+
"19.1.0-canary-e03ac20f-20250305" !==
|
15326
|
+
isomorphicReactPackageVersion$jscomp$inline_1789
|
15325
15327
|
)
|
15326
15328
|
throw Error(
|
15327
15329
|
formatProdErrorMessage(
|
15328
15330
|
527,
|
15329
|
-
isomorphicReactPackageVersion$jscomp$
|
15330
|
-
"19.1.0-canary-
|
15331
|
+
isomorphicReactPackageVersion$jscomp$inline_1789,
|
15332
|
+
"19.1.0-canary-e03ac20f-20250305"
|
15331
15333
|
)
|
15332
15334
|
);
|
15333
15335
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15347,24 +15349,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15347
15349
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15348
15350
|
return componentOrElement;
|
15349
15351
|
};
|
15350
|
-
var internals$jscomp$
|
15352
|
+
var internals$jscomp$inline_2283 = {
|
15351
15353
|
bundleType: 0,
|
15352
|
-
version: "19.1.0-canary-
|
15354
|
+
version: "19.1.0-canary-e03ac20f-20250305",
|
15353
15355
|
rendererPackageName: "react-dom",
|
15354
15356
|
currentDispatcherRef: ReactSharedInternals,
|
15355
|
-
reconcilerVersion: "19.1.0-canary-
|
15357
|
+
reconcilerVersion: "19.1.0-canary-e03ac20f-20250305"
|
15356
15358
|
};
|
15357
15359
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15358
|
-
var hook$jscomp$
|
15360
|
+
var hook$jscomp$inline_2284 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15359
15361
|
if (
|
15360
|
-
!hook$jscomp$
|
15361
|
-
hook$jscomp$
|
15362
|
+
!hook$jscomp$inline_2284.isDisabled &&
|
15363
|
+
hook$jscomp$inline_2284.supportsFiber
|
15362
15364
|
)
|
15363
15365
|
try {
|
15364
|
-
(rendererID = hook$jscomp$
|
15365
|
-
internals$jscomp$
|
15366
|
+
(rendererID = hook$jscomp$inline_2284.inject(
|
15367
|
+
internals$jscomp$inline_2283
|
15366
15368
|
)),
|
15367
|
-
(injectedHook = hook$jscomp$
|
15369
|
+
(injectedHook = hook$jscomp$inline_2284);
|
15368
15370
|
} catch (err) {}
|
15369
15371
|
}
|
15370
15372
|
exports.createRoot = function (container, options) {
|
@@ -15456,4 +15458,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15456
15458
|
listenToAllSupportedEvents(container);
|
15457
15459
|
return new ReactDOMHydrationRoot(initialChildren);
|
15458
15460
|
};
|
15459
|
-
exports.version = "19.1.0-canary-
|
15461
|
+
exports.version = "19.1.0-canary-e03ac20f-20250305";
|