react-markup 0.0.0-experimental-3fbfb9ba-20250409 → 0.0.0-experimental-1d6c8168-20250411

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.
@@ -990,12 +990,7 @@
990
990
  };
991
991
  }
992
992
  function createPreambleState() {
993
- return {
994
- htmlChunks: null,
995
- headChunks: null,
996
- bodyChunks: null,
997
- contribution: NoContribution
998
- };
993
+ return { htmlChunks: null, headChunks: null, bodyChunks: null };
999
994
  }
1000
995
  function createFormatContext(insertionMode, selectedValue, tagScope) {
1001
996
  return {
@@ -2930,6 +2925,7 @@
2930
2925
  var preamble = preambleState || renderState.preamble;
2931
2926
  if (preamble.headChunks)
2932
2927
  throw Error("The `<head>` tag may only be rendered once.");
2928
+ null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e");
2933
2929
  preamble.headChunks = [];
2934
2930
  var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
2935
2931
  preamble.headChunks,
@@ -2948,6 +2944,7 @@
2948
2944
  var preamble$jscomp$0 = preambleState || renderState.preamble;
2949
2945
  if (preamble$jscomp$0.bodyChunks)
2950
2946
  throw Error("The `<body>` tag may only be rendered once.");
2947
+ null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e");
2951
2948
  preamble$jscomp$0.bodyChunks = [];
2952
2949
  var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
2953
2950
  preamble$jscomp$0.bodyChunks,
@@ -2966,6 +2963,7 @@
2966
2963
  var preamble$jscomp$1 = preambleState || renderState.preamble;
2967
2964
  if (preamble$jscomp$1.htmlChunks)
2968
2965
  throw Error("The `<html>` tag may only be rendered once.");
2966
+ null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e");
2969
2967
  preamble$jscomp$1.htmlChunks = [doctypeChunk];
2970
2968
  var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
2971
2969
  preamble$jscomp$1.htmlChunks,
@@ -3049,16 +3047,13 @@
3049
3047
  renderState = renderState.preamble;
3050
3048
  null === renderState.htmlChunks &&
3051
3049
  preambleState.htmlChunks &&
3052
- ((renderState.htmlChunks = preambleState.htmlChunks),
3053
- (preambleState.contribution |= 1));
3050
+ (renderState.htmlChunks = preambleState.htmlChunks);
3054
3051
  null === renderState.headChunks &&
3055
3052
  preambleState.headChunks &&
3056
- ((renderState.headChunks = preambleState.headChunks),
3057
- (preambleState.contribution |= 4));
3053
+ (renderState.headChunks = preambleState.headChunks);
3058
3054
  null === renderState.bodyChunks &&
3059
3055
  preambleState.bodyChunks &&
3060
- ((renderState.bodyChunks = preambleState.bodyChunks),
3061
- (preambleState.contribution |= 2));
3056
+ (renderState.bodyChunks = preambleState.bodyChunks);
3062
3057
  }
3063
3058
  function writeBootstrap(destination, renderState) {
3064
3059
  renderState = renderState.bootstrapChunks;
@@ -8696,8 +8691,7 @@
8696
8691
  Object.freeze(PRELOAD_NO_CREDS);
8697
8692
  var scriptRegex = /(<\/|<)(s)(cript)/gi;
8698
8693
  var didWarnForNewBooleanPropsWithEmptyValue = {};
8699
- var NoContribution = 0,
8700
- styleNameCache = new Map(),
8694
+ var styleNameCache = new Map(),
8701
8695
  styleAttributeStart = ' style="',
8702
8696
  styleAssign = ":",
8703
8697
  styleSeparator = ";",
@@ -9011,5 +9005,5 @@
9011
9005
  });
9012
9006
  });
9013
9007
  };
9014
- exports.version = "19.2.0-experimental-3fbfb9ba-20250409";
9008
+ exports.version = "19.2.0-experimental-1d6c8168-20250411";
9015
9009
  })();
@@ -516,12 +516,7 @@ function createResumableState(
516
516
  };
517
517
  }
518
518
  function createPreambleState() {
519
- return {
520
- htmlChunks: null,
521
- headChunks: null,
522
- bodyChunks: null,
523
- contribution: 0
524
- };
519
+ return { htmlChunks: null, headChunks: null, bodyChunks: null };
525
520
  }
