@diagrammo/dgmo 0.48.0 → 0.48.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 (35) hide show
  1. package/dist/advanced.js +12 -12
  2. package/dist/auto.css +11 -5
  3. package/dist/auto.js +94 -88
  4. package/dist/auto.mjs +101 -22
  5. package/dist/block.css +11 -5
  6. package/dist/block.js +15 -9
  7. package/dist/{chunk-FNB3PNGF.js → chunk-7DTWEFUE.js} +3 -3
  8. package/dist/{chunk-2DXMZRWJ.js → chunk-B65G5DNL.js} +8 -1
  9. package/dist/{chunk-RZCF2VVM.js → chunk-B7JUCQUA.js} +3 -1
  10. package/dist/{chunk-DU7W62N5.js → chunk-FANX6UJR.js} +3 -3
  11. package/dist/{chunk-6FZYCKXB.js → chunk-HSH73DP6.js} +2 -2
  12. package/dist/{chunk-P4RH4OSP.js → chunk-ILKORZ3H.js} +2 -2
  13. package/dist/{chunk-Y5QGVTVC.js → chunk-JTSMEYIZ.js} +7 -3
  14. package/dist/{chunk-RCERWOJR.js → chunk-ODZVHU3R.js} +1 -2
  15. package/dist/{chunk-IH6ZMVQ5.js → chunk-PZMETGLY.js} +30 -12
  16. package/dist/{chunk-DZAQBW35.js → chunk-SGZYXELT.js} +3 -7
  17. package/dist/{chunk-CUVHQHZ7.js → chunk-THXCFRTU.js} +3 -3
  18. package/dist/{chunk-A4VFQH5G.js → chunk-YGJZWZTY.js} +51 -6
  19. package/dist/{chunk-EMS2SK26.js → chunk-ZBWMSD5N.js} +3 -1
  20. package/dist/cli.cjs +110 -110
  21. package/dist/{dgmo-router-DZCIDUO5.js → dgmo-router-X35VLZLM.js} +3 -3
  22. package/dist/element.js +95 -89
  23. package/dist/element.mjs +101 -22
  24. package/dist/{flowchart-renderer-ZAEOL4DX.js → flowchart-renderer-SNDSII4D.js} +2 -2
  25. package/dist/index.d.ts +4 -2
  26. package/dist/index.js +4 -4
  27. package/dist/{parser-FUSKFGZN.js → parser-2EWECDSA.js} +2 -2
  28. package/dist/{renderer-UWA5XS74.js → renderer-4JHRUBE6.js} +3 -3
  29. package/dist/{renderer-WZRREQ2P.js → renderer-5MYBMBYO.js} +2 -2
  30. package/dist/{renderer-TOCOVLHS.js → renderer-B2OMQIQG.js} +3 -3
  31. package/dist/{renderer-2XQQQ6QR.js → renderer-N43WR5GV.js} +3 -3
  32. package/dist/{renderer-ZTR3DER3.js → renderer-UV6MI64M.js} +2 -2
  33. package/dist/{renderer-T7YKC5VP.js → renderer-ZRNG54CW.js} +3 -3
  34. package/dist/{state-renderer-RFYHSP4K.js → state-renderer-B4DQBM6M.js} +2 -2
  35. package/package.json +5 -2
package/dist/advanced.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  renderRaci,
20
20
  renderRaciForExport
