sketchmark 0.2.3 → 0.2.4
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 +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/layout/index.d.ts.map +1 -1
- package/dist/renderer/svg/index.d.ts.map +1 -1
- package/dist/sketchmark.iife.js +2 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1540,9 +1540,8 @@ function sizeTable(t) {
|
|
|
1540
1540
|
const nData = rows.filter((r) => r.kind === "data").length;
|
|
1541
1541
|
t.h = labelH + nHeader * headerH + nData * rowH;
|
|
1542
1542
|
}
|
|
1543
|
-
function sizeChart(
|
|
1544
|
-
|
|
1545
|
-
c.h = c.h || 240;
|
|
1543
|
+
function sizeChart(_c) {
|
|
1544
|
+
// defaults already applied in buildSceneGraph
|
|
1546
1545
|
}
|
|
1547
1546
|
function sizeMarkdown(m) {
|
|
1548
1547
|
const pad = Number(m.style?.padding ?? 16);
|
|
@@ -5564,7 +5563,6 @@ function renderToSVG(sg, container, options = {}) {
|
|
|
5564
5563
|
NoteL.appendChild(ng);
|
|
5565
5564
|
}
|
|
5566
5565
|
svg.appendChild(NoteL);
|
|
5567
|
-
markdownMap(sg);
|
|
5568
5566
|
const MDL = mkGroup('markdown-layer');
|
|
5569
5567
|
for (const m of sg.markdowns) {
|
|
5570
5568
|
const mg = mkGroup(`markdown-${m.id}`, 'mdg');
|