@diagrammo/dgmo 0.48.1 → 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.
- package/dist/advanced.js +2 -2
- package/dist/auto.css +11 -5
- package/dist/auto.js +94 -88
- package/dist/auto.mjs +61 -11
- package/dist/block.css +11 -5
- package/dist/block.js +12 -6
- package/dist/{chunk-UC7TFHUM.js → chunk-PZMETGLY.js} +2 -2
- package/dist/{chunk-A4VFQH5G.js → chunk-YGJZWZTY.js} +51 -6
- package/dist/cli.cjs +110 -110
- package/dist/element.js +95 -89
- package/dist/element.mjs +61 -11
- package/dist/index.js +1 -1
- package/dist/{renderer-ZTR3DER3.js → renderer-UV6MI64M.js} +2 -2
- package/package.json +1 -1
package/dist/advanced.js
CHANGED
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
renderRing,
|
|
71
71
|
renderRingForExport
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-YGJZWZTY.js";
|
|
73
73
|
import {
|
|
74
74
|
measurePertAnalysisBlock,
|
|
75
75
|
renderPert,
|
|
@@ -269,7 +269,7 @@ import {
|
|
|
269
269
|
renderSlopeChart,
|
|
270
270
|
renderVenn,
|
|
271
271
|
renderWordCloud
|
|
272
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-PZMETGLY.js";
|
|
273
273
|
import "./chunk-PBAHEPLQ.js";
|
|
274
274
|
import {
|
|
275
275
|
renderLegendSvg,
|
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
|
-
/* ===
|
|
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
|
|
143
|
-
*
|
|
144
|
-
|
|
145
|
-
|
|
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 {
|