pond-ts 0.37.0 → 0.38.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 +47 -3
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -8,7 +8,8 @@ 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.37.0...HEAD
11
+ [Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.38.0...HEAD
12
+ [0.38.0]: https://github.com/pjm17971/pond-ts/compare/v0.37.0...v0.38.0
12
13
  [0.37.0]: https://github.com/pjm17971/pond-ts/compare/v0.36.0...v0.37.0
13
14
  [0.36.0]: https://github.com/pjm17971/pond-ts/compare/v0.35.0...v0.36.0
14
15
  [0.35.0]: https://github.com/pjm17971/pond-ts/compare/v0.34.1...v0.35.0
@@ -33,6 +34,49 @@ patch bumps are strictly additive.
33
34
  [0.19.0]: https://github.com/pjm17971/pond-ts/compare/v0.18.0...v0.19.0
34
35
  [0.18.0]: https://github.com/pjm17971/pond-ts/compare/v0.17.1...v0.18.0
35
36
 
37
+ ## [0.38.0] — 2026-07-03
38
+
39
+ A `@pond-ts/charts` release: **axis-edge value indicators + the crosshair
40
+ cursor** — the ChartIQ / Yahoo-Finance price-tag family, driven by the Tidal
41
+ terminal. `pond-ts`, `@pond-ts/react`, and `@pond-ts/fit` carry no code changes —
42
+ republished in lock-step (peer ranges widen to `^0.38.0`).
43
+
44
+ ### Added
45
+
46
+ - `@pond-ts/charts`: **`<YAxisIndicator>` + `createLiveValue`** — a value pill
47
+ pinned to a y-axis edge, decoupled from the series' last point. A `LiveValue`
48
+ `source` updates it at high frequency **without re-rendering the chart** (only
49
+ the subscribed pill repaints). Props: `value` / `source`, `axis`, `side`,
50
+ `color`, `format`, `line` (dashed guide), `pointer` (callout triangle).
51
+ - `@pond-ts/charts`: **`cursor="crosshair"`** `CursorMode` — a synced vertical
52
+ line + per-series dots, each series' value pinned to its y-axis and the hovered
53
+ time pinned to the x-axis.
54
+ - `@pond-ts/charts`: **`indicator`** opt-in on `<Baseline>` (a y-axis value pill)
55
+ and `<Marker>` (an x-axis time pill, with a connector down to the mark).
56
+ - `@pond-ts/charts`: `<Baseline labelSide>` (`left` / `right`) + `labelPosition`
57
+ (`center` on the line / `above` it) for the near-line label chip.
58
+ - `@pond-ts/charts`: `<Region edges>` (default `true`; `false` = shaded fill with
59
+ no side outlines).
60
+ - `@pond-ts/charts`: `axisPillStyle`, `contrastText`, `pointerStyle` chip helpers
61
+ are exported.
62
+
63
+ ### Changed
64
+
65
+ - `@pond-ts/charts`: axis indicator pills are **solid** (colour fill +
66
+ auto-contrast text), aligned to the tick-label row, and **always show the axis
67
+ coordinate** — never a custom label (a label stays the in-plot chip).
68
+ - `@pond-ts/charts`: cursor flag / inline chips now have **square corners**; the
69
+ cursor **time** atop a flag stack renders as plain text (no chip background).
70
+ - `@pond-ts/charts`: Storybook reorganized into a feature-axis reference tree with
71
+ systematic per-prop coverage (dev-only; stories are excluded from the package).
72
+
73
+ ### Fixed
74
+
75
+ - `@pond-ts/charts`: the crosshair x-axis pill used the container's time formatter
76
+ (showing a raw number on a value axis) — it now uses the axis's own resolved
77
+ formatter, matching the ticks. The crosshair also no longer double-renders the
78
+ time (a stray per-row chip alongside the x-axis pill).
79
+
36
80
  ## [0.37.0] — 2026-07-02
37
81
 
38
82
  A `@pond-ts/charts` release: the axis wave — label, tick, and domain controls
@@ -110,7 +154,7 @@ lock-step (their `pond-ts` / `@pond-ts/react` peer ranges widen to `^0.35.0`).
110
154
  (`[6, 4]` dashed, `[2, 3]` ≈ dotted; omit or `[]` = solid) applied to the
111
155
  series stroke. Lets a theme set a **modeled / forecast** line (e.g. GARCH
112
156
  vol) apart from an observed one at a glance. Distinct from a `GapMode`'s
113
- inferred gap-bridge dashing (which marks *missing data*, not the whole
157
+ inferred gap-bridge dashing (which marks _missing data_, not the whole
114
158
  line). Additive: existing themes are unaffected; a solid line never touches
115
159
  `setLineDash`. New `Charts/LineChart → LineStyles` story. (#313)
116
160
 
@@ -149,7 +193,7 @@ Tidal wire-format spike. `@pond-ts/react`, `@pond-ts/charts`, and
149
193
  - **`TimeSeries.fromColumns`** — the columnar (struct-of-arrays) ingress,
150
194
  the counterpart to `fromJSON`'s row-tuple shape. Accepts either a plain
151
195
  `number[]` or a `Float64Array` per column — one polymorphic door, so a
152
- wire format only changes the *decoder*, not the ingest. `Float64Array`
196
+ wire format only changes the _decoder_, not the ingest. `Float64Array`
153
197
  columns are adopted directly (zero-copy); `number[]` columns are copied.
154
198
  A `null`/`undefined` cell or a non-finite value (`NaN`/`Infinity`) is a
155
199
  gap, identically across both input shapes. Enforces the same
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pond-ts",
3
- "version": "0.37.0",
3
+ "version": "0.38.0",
4
4
  "description": "TypeScript-first time series primitives",
5
5
  "license": "MIT",
6
6
  "repository": {