react-markup 0.0.0-experimental-5398b711-20250314 → 0.0.0-experimental-c69a5fc5-20250318

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.
@@ -3587,8 +3587,6 @@
3587
3587
  switch (type) {
3588
3588
  case REACT_FRAGMENT_TYPE:
3589
3589
  return "Fragment";
3590
- case REACT_PORTAL_TYPE:
3591
- return "Portal";
3592
3590
  case REACT_PROFILER_TYPE:
3593
3591
  return "Profiler";
3594
3592
  case REACT_STRICT_MODE_TYPE:
@@ -3597,6 +3595,8 @@
3597
3595
  return "Suspense";
3598
3596
  case REACT_SUSPENSE_LIST_TYPE:
3599
3597
  return "SuspenseList";
3598
+ case REACT_ACTIVITY_TYPE:
3599
+ return "Activity";
3600
3600
  case REACT_VIEW_TRANSITION_TYPE:
3601
3601
  return "ViewTransition";
3602
3602
  }
@@ -3608,6 +3608,8 @@
3608
3608
  ),
3609
3609
  type.$$typeof)
3610
3610
  ) {
3611
+ case REACT_PORTAL_TYPE:
3612
+ return "Portal";
3611
3613
  case REACT_CONTEXT_TYPE:
3612
3614
  return (type.displayName || "Context") + ".Provider";
3613
3615
  case REACT_CONSUMER_TYPE:
@@ -5384,7 +5386,7 @@
5384
5386
  renderNodeDestructive(request, task, props.children, -1);
5385
5387
  task.keyPath = prevKeyPath$jscomp$1;
5386
5388
  return;
5387
- case REACT_OFFSCREEN_TYPE:
5389
+ case REACT_ACTIVITY_TYPE:
5388
5390
  if ("hidden" !== props.mode) {
5389
5391
  var prevKeyPath$jscomp$2 = task.keyPath;
5390
5392
  task.keyPath = keyPath;
@@ -5399,10 +5401,17 @@
5399
5401
  task.keyPath = _prevKeyPath3;
5400
5402
  return;
5401
5403
  case REACT_VIEW_TRANSITION_TYPE:
5402
- var _prevKeyPath4 = task.keyPath;
5404
+ var prevKeyPath$jscomp$3 = task.keyPath;
5403
5405
  task.keyPath = keyPath;
5404
- renderNodeDestructive(request, task, props.children, -1);
5405
- task.keyPath = _prevKeyPath4;
5406
+ if (null != props.name && "auto" !== props.name)
5407
+ renderNodeDestructive(request, task, props.children, -1);
5408
+ else {
5409
+ var prevTreeContext = task.treeContext;
5410
+ task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
5411
+ renderNode(request, task, props.children, -1);
5412
+ task.treeContext = prevTreeContext;
5413
+ }
5414
+ task.keyPath = prevKeyPath$jscomp$3;
5406
5415
  return;
5407
5416
  case REACT_SCOPE_TYPE:
5408
5417
  throw Error(
@@ -5419,7 +5428,7 @@
5419
5428
  task.keyPath = _prevKeyPath;
5420
5429
  }
5421
5430
  } else {
5422
- var prevKeyPath$jscomp$3 = task.keyPath,
5431
+ var prevKeyPath$jscomp$4 = task.keyPath,
5423
5432
  parentBoundary = task.blockedBoundary,
5424
5433
  parentPreamble = task.blockedPreamble,
5425
5434
  parentHoistableState = task.hoistableState,
@@ -5494,7 +5503,7 @@
5494
5503
  } finally {
5495
5504
  (task.blockedSegment = parentSegment),
5496
5505
  (task.blockedPreamble = parentPreamble),
5497
- (task.keyPath = prevKeyPath$jscomp$3);
5506
+ (task.keyPath = prevKeyPath$jscomp$4);
5498
5507
  }
5499
5508
  var suspendedPrimaryTask = createRenderTask(
5500
5509
  request,
@@ -5577,7 +5586,7 @@
5577
5586
  (task.blockedPreamble = parentPreamble),
5578
5587
  (task.hoistableState = parentHoistableState),
5579
5588
  (task.blockedSegment = parentSegment),
5580
- (task.keyPath = prevKeyPath$jscomp$3);
5589
+ (task.keyPath = prevKeyPath$jscomp$4);
5581
5590
  }
5582
5591
  var suspendedFallbackTask = createRenderTask(
5583
5592
  request,
@@ -5638,7 +5647,7 @@
5638
5647
  var value$jscomp$0 = props.value,
5639
5648
  children$jscomp$1 = props.children;
5640
5649
  var prevSnapshot = task.context;
5641
- var prevKeyPath$jscomp$4 = task.keyPath;
5650
+ var prevKeyPath$jscomp$5 = task.keyPath;
5642
5651
  var prevValue = type._currentValue2;
5643
5652
  type._currentValue2 = value$jscomp$0;
5644
5653
  void 0 !== type._currentRenderer2 &&
@@ -5681,7 +5690,7 @@
5681
5690
  var JSCompiler_inline_result$jscomp$0 = (currentActiveSnapshot =
5682
5691
  prevSnapshot$jscomp$0.parent);
5683
5692
  task.context = JSCompiler_inline_result$jscomp$0;
5684
- task.keyPath = prevKeyPath$jscomp$4;
5693
+ task.keyPath = prevKeyPath$jscomp$5;
5685
5694
  prevSnapshot !== task.context &&
5686
5695
  console.error(
5687
5696
  "Popping the context provider did not return back to the original snapshot. This is a bug in React."
@@ -5695,10 +5704,10 @@
5695
5704
  "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."
5696
5705
  );
5697
5706
  var newChildren = render(context$jscomp$0._currentValue2),
5698
- prevKeyPath$jscomp$5 = task.keyPath;
5707
+ prevKeyPath$jscomp$6 = task.keyPath;
5699
5708
  task.keyPath = keyPath;
5700
5709
  renderNodeDestructive(request, task, newChildren, -1);
5701
- task.keyPath = prevKeyPath$jscomp$5;
5710
+ task.keyPath = prevKeyPath$jscomp$6;
5702
5711
  return;
5703
5712
  case REACT_LAZY_TYPE:
5704
5713
  var Component = callLazyInitInDEV(type);
@@ -7920,7 +7929,7 @@
7920
7929
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
7921
7930
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
7922
7931
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
7923
- REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
7932
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
7924
7933
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
7925
7934
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
7926
7935
  REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
@@ -8919,5 +8928,5 @@
8919
8928
  });
