@meowdown/react 0.52.0 → 0.52.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/README.md +4 -2
- package/dist/index.js +5 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -130,8 +130,10 @@ the block, then shows source and a live preview while editing it.
|
|
|
130
130
|
Rendering uses `beautiful-mermaid`, which currently supports Flowchart, State,
|
|
131
131
|
Sequence, Class, ER, and XY Chart diagrams. Unsupported syntax renders an error
|
|
132
132
|
instead of an empty preview. Override `--meowdown-mermaid-bg`,
|
|
133
|
-
`--meowdown-mermaid-fg`,
|
|
134
|
-
|
|
133
|
+
`--meowdown-mermaid-fg`, `--meowdown-mermaid-line`,
|
|
134
|
+
`--meowdown-mermaid-accent`, `--meowdown-mermaid-muted`,
|
|
135
|
+
`--meowdown-mermaid-surface`, `--meowdown-mermaid-border`, or
|
|
136
|
+
`--meowdown-mermaid-error` to customize the diagram palette.
|
|
135
137
|
|
|
136
138
|
## Styling
|
|
137
139
|
|
package/dist/index.js
CHANGED
|
@@ -152,6 +152,11 @@ function MathRender(props) {
|
|
|
152
152
|
const MERMAID_OPTIONS = {
|
|
153
153
|
bg: "var(--meowdown-mermaid-bg)",
|
|
154
154
|
fg: "var(--meowdown-mermaid-fg)",
|
|
155
|
+
line: "var(--meowdown-mermaid-line)",
|
|
156
|
+
accent: "var(--meowdown-mermaid-accent)",
|
|
157
|
+
muted: "var(--meowdown-mermaid-muted)",
|
|
158
|
+
surface: "var(--meowdown-mermaid-surface)",
|
|
159
|
+
border: "var(--meowdown-mermaid-border)",
|
|
155
160
|
transparent: true,
|
|
156
161
|
interactive: false
|
|
157
162
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meowdown/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.52.
|
|
4
|
+
"version": "0.52.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"github-slugger": "^2.0.0",
|
|
29
29
|
"lucide-react": "^1.24.0",
|
|
30
30
|
"react-property": "^2.0.2",
|
|
31
|
-
"@meowdown/core": "0.52.
|
|
31
|
+
"@meowdown/core": "0.52.2"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": "^19.0.0",
|