spectoflow 0.27.0 → 0.27.1

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.
@@ -83,7 +83,10 @@
83
83
  const height = opts.height || 180;
84
84
  const padL = opts.padLeft != null ? opts.padLeft : 32;
85
85
  const padR = opts.padRight != null ? opts.padRight : 10;
86
- const padT = opts.padTop != null ? opts.padTop : 10;
86
+ // 20, not 10: a value label sits 8px above its dot (line ~128) — a point at the very top of the
87
+ // chart (v === max) needs enough headroom above padT for that bold 9px label not to clip against
88
+ // the svg's own viewBox (every browser clips an <svg> at its viewBox bounds by default).
89
+ const padT = opts.padTop != null ? opts.padTop : 20;
87
90
  const padB = opts.padBottom != null ? opts.padBottom : 22;
88
91
  const innerW = Math.max(0, width - padL - padR);
89
92
  const innerH = Math.max(0, height - padT - padB);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spectoflow",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "description": "Agent-agnostic spec-driven development framework + real-time local control plane. Markdown artifacts, intent router, workflow-by-scope.",
5
5
  "keywords": [
6
6
  "spec-driven-development",