react-markup 0.0.0-experimental-526dd340-20250602 → 0.0.0-experimental-37054867-20250604
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.
|
@@ -1117,9 +1117,9 @@
|
|
|
1117
1117
|
);
|
|
1118
1118
|
}
|
|
1119
1119
|
function makeId(resumableState, treeId, localId) {
|
|
1120
|
-
resumableState = "
|
|
1120
|
+
resumableState = "_" + resumableState.idPrefix + "R_" + treeId;
|
|
1121
1121
|
0 < localId && (resumableState += "H" + localId.toString(32));
|
|
1122
|
-
return resumableState + "
|
|
1122
|
+
return resumableState + "_";
|
|
1123
1123
|
}
|
|
1124
1124
|
function pushViewTransitionAttributes(target, formatContext) {
|
|
1125
1125
|
formatContext = formatContext.viewTransition;
|
|
@@ -3491,7 +3491,7 @@
|
|
|
3491
3491
|
((resumableState.instructions |= 32),
|
|
3492
3492
|
target.push(
|
|
3493
3493
|
completedShellIdAttributeStart,
|
|
3494
|
-
escapeTextForBrowser("
|
|
3494
|
+
escapeTextForBrowser("_" + resumableState.idPrefix + "R_"),
|
|
3495
3495
|
attributeEnd
|
|
3496
3496
|
));
|
|
3497
3497
|
}
|
|
@@ -5066,7 +5066,11 @@
|
|
|
5066
5066
|
var resumeSlots = task.replay.slots;
|
|
5067
5067
|
if (null !== resumeSlots && "object" === typeof resumeSlots)
|
|
5068
5068
|
for (var n = 0; n < keyPath; n++) {
|
|
5069
|
-
var i =
|
|
5069
|
+
var i =
|
|
5070
|
+
"backwards" !== revealOrder &&
|
|
5071
|
+
"unstable_legacy-backwards" !== revealOrder
|
|
5072
|
+
? n
|
|
5073
|
+
: keyPath - 1 - n,
|
|
5070
5074
|
node = rows[i];
|
|
5071
5075
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
5072
5076
|
previousSuspenseListRow
|
|
@@ -5083,7 +5087,8 @@
|
|
|
5083
5087
|
else
|
|
5084
5088
|
for (resumeSlots = 0; resumeSlots < keyPath; resumeSlots++)
|
|
5085
5089
|
(n =
|
|
5086
|
-
"backwards" !== revealOrder
|
|
5090
|
+
"backwards" !== revealOrder &&
|
|
5091
|
+
"unstable_legacy-backwards" !== revealOrder
|
|
5087
5092
|
? resumeSlots
|
|
5088
5093
|
: keyPath - 1 - resumeSlots),
|
|
5089
5094
|
(i = rows[n]),
|
|
@@ -5094,7 +5099,10 @@
|
|
|
5094
5099
|
renderNode(request, task, i, n),
|
|
5095
5100
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
5096
5101
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
5097
|
-
} else if (
|
|
5102
|
+
} else if (
|
|
5103
|
+
"backwards" !== revealOrder &&
|
|
5104
|
+
"unstable_legacy-backwards" !== revealOrder
|
|
5105
|
+
)
|
|
5098
5106
|
for (revealOrder = 0; revealOrder < keyPath; revealOrder++)
|
|
5099
5107
|
(resumeSlots = rows[revealOrder]),
|
|
5100
5108
|
warnForMissingKey(request, task, resumeSlots),
|
|
@@ -5835,7 +5843,11 @@
|
|
|
5835
5843
|
a: {
|
|
5836
5844
|
var children$jscomp$0 = props.children,
|
|
5837
5845
|
revealOrder = props.revealOrder;
|
|
5838
|
-
if (
|
|
5846
|
+
if (
|
|
5847
|
+
"forwards" === revealOrder ||
|
|
5848
|
+
"backwards" === revealOrder ||
|
|
5849
|
+
"unstable_legacy-backwards" === revealOrder
|
|
5850
|
+
) {
|
|
5839
5851
|
if (isArrayImpl(children$jscomp$0)) {
|
|
5840
5852
|
renderSuspenseListRows(
|
|
5841
5853
|
request,
|
|
@@ -8139,7 +8151,7 @@
|
|
|
8139
8151
|
0 === (completedSegments.instructions & 256) &&
|
|
8140
8152
|
((completedSegments.instructions |= 256),
|
|
8141
8153
|
destination.push(
|
|
8142
|
-
'$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="
|
|
8154
|
+
'$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="_T_"+F++ +"_"),d.viewTransitionName=a,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var b=g[c];m.set(b.getAttribute("vt-name"),b)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){b=y;for(e=0;b;){if(8===b.nodeType){var p=b.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===b.nodeType){c=b;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}b=b.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;b=t;do for(var n=b.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:function(){w(f,\ndocument.documentElement.clientHeight);return Promise.race([document.fonts.ready,new Promise(function(a){return setTimeout(a,500)})])},types:[]});v.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var d=l[a],k=d.style;k.viewTransitionName=l[a+1];k.viewTransitionClass=l[a+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}w(f)}.bind(null,$RV);'
|
|
8143
8155
|
)),
|
|
8144
8156
|
0 === (completedSegments.instructions & 8)
|
|
8145
8157
|
? ((completedSegments.instructions |= 8),
|
|
@@ -8156,7 +8168,7 @@
|
|
|
8156
8168
|
0 === (completedSegments.instructions & 256) &&
|
|
8157
8169
|
((completedSegments.instructions |= 256),
|
|
8158
8170
|
destination.push(
|
|
8159
|
-
'$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="
|
|
8171
|
+
'$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="_T_"+F++ +"_"),d.viewTransitionName=a,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var b=g[c];m.set(b.getAttribute("vt-name"),b)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){b=y;for(e=0;b;){if(8===b.nodeType){var p=b.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===b.nodeType){c=b;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}b=b.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;b=t;do for(var n=b.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:function(){w(f,\ndocument.documentElement.clientHeight);return Promise.race([document.fonts.ready,new Promise(function(a){return setTimeout(a,500)})])},types:[]});v.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var d=l[a],k=d.style;k.viewTransitionName=l[a+1];k.viewTransitionClass=l[a+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}w(f)}.bind(null,$RV);'
|
|
8160
8172
|
)),
|
|
8161
8173
|
destination.push('$RC("')))
|
|
8162
8174
|
: requiresStyleInsertion
|
|
@@ -8615,7 +8627,17 @@
|
|
|
8615
8627
|
: reason;
|
|
8616
8628
|
request.fatalError = error;
|
|
8617
8629
|
abortableTasks.forEach(function (task) {
|
|
8618
|
-
|
|
8630
|
+
var prevTaskInDEV = currentTaskInDEV,
|
|
8631
|
+
prevGetCurrentStackImpl = ReactSharedInternals.getCurrentStack;
|
|
8632
|
+
currentTaskInDEV = task;
|
|
8633
|
+
ReactSharedInternals.getCurrentStack = getCurrentStackInDEV;
|
|
8634
|
+
try {
|
|
8635
|
+
abortTask(task, request, error);
|
|
8636
|
+
} finally {
|
|
8637
|
+
(currentTaskInDEV = prevTaskInDEV),
|
|
8638
|
+
(ReactSharedInternals.getCurrentStack =
|
|
8639
|
+
prevGetCurrentStackImpl);
|
|
8640
|
+
}
|
|
8619
8641
|
});
|
|
8620
8642
|
abortableTasks.clear();
|
|
8621
8643
|
}
|
|
@@ -9666,5 +9688,5 @@
|
|
|
9666
9688
|
});
|
|
9667
9689
|
});
|
|
9668
9690
|
};
|
|
9669
|
-
exports.version = "19.2.0-experimental-
|
|
9691
|
+
exports.version = "19.2.0-experimental-37054867-20250604";
|
|
9670
9692
|
})();
|
|
@@ -644,9 +644,9 @@ function getSuspenseContentFormatContext(resumableState, parentContext) {
|
|
|
644
644
|
);
|
|
645
645
|
}
|
|
646
646
|
function makeId(resumableState, treeId, localId) {
|
|
647
|
-
resumableState = "
|
|
647
|
+
resumableState = "_" + resumableState.idPrefix + "R_" + treeId;
|
|
648
648
|
0 < localId && (resumableState += "H" + localId.toString(32));
|
|
649
|
-
return resumableState + "
|
|
649
|
+
return resumableState + "_";
|
|
650
650
|
}
|
|
651
651
|
function pushViewTransitionAttributes(target, formatContext) {
|
|
652
652
|
formatContext = formatContext.viewTransition;
|
|
@@ -2531,7 +2531,7 @@ function pushCompletedShellIdAttribute(target, resumableState) {
|
|
|
2531
2531
|
((resumableState.instructions |= 32),
|
|
2532
2532
|
target.push(
|
|
2533
2533
|
' id="',
|
|
2534
|
-
escapeTextForBrowser("
|
|
2534
|
+
escapeTextForBrowser("_" + resumableState.idPrefix + "R_"),
|
|
2535
2535
|
'"'
|
|
2536
2536
|
));
|
|
2537
2537
|
}
|
|
@@ -3878,7 +3878,11 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
3878
3878
|
var resumeSlots = task.replay.slots;
|
|
3879
3879
|
if (null !== resumeSlots && "object" === typeof resumeSlots)
|
|
3880
3880
|
for (var n = 0; n < keyPath; n++) {
|
|
3881
|
-
var i =
|
|
3881
|
+
var i =
|
|
3882
|
+
"backwards" !== revealOrder &&
|
|
3883
|
+
"unstable_legacy-backwards" !== revealOrder
|
|
3884
|
+
? n
|
|
3885
|
+
: keyPath - 1 - n,
|
|
3882
3886
|
node = rows[i];
|
|
3883
3887
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
3884
3888
|
previousSuspenseListRow
|
|
@@ -3895,7 +3899,8 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
3895
3899
|
else
|
|
3896
3900
|
for (resumeSlots = 0; resumeSlots < keyPath; resumeSlots++)
|
|
3897
3901
|
(n =
|
|
3898
|
-
"backwards" !== revealOrder
|
|
3902
|
+
"backwards" !== revealOrder &&
|
|
3903
|
+
"unstable_legacy-backwards" !== revealOrder
|
|
3899
3904
|
? resumeSlots
|
|
3900
3905
|
: keyPath - 1 - resumeSlots),
|
|
3901
3906
|
(i = rows[n]),
|
|
@@ -3905,7 +3910,10 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
3905
3910
|
renderNode(request, task, i, n),
|
|
3906
3911
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
3907
3912
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
3908
|
-
} else if (
|
|
3913
|
+
} else if (
|
|
3914
|
+
"backwards" !== revealOrder &&
|
|
3915
|
+
"unstable_legacy-backwards" !== revealOrder
|
|
3916
|
+
)
|
|
3909
3917
|
for (revealOrder = 0; revealOrder < keyPath; revealOrder++)
|
|
3910
3918
|
(resumeSlots = rows[revealOrder]),
|
|
3911
3919
|
(task.row = previousSuspenseListRow =
|
|
@@ -4314,7 +4322,11 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4314
4322
|
a: {
|
|
4315
4323
|
var children$jscomp$0 = props.children,
|
|
4316
4324
|
revealOrder = props.revealOrder;
|
|
4317
|
-
if (
|
|
4325
|
+
if (
|
|
4326
|
+
"forwards" === revealOrder ||
|
|
4327
|
+
"backwards" === revealOrder ||
|
|
4328
|
+
"unstable_legacy-backwards" === revealOrder
|
|
4329
|
+
) {
|
|
4318
4330
|
if (isArrayImpl(children$jscomp$0)) {
|
|
4319
4331
|
renderSuspenseListRows(
|
|
4320
4332
|
request,
|
|
@@ -6230,7 +6242,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
6230
6242
|
0 === (completedSegments.instructions & 256) &&
|
|
6231
6243
|
((completedSegments.instructions |= 256),
|
|
6232
6244
|
destination.push(
|
|
6233
|
-
'$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="
|
|
6245
|
+
'$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="_T_"+F++ +"_"),d.viewTransitionName=a,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var b=g[c];m.set(b.getAttribute("vt-name"),b)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){b=y;for(e=0;b;){if(8===b.nodeType){var p=b.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===b.nodeType){c=b;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}b=b.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;b=t;do for(var n=b.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:function(){w(f,\ndocument.documentElement.clientHeight);return Promise.race([document.fonts.ready,new Promise(function(a){return setTimeout(a,500)})])},types:[]});v.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var d=l[a],k=d.style;k.viewTransitionName=l[a+1];k.viewTransitionClass=l[a+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}w(f)}.bind(null,$RV);'
|
|
6234
6246
|
)),
|
|
6235
6247
|
0 === (completedSegments.instructions & 8)
|
|
6236
6248
|
? ((completedSegments.instructions |= 8),
|
|
@@ -6247,7 +6259,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
6247
6259
|
0 === (completedSegments.instructions & 256) &&
|
|
6248
6260
|
((completedSegments.instructions |= 256),
|
|
6249
6261
|
destination.push(
|
|
6250
|
-
'$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="
|
|
6262
|
+
'$RV=function(w,f){function h(a,d){var k=a.getAttribute(d);k&&(d=a.style,l.push(a,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(a=a.getAttribute("vt-name"))||(a="_T_"+F++ +"_"),d.viewTransitionName=a,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var b=g[c];m.set(b.getAttribute("vt-name"),b)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){b=y;for(e=0;b;){if(8===b.nodeType){var p=b.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===b.nodeType){c=b;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}b=b.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;b=t;do for(var n=b.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:function(){w(f,\ndocument.documentElement.clientHeight);return Promise.race([document.fonts.ready,new Promise(function(a){return setTimeout(a,500)})])},types:[]});v.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var d=l[a],k=d.style;k.viewTransitionName=l[a+1];k.viewTransitionClass=l[a+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}w(f)}.bind(null,$RV);'
|
|
6251
6263
|
)),
|
|
6252
6264
|
destination.push('$RC("')))
|
|
6253
6265
|
: requiresStyleInsertion
|
|
@@ -6689,4 +6701,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
6689
6701
|
});
|
|
6690
6702
|
});
|
|
6691
6703
|
};
|
|
6692
|
-
exports.version = "19.2.0-experimental-
|
|
6704
|
+
exports.version = "19.2.0-experimental-37054867-20250604";
|