astro-dgmo 0.4.11 → 0.6.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 +5 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -166,7 +166,11 @@ v0.2 baked one palette per diagram at build time. If your site supported a dark/
|
|
|
166
166
|
|
|
167
167
|
**You must add a CSS import** to a global layout — see Quick start.
|
|
168
168
|
|
|
169
|
-
**Class names changed.** The rendered HTML class-name prefix changed from `astro-dgmo-*` to `dgmo-*` (e.g., `astro-dgmo
|
|
169
|
+
**Class names changed.** The rendered HTML class-name prefix changed from `astro-dgmo-*` to `dgmo-*` (e.g., `astro-dgmo` → `dgmo`). For one minor cycle (v0.3.x) we emit BOTH so existing CSS keeps working. v0.4 drops the legacy aliases. If you have CSS or DOM walkers targeting `astro-dgmo-*` classes, update them now to the `dgmo-*` equivalents.
|
|
170
|
+
|
|
171
|
+
### Upgrading to 0.6.0
|
|
172
|
+
|
|
173
|
+
v0.6 adopts the standard DGMO embed block (via remark-dgmo 0.5): the `dgmo-card` class is removed, syntax-token classes are renamed to `dgmo-tok-*`, the source view now sits behind a native `<details>` (`dgmo-source-wrap`), and showcase chrome is a hover-revealed icon toolbar (`dgmo-toolbar-btn`, `dgmo-copy`, `dgmo-open`). If you have custom CSS targeting `dgmo-card` or old token classes, retarget it to the new class names.
|
|
170
174
|
|
|
171
175
|
No API changes. No breaking changes to fenced-block syntax or per-block options.
|
|
172
176
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "astro-dgmo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Astro integration to render DGMO diagrams from fenced code blocks at build time. Powered by @diagrammo/dgmo.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -65,14 +65,14 @@
|
|
|
65
65
|
"prepublishOnly": "pnpm build && pnpm test"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@diagrammo/dgmo": "^0.
|
|
68
|
+
"@diagrammo/dgmo": "^0.45.0",
|
|
69
69
|
"astro": "^4.0.0 || ^5.0.0 || ^6.0.0"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"remark-dgmo": "^0.
|
|
72
|
+
"remark-dgmo": "^0.5.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@diagrammo/dgmo": "^0.
|
|
75
|
+
"@diagrammo/dgmo": "^0.45.0",
|
|
76
76
|
"@eslint/js": "^10.0.1",
|
|
77
77
|
"@types/node": "^22.10.0",
|
|
78
78
|
"astro": "^6.1.10",
|