hazo_dataviz 0.6.1 → 0.6.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.
Files changed (2) hide show
  1. package/CHANGE_LOG.md +4 -0
  2. package/package.json +5 -5
package/CHANGE_LOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # hazo_dataviz — Change Log
2
2
 
3
+ ## 0.6.2 — 2026-09-07
4
+
5
+ - **Fix (`TimeSeriesChart` Y-axis label clipping)**: `CHART_MARGIN.left` was `-4` and the Y axis was hardcoded to `width={40}`, both tuned for short labels — a 3-digit price label like `"360$"` overflowed 40px and got clipped on the left edge. `CHART_MARGIN.left` is now `4`, and the axis width defaults to `50` via a new `yAxisWidth?: number` prop (`TimeSeriesChartProps`), so consumers with longer tick labels (bigger numbers, longer units) can widen it further without patching the chart.
6
+
3
7
  ## 0.6.0 — 2026-08-02
4
8
 
5
9
  Legends, a themeable `LineChart`, and a modernised default look. Additive: no prop was removed or renamed, and a chart that passes no new props renders the same data with a cleaner frame.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hazo_dataviz",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Headless data visualization primitives for hazo apps",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
@@ -45,10 +45,10 @@
45
45
  "zod": "^4.1.12"
46
46
  },
47
47
  "peerDependencies": {
48
- "hazo_api": "^2.6.0",
49
- "hazo_connect": "^4.0.0",
50
- "hazo_core": "^2.0.0",
51
- "hazo_ui": "^6.8.0",
48
+ "hazo_api": "^2.6.1",
49
+ "hazo_connect": "^4.1.0",
50
+ "hazo_core": "^2.2.0",
51
+ "hazo_ui": "^6.11.2",
52
52
  "react": "^18.0.0 || ^19.0.0",
53
53
  "react-dom": "^18.0.0 || ^19.0.0",
54
54
  "recharts": "^2.15.4 || ^3.0.0"