pond-ts 0.31.2 → 0.33.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 +75 -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.31.2...HEAD
11
+ [Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.33.0...HEAD
12
+ [0.33.0]: https://github.com/pjm17971/pond-ts/compare/v0.32.0...v0.33.0
13
+ [0.32.0]: https://github.com/pjm17971/pond-ts/compare/v0.31.2...v0.32.0
12
14
  [0.31.2]: https://github.com/pjm17971/pond-ts/compare/v0.31.1...v0.31.2
13
15
  [0.31.1]: https://github.com/pjm17971/pond-ts/compare/v0.30.0...v0.31.1
14
16
  [0.31.0]: https://github.com/pjm17971/pond-ts/compare/v0.30.0...3c4e8bd
@@ -26,6 +28,78 @@ patch bumps are strictly additive.
26
28
  [0.19.0]: https://github.com/pjm17971/pond-ts/compare/v0.18.0...v0.19.0
27
29
  [0.18.0]: https://github.com/pjm17971/pond-ts/compare/v0.17.1...v0.18.0
28
30
 
31
+ ## [0.33.0] — 2026-06-30
32
+
33
+ A `@pond-ts/charts` release: a label opt-out for annotations plus interaction
34
+ fixes from an adversarial review of the #306 annotation system. `pond-ts`,
35
+ `@pond-ts/react`, and `@pond-ts/fit` carry no code changes — republished in
36
+ lock-step (their `pond-ts` / `@pond-ts/react` peer ranges widen to `^0.33.0`).
37
+
38
+ ### Added
39
+
40
+ - **Charts — annotation label opt-out.** `<Region>`, `<Marker>`, and
41
+ `<Baseline>` accept `label={false}` (or `label=""`) to render **no label
42
+ chip** — for an inert background mark (e.g. a `selectable={false}` highlight
43
+ band) where the auto-label would only show a raw axis value. Omitting `label`
44
+ still auto-labels; a string still renders it. `label` widens to
45
+ `string | false`. New `Highlight` story + Linux e2e baselines for the
46
+ `Annotations` stories. (#308)
47
+
48
+ ### Changed
49
+
50
+ - **Charts — `<Region>` / `<Marker>` / `<Baseline>` with `label=""` now render
51
+ no chip** (previously an empty, zero-width chip). The label-less path; pass a
52
+ non-empty string for a visible label. (#308)
53
+
54
+ ### Fixed
55
+
56
+ - **Charts — annotation edge-resize no longer inverts.** Dragging a `<Region>`
57
+ edge past the opposite one previously reported `{ from > to }`; it now pivots
58
+ around the fixed opposite edge, so the reported span stays ordered and a drag
59
+ either way re-opens the region instead of dead-ending at zero width. (#308)
60
+ - **Charts — annotation drag releases on `pointercancel`.** A system gesture
61
+ takeover (which fires `pointercancel`, not `pointerup`) no longer leaves a mark
62
+ stuck mid-drag. (#308)
63
+ - **Charts — single-annotation edit exits on an empty-plot click** even when the
64
+ mark is `editing` but not `selected`. (#308)
65
+
66
+ ## [0.32.0] — 2026-06-29
67
+
68
+ A `@pond-ts/charts` release: value-axis support across the fill/bar layers, plus
69
+ explicit y-axis ticks and the annotation primitives. `pond-ts`,
70
+ `@pond-ts/react`, and `@pond-ts/fit` are unchanged this cycle — republished in
71
+ lock-step at the same version.
72
+
73
+ ### Added
74
+
75
+ - **Charts — explicit y-axis ticks.** `<YAxis ticks={[{ at, label }]}>` places
76
+ ticks (and their gridlines) at chosen values with custom labels, mirroring
77
+ `<XAxis ticks>`; `ticks={[]}` draws none. (#303)
78
+ - **Charts — value-axis (`ValueSeries`) support for `<AreaChart>`,
79
+ `<BandChart>`, and `<BarChart>`.** Each now accepts a `ValueSeries`
80
+ (`series.byValue('dist')`) and plots against its monotonic value axis
81
+ (distance, cumulative work, …), not just time — joining `<LineChart>`, which
82
+ already did. The container infers the x-axis kind from the data, so there is
83
+ no axis-type prop. `BarChart` derives each bar's span from neighbour spacing
84
+ on a point-keyed value axis (the splits/laps case). (#304, #307)
85
+ - **Charts — annotations: `<Region>`, `<Marker>`, `<Baseline>`.** User-authored
86
+ marks in a distinct register — a shaded x-span, a vertical x line, and a
87
+ horizontal value line — with flag labels, a three-level depth ramp, and opt-in
88
+ interaction modes (inspect-select, single-edit, drag-resize, create-tool
89
+ gestures) coordinated by the container (cross-row guide lines,
90
+ snap-to-guideline, z-order). Adds `ChartContainer` annotation props
91
+ (`creating` / `editAnnotations` / `onCreate` / `onSelectAnnotation` /
92
+ `onHoverAnnotation` / `onEditAnnotation` / `snap`) and a `ChartTheme.annotation`
93
+ depth theme. (#306)
94
+
95
+ ### Changed
96
+
97
+ - **Charts — the fill/bar layer `series` prop widens (additive).**
98
+ `AreaChartProps` / `BandChartProps` / `BarChartProps` now accept
99
+ `TimeSeries | ValueSeries`; the new second generic defaults, so existing
100
+ one-type-argument uses (`AreaChartProps<S>`, `<AreaChart<S>>`) compile
101
+ unchanged. (#304, #307)
102
+
29
103
  ## [0.31.2] — 2026-06-29
30
104
 
31
105
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pond-ts",
3
- "version": "0.31.2",
3
+ "version": "0.33.0",
4
4
  "description": "TypeScript-first time series primitives",
5
5
  "license": "MIT",
6
6
  "repository": {