8920
8929
  });
8921
8930
  };
8922
- exports.version = "19.1.0-experimental-5398b711-20250314";
8931
+ exports.version = "19.1.0-experimental-c69a5fc5-20250318";
8923
8932
  })();
@@ -48,7 +48,7 @@ var React = require("react"),
48
48
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
49
49
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
50
50
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
51
- REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
51
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
52
52
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
53
53
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
54
54
  REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
@@ -2614,8 +2614,6 @@ function getComponentNameFromType(type) {
2614
2614
  switch (type) {
2615
2615
  case REACT_FRAGMENT_TYPE:
2616
2616
  return "Fragment";
2617
- case REACT_PORTAL_TYPE:
2618
- return "Portal";
2619
2617
  case REACT_PROFILER_TYPE:
2620
2618
  return "Profiler";
2621
2619
  case REACT_STRICT_MODE_TYPE:
@@ -2624,11 +2622,15 @@ function getComponentNameFromType(type) {
2624
2622
  return "Suspense";
2625
2623
  case REACT_SUSPENSE_LIST_TYPE:
2626
2624
  return "SuspenseList";
2625
+ case REACT_ACTIVITY_TYPE:
2626
+ return "Activity";
2627
2627
  case REACT_VIEW_TRANSITION_TYPE:
2628
2628
  return "ViewTransition";
2629
2629
  }
2630
2630
  if ("object" === typeof type)
2631
2631
  switch (type.$$typeof) {
2632
+ case REACT_PORTAL_TYPE:
2633
+ return "Portal";
2632
2634
  case REACT_CONTEXT_TYPE:
2633
2635
  return (type.displayName || "Context") + ".Provider";
2634
2636
  case REACT_CONSUMER_TYPE:
@@ -3888,7 +3890,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
3888
3890
  renderNodeDestructive(request, task, props.children, -1);
3889
3891
  task.keyPath = type;
3890
3892
  return;
3891
- case REACT_OFFSCREEN_TYPE:
3893
+ case REACT_ACTIVITY_TYPE:
3892
3894
  "hidden" !== props.mode &&
3893
3895
  ((type = task.keyPath),
3894
3896
  (task.keyPath = keyPath),
@@ -3904,7 +3906,12 @@ function renderElement(request, task, keyPath, type, props, ref) {
3904
3906
  case REACT_VIEW_TRANSITION_TYPE:
3905
3907
  type = task.keyPath;
3906
3908
  task.keyPath = keyPath;
3907
- renderNodeDestructive(request, task, props.children, -1);
3909
+ null != props.name && "auto" !== props.name
3910
+ ? renderNodeDestructive(request, task, props.children, -1)
3911
+ : ((keyPath = task.treeContext),
3912
+ (task.treeContext = pushTreeContext(keyPath, 1, 0)),
3913
+ renderNode(request, task, props.children, -1),
3914
+ (task.treeContext = keyPath));
3908
3915
  task.keyPath = type;
3909
3916
  return;
3910
3917
  case REACT_SCOPE_TYPE:
@@ -4572,9 +4579,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
4572
4579
  addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
4573
4580
  return;
4574
4581
  }
4575
- var boundaryNode$34 = trackedPostpones.workingMap.get(boundaryKeyPath);
4576
- void 0 === boundaryNode$34
4577
- ? ((boundaryNode$34 = [
4582
+ var boundaryNode$33 = trackedPostpones.workingMap.get(boundaryKeyPath);
4583
+ void 0 === boundaryNode$33
4584
+ ? ((boundaryNode$33 = [
4578
4585
  boundaryKeyPath[1],
4579
4586
  boundaryKeyPath[2],
4580
4587
  children,
@@ -4582,13 +4589,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
4582
4589
  fallbackReplayNode,
4583
4590
  boundary.rootSegmentID
4584
4591
  ]),
4585
- trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$34),
4592
+ trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$33),
4586
4593
  addToReplayParent(
4587
- boundaryNode$34,
4594
+ boundaryNode$33,
4588
4595
  boundaryKeyPath[0],
4589
4596
  trackedPostpones
4590
4597
  ))
4591
- : ((boundaryKeyPath = boundaryNode$34),
4598
+ : ((boundaryKeyPath = boundaryNode$33),
4592
4599
  (boundaryKeyPath[4] = fallbackReplayNode),
4593
4600
  (boundaryKeyPath[5] = boundary.rootSegmentID));
4594
4601
  }
@@ -4742,15 +4749,15 @@ function renderNode(request, task, node, childIndex) {
4742
4749
  chunkLength = segment.chunks.length;
4743
4750
  try {
4744
4751
  return renderNodeDestructive(request, task, node, childIndex);
4745
- } catch (thrownValue$46) {
4752
+ } catch (thrownValue$45) {
4746
4753
  if (
4747
4754
  (resetHooksState(),
4748
4755
  (segment.children.length = childrenLength),
4749
4756
  (segment.chunks.length = chunkLength),
4750
4757
  (childIndex =
4751
- thrownValue$46 === SuspenseException
4758
+ thrownValue$45 === SuspenseException
4752
4759
  ? getSuspendedThenable()
4753
- : thrownValue$46),
4760
+ : thrownValue$45),
4754
4761
  "object" === typeof childIndex && null !== childIndex)
4755
4762
  ) {
4756
4763
  if ("function" === typeof childIndex.then) {
@@ -4951,16 +4958,16 @@ function abortTask(task, request, error) {
4951
4958
  }
4952
4959
  } else {
4953
4960
  boundary.pendingTasks--;
4954
- var trackedPostpones$49 = request.trackedPostpones;
4961
+ var trackedPostpones$48 = request.trackedPostpones;
4955
4962
  if (4 !== boundary.status) {
4956
- if (null !== trackedPostpones$49 && null !== segment)
4963
+ if (null !== trackedPostpones$48 && null !== segment)
4957
4964
  return (
4958
4965
  "object" === typeof error &&
4959
4966
  null !== error &&
4960
4967
  error.$$typeof === REACT_POSTPONE_TYPE
4961
4968
  ? logPostpone(request, error.message, errorInfo)
4962
4969
  : logRecoverableError(request, error, errorInfo),
4963
- trackPostpone(request, trackedPostpones$49, task, segment),
4970
+ trackPostpone(request, trackedPostpones$48, task, segment),
4964
4971
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
4965
4972
  return abortTask(fallbackTask, request, error);
4966
4973
  }),
@@ -5264,13 +5271,13 @@ function performWork(request$jscomp$1) {
5264
5271
  null !== request.trackedPostpones &&
5265
5272
  x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
5266
5273
  ) {
5267
- var trackedPostpones$53 = request.trackedPostpones;
5274
+ var trackedPostpones$52 = request.trackedPostpones;
5268
5275
  task.abortSet.delete(task);
5269
5276
  var postponeInfo = getThrownInfo(task.componentStack);
5270
5277
  logPostpone(request, x$jscomp$0.message, postponeInfo);
5271
5278
  trackPostpone(
5272
5279
  request,
5273
- trackedPostpones$53,
5280
+ trackedPostpones$52,
5274
5281
  task,
5275
5282
  segment$jscomp$0
5276
5283
  );
@@ -5815,11 +5822,11 @@ function flushCompletedQueues(request, destination) {
5815
5822
  completedBoundaries.splice(0, i);
5816
5823
  var partialBoundaries = request.partialBoundaries;
5817
5824
  for (i = 0; i < partialBoundaries.length; i++) {
5818
- var boundary$56 = partialBoundaries[i];
5825
+ var boundary$55 = partialBoundaries[i];
5819
5826
  a: {
5820
5827
  clientRenderedBoundaries = request;
5821
5828
  boundary = destination;
5822
- var completedSegments = boundary$56.completedSegments;
5829
+ var completedSegments = boundary$55.completedSegments;
5823
5830
  for (
5824
5831
  JSCompiler_inline_result = 0;
5825
5832
  JSCompiler_inline_result < completedSegments.length;
@@ -5829,7 +5836,7 @@ function flushCompletedQueues(request, destination) {
5829
5836
  !flushPartiallyCompletedSegment(
5830
5837
  clientRenderedBoundaries,
5831
5838
  boundary,
5832
- boundary$56,
5839
+ boundary$55,
5833
5840
  completedSegments[JSCompiler_inline_result]
5834
5841
  )
5835
5842
  ) {
@@ -5841,7 +5848,7 @@ function flushCompletedQueues(request, destination) {
5841
5848
  completedSegments.splice(0, JSCompiler_inline_result);
5842
5849
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
5843
5850
  boundary,
5844
- boundary$56.contentState,
5851
+ boundary$55.contentState,
5845
5852
  clientRenderedBoundaries.renderState
5846
5853
  );
5847
5854
  }
@@ -5913,8 +5920,8 @@ function abort(request, reason) {
5913
5920
  }
5914
5921
  null !== request.destination &&
5915
5922
  flushCompletedQueues(request, request.destination);
5916
- } catch (error$58) {
5917
- logRecoverableError(request, error$58, {}), fatalError(request, error$58);
5923
+ } catch (error$57) {
5924
+ logRecoverableError(request, error$57, {}), fatalError(request, error$57);
5918
5925
  }
5919
5926
  }
5920
5927
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -5988,4 +5995,4 @@ exports.experimental_renderToHTML = function (children, options) {
5988
5995
  });
5989
5996
  });
5990
5997
  };
5991
- exports.version = "19.1.0-experimental-5398b711-20250314";
5998
+ exports.version = "19.1.0-experimental-c69a5fc5-20250318";
@@ -3459,8 +3459,6 @@
3459
3459
  switch (type) {
3460
3460
  case REACT_FRAGMENT_TYPE:
3461
3461
  return "Fragment";
3462
- case REACT_PORTAL_TYPE:
3463
- return "Portal";
3464
3462
  case REACT_PROFILER_TYPE:
3465
3463
  return "Profiler";
3466
3464
  case REACT_STRICT_MODE_TYPE:
@@ -3469,6 +3467,8 @@
3469
3467
  return "Suspense";
3470
3468
  case REACT_SUSPENSE_LIST_TYPE:
3471
3469
  return "SuspenseList";
3470
+ case REACT_ACTIVITY_TYPE:
3471
+ return "Activity";
3472
3472
  case REACT_VIEW_TRANSITION_TYPE:
3473
3473
  return "ViewTransition";
3474
3474
  }
@@ -3480,6 +3480,8 @@
3480
3480
  ),
3481
3481
  type.$$typeof)
3482
3482
  ) {
3483
+ case REACT_PORTAL_TYPE:
3484
+ return "Portal";
3483
3485
  case REACT_CONTEXT_TYPE:
3484
3486
  return (type.displayName || "Context") + ".Provider";
3485
3487
  case REACT_CONSUMER_TYPE:
@@ -9662,7 +9664,7 @@
9662
9664
  renderNodeDestructive(request, task, props.children, -1);
9663
9665
  task.keyPath = prevKeyPath$jscomp$1;
9664
9666
  return;
9665
- case REACT_OFFSCREEN_TYPE:
9667
+ case REACT_ACTIVITY_TYPE:
9666
9668
  if ("hidden" !== props.mode) {
9667
9669
  var prevKeyPath$jscomp$2 = task.keyPath;
9668
9670
  task.keyPath = keyPath;
@@ -9677,10 +9679,17 @@
9677
9679
  task.keyPath = _prevKeyPath3;
9678
9680
  return;
9679
9681
  case REACT_VIEW_TRANSITION_TYPE:
9680
- var _prevKeyPath4 = task.keyPath;
9682
+ var prevKeyPath$jscomp$3 = task.keyPath;
9681
9683
  task.keyPath = keyPath;
9682
- renderNodeDestructive(request, task, props.children, -1);
9683
- task.keyPath = _prevKeyPath4;
9684
+ if (null != props.name && "auto" !== props.name)
9685
+ renderNodeDestructive(request, task, props.children, -1);
9686
+ else {
9687
+ var prevTreeContext = task.treeContext;
9688
+ task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
9689
+ renderNode(request, task, props.children, -1);
9690
+ task.treeContext = prevTreeContext;
9691
+ }
9692
+ task.keyPath = prevKeyPath$jscomp$3;
9684
9693
  return;
9685
9694
  case REACT_SCOPE_TYPE:
9686
9695
  throw Error(
@@ -9697,7 +9706,7 @@
9697
9706
  task.keyPath = _prevKeyPath;
9698
9707
  }
9699
9708
  } else {
9700
- var prevKeyPath$jscomp$3 = task.keyPath,
9709
+ var prevKeyPath$jscomp$4 = task.keyPath,
9701
9710
  parentBoundary = task.blockedBoundary,
9702
9711
  parentPreamble = task.blockedPreamble,
9703
9712
  parentHoistableState = task.hoistableState,
@@ -9772,7 +9781,7 @@
9772
9781
  } finally {
9773
9782
  (task.blockedSegment = parentSegment),
9774
9783
  (task.blockedPreamble = parentPreamble),
9775
- (task.keyPath = prevKeyPath$jscomp$3);
9784
+ (task.keyPath = prevKeyPath$jscomp$4);
9776
9785
  }
9777
9786
  var suspendedPrimaryTask = createRenderTask(
9778
9787
  request,
@@ -9855,7 +9864,7 @@
9855
9864
  (task.blockedPreamble = parentPreamble),
9856
9865
  (task.hoistableState = parentHoistableState),
9857
9866
  (task.blockedSegment = parentSegment),
9858
- (task.keyPath = prevKeyPath$jscomp$3);
9867
+ (task.keyPath = prevKeyPath$jscomp$4);
9859
9868
  }
9860
9869
  var suspendedFallbackTask = createRenderTask(
9861
9870
  request,
@@ -9916,7 +9925,7 @@
9916
9925
  var value$jscomp$0 = props.value,
9917
9926
  children$jscomp$1 = props.children;
9918
9927
  var prevSnapshot = task.context;
9919
- var prevKeyPath$jscomp$4 = task.keyPath;
9928
+ var prevKeyPath$jscomp$5 = task.keyPath;
9920
9929
  var prevValue = type._currentValue2;
9921
9930
  type._currentValue2 = value$jscomp$0;
9922
9931
  void 0 !== type._currentRenderer2 &&
@@ -9959,7 +9968,7 @@
9959
9968
  var JSCompiler_inline_result$jscomp$0 = (currentActiveSnapshot =
9960
9969
  prevSnapshot$jscomp$0.parent);
9961
9970
  task.context = JSCompiler_inline_result$jscomp$0;
9962
- task.keyPath = prevKeyPath$jscomp$4;
9971
+ task.keyPath = prevKeyPath$jscomp$5;
9963
9972
  prevSnapshot !== task.context &&
9964
9973
  console.error(
9965
9974
  "Popping the context provider did not return back to the original snapshot. This is a bug in React."
@@ -9973,10 +9982,10 @@
9973
9982
  "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."
9974
9983
  );
9975
9984
  var newChildren = render(context$jscomp$0._currentValue2),
9976
- prevKeyPath$jscomp$5 = task.keyPath;
9985
+ prevKeyPath$jscomp$6 = task.keyPath;
9977
9986
  task.keyPath = keyPath;
9978
9987
  renderNodeDestructive(request, task, newChildren, -1);
9979
- task.keyPath = prevKeyPath$jscomp$5;
9988
+ task.keyPath = prevKeyPath$jscomp$6;
9980
9989
  return;
9981
9990
  case REACT_LAZY_TYPE:
9982
9991
  var Component = callLazyInitInDEV(type);
@@ -12223,7 +12232,7 @@
12223
12232
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
12224
12233
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
12225
12234
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
12226
- REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
12235
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
12227
12236
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
12228
12237
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
12229
12238
  REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
@@ -13666,5 +13675,5 @@
13666
13675
  });
13667
13676
  });
13668
13677
  };
13669
- exports.version = "19.1.0-experimental-5398b711-20250314";
13678
+ exports.version = "19.1.0-experimental-c69a5fc5-20250318";
13670
13679
  })();
