@zombie-mermaid/svg-renderer 5.14.2 → 5.14.3
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/index.cjs +60 -59
- package/dist/index.js +62 -61
- package/dist/shared/index.d.ts +3 -1
- package/package.json +3 -3
package/dist/shared/index.d.ts
CHANGED
|
@@ -824,7 +824,9 @@ export declare function withDataSrc(svgTag: string, source: string | undefined):
|
|
|
824
824
|
* Step between shown x-axis labels: 1 when every pair of neighbouring labels
|
|
825
825
|
* keeps `X_LABEL_MIN_GAP` of clear space, otherwise the smallest n for which
|
|
826
826
|
* every pair of shown (every n-th) labels does. Checked pairwise on the real
|
|
827
|
-
* widths so one long label doesn't thin out an otherwise roomy axis.
|
|
827
|
+
* widths so one long label doesn't thin out an otherwise roomy axis. No longer
|
|
828
|
+
* used by the SVG layout, which labels every category as mermaid 12.2.0 does;
|
|
829
|
+
* kept as public API.
|
|
828
830
|
*/
|
|
829
831
|
export declare function xLabelStep(labels: string[], bandWidth: number): number;
|
|
830
832
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zombie-mermaid/svg-renderer",
|
|
3
|
-
"version": "5.14.
|
|
3
|
+
"version": "5.14.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "SVG rendering primitives and the ELK-backed layout engine behind zombie-mermaid's SVG output (maintained continuation of beautiful-mermaid).",
|
|
6
6
|
"keywords": [
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"entities": "^7.0.1",
|
|
53
|
-
"@zombie-mermaid/core": "5.14.
|
|
54
|
-
"@zombie-mermaid/mermaid-parser": "5.14.
|
|
53
|
+
"@zombie-mermaid/core": "5.14.3",
|
|
54
|
+
"@zombie-mermaid/mermaid-parser": "5.14.3"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"elkjs": "^0.11.0 || ^0.12.0"
|