@diagrammo/dgmo-standalone 0.80.0 → 0.82.0
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/README.md +1 -1
- package/dist/auto.css +12 -5
- package/dist/auto.js +151 -142
- package/dist/element.js +149 -140
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ unpkg works the same way — swap the host for `unpkg.com/`.
|
|
|
55
55
|
|
|
56
56
|
## What you get
|
|
57
57
|
|
|
58
|
-
|
|
58
|
+
50+ chart types from one text format: flowcharts, sequence diagrams,
|
|
59
59
|
timelines, org charts, gantt, maps, and the usual bar/line/pie family. The
|
|
60
60
|
renderer infers the chart type from what you wrote, so there is one syntax to
|
|
61
61
|
learn rather than one per chart.
|
package/dist/auto.css
CHANGED
|
@@ -48,9 +48,16 @@ pre.dgmo, code.language-dgmo, pre > code.language-dgmo,
|
|
|
48
48
|
* swallowed into a rule they then emit as garbage. */
|
|
49
49
|
|
|
50
50
|
/* === Color-mode visibility (dual-render) ===
|
|
51
|
-
* The dark wrapper also carries
|
|
51
|
+
* The dark wrapper also carries an inline display:none, so a page that never
|
|
52
52
|
* loaded this stylesheet shows the light diagram rather than both of them.
|
|
53
|
-
*
|
|
53
|
+
* The two reveal rules are !important because of it: an inline declaration
|
|
54
|
+
* outranks every normal author rule, and only an important one beats it.
|
|
55
|
+
*
|
|
56
|
+
* That inline style replaced the "hidden" ATTRIBUTE in issue 647. Tailwind v4
|
|
57
|
+
* hides [hidden] with !important from inside a cascade layer, and a layered
|
|
58
|
+
* important declaration outranks an unlayered one at ANY specificity — so no
|
|
59
|
+
* rule here could reveal the dark wrapper, and every diagram on a Tailwind v4
|
|
60
|
+
* host was a zero-height empty box in dark mode.
|
|
54
61
|
* Keep the two host conventions in separate rule blocks — the adapters
|
|
55
62
|
* rewrite by literal replace and a folded rule would half-rewrite. */
|
|
56
63
|
.dgmo-dark {
|
|
@@ -60,13 +67,13 @@ pre.dgmo, code.language-dgmo, pre > code.language-dgmo,
|
|
|
60
67
|
display: none;
|
|
61
68
|
}
|
|
62
69
|
[data-theme="dark"] .dgmo-dark {
|
|
63
|
-
display: block;
|
|
70
|
+
display: block !important;
|
|
64
71
|
}
|
|
65
72
|
html.dark .dgmo-light {
|
|
66
73
|
display: none;
|
|
67
74
|
}
|
|
68
75
|
html.dark .dgmo-dark {
|
|
69
|
-
display: block;
|
|
76
|
+
display: block !important;
|
|
70
77
|
}
|
|
71
78
|
|
|
72
79
|
/* === Diagram sizing ===
|
|
@@ -506,7 +513,7 @@ html.dark .dgmo-dark {
|
|
|
506
513
|
display: none;
|
|
507
514
|
}
|
|
508
515
|
.dgmo-theme-dark .dgmo-dark {
|
|
509
|
-
display: block;
|
|
516
|
+
display: block !important;
|
|
510
517
|
}
|
|
511
518
|
.dgmo-theme-dark .dgmo-lightbox-svg {
|
|
512
519
|
background: #1e1e1e;
|