21
- } from "./chunk-DZAQBW35.js";
21
+ } from "./chunk-SGZYXELT.js";
22
22
  import {
23
23
  applyCollapseProjection,
24
24
  applyGroupOrdering,
@@ -69,7 +69,7 @@ import {
69
69
  import {
70
70
  renderRing,
71
71
  renderRingForExport
72
- } from "./chunk-A4VFQH5G.js";
72
+ } from "./chunk-YGJZWZTY.js";
73
73
  import {
74
74
  measurePertAnalysisBlock,
75
75
  renderPert,
@@ -92,7 +92,7 @@ import {
92
92
  import {
93
93
  renderState,
94
94
  renderStateForExport
95
- } from "./chunk-EMS2SK26.js";
95
+ } from "./chunk-ZBWMSD5N.js";
96
96
  import {
97
97
  collapseStateGroups
98
98
  } from "./chunk-SQ7IY53Q.js";
@@ -115,7 +115,7 @@ import {
115
115
  renderC4ContextForExport,
116
116
  renderC4Deployment,
117
117
  renderC4DeploymentForExport
118
- } from "./chunk-P4RH4OSP.js";
118
+ } from "./chunk-ILKORZ3H.js";
119
119
  import {
120
120
  layoutC4Components,
121
121
  layoutC4Containers,
@@ -126,7 +126,7 @@ import {
126
126
  import {
127
127
  renderFlowchart,
128
128
  renderFlowchartForExport
129
- } from "./chunk-RZCF2VVM.js";
129
+ } from "./chunk-B7JUCQUA.js";
130
130
  import "./chunk-PDKUANDZ.js";
131
131
  import {
132
132
  layoutGraph
@@ -165,7 +165,7 @@ import {
165
165
  import {
166
166
  renderMindmap,
167
167
  renderMindmapForExport
168
- } from "./chunk-CUVHQHZ7.js";
168
+ } from "./chunk-THXCFRTU.js";
169
169
  import {
170
170
  layoutMindmap
171
171
  } from "./chunk-T2OE3YQB.js";
@@ -189,7 +189,7 @@ import {
189
189
  import {
190
190
  renderClassDiagram,
191
191
  renderClassDiagramForExport
192
- } from "./chunk-FNB3PNGF.js";
192
+ } from "./chunk-7DTWEFUE.js";
193
193
  import {
194
194
  layoutClassDiagram
195
195
  } from "./chunk-WBRZJOEC.js";
@@ -235,8 +235,8 @@ import {
235
235
  import {
236
236
  renderOrg,
237
237
  renderOrgForExport
238
- } from "./chunk-DU7W62N5.js";
239
- import "./chunk-Y5QGVTVC.js";
238
+ } from "./chunk-FANX6UJR.js";
239
+ import "./chunk-JTSMEYIZ.js";
240
240
  import "./chunk-VOKGH627.js";
241
241
  import "./chunk-3CIOJ5YJ.js";
242
242
  import {
@@ -269,7 +269,7 @@ import {
269
269
  renderSlopeChart,
270
270
  renderVenn,
271
271
  renderWordCloud
272
- } from "./chunk-IH6ZMVQ5.js";
272
+ } from "./chunk-PZMETGLY.js";
273
273
  import "./chunk-PBAHEPLQ.js";
274
274
  import {
275
275
  renderLegendSvg,
@@ -312,7 +312,7 @@ import {
312
312
  parseDgmo,
313
313
  parseDgmoChartType,
314
314
  parseVisualization
315
- } from "./chunk-6FZYCKXB.js";
315
+ } from "./chunk-HSH73DP6.js";
316
316
  import {
317
317
  getExtendedChartLegendGroups,
318
318
  getSimpleChartLegendGroups,
@@ -410,7 +410,7 @@ import {
410
410
  } from "./chunk-AELOBFW5.js";
411
411
  import {
412
412
  parseC4
413
- } from "./chunk-2DXMZRWJ.js";
413
+ } from "./chunk-B65G5DNL.js";
414
414
  import "./chunk-IYULMRBE.js";
415
415
  import {
416
416
  atlasPalette,
package/dist/auto.css CHANGED
@@ -137,15 +137,21 @@ pre.dgmo, code.language-dgmo, pre > code.language-dgmo,
137
137
  opacity: 1;
138
138
  }
139
139
 
140
- /* === Open state: frame the whole block ===
140
+ /* === Frame the whole block ===
141
141
  * When the source panel is open, diagram + toolbar + code get one shared
142
- * border so the code visibly belongs to the chart above it, not to the
143
- * surrounding prose. Closed blocks stay frameless. */
144
- .dgmo:has(> .dgmo-source-wrap[open]) {
145
- border: 1px solid rgba(127, 127, 127, 0.3);
142
+ * border so the code visibly belongs to the chart above it. The frame box
143
+ * (border + padding) is RESERVED at all times — with the border transparent
144
+ * while closed — so opening the panel only paints the border in. It never
145
+ * reflows the diagram or shifts the toolbar: the SVG box and toolbar position
146
+ * are identical open vs closed. */
147
+ .dgmo:has(> .dgmo-source-wrap) {
148
+ border: 1px solid transparent;
146
149
  border-radius: 0.6em;
147
150
  padding: 0.75em 0.75em 0.5em;
148
151
  }
152
+ .dgmo:has(> .dgmo-source-wrap[open]) {
153
+ border-color: rgba(127, 127, 127, 0.3);
154
+ }
149
155
 
150
156
  /* === Source panel (hidden until toggled) === */
151
157
  .dgmo-source-inner {