@@ -118,7 +118,7 @@ var CLIENT_REFERENCE_TAG$1 = Symbol.for("react.client.reference"),
118
118
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
119
119
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
120
120
  REACT_SCOPE_TYPE = Symbol.for("react.scope"),
121
- REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
121
+ REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
122
122
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
123
123
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
124
124
  REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
@@ -2301,8 +2301,6 @@ function getComponentNameFromType(type) {
2301
2301
  switch (type) {
2302
2302
  case REACT_FRAGMENT_TYPE:
2303
2303
  return "Fragment";
2304
- case REACT_PORTAL_TYPE:
2305
- return "Portal";
2306
2304
  case REACT_PROFILER_TYPE:
2307
2305
  return "Profiler";
2308
2306
  case REACT_STRICT_MODE_TYPE:
@@ -2311,11 +2309,15 @@ function getComponentNameFromType(type) {
2311
2309
  return "Suspense";
2312
2310
  case REACT_SUSPENSE_LIST_TYPE:
2313
2311
  return "SuspenseList";
2312
+ case REACT_ACTIVITY_TYPE:
2313
+ return "Activity";
2314
2314
  case REACT_VIEW_TRANSITION_TYPE:
2315
2315
  return "ViewTransition";
2316
2316
  }
2317
2317
  if ("object" === typeof type)
2318
2318
  switch (type.$$typeof) {
2319
+ case REACT_PORTAL_TYPE:
2320
+ return "Portal";
2319
2321
  case REACT_CONTEXT_TYPE:
2320
2322
  return (type.displayName || "Context") + ".Provider";
2321
2323
  case REACT_CONSUMER_TYPE:
@@ -6594,7 +6596,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
6594
6596
  renderNodeDestructive(request, task, props.children, -1);
6595
6597
  task.keyPath = type;
6596
6598
  return;
6597
- case REACT_OFFSCREEN_TYPE:
6599
+ case REACT_ACTIVITY_TYPE:
6598
6600
  "hidden" !== props.mode &&
6599
6601
  ((type = task.keyPath),
6600
6602
  (task.keyPath = keyPath),
@@ -6610,7 +6612,12 @@ function renderElement(request, task, keyPath, type, props, ref) {
6610
6612
  case REACT_VIEW_TRANSITION_TYPE:
6611
6613
  type = task.keyPath;
6612
6614
  task.keyPath = keyPath;
6613
- renderNodeDestructive(request, task, props.children, -1);
6615
+ null != props.name && "auto" !== props.name
6616
+ ? renderNodeDestructive(request, task, props.children, -1)
6617
+ : ((keyPath = task.treeContext),
6618
+ (task.treeContext = pushTreeContext(keyPath, 1, 0)),
6619
+ renderNode(request, task, props.children, -1),
6620
+ (task.treeContext = keyPath));
6614
6621
  task.keyPath = type;
6615
6622
  return;
6616
6623
  case REACT_SCOPE_TYPE:
@@ -7273,9 +7280,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
7273
7280
  addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
7274
7281
  return;
7275
7282
  }
7276
- var boundaryNode$96 = trackedPostpones.workingMap.get(boundaryKeyPath);
7277
- void 0 === boundaryNode$96
7278
- ? ((boundaryNode$96 = [
7283
+ var boundaryNode$95 = trackedPostpones.workingMap.get(boundaryKeyPath);
7284
+ void 0 === boundaryNode$95
7285
+ ? ((boundaryNode$95 = [
7279
7286
  boundaryKeyPath[1],
7280
7287
  boundaryKeyPath[2],
7281
7288
  children,
@@ -7283,13 +7290,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
7283
7290
  fallbackReplayNode,
7284
7291
  boundary.rootSegmentID
7285
7292
  ]),
7286
- trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$96),
7293
+ trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$95),
7287
7294
  addToReplayParent(
7288
- boundaryNode$96,
7295
+ boundaryNode$95,
7289
7296
  boundaryKeyPath[0],
7290
7297
  trackedPostpones
7291
7298
  ))
7292
- : ((boundaryKeyPath = boundaryNode$96),
7299
+ : ((boundaryKeyPath = boundaryNode$95),
7293
7300
  (boundaryKeyPath[4] = fallbackReplayNode),
7294
7301
  (boundaryKeyPath[5] = boundary.rootSegmentID));
7295
7302
  }
@@ -7443,15 +7450,15 @@ function renderNode(request, task, node, childIndex) {
7443
7450
  chunkLength = segment.chunks.length;
7444
7451
  try {
7445
7452
  return renderNodeDestructive(request, task, node, childIndex);
7446
- } catch (thrownValue$108) {
7453
+ } catch (thrownValue$107) {
7447
7454
  if (
7448
7455
  (resetHooksState(),
7449
7456
  (segment.children.length = childrenLength),
7450
7457
  (segment.chunks.length = chunkLength),
7451
7458
  (childIndex =
7452
- thrownValue$108 === SuspenseException
7459
+ thrownValue$107 === SuspenseException
7453
7460
  ? getSuspendedThenable()
7454
- : thrownValue$108),
7461
+ : thrownValue$107),
7455
7462
  "object" === typeof childIndex && null !== childIndex)
7456
7463
  ) {
7457
7464
  if ("function" === typeof childIndex.then) {
@@ -7652,16 +7659,16 @@ function abortTask(task, request, error) {
7652
7659
  }
7653
7660
  } else {
7654
7661
  boundary.pendingTasks--;
7655
- var trackedPostpones$111 = request.trackedPostpones;
7662
+ var trackedPostpones$110 = request.trackedPostpones;
7656
7663
  if (4 !== boundary.status) {
7657
- if (null !== trackedPostpones$111 && null !== segment)
7664
+ if (null !== trackedPostpones$110 && null !== segment)
7658
7665
  return (
7659
7666
  "object" === typeof error &&
7660
7667
  null !== error &&
7661
7668
  error.$$typeof === REACT_POSTPONE_TYPE
7662
7669
  ? logPostpone(request, error.message, errorInfo)
7663
7670
  : logRecoverableError(request, error, errorInfo),
7664
- trackPostpone(request, trackedPostpones$111, task, segment),
7671
+ trackPostpone(request, trackedPostpones$110, task, segment),
7665
7672
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
7666
7673
  return abortTask(fallbackTask, request, error);
7667
7674
  }),
@@ -7965,13 +7972,13 @@ function performWork(request$jscomp$1) {
7965
7972
  null !== request.trackedPostpones &&
7966
7973
  x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
7967
7974
  ) {
7968
- var trackedPostpones$115 = request.trackedPostpones;
7975
+ var trackedPostpones$114 = request.trackedPostpones;
7969
7976
  task.abortSet.delete(task);
7970
7977
  var postponeInfo = getThrownInfo(task.componentStack);
7971
7978
  logPostpone(request, x$jscomp$0.message, postponeInfo);
7972
7979
  trackPostpone(
7973
7980
  request,
7974
- trackedPostpones$115,
7981
+ trackedPostpones$114,
7975
7982
  task,
7976
7983
  segment$jscomp$0
7977
7984
  );
@@ -8516,11 +8523,11 @@ function flushCompletedQueues(request, destination) {
8516
8523
  completedBoundaries.splice(0, i);
8517
8524
  var partialBoundaries = request.partialBoundaries;
8518
8525
  for (i = 0; i < partialBoundaries.length; i++) {
8519
- var boundary$118 = partialBoundaries[i];
8526
+ var boundary$117 = partialBoundaries[i];
8520
8527
  a: {
8521
8528
  clientRenderedBoundaries = request;
8522
8529
  boundary = destination;
8523
- var completedSegments = boundary$118.completedSegments;
8530
+ var completedSegments = boundary$117.completedSegments;
8524
8531
  for (
8525
8532
  JSCompiler_inline_result = 0;
8526
8533
  JSCompiler_inline_result < completedSegments.length;
@@ -8530,7 +8537,7 @@ function flushCompletedQueues(request, destination) {
8530
8537
  !flushPartiallyCompletedSegment(
8531
8538
  clientRenderedBoundaries,
8532
8539
  boundary,
8533
- boundary$118,
8540
+ boundary$117,
8534
8541
  completedSegments[JSCompiler_inline_result]
8535
8542
  )
8536
8543
  ) {
@@ -8542,7 +8549,7 @@ function flushCompletedQueues(request, destination) {
8542
8549
  completedSegments.splice(0, JSCompiler_inline_result);
8543
8550
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
8544
8551
  boundary,
8545
- boundary$118.contentState,
8552
+ boundary$117.contentState,
8546
8553
  clientRenderedBoundaries.renderState
8547
8554
  );
8548
8555
  }
@@ -8614,8 +8621,8 @@ function abort(request, reason) {
8614
8621
  }
8615
8622
  null !== request.destination &&
8616
8623
  flushCompletedQueues(request, request.destination);
8617
- } catch (error$120) {
8618
- logRecoverableError(request, error$120, {}), fatalError(request, error$120);
8624
+ } catch (error$119) {
8625
+ logRecoverableError(request, error$119, {}), fatalError(request, error$119);
8619
8626
  }
8620
8627
  }
8621
8628
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -8926,4 +8933,4 @@ exports.experimental_renderToHTML = function (children, options) {
8926
8933
  });
8927
8934
  });
8928
8935
  };
8929
- exports.version = "19.1.0-experimental-5398b711-20250314";
8936
+ exports.version = "19.1.0-experimental-c69a5fc5-20250318";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-5398b711-20250314",
3
+ "version": "0.0.0-experimental-c69a5fc5-20250318",
4
4
  "description": "React package generating embedded markup such as e-mails with support for Server Components.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "homepage": "https://react.dev/",
19
19
  "peerDependencies": {
20
- "react": "0.0.0-experimental-5398b711-20250314"
20
+ "react": "0.0.0-experimental-c69a5fc5-20250318"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",