pond-ts 0.35.0 → 0.37.0

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/CHANGELOG.md +67 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -8,7 +8,9 @@ The `@pond-ts` packages — `pond-ts`, `@pond-ts/react`, `@pond-ts/charts`, and
8
8
  them all. Pre-1.0: minor bumps may include new features and type-level changes;
9
9
  patch bumps are strictly additive.
10
10
 
11
- [Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.35.0...HEAD
11
+ [Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.37.0...HEAD
12
+ [0.37.0]: https://github.com/pjm17971/pond-ts/compare/v0.36.0...v0.37.0
13
+ [0.36.0]: https://github.com/pjm17971/pond-ts/compare/v0.35.0...v0.36.0
12
14
  [0.35.0]: https://github.com/pjm17971/pond-ts/compare/v0.34.1...v0.35.0
13
15
  [0.34.1]: https://github.com/pjm17971/pond-ts/compare/v0.34.0...v0.34.1
14
16
  [0.34.0]: https://github.com/pjm17971/pond-ts/compare/v0.33.0...v0.34.0
@@ -31,6 +33,70 @@ patch bumps are strictly additive.
31
33
  [0.19.0]: https://github.com/pjm17971/pond-ts/compare/v0.18.0...v0.19.0
32
34
  [0.18.0]: https://github.com/pjm17971/pond-ts/compare/v0.17.1...v0.18.0
33
35
 
36
+ ## [0.37.0] — 2026-07-02
37
+
38
+ A `@pond-ts/charts` release: the axis wave — label, tick, and domain controls
39
+ driven by the Tidal terminal's friction. `pond-ts`, `@pond-ts/react`, and
40
+ `@pond-ts/fit` carry no code changes — republished in lock-step (peer ranges
41
+ widen to `^0.37.0`).
42
+
43
+ ### Added
44
+
45
+ - **Charts — axis title typography (`theme.axis.title`).** The rotated y-axis
46
+ title now renders a touch larger than the ticks by default and is fully
47
+ themeable (`{ color, size, opacity }`, shared with the x-axis label). (#318)
48
+ - **Charts — `YAxis labelPlacement`.** `'rotated'` (default) or `'top'` — a
49
+ horizontal title above the axis, aligned to the axis line, in a reserved
50
+ header band that clears the top tick. (#318, #320)
51
+ - **Charts — `XAxis align`.** `'center'` (**new default**), `'auto'` (previous
52
+ behaviour: centred but first/last end-anchored), or `'right'` (label beside an
53
+ extended tick). (#318)
54
+ - **Charts — `YAxis pad`.** Fractional headroom added to each side of the
55
+ resolved domain (`0` default) — lifts a tight domain off the plot edges
56
+ without hand-computing bounds. (#319)
57
+ - **Charts — `YAxis boundaryLabels`.** `false` drops the top & bottom tick
58
+ numbers (gridlines stay) for stacked layouts where the edge labels crowd. (#319)
59
+ - **Charts — new `Charts/Axes` Storybook gallery** covering the above. (#318)
60
+
61
+ ### Changed
62
+
63
+ - **Charts — domain-extreme y-tick labels now clamp inside the row** instead of
64
+ half-overflowing the top/bottom edge (resolves Tidal friction F-charts-6). (#319)
65
+ - **Charts — `XAxis` tick-label default is now `'center'`** (was the
66
+ end-anchored `'auto'`). Pass `align="auto"` for the old behaviour. (#318)
67
+
68
+ ## [0.36.0] — 2026-07-02
69
+
70
+ A `@pond-ts/charts` release: a CSS-custom-property → theme bridge so a canvas
71
+ chart can follow a design system's tokens and dark/light toggle. `pond-ts`,
72
+ `@pond-ts/react`, and `@pond-ts/fit` carry no code changes — republished in
73
+ lock-step (their `pond-ts` / `@pond-ts/react` peer ranges widen to `^0.36.0`).
74
+
75
+ ### Added
76
+
77
+ - **Charts — `cssVarTheme(base, resolve, opts?)`.** Builds a `ChartTheme` by
78
+ overlaying CSS custom properties onto a base theme: a typed `resolve`
79
+ receives a `readVar` and returns only the slots to override. An unresolved
80
+ var keeps the base value (a missing token never blanks a colour). DOM-only by
81
+ design; safe under SSR / worker (returns the base + any literal fallbacks).
82
+ The typed `ChartTheme` stays the single styling channel — this generates it
83
+ from CSS rather than adding a second one. (#315)
84
+ - **Charts — `useChartTheme(base, resolve, opts?)`.** Wraps `cssVarTheme` and
85
+ re-resolves on a `data-theme` / `class` change (a `MutationObserver` on the
86
+ root, configurable via `{ target, attributes }`), so a chart follows
87
+ dark/light with the page — no `mode` prop threaded through. Returns a new
88
+ theme reference only when the resolved theme actually changed (the repaint
89
+ signal `ChartContainer` keys on), so an unrelated attribute toggle doesn't
90
+ repaint. Lives in `@pond-ts/charts` (not `@pond-ts/react`) to keep the
91
+ package graph acyclic. (#315)
92
+ - **Docs — charts recipes.** [Theming charts](https://pjm17971.github.io/pond-ts/docs/recipes/theming)
93
+ (the `ChartTheme` model, semantic identifiers, per-series dash, the CSS-var
94
+ bridge), [Using @pond-ts/charts](https://pjm17971.github.io/pond-ts/docs/recipes/using-charts)
95
+ (install, the Storybook `react-docgen` gotcha, the repaint contract,
96
+ in-dev consumption), and
97
+ [Resizable multi-panel layout](https://pjm17971.github.io/pond-ts/docs/recipes/resizable-panels).
98
+ (#314, #315, #316)
99
+
34
100
  ## [0.35.0] — 2026-07-02
35
101
 
36
102
  A `@pond-ts/charts` release: per-series line dash patterns. `pond-ts`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pond-ts",
3
- "version": "0.35.0",
3
+ "version": "0.37.0",
4
4
  "description": "TypeScript-first time series primitives",
5
5
  "license": "MIT",
6
6
  "repository": {