526
521
  function createFormatContext(insertionMode, selectedValue, tagScope) {
527
522
  return {
@@ -1997,6 +1992,7 @@ function pushStartInstance$1(
1997
1992
  var preamble = preambleState || renderState.preamble;
1998
1993
  if (preamble.headChunks)
1999
1994
  throw Error("The `<head>` tag may only be rendered once.");
1995
+ null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e");
2000
1996
  preamble.headChunks = [];
2001
1997
  var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
2002
1998
  preamble.headChunks,
@@ -2015,6 +2011,7 @@ function pushStartInstance$1(
2015
2011
  var preamble$jscomp$0 = preambleState || renderState.preamble;
2016
2012
  if (preamble$jscomp$0.bodyChunks)
2017
2013
  throw Error("The `<body>` tag may only be rendered once.");
2014
+ null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e");
2018
2015
  preamble$jscomp$0.bodyChunks = [];
2019
2016
  var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
2020
2017
  preamble$jscomp$0.bodyChunks,
@@ -2033,6 +2030,7 @@ function pushStartInstance$1(
2033
2030
  var preamble$jscomp$1 = preambleState || renderState.preamble;
2034
2031
  if (preamble$jscomp$1.htmlChunks)
2035
2032
  throw Error("The `<html>` tag may only be rendered once.");
2033
+ null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e");
2036
2034
  preamble$jscomp$1.htmlChunks = ["<!DOCTYPE html>"];
2037
2035
  var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
2038
2036
  preamble$jscomp$1.htmlChunks,
@@ -2110,16 +2108,13 @@ function hoistPreambleState(renderState, preambleState) {
2110
2108
  renderState = renderState.preamble;
2111
2109
  null === renderState.htmlChunks &&
2112
2110
  preambleState.htmlChunks &&
2113
- ((renderState.htmlChunks = preambleState.htmlChunks),
2114
- (preambleState.contribution |= 1));
2111
+ (renderState.htmlChunks = preambleState.htmlChunks);
2115
2112
  null === renderState.headChunks &&
2116
2113
  preambleState.headChunks &&
2117
- ((renderState.headChunks = preambleState.headChunks),
2118
- (preambleState.contribution |= 4));
2114
+ (renderState.headChunks = preambleState.headChunks);
2119
2115
  null === renderState.bodyChunks &&
2120
2116
  preambleState.bodyChunks &&
2121
- ((renderState.bodyChunks = preambleState.bodyChunks),
2122
- (preambleState.contribution |= 2));
2117
+ (renderState.bodyChunks = preambleState.bodyChunks);
2123
2118
  }
2124
2119
  function writeBootstrap(destination, renderState) {
2125
2120
  renderState = renderState.bootstrapChunks;
@@ -6049,4 +6044,4 @@ exports.experimental_renderToHTML = function (children, options) {
6049
6044
  });
6050
6045
  });
6051
6046
  };
6052
- exports.version = "19.2.0-experimental-3fbfb9ba-20250409";
6047
+ exports.version = "19.2.0-experimental-1d6c8168-20250411";
@@ -5619,12 +5619,7 @@
5619
5619
  };
5620
5620
  }
5621
5621
  function createPreambleState() {
5622
- return {
5623
- htmlChunks: null,
5624
- headChunks: null,
5625
- bodyChunks: null,
5626
- contribution: NoContribution
5627
- };
5622
+ return { htmlChunks: null, headChunks: null, bodyChunks: null };
5628
5623
  }
5629
5624
  function createFormatContext(insertionMode, selectedValue, tagScope) {
5630
5625
  return {
@@ -7559,6 +7554,7 @@
7559
7554
  var preamble = preambleState || renderState.preamble;
7560
7555
  if (preamble.headChunks)
7561
7556
  throw Error("The `<head>` tag may only be rendered once.");
7557
+ null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e");
7562
7558
  preamble.headChunks = [];
7563
7559
  var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
7564
7560
  preamble.headChunks,
@@ -7577,6 +7573,7 @@
7577
7573
  var preamble$jscomp$0 = preambleState || renderState.preamble;
7578
7574
  if (preamble$jscomp$0.bodyChunks)
7579
7575
  throw Error("The `<body>` tag may only be rendered once.");
7576
+ null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e");
7580
7577
  preamble$jscomp$0.bodyChunks = [];
7581
7578
  var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
7582
7579
  preamble$jscomp$0.bodyChunks,
@@ -7595,6 +7592,7 @@
7595
7592
  var preamble$jscomp$1 = preambleState || renderState.preamble;
7596
7593
  if (preamble$jscomp$1.htmlChunks)
7597
7594
  throw Error("The `<html>` tag may only be rendered once.");
7595
+ null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e");
7598
7596
  preamble$jscomp$1.htmlChunks = [doctypeChunk];
7599
7597
  var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
7600
7598
  preamble$jscomp$1.htmlChunks,
@@ -7678,16 +7676,13 @@
7678
7676
  renderState = renderState.preamble;
7679
7677
  null === renderState.htmlChunks &&
7680
7678
  preambleState.htmlChunks &&
7681
- ((renderState.htmlChunks = preambleState.htmlChunks),
7682
- (preambleState.contribution |= 1));
7679
+ (renderState.htmlChunks = preambleState.htmlChunks);
7683
7680
  null === renderState.headChunks &&
7684
7681
  preambleState.headChunks &&
7685
- ((renderState.headChunks = preambleState.headChunks),
7686
- (preambleState.contribution |= 4));
7682
+ (renderState.headChunks = preambleState.headChunks);
7687
7683
  null === renderState.bodyChunks &&
7688
7684
  preambleState.bodyChunks &&
7689
- ((renderState.bodyChunks = preambleState.bodyChunks),
7690
- (preambleState.contribution |= 2));
7685
+ (renderState.bodyChunks = preambleState.bodyChunks);
7691
7686
  }
7692
7687
  function writeBootstrap(destination, renderState) {
7693
7688
  renderState = renderState.bootstrapChunks;
@@ -13348,8 +13343,7 @@
13348
13343
  Object.freeze(PRELOAD_NO_CREDS);
13349
13344
  var scriptRegex = /(<\/|<)(s)(cript)/gi;
13350
13345
  var didWarnForNewBooleanPropsWithEmptyValue = {};
13351
- var NoContribution = 0,
13352
- styleNameCache = new Map(),
13346
+ var styleNameCache = new Map(),
13353
13347
  styleAttributeStart = ' style="',
13354
13348
  styleAssign = ":",
13355
13349
  styleSeparator = ";",
@@ -13784,5 +13778,5 @@
13784
13778
  });
13785
13779
  });
13786
13780
  };
13787
- exports.version = "19.2.0-experimental-3fbfb9ba-20250409";
13781
+ exports.version = "19.2.0-experimental-1d6c8168-20250411";
13788
13782
  })();
@@ -3434,12 +3434,7 @@ function createResumableState(
3434
3434
  };
3435
3435
  }
3436
3436
  function createPreambleState() {
3437
- return {
3438
- htmlChunks: null,
3439
- headChunks: null,
3440
- bodyChunks: null,
3441
- contribution: 0
3442
- };
3437
+ return { htmlChunks: null, headChunks: null, bodyChunks: null };
3443
3438
  }
3444
3439
  function createFormatContext(insertionMode, selectedValue, tagScope) {
3445
3440
  return {
@@ -4915,6 +4910,7 @@ function pushStartInstance$1(
4915
4910
  var preamble = preambleState || renderState.preamble;
4916
4911
  if (preamble.headChunks)
4917
4912
  throw Error("The `<head>` tag may only be rendered once.");
4913
+ null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e");
4918
4914
  preamble.headChunks = [];
4919
4915
  var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
4920
4916
  preamble.headChunks,
@@ -4933,6 +4929,7 @@ function pushStartInstance$1(
4933
4929
  var preamble$jscomp$0 = preambleState || renderState.preamble;
4934
4930
  if (preamble$jscomp$0.bodyChunks)
4935
4931
  throw Error("The `<body>` tag may only be rendered once.");
4932
+ null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e");
4936
4933
  preamble$jscomp$0.bodyChunks = [];
4937
4934
  var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
4938
4935
  preamble$jscomp$0.bodyChunks,
@@ -4951,6 +4948,7 @@ function pushStartInstance$1(
4951
4948
  var preamble$jscomp$1 = preambleState || renderState.preamble;
4952
4949
  if (preamble$jscomp$1.htmlChunks)
4953
4950
  throw Error("The `<html>` tag may only be rendered once.");
4951
+ null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e");
4954
4952
  preamble$jscomp$1.htmlChunks = ["<!DOCTYPE html>"];
4955
4953
  var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
4956
4954
  preamble$jscomp$1.htmlChunks,
@@ -5028,16 +5026,13 @@ function hoistPreambleState(renderState, preambleState) {
5028
5026
  renderState = renderState.preamble;
5029
5027
  null === renderState.htmlChunks &&
5030
5028
  preambleState.htmlChunks &&
5031
- ((renderState.htmlChunks = preambleState.htmlChunks),
5032
- (preambleState.contribution |= 1));
5029
+ (renderState.htmlChunks = preambleState.htmlChunks);
5033
5030
  null === renderState.headChunks &&
5034
5031
  preambleState.headChunks &&
5035
- ((renderState.headChunks = preambleState.headChunks),
5036
- (preambleState.contribution |= 4));
5032
+ (renderState.headChunks = preambleState.headChunks);
5037
5033
  null === renderState.bodyChunks &&
5038
5034
  preambleState.bodyChunks &&
5039
- ((renderState.bodyChunks = preambleState.bodyChunks),
5040
- (preambleState.contribution |= 2));
5035
+ (renderState.bodyChunks = preambleState.bodyChunks);
5041
5036
  }
5042
5037
  function writeBootstrap(destination, renderState) {
5043
5038
  renderState = renderState.bootstrapChunks;
@@ -8986,4 +8981,4 @@ exports.experimental_renderToHTML = function (children, options) {
8986
8981
  });
8987
8982
  });
8988
8983
  };
8989
- exports.version = "19.2.0-experimental-3fbfb9ba-20250409";
8984
+ exports.version = "19.2.0-experimental-1d6c8168-20250411";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-3fbfb9ba-20250409",
3
+ "version": "0.0.0-experimental-1d6c8168-20250411",
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-3fbfb9ba-20250409"
20
+ "react": "0.0.0-experimental-1d6c8168-20250411"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",