@diagrammo/dgmo 0.50.0 → 0.50.2

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.
Files changed (139) hide show
  1. package/dist/advanced.d.ts +11 -2
  2. package/dist/advanced.js +64 -64
  3. package/dist/auto.js +99 -99
  4. package/dist/auto.mjs +125 -27
  5. package/dist/block.d.ts +7 -0
  6. package/dist/block.js +38 -32
  7. package/dist/{charts-d3-DKUD7MQE.js → charts-d3-MUW3LTML.js} +4 -4
  8. package/dist/{chunk-PJUGRJHJ.js → chunk-2KGXHFYK.js} +4 -4
  9. package/dist/{chunk-6X4AKWLF.js → chunk-3LH5CLP4.js} +3 -3
  10. package/dist/{chunk-YA7D2N2O.js → chunk-3NODSS6A.js} +4 -4
  11. package/dist/{chunk-DMJJ3CEQ.js → chunk-3UIKSPFB.js} +8 -3
  12. package/dist/{chunk-RV26LTUU.js → chunk-3XGZF2QJ.js} +4 -4
  13. package/dist/{chunk-I4IFRCUB.js → chunk-3Y2DRD7S.js} +2 -2
  14. package/dist/{chunk-RV6A2B5S.js → chunk-3YPY3OXD.js} +2 -2
  15. package/dist/{chunk-4S723I74.js → chunk-4MJ7M6YL.js} +5 -5
  16. package/dist/{chunk-SGFZZAUO.js → chunk-5GJYGP5Z.js} +4 -4
  17. package/dist/{chunk-TWCLK2GA.js → chunk-5OWVC2A6.js} +3 -3
  18. package/dist/{chunk-7PQYTZMA.js → chunk-5WFIYXQ6.js} +5 -5
  19. package/dist/{chunk-F5UDBSJY.js → chunk-66NVRO4K.js} +4 -4
  20. package/dist/{chunk-XCLHOZAM.js → chunk-66RUL3XF.js} +3 -3
  21. package/dist/{chunk-YZLMKW4T.js → chunk-6HJBFVLO.js} +2 -2
  22. package/dist/{chunk-YB3FW24O.js → chunk-7L3R6I3U.js} +2 -2
  23. package/dist/{chunk-PLZI6KPM.js → chunk-7QKLIMRZ.js} +4 -4
  24. package/dist/{chunk-IA3FJYWR.js → chunk-7TV5Y53Y.js} +2 -2
  25. package/dist/{chunk-3TDRHT4J.js → chunk-BBGDM4NQ.js} +3 -3
  26. package/dist/{chunk-T4BRO3Z6.js → chunk-BH3UYK36.js} +2 -2
  27. package/dist/{chunk-UXOSVCLJ.js → chunk-C2CVAM3U.js} +2 -2
  28. package/dist/{chunk-UUS2GIJZ.js → chunk-DFTFPYUD.js} +5 -5
  29. package/dist/{chunk-L2ZTFHAY.js → chunk-DN66GPY5.js} +87 -8
  30. package/dist/{chunk-SU2VBK4L.js → chunk-DSWVNQVS.js} +2 -2
  31. package/dist/{chunk-5JSWBPZZ.js → chunk-DZXYF2F5.js} +12 -2
  32. package/dist/{chunk-6M5PJFQG.js → chunk-EAMEADTV.js} +2 -2
  33. package/dist/{chunk-KJXIHOVL.js → chunk-FA6K3FWM.js} +3 -3
  34. package/dist/{chunk-WCUHAQKB.js → chunk-FJUNPCYI.js} +1 -1
  35. package/dist/{chunk-FB2WHOEQ.js → chunk-GKC3HILQ.js} +2 -2
  36. package/dist/{chunk-QUJGFNFN.js → chunk-HEVYAHLW.js} +2 -2
  37. package/dist/{chunk-3ZPC476N.js → chunk-HLJVEAOF.js} +3 -3
  38. package/dist/{chunk-7G2ER4CY.js → chunk-HTMN2Z6U.js} +2 -2
  39. package/dist/{chunk-OHQEMBLI.js → chunk-I2WKW7C7.js} +2 -2
  40. package/dist/{chunk-R56LASIN.js → chunk-IUMPEA64.js} +2 -2
  41. package/dist/{chunk-QDFNCATJ.js → chunk-J6K7RP6P.js} +4 -4
  42. package/dist/{chunk-PMN3Q7RJ.js → chunk-JJUOHGX2.js} +2 -2
  43. package/dist/{chunk-QFQ35BTO.js → chunk-KFZYNWWO.js} +2 -2
  44. package/dist/{chunk-ER5SCQWQ.js → chunk-KHEYDLMT.js} +2 -2
  45. package/dist/{chunk-JFYIP7XU.js → chunk-KQ57MHRO.js} +25 -25
  46. package/dist/{chunk-X2NMFTG3.js → chunk-LE4MYMLI.js} +2 -2
  47. package/dist/{chunk-NFFIKVNO.js → chunk-MCZ5LBZD.js} +4 -4
  48. package/dist/{chunk-2JJ2KNPI.js → chunk-NU3XLTGP.js} +2 -2
  49. package/dist/{chunk-4BMJQFNK.js → chunk-NWED7CYO.js} +3 -3
  50. package/dist/{chunk-WWN566I7.js → chunk-OMNGQPEZ.js} +2 -2
  51. package/dist/{chunk-O76UD6VJ.js → chunk-OTQKUHRS.js} +2 -2
  52. package/dist/{chunk-5Z736BSU.js → chunk-P7CE7LXL.js} +2 -2
  53. package/dist/{chunk-CVV36CWI.js → chunk-PFHVU7UA.js} +2 -2
  54. package/dist/{chunk-6ZT4U37Q.js → chunk-QJJZSROI.js} +11 -4
  55. package/dist/{chunk-FAL7NOK3.js → chunk-QJP6PG7F.js} +5 -5
  56. package/dist/{chunk-URSQLCTR.js → chunk-QROYX7TT.js} +2 -2
  57. package/dist/{chunk-FL4IOQ37.js → chunk-QXKWYZNR.js} +2 -2
  58. package/dist/{chunk-3G6TMNVF.js → chunk-RZ6YKEUJ.js} +3 -3
  59. package/dist/{chunk-A3WQVFBS.js → chunk-SQLNBA64.js} +2 -2
  60. package/dist/{chunk-NISQC5KW.js → chunk-SVTI362O.js} +65 -65
  61. package/dist/{chunk-S5GRONXL.js → chunk-SXRTRMEE.js} +2 -2
  62. package/dist/{chunk-GPWHQ5FJ.js → chunk-T4VOVZT5.js} +2 -2
  63. package/dist/{chunk-GROQGHCT.js → chunk-T5SHNNGP.js} +89 -17
  64. package/dist/{chunk-JZNMXEIV.js → chunk-TN35C5KM.js} +2 -2
  65. package/dist/{chunk-O4VUFXIH.js → chunk-VBYSIOOY.js} +2 -2
  66. package/dist/{chunk-2QYTMIRR.js → chunk-VDOOQZUD.js} +2 -2
  67. package/dist/{chunk-XMVQ5F4M.js → chunk-VUJGMJE6.js} +2 -2
  68. package/dist/{chunk-ASS5YYIZ.js → chunk-VVW3F3MD.js} +4 -4
  69. package/dist/{chunk-7RB5Q6MB.js → chunk-WW32K72E.js} +5 -5
  70. package/dist/{chunk-EJTKV7CY.js → chunk-X6EZPSW6.js} +4 -4
  71. package/dist/{chunk-XDXNDSKO.js → chunk-XEGTMVYY.js} +4 -1
  72. package/dist/{chunk-OTP5KVLO.js → chunk-XJLKLU4D.js} +2 -2
  73. package/dist/cli.cjs +120 -120
  74. package/dist/{dgmo-router-QOMFCOOV.js → dgmo-router-CE2G67FV.js} +26 -26
  75. package/dist/{dimensions-P5FSX2QN.js → dimensions-OTBKC5M6.js} +4 -4
  76. package/dist/element.js +100 -100
  77. package/dist/element.mjs +125 -27
  78. package/dist/index.d.ts +27 -8
  79. package/dist/index.js +32 -30
  80. package/dist/{layout-T3OZU5QW.js → layout-7MZ5NF2N.js} +3 -3
  81. package/dist/{layout-WZHNDT2O.js → layout-FWODLIMP.js} +3 -3
  82. package/dist/{layout-VYELEAW7.js → layout-J36454XU.js} +3 -3
  83. package/dist/{layout-TJIWF7EM.js → layout-LD6XTLD6.js} +3 -3
  84. package/dist/{parser-ZSOWUBML.js → parser-36HVKU5U.js} +3 -3
  85. package/dist/{parser-QYYM4QVW.js → parser-4NO6VZ6S.js} +3 -3
  86. package/dist/{parser-DOKMZXVZ.js → parser-4WQQQXCG.js} +3 -3
  87. package/dist/{parser-O4QFCUW7.js → parser-5OXGPNBF.js} +3 -3
  88. package/dist/{parser-ZTBATMLX.js → parser-AGVYTQXV.js} +3 -3
  89. package/dist/{parser-D3QT6GWN.js → parser-AXKBDGNO.js} +3 -3
  90. package/dist/{parser-FMPCVFRK.js → parser-CVMEDULU.js} +3 -3
  91. package/dist/{parser-C2HF2C2E.js → parser-D5VILGN2.js} +3 -3
  92. package/dist/{parser-KUQWRPIT.js → parser-H3XEPFPV.js} +3 -3
  93. package/dist/{parser-YLKYBRIT.js → parser-IJBMRXMC.js} +3 -3
  94. package/dist/{parser-UQE5OWZI.js → parser-JJR52VAT.js} +3 -3
  95. package/dist/{parser-4P36TUVD.js → parser-K3XXLMUW.js} +3 -3
  96. package/dist/{parser-45DENHFZ.js → parser-KCR2WS3V.js} +3 -3
  97. package/dist/{parser-5AURY4A6.js → parser-MPCE5JBG.js} +3 -3
  98. package/dist/{parser-Q4QKCIWQ.js → parser-MTOMTWTD.js} +3 -3
  99. package/dist/{parser-RZMQP7MM.js → parser-O4HIUN6G.js} +3 -3
  100. package/dist/{parser-PGMQDD4G.js → parser-PSA4UBSP.js} +3 -3
  101. package/dist/{parser-I2UIJKVQ.js → parser-RV4M6AS2.js} +3 -3
  102. package/dist/{parser-QTOB4KFL.js → parser-TGQZJ5OT.js} +3 -3
  103. package/dist/{parser-SOUJOEYI.js → parser-TXND652E.js} +3 -3
  104. package/dist/{parser-A2BEFMGK.js → parser-VKOJM7KS.js} +3 -3
  105. package/dist/{parser-D5637H5H.js → parser-W4PQUGX3.js} +3 -3
  106. package/dist/pert.d.ts +8 -0
  107. package/dist/{renderer-BSW7SRIZ.js → renderer-2AZ5HJFK.js} +3 -3
  108. package/dist/{renderer-BZSBPTZJ.js → renderer-2QPMJ2DA.js} +5 -5
  109. package/dist/{renderer-KY4KQBTF.js → renderer-45PSOL3E.js} +4 -4
  110. package/dist/{renderer-FZUKFUNZ.js → renderer-5DSEWF74.js} +4 -4
  111. package/dist/{renderer-72LGR2YF.js → renderer-5KVCNMOJ.js} +2 -2
  112. package/dist/{renderer-TQMZGDAX.js → renderer-6OKF44KS.js} +5 -5
  113. package/dist/{renderer-67NPCBIS.js → renderer-7SD6MSBS.js} +5 -5
  114. package/dist/{renderer-ICJN2SA2.js → renderer-A5VE5BCI.js} +4 -4
  115. package/dist/{renderer-Q6ZKPLS6.js → renderer-AUW2BE6G.js} +5 -5
  116. package/dist/{renderer-35HSIDMZ.js → renderer-B5TBNZJE.js} +4 -4
  117. package/dist/{renderer-INEXO7B6.js → renderer-BSR2O2H6.js} +5 -5
  118. package/dist/{renderer-CXUC4KAD.js → renderer-CYB4LK3G.js} +5 -5
  119. package/dist/{renderer-O4JKUGKO.js → renderer-FF24KZCI.js} +4 -4
  120. package/dist/{renderer-BY533UWU.js → renderer-FPE3J5VZ.js} +5 -5
  121. package/dist/{renderer-TKG6LS4U.js → renderer-FYSVXL7M.js} +6 -6
  122. package/dist/{renderer-GO3FE3RA.js → renderer-HDCCZURL.js} +4 -4
  123. package/dist/{renderer-6GHYK7DX.js → renderer-JCCHNECZ.js} +4 -4
  124. package/dist/{renderer-OOGFODWP.js → renderer-KS7YZJE2.js} +6 -6
  125. package/dist/{renderer-KDYCFRBX.js → renderer-NGXZTRK6.js} +4 -4
  126. package/dist/{renderer-LBN65V45.js → renderer-ODUUOPVT.js} +4 -4
  127. package/dist/{renderer-G2NLGNKF.js → renderer-P5ROYQGU.js} +2 -2
  128. package/dist/{renderer-SZQ326M5.js → renderer-PPIHO5FI.js} +5 -5
  129. package/dist/{renderer-7SWMIFMM.js → renderer-PSMMZCKH.js} +4 -4
  130. package/dist/{renderer-MGBWOCXG.js → renderer-QAOBLRXV.js} +6 -6
  131. package/dist/{renderer-HPGR6USK.js → renderer-R2WNIC2C.js} +4 -4
  132. package/dist/{renderer-6RNGHC5Z.js → renderer-SBS3YWU5.js} +4 -4
  133. package/dist/{renderer-BBCEFILK.js → renderer-UYMQQCJK.js} +5 -5
  134. package/dist/{renderer-radial-JELMHQ24.js → renderer-radial-F7X5F2VU.js} +5 -5
  135. package/dist/{themes-1-CuKpeH.d.ts → themes-PdPR1-hC.d.ts} +8 -0
  136. package/docs/language-reference.md +5 -0
  137. package/gallery/fixtures/countdown-far.dgmo +2 -0
  138. package/gallery/fixtures/countdown.dgmo +3 -3
  139. package/package.json +1 -1
package/dist/auto.mjs CHANGED
@@ -13545,6 +13545,8 @@ function parseChart(content, palette) {
13545
13545
  result.solidFill = true;
13546
13546
  } else if (firstToken === "no-title") {
13547
13547
  result.noTitle = true;
13548
+ } else if (firstToken === "no-auto-y") {
13549
+ result.noAutoY = true;
13548
13550
  } else if (firstToken === "fill") {
13549
13551
  result.fill = true;
13550
13552
  } else if (firstToken === "hole") {
@@ -13839,6 +13841,7 @@ var init_chart = __esm({
13839
13841
  "orientation-horizontal",
13840
13842
  "solid-fill",
13841
13843
  "no-title",
13844
+ "no-auto-y",
13842
13845
  "fill",
13843
13846
  "hole"
13844
13847
  ]);
@@ -20976,6 +20979,11 @@ function parseSketch(content, palette) {
20976
20979
  currentTagGroup.entries.push({
20977
20980
  value: label,
20978
20981
  color: color ?? AUTO_TAG_COLOR_SENTINEL,
20982
+ // When a color resolved, the recognized name is the entry's last
20983
+ // token — keep it so a reparse can tell authored from auto.
20984
+ ...color !== void 0 && {
20985
+ authoredColor: cleanEntry.trim().split(/\s+/).pop()
20986
+ },
20979
20987
  lineNumber
20980
20988
  });
20981
20989
  }
@@ -20996,6 +21004,11 @@ function parseSketch(content, palette) {
20996
21004
  currentTagGroup.entries.push({
20997
21005
  value: label,
20998
21006
  color: color ?? AUTO_TAG_COLOR_SENTINEL,
21007
+ // When a color resolved, the recognized name is the entry's last token
21008
+ // — keep it so a reparse can tell authored from auto.
21009
+ ...color !== void 0 && {
21010
+ authoredColor: cleanEntry.trim().split(/\s+/).pop()
21011
+ },
20999
21012
  lineNumber
21000
21013
  });
21001
21014
  continue;
@@ -30684,7 +30697,8 @@ function parseBody(content, palette) {
30684
30697
  form: "muscle",
30685
30698
  sex: "male",
30686
30699
  views,
30687
- noLegend: false
30700
+ noLegend: false,
30701
+ noTitle: false
30688
30702
  };
30689
30703
  const tagGroups = [];
30690
30704
  const parts = [];
@@ -30744,6 +30758,10 @@ function parseBody(content, palette) {
30744
30758
  options.noLegend = true;
30745
30759
  continue;
30746
30760
  }
30761
+ if (/^no-title$/i.test(trimmed)) {
30762
+ options.noTitle = true;
30763
+ continue;
30764
+ }
30747
30765
  }
30748
30766
  const tagBlockMatch = matchTagBlockHeading(trimmed);
30749
30767
  if (tagBlockMatch && !contentStarted) {
@@ -31909,7 +31927,14 @@ function renderLine(svg, chart, width, height, colors, palette, isDark, textColo
31909
31927
  hi = Math.max(hi, v);
31910
31928
  }
31911
31929
  if (!isFinite(lo)) return [0, 1];
31912
- if (lo > 0) lo = 0;
31930
+ if (chart.noAutoY) {
31931
+ if (lo > 0) lo = 0;
31932
+ } else {
31933
+ const pad3 = (hi - lo) * 0.05 || Math.abs(hi) * 0.05 || 1;
31934
+ const nlo = lo - pad3;
31935
+ lo = lo >= 0 && nlo < 0 ? 0 : nlo;
31936
+ hi = hi + pad3;
31937
+ }
31913
31938
  if (lo === hi) hi = lo + 1;
31914
31939
  return [lo, hi];
31915
31940
  };
@@ -34562,7 +34587,7 @@ function renderBody2(container, parsed, palette, _isDark, _onClickItem, exportDi
34562
34587
  ).attr("preserveAspectRatio", "xMidYMin meet").attr("xmlns", "http://www.w3.org/2000/svg").style("font-family", FONT_FAMILY);
34563
34588
  if (defs.length) svg.append("defs").html(defs.join(""));
34564
34589
  svg.append("g").html(body);
34565
- if (parsed.title) {
34590
+ if (parsed.title && !parsed.options.noTitle) {
34566
34591
  svg.append("text").attr("x", totalW / 2).attr("y", 40).attr("text-anchor", "middle").attr("font-size", 34).attr("font-weight", 700).attr("fill", palette.text).text(parsed.title);
34567
34592
  }
34568
34593
  if (!parsed.options.noLegend && parsed.tagGroups.length) {
@@ -72471,22 +72496,13 @@ function aLine(svg, x1, y1, x2, y2, stroke2, sw, opacity) {
72471
72496
  if (opacity != null) l.attr("opacity", opacity);
72472
72497
  }
72473
72498
  function recurGlyph(svg, cx, cy, r, color) {
72474
- const sw = Math.max(1.5, r * 0.34);
72475
- const pt = (deg) => [
72476
- cx + r * Math.cos(deg * Math.PI / 180),
72477
- cy + r * Math.sin(deg * Math.PI / 180)
72478
- ];
72479
- for (const base of [0, 180]) {
72480
- const [x0, y0] = pt(base + 30);
72481
- const [x1, y1] = pt(base + 175);
72482
- svg.append("path").attr("d", `M ${x0} ${y0} A ${r} ${r} 0 0 1 ${x1} ${y1}`).attr("fill", "none").attr("stroke", color).attr("stroke-width", sw).attr("stroke-linecap", "round");
72483
- const tang = (base + 175 + 90) * Math.PI / 180;
72484
- const hl = r * 0.9;
72485
- svg.append("path").attr(
72486
- "d",
72487
- `M ${x1} ${y1} l ${Math.cos(tang + 2.5) * hl} ${Math.sin(tang + 2.5) * hl} M ${x1} ${y1} l ${Math.cos(tang - 2.5) * hl} ${Math.sin(tang - 2.5) * hl}`
72488
- ).attr("fill", "none").attr("stroke", color).attr("stroke-width", sw).attr("stroke-linecap", "round");
72489
- }
72499
+ const side = r * 2.4;
72500
+ const scale = side / 24;
72501
+ const swPx = Math.max(1.5, r * 0.34);
72502
+ svg.append("path").attr("d", REPEAT_ICON_PATH).attr(
72503
+ "transform",
72504
+ `translate(${cx - side / 2} ${cy - side / 2}) scale(${scale})`
72505
+ ).attr("data-embed-ignore-bbox", "").attr("fill", "none").attr("stroke", color).attr("stroke-width", swPx / scale).attr("stroke-linecap", "round").attr("stroke-linejoin", "round");
72490
72506
  }
72491
72507
  function haloRect(svg, x, y, w, h, rx, C) {
72492
72508
  aRect(svg, x - 1, y - 1, w + 2, h + 2, rx + 1, "none", C.bg, 2);
@@ -72495,6 +72511,7 @@ function haloRect(svg, x, y, w, h, rx, C) {
72495
72511
  function pickBand(nowMs, resolvedMs, hasTime) {
72496
72512
  const days = dayDelta(nowMs, resolvedMs);
72497
72513
  if (hasTime && days <= 0) return "clock";
72514
+ if (days > 3 * 365) return "years";
72498
72515
  if (days > 365) return "year";
72499
72516
  if (days > 92) return "months";
72500
72517
  if (days > 18) return "monthgrid";
@@ -72525,9 +72542,31 @@ function monthGridLayout(nowMs, resolvedMs, contentW) {
72525
72542
  }
72526
72543
  return { months, dim };
72527
72544
  }
72545
+ function yearsLayout(nowMs, resolvedMs) {
72546
+ const y0 = new Date(nowMs).getFullYear();
72547
+ const y1 = new Date(resolvedMs).getFullYear();
72548
+ const d0 = Math.floor(y0 / 10) * 10;
72549
+ const d1 = Math.floor(y1 / 10) * 10;
72550
+ return { d0, d1, rows: (d1 - d0) / 10 + 1 };
72551
+ }
72528
72552
  function bandHeightFor(kind, nowMs, resolvedMs, contentW) {
72529
72553
  const clamp5 = (v, lo, hi) => Math.max(lo, Math.min(hi, v));
72530
72554
  switch (kind) {
72555
+ case "years": {
72556
+ const { rows } = yearsLayout(nowMs, resolvedMs);
72557
+ const rowGap = 11;
72558
+ const labW = 54;
72559
+ const gap = 7;
72560
+ const cellW = (contentW - labW - 10 * gap) / 10;
72561
+ let cellH = clamp5(cellW * 0.5, 26, 40);
72562
+ const MAX = 380;
72563
+ let total = rows * cellH + (rows - 1) * rowGap;
72564
+ if (total > MAX) {
72565
+ cellH = Math.max(9, (MAX - (rows - 1) * rowGap) / rows);
72566
+ total = rows * cellH + (rows - 1) * rowGap;
72567
+ }
72568
+ return total;
72569
+ }
72531
72570
  case "year": {
72532
72571
  const R = new Date(resolvedMs).getFullYear() - new Date(nowMs).getFullYear() + 1;
72533
72572
  const yearW = 66;
@@ -72566,6 +72605,61 @@ function bandHeightFor(kind, nowMs, resolvedMs, contentW) {
72566
72605
  return clamp5(contentW * 0.22, 125, 170);
72567
72606
  }
72568
72607
  }
72608
+ function vizYears(svg, g, nowMs, resolvedMs, C) {
72609
+ const now = new Date(nowMs);
72610
+ const ev = new Date(resolvedMs);
72611
+ const nowY = now.getFullYear();
72612
+ const evY = ev.getFullYear();
72613
+ const { d0, rows } = yearsLayout(nowMs, resolvedMs);
72614
+ const labW = 54;
72615
+ const gap = 7;
72616
+ const rowGap = 11;
72617
+ const rowH = (g.height - rowGap * (rows - 1)) / rows;
72618
+ const cellH = rowH;
72619
+ const cellW = (g.contentW - labW - 10 * gap) / 10;
72620
+ const rx = Math.min(6, Math.min(cellW, cellH) * 0.22);
72621
+ const showLabel = cellH >= 18 && cellW >= 22;
72622
+ const yrFont = Math.min(12, cellW * 0.34, cellH * 0.5);
72623
+ for (let r = 0; r < rows; r++) {
72624
+ const dec = d0 + r * 10;
72625
+ const ry = g.top + r * (rowH + rowGap);
72626
+ aText(
72627
+ svg,
72628
+ g.left + labW - 12,
72629
+ ry + rowH / 2,
72630
+ Math.min(14, rowH * 0.5),
72631
+ C.muted,
72632
+ 800,
72633
+ "end",
72634
+ `${dec}s`,
72635
+ { "dominant-baseline": "central" }
72636
+ );
72637
+ for (let i = 0; i < 10; i++) {
72638
+ const yr = dec + i;
72639
+ const before = yr < nowY;
72640
+ const isNow = yr === nowY;
72641
+ const isEv = yr === evY;
72642
+ const between = yr > nowY && yr < evY;
72643
+ const st = isEv ? roleStyle(C, "event") : isNow ? roleStyle(C, "today") : between ? gradStyle(C, (yr - nowY) / (evY - nowY)) : roleStyle(C, before ? "past" : "future");
72644
+ const x = g.left + labW + i * (cellW + gap);
72645
+ aRect(svg, x, ry, cellW, cellH, rx, st.fill, st.stroke, 1);
72646
+ if (isEv) haloRect(svg, x, ry, cellW, cellH, rx, C);
72647
+ if (showLabel) {
72648
+ aText(
72649
+ svg,
72650
+ x + cellW / 2,
72651
+ ry + cellH / 2,
72652
+ yrFont,
72653
+ st.text,
72654
+ isNow || isEv ? 800 : 650,
72655
+ "middle",
72656
+ String(yr),
72657
+ { "dominant-baseline": "central" }
72658
+ );
72659
+ }
72660
+ }
72661
+ }
72662
+ }
72569
72663
  function vizYear(svg, g, nowMs, resolvedMs, C) {
72570
72664
  const now = new Date(nowMs);
72571
72665
  const ev = new Date(resolvedMs);
@@ -73077,6 +73171,8 @@ function pad22(n) {
73077
73171
  }
73078
73172
  function drawBand2(svg, kind, g, nowMs, resolvedMs, C) {
73079
73173
  switch (kind) {
73174
+ case "years":
73175
+ return vizYears(svg, g, nowMs, resolvedMs, C);
73080
73176
  case "year":
73081
73177
  return vizYear(svg, g, nowMs, resolvedMs, C);
73082
73178
  case "months":
@@ -73271,7 +73367,7 @@ function renderCountdown(container, parsed, palette, isDark, exportDims) {
73271
73367
  function renderCountdownForExport(container, parsed, palette, isDark, exportDims) {
73272
73368
  renderCountdown(container, parsed, palette, isDark, exportDims);
73273
73369
  }
73274
- var MON_ABBR, WD_ABBR, DAY_START, dayDelta, keyOf, MONTH_TARGET_PX;
73370
+ var MON_ABBR, WD_ABBR, DAY_START, dayDelta, keyOf, REPEAT_ICON_PATH, MONTH_TARGET_PX;
73275
73371
  var init_renderer29 = __esm({
73276
73372
  "src/countdown/renderer.ts"() {
73277
73373
  "use strict";
@@ -73305,6 +73401,7 @@ var init_renderer29 = __esm({
73305
73401
  const d = new Date(ms);
73306
73402
  return d.getFullYear() * 1e4 + d.getMonth() * 100 + d.getDate();
73307
73403
  };
73404
+ REPEAT_ICON_PATH = "m17 2 4 4-4 4 M3 11v-1a4 4 0 0 1 4-4h14 m7 22-4-4 4-4 M21 13v1a4 4 0 0 1-4 4H3";
73308
73405
  MONTH_TARGET_PX = 200;
73309
73406
  }
73310
73407
  });
@@ -73755,13 +73852,13 @@ function drawRow(svg, entry, index, parsed, now, rowTop, rowH, geom, col) {
73755
73852
  const mainFont = 48;
73756
73853
  const baseY = center + 16;
73757
73854
  const capTop = baseY - mainFont * 0.7;
73758
- g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("x", contentLeft).attr("y", baseY).attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", mainFont).attr("font-weight", 600).style("font-variant-numeric", "tabular-nums").text(ts.main);
73759
73855
  const sf = 20;
73760
73856
  const mainW = [...ts.main].reduce(
73761
- (w, c) => w + mainFont * (c === ":" ? 0.28 : 0.6),
73857
+ (w, c) => w + mainFont * (c === ":" ? 0.334 : 0.6),
73762
73858
  0
73763
73859
  );
73764
73860
  const stackX = contentLeft + mainW + 5;
73861
+ g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("x", contentLeft).attr("y", baseY).attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", mainFont).attr("font-weight", 600).attr("textLength", mainW).attr("lengthAdjust", "spacing").style("font-variant-numeric", "tabular-nums").text(ts.main);
73765
73862
  g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", capTop + sf * 0.72).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 600).style("font-variant-numeric", "tabular-nums").text(`:${ts.sec}`);
73766
73863
  if (ts.ap)
73767
73864
  g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", baseY).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 600).text(ts.ap);
@@ -73900,13 +73997,13 @@ function drawColumns(body, parsed, now, top, geom, col) {
73900
73997
  const sf = 13;
73901
73998
  const tf = fitFont(ts.main, 44, innerW - 30, 20);
73902
73999
  const mainW = [...ts.main].reduce(
73903
- (w, c) => w + tf * (c === ":" ? 0.28 : 0.6),
74000
+ (w, c) => w + tf * (c === ":" ? 0.334 : 0.6),
73904
74001
  0
73905
74002
  );
73906
74003
  const stackW = Math.max(estWidth(`:${ts.sec}`, sf), estWidth(ts.ap, sf));
73907
74004
  const gLeft = cx - (mainW + 7 + stackW) / 2;
73908
74005
  const baseY = cy + tf * 0.34;
73909
- g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("x", gLeft).attr("y", baseY).attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", tf).attr("font-weight", 600).style("font-variant-numeric", "tabular-nums").text(ts.main);
74006
+ g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("x", gLeft).attr("y", baseY).attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", tf).attr("font-weight", 600).attr("textLength", mainW).attr("lengthAdjust", "spacing").style("font-variant-numeric", "tabular-nums").text(ts.main);
73910
74007
  const stackX = gLeft + mainW + 7;
73911
74008
  g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", baseY - tf * 0.32).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 500).text(`:${ts.sec}`);
73912
74009
  if (ts.ap)
@@ -81458,7 +81555,7 @@ async function render(content, options) {
81458
81555
  try {
81459
81556
  const raw = await renderDataChartD3(renderContent, theme, paletteColors);
81460
81557
  const svg2 = injectHoverStyles(raw, chartType, { bakeHover });
81461
- return { svg: svg2, diagnostics };
81558
+ return { svg: svg2, diagnostics, chartType: chartType ?? void 0 };
81462
81559
  } finally {
81463
81560
  releaseDom();
81464
81561
  }
@@ -81499,7 +81596,7 @@ async function render(content, options) {
81499
81596
  } catch {
81500
81597
  }
81501
81598
  }
81502
- return { svg, diagnostics };
81599
+ return { svg, diagnostics, chartType: chartType ?? void 0 };
81503
81600
  }
81504
81601
 
81505
81602
  // src/countdown/ticker.ts
@@ -82707,6 +82804,7 @@ function resolveBlockOptions(opts) {
82707
82804
  mode,
82708
82805
  palette: opts.palette ?? "slate",
82709
82806
  colorMode: opts.colorMode ?? "auto",
82807
+ background: opts.background ?? "auto",
82710
82808
  showSource: opts.showSource ?? showcase,
82711
82809
  showCopy: opts.showCopy ?? showcase,
82712
82810
  showExpand: opts.showExpand ?? showcase,
@@ -82809,7 +82907,7 @@ var CSS = AUTO_BASE_CSS + "\n" + BLOCK_CSS + "\n" + darkScopedBlockCss(BLOCK_CSS
82809
82907
 
82810
82908
  // src/auto/shared.ts
82811
82909
  init_safe_href();
82812
- var VERSION = "0.50.0";
82910
+ var VERSION = "0.50.2";
82813
82911
  var ARIA_LABEL_MAX = 200;
82814
82912
  var COPIED_INTERACTION_MS = 1500;
82815
82913
  var LOG_PREFIX = "[dgmo]";
package/dist/block.d.ts CHANGED
@@ -62,6 +62,13 @@ interface DgmoBlockOptions {
62
62
  palette?: string;
63
63
  /** Default `auto` (dual light/dark render). */
64
64
  colorMode?: BlockColorMode;
65
+ /**
66
+ * Embed background. `auto` (default) strips the theme's opaque root
67
+ * background so the diagram blends into the host page — except for
68
+ * background-meaningful types like `map`, which stay opaque. `transparent` /
69
+ * `opaque` force the choice regardless of type (the embedder opt-out).
70
+ */
71
+ background?: 'auto' | 'transparent' | 'opaque';
65
72
  /** Default: true in showcase mode, false in diagram mode. */
66
73
  showSource?: boolean;
67
74
  /** Default: true in showcase mode, false in diagram mode. */
package/dist/block.js CHANGED
@@ -1,16 +1,17 @@
1
1
  import {
2
+ defaultEmbedBackground,
2
3
  normalizeSvgForEmbed,
3
4
  renderErrorCard
4
- } from "./chunk-L2ZTFHAY.js";
5
+ } from "./chunk-DN66GPY5.js";
5
6
  import {
6
7
  encodeDiagramUrl,
7
8
  render
8
- } from "./chunk-NISQC5KW.js";
9
- import "./chunk-XCLHOZAM.js";
9
+ } from "./chunk-SVTI362O.js";
10
+ import "./chunk-66RUL3XF.js";
10
11
  import "./chunk-YRYKTYMQ.js";
11
12
  import "./chunk-YYVTBZZC.js";
12
- import "./chunk-QUJGFNFN.js";
13
- import "./chunk-JFYIP7XU.js";
13
+ import "./chunk-HEVYAHLW.js";
14
+ import "./chunk-KQ57MHRO.js";
14
15
  import "./chunk-Q4V4XQWV.js";
15
16
  import "./chunk-BTUTZMPT.js";
16
17
  import {
@@ -18,11 +19,11 @@ import {
18
19
  weekdayIndex
19
20
  } from "./chunk-YNRDWYZP.js";
20
21
  import "./chunk-3XPUDB7B.js";
21
- import "./chunk-FL4IOQ37.js";
22
+ import "./chunk-QXKWYZNR.js";
22
23
  import "./chunk-PGEGPSCZ.js";
23
- import "./chunk-DMJJ3CEQ.js";
24
+ import "./chunk-3UIKSPFB.js";
24
25
  import "./chunk-BDXC7MDK.js";
25
- import "./chunk-6ZT4U37Q.js";
26
+ import "./chunk-QJJZSROI.js";
26
27
  import "./chunk-HGN652MU.js";
27
28
  import "./chunk-U6EQI3U6.js";
28
29
  import "./chunk-7UEMZREK.js";
@@ -30,19 +31,19 @@ import "./chunk-A4GOY3PE.js";
30
31
  import "./chunk-6KFWC4CO.js";
31
32
  import "./chunk-HQCHYB5F.js";
32
33
  import "./chunk-5LWQH6QV.js";
33
- import "./chunk-XDXNDSKO.js";
34
- import "./chunk-OHQEMBLI.js";
34
+ import "./chunk-XEGTMVYY.js";
35
+ import "./chunk-I2WKW7C7.js";
35
36
  import "./chunk-TSA237IM.js";
36
37
  import "./chunk-6IAA2QQ2.js";
37
- import "./chunk-YZLMKW4T.js";
38
+ import "./chunk-6HJBFVLO.js";
38
39
  import "./chunk-3P2DKJCG.js";
39
40
  import "./chunk-3LKM6FMW.js";
40
- import "./chunk-OTP5KVLO.js";
41
- import "./chunk-YB3FW24O.js";
41
+ import "./chunk-XJLKLU4D.js";
42
+ import "./chunk-7L3R6I3U.js";
42
43
  import "./chunk-NNAAJVBU.js";
43
- import "./chunk-XMVQ5F4M.js";
44
- import "./chunk-UXOSVCLJ.js";
45
- import "./chunk-FB2WHOEQ.js";
44
+ import "./chunk-VUJGMJE6.js";
45
+ import "./chunk-C2CVAM3U.js";
46
+ import "./chunk-GKC3HILQ.js";
46
47
  import {
47
48
  REGISTRY_COLON_KEY_TOKENS,
48
49
  REGISTRY_CONTROL_TOKENS,
@@ -50,32 +51,32 @@ import {
50
51
  REGISTRY_MODIFIER_TOKENS,
51
52
  REGISTRY_STATUS_TOKENS
52
53
  } from "./chunk-U2HGPLZS.js";
53
- import "./chunk-SU2VBK4L.js";
54
- import "./chunk-5JSWBPZZ.js";
54
+ import "./chunk-DSWVNQVS.js";
55
+ import "./chunk-DZXYF2F5.js";
55
56
  import "./chunk-XHVV4NVW.js";
56
- import "./chunk-WWN566I7.js";
57
- import "./chunk-O4VUFXIH.js";
57
+ import "./chunk-OMNGQPEZ.js";
58
+ import "./chunk-VBYSIOOY.js";
58
59
  import "./chunk-QQJUTGQH.js";
59
- import "./chunk-S5GRONXL.js";
60
- import "./chunk-2JJ2KNPI.js";
61
- import "./chunk-O76UD6VJ.js";
62
- import "./chunk-A3WQVFBS.js";
63
- import "./chunk-6M5PJFQG.js";
60
+ import "./chunk-SXRTRMEE.js";
61
+ import "./chunk-NU3XLTGP.js";
62
+ import "./chunk-OTQKUHRS.js";
63
+ import "./chunk-SQLNBA64.js";
64
+ import "./chunk-EAMEADTV.js";
64
65
  import "./chunk-L3UHP6TD.js";
65
66
  import "./chunk-USZW2HHU.js";
66
- import "./chunk-7G2ER4CY.js";
67
+ import "./chunk-HTMN2Z6U.js";
67
68
  import "./chunk-I7F2A35O.js";
68
69
  import "./chunk-6BFZKBGD.js";
69
- import "./chunk-I4IFRCUB.js";
70
- import "./chunk-URSQLCTR.js";
70
+ import "./chunk-3Y2DRD7S.js";
71
+ import "./chunk-QROYX7TT.js";
71
72
  import "./chunk-IYULMRBE.js";
72
73
  import {
73
74
  resolvePaletteOrFallback
74
75
  } from "./chunk-R3XI2VC7.js";
75
76
  import "./chunk-P6T66CCZ.js";
76
- import "./chunk-T4BRO3Z6.js";
77
+ import "./chunk-BH3UYK36.js";
77
78
  import "./chunk-C3Z4DX3V.js";
78
- import "./chunk-WCUHAQKB.js";
79
+ import "./chunk-FJUNPCYI.js";
79
80
  import "./chunk-GBE54KY6.js";
80
81
  import "./chunk-I46X5VUA.js";
81
82
  import "./chunk-2C56LEML.js";
@@ -952,6 +953,7 @@ function resolveBlockOptions(opts) {
952
953
  mode,
953
954
  palette: opts.palette ?? "slate",
954
955
  colorMode: opts.colorMode ?? "auto",
956
+ background: opts.background ?? "auto",
955
957
  showSource: opts.showSource ?? showcase,
956
958
  showCopy: opts.showCopy ?? showcase,
957
959
  showExpand: opts.showExpand ?? showcase,
@@ -969,8 +971,10 @@ async function renderDgmoBlock(source, options = {}) {
969
971
  const trimmed = source.trim();
970
972
  const palette = resolvePaletteOrFallback(opts.palette, opts.onWarn);
971
973
  const diagnostics = [];
974
+ let chartType;
972
975
  const renderTheme = async (theme) => {
973
976
  const r = await render(trimmed, { palette: palette.id, theme });
977
+ chartType = r.chartType;
974
978
  diagnostics.push(...r.diagnostics);
975
979
  const errors = r.diagnostics.filter((d) => d.severity === "error");
976
980
  return errors.length ? renderErrorCard(errors, trimmed, palette, theme) : r.svg;
@@ -981,10 +985,12 @@ async function renderDgmoBlock(source, options = {}) {
981
985
  renderTheme("light"),
982
986
  renderTheme("dark")
983
987
  ]);
984
- svgsHtml = `<div class="${escapeAttr(innerClasses(opts, "dgmo-light"))}">${normalizeSvgForEmbed(light)}</div><div class="${escapeAttr(innerClasses(opts, "dgmo-dark"))}">${normalizeSvgForEmbed(dark)}</div>`;
988
+ const background = opts.background === "auto" ? defaultEmbedBackground(chartType) : opts.background;
989
+ svgsHtml = `<div class="${escapeAttr(innerClasses(opts, "dgmo-light"))}">${normalizeSvgForEmbed(light, { background })}</div><div class="${escapeAttr(innerClasses(opts, "dgmo-dark"))}">${normalizeSvgForEmbed(dark, { background })}</div>`;
985
990
  } else {
986
991
  const svg = await renderTheme(opts.colorMode);
987
- svgsHtml = `<div class="${escapeAttr(innerClasses(opts, "dgmo-svg"))}">${normalizeSvgForEmbed(svg)}</div>`;
992
+ const background = opts.background === "auto" ? defaultEmbedBackground(chartType) : opts.background;
993
+ svgsHtml = `<div class="${escapeAttr(innerClasses(opts, "dgmo-svg"))}">${normalizeSvgForEmbed(svg, { background })}</div>`;
988
994
  }
989
995
  return { html: assembleBlock(trimmed, svgsHtml, opts), diagnostics };
990
996
  }
@@ -2,7 +2,7 @@ import {
2
2
  D3_DATA_CHART_TYPES,
3
3
  renderDataChartD3,
4
4
  supportsD3DataChart
5
- } from "./chunk-6ZT4U37Q.js";
5
+ } from "./chunk-QJJZSROI.js";
6
6
  import "./chunk-HGN652MU.js";
7
7
  import "./chunk-U6EQI3U6.js";
8
8
  import "./chunk-7UEMZREK.js";
@@ -10,10 +10,10 @@ import "./chunk-A4GOY3PE.js";
10
10
  import "./chunk-6KFWC4CO.js";
11
11
  import "./chunk-HQCHYB5F.js";
12
12
  import "./chunk-5LWQH6QV.js";
13
- import "./chunk-XDXNDSKO.js";
13
+ import "./chunk-XEGTMVYY.js";
14
14
  import "./chunk-R3XI2VC7.js";
15
15
  import "./chunk-P6T66CCZ.js";
16
- import "./chunk-WCUHAQKB.js";
16
+ import "./chunk-FJUNPCYI.js";
17
17
  import "./chunk-OTAL43EH.js";
18
18
  import "./chunk-TLVIHFRO.js";
19
19
  import "./chunk-CXK4DZH3.js";
@@ -23,4 +23,4 @@ export {
23
23
  renderDataChartD3,
24
24
  supportsD3DataChart
25
25
  };
26
- //# sourceMappingURL=charts-d3-DKUD7MQE.js.map
26
+ //# sourceMappingURL=charts-d3-MUW3LTML.js.map
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-YYVTBZZC.js";
22
22
  import {
23
23
  renderIntegratedLegend
24
- } from "./chunk-QUJGFNFN.js";
24
+ } from "./chunk-HEVYAHLW.js";
25
25
  import {
26
26
  FONT_FAMILY
27
27
  } from "./chunk-6KFWC4CO.js";
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-5LWQH6QV.js";
33
33
  import {
34
34
  parseJourneyMap
35
- } from "./chunk-YZLMKW4T.js";
35
+ } from "./chunk-6HJBFVLO.js";
36
36
  import {
37
37
  contrastText,
38
38
  mix,
@@ -41,7 +41,7 @@ import {
41
41
  import {
42
42
  resolveActiveTagGroup,
43
43
  tagAttrKey
44
- } from "./chunk-WCUHAQKB.js";
44
+ } from "./chunk-FJUNPCYI.js";
45
45
 
46
46
  // src/journey-map/renderer.ts
47
47
  import * as d3 from "d3-selection";
@@ -848,4 +848,4 @@ export {
848
848
  renderJourneyMap,
849
849
  renderJourneyMapForExport
850
850
  };
851
- //# sourceMappingURL=chunk-PJUGRJHJ.js.map
851
+ //# sourceMappingURL=chunk-2KGXHFYK.js.map
@@ -3,10 +3,10 @@ import {
3
3
  mapLegendConfig,
4
4
  mapLegendGroups,
5
5
  parsePathRings
6
- } from "./chunk-X2NMFTG3.js";
6
+ } from "./chunk-LE4MYMLI.js";
7
7
  import {
8
8
  renderIntegratedLegend
9
- } from "./chunk-QUJGFNFN.js";
9
+ } from "./chunk-HEVYAHLW.js";
10
10
  import {
11
11
  TITLE_FONT_SIZE,
12
12
  TITLE_FONT_WEIGHT,
@@ -644,4 +644,4 @@ export {
644
644
  renderMap,
645
645
  renderMapForExport
646
646
  };
647
- //# sourceMappingURL=chunk-6X4AKWLF.js.map
647
+ //# sourceMappingURL=chunk-3LH5CLP4.js.map
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-YYVTBZZC.js";
18
18
  import {
19
19
  renderIntegratedLegend
20
- } from "./chunk-QUJGFNFN.js";
20
+ } from "./chunk-HEVYAHLW.js";
21
21
  import {
22
22
  TITLE_FONT_SIZE,
23
23
  TITLE_FONT_WEIGHT,
@@ -34,7 +34,7 @@ import {
34
34
  } from "./chunk-5LWQH6QV.js";
35
35
  import {
36
36
  parseERDiagram
37
- } from "./chunk-2JJ2KNPI.js";
37
+ } from "./chunk-NU3XLTGP.js";
38
38
  import {
39
39
  contrastText,
40
40
  getSeriesColors,
@@ -43,7 +43,7 @@ import {
43
43
  import {
44
44
  resolveTagColor,
45
45
  tagAttrKey
46
- } from "./chunk-WCUHAQKB.js";
46
+ } from "./chunk-FJUNPCYI.js";
47
47
 
48
48
  // src/er/renderer.ts
49
49
  import * as d3Selection from "d3-selection";
@@ -545,4 +545,4 @@ export {
545
545
  renderERDiagram,
546
546
  renderERDiagramForExport
547
547
  };
548
- //# sourceMappingURL=chunk-YA7D2N2O.js.map
548
+ //# sourceMappingURL=chunk-3NODSS6A.js.map
@@ -9,7 +9,7 @@ import {
9
9
  matchTagBlockHeading,
10
10
  stripDefaultModifier,
11
11
  tagAttrKey
12
- } from "./chunk-WCUHAQKB.js";
12
+ } from "./chunk-FJUNPCYI.js";
13
13
  import {
14
14
  extractColor,
15
15
  measureIndent,
@@ -75,7 +75,8 @@ function parseBody(content, palette) {
75
75
  form: "muscle",
76
76
  sex: "male",
77
77
  views,
78
- noLegend: false
78
+ noLegend: false,
79
+ noTitle: false
79
80
  };
80
81
  const tagGroups = [];
81
82
  const parts = [];
@@ -135,6 +136,10 @@ function parseBody(content, palette) {
135
136
  options.noLegend = true;
136
137
  continue;
137
138
  }
139
+ if (/^no-title$/i.test(trimmed)) {
140
+ options.noTitle = true;
141
+ continue;
142
+ }
138
143
  }
139
144
  const tagBlockMatch = matchTagBlockHeading(trimmed);
140
145
  if (tagBlockMatch && !contentStarted) {
@@ -251,4 +256,4 @@ export {
251
256
  parseBody,
252
257
  extractSymbols
253
258
  };
254
- //# sourceMappingURL=chunk-DMJJ3CEQ.js.map
259
+ //# sourceMappingURL=chunk-3UIKSPFB.js.map
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-YYVTBZZC.js";
10
10
  import {
11
11
  renderIntegratedLegend
12
- } from "./chunk-QUJGFNFN.js";
12
+ } from "./chunk-HEVYAHLW.js";
13
13
  import {
14
14
  getMaxLegendReservedHeight
15
15
  } from "./chunk-7UEMZREK.js";
@@ -35,11 +35,11 @@ import {
35
35
  isSequenceBlock,
36
36
  isSequenceNote,
37
37
  isSequenceSection
38
- } from "./chunk-T4BRO3Z6.js";
38
+ } from "./chunk-BH3UYK36.js";
39
39
  import {
40
40
  resolveActiveTagGroup,
41
41
  tagAttrKey
42
- } from "./chunk-WCUHAQKB.js";
42
+ } from "./chunk-FJUNPCYI.js";
43
43
 
44
44
  // src/sequence/renderer.ts
45
45
  import * as d3Selection from "d3-selection";
@@ -1848,4 +1848,4 @@ export {
1848
1848
  renderSequenceDiagram,
1849
1849
  buildNoteMessageMap
1850
1850
  };
1851
- //# sourceMappingURL=chunk-RV26LTUU.js.map
1851
+ //# sourceMappingURL=chunk-3XGZF2QJ.js.map
@@ -5,7 +5,7 @@ import {
5
5
  stripDefaultModifier,
6
6
  tagAttrKey,
7
7
  validateTagGroupNames
8
- } from "./chunk-WCUHAQKB.js";
8
+ } from "./chunk-FJUNPCYI.js";
9
9
  import {
10
10
  normalizeName
11
11
  } from "./chunk-NOTA6TEI.js";
@@ -372,4 +372,4 @@ function parseCardLine(trimmed, lineNumber, counter, metaAliasMap, _palette, dia
372
372
  export {
373
373
  parseKanban
374
374
  };
375
- //# sourceMappingURL=chunk-I4IFRCUB.js.map
375
+ //# sourceMappingURL=chunk-3Y2DRD7S.js.map