pond-ts 0.38.0 → 0.39.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.
- package/CHANGELOG.md +57 -1
- 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.
|
|
11
|
+
[Unreleased]: https://github.com/pjm17971/pond-ts/compare/v0.39.0...HEAD
|
|
12
|
+
[0.39.0]: https://github.com/pjm17971/pond-ts/compare/v0.38.0...v0.39.0
|
|
12
13
|
[0.38.0]: https://github.com/pjm17971/pond-ts/compare/v0.37.0...v0.38.0
|
|
13
14
|
[0.37.0]: https://github.com/pjm17971/pond-ts/compare/v0.36.0...v0.37.0
|
|
14
15
|
[0.36.0]: https://github.com/pjm17971/pond-ts/compare/v0.35.0...v0.36.0
|
|
@@ -34,6 +35,61 @@ patch bumps are strictly additive.
|
|
|
34
35
|
[0.19.0]: https://github.com/pjm17971/pond-ts/compare/v0.18.0...v0.19.0
|
|
35
36
|
[0.18.0]: https://github.com/pjm17971/pond-ts/compare/v0.17.1...v0.18.0
|
|
36
37
|
|
|
38
|
+
## [Unreleased]
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
- **Charts — click-to-select an annotation now works while `panZoom` is on.** A
|
|
43
|
+
_selectable but non-editable_ `<Region>` / `<Marker>` (one with no `onChange`)
|
|
44
|
+
lets its press bubble to the plot so a drag can pan _through_ it. The plot
|
|
45
|
+
captured the pointer on press to start the pan, and the browser then retargeted
|
|
46
|
+
the resulting `click` onto the plot (Pointer Events spec: a captured pointer's
|
|
47
|
+
compatibility mouse events fire on the capture target) — silently dropping the
|
|
48
|
+
mark's `onSelectAnnotation`. The plot now **defers** its pan pointer-capture
|
|
49
|
+
until the pointer actually moves past the drag slop, so a click (no drag) leaves
|
|
50
|
+
the pointer on the mark and its select fires, while a press-drag still pans
|
|
51
|
+
through and the tracker still hides once the pan commits. Resolves the
|
|
52
|
+
browser-dependent finding deferred from #308; adds
|
|
53
|
+
`e2e/annotations-panzoom.spec.ts`, the first real-pointer-event behavior e2e for
|
|
54
|
+
the annotation layer. (#309)
|
|
55
|
+
|
|
56
|
+
## [0.39.0] — 2026-07-03
|
|
57
|
+
|
|
58
|
+
A `@pond-ts/charts` release: the **crosshair reticle + annotation-layout** wave,
|
|
59
|
+
driven by the Tidal terminal. `pond-ts`, `@pond-ts/react`, and `@pond-ts/fit`
|
|
60
|
+
carry no code changes — republished in lock-step (peer ranges widen to `^0.39.0`).
|
|
61
|
+
|
|
62
|
+
### Added
|
|
63
|
+
|
|
64
|
+
- `@pond-ts/charts`: **`<ChartContainer crosshairSnap>`** (default `true`) — the
|
|
65
|
+
`cursor="crosshair"` reticle centres on the nearest data point; `false` gives a
|
|
66
|
+
**free** reticle whose horizontal line + value follow the pointer y
|
|
67
|
+
(`yScale.invert`), while the vertical line still snaps its x to the data grid
|
|
68
|
+
for a clean time readout.
|
|
69
|
+
- `@pond-ts/charts`: **coincident marker labels merge** — labelled `<Marker>`s at
|
|
70
|
+
the same x fold into one chip (`"a, b, c"`) instead of stacking; their x-axis
|
|
71
|
+
indicator pills dedup to one.
|
|
72
|
+
- `@pond-ts/charts`: **x-axis indicator pills lane-stack** when they'd overlap
|
|
73
|
+
(each connector lengthens to its lane).
|
|
74
|
+
|
|
75
|
+
### Changed
|
|
76
|
+
|
|
77
|
+
- `@pond-ts/charts`: **`cursor="crosshair"` is now a single reticle** — a
|
|
78
|
+
full-height dashed vertical + full-width dashed horizontal line + a centre dot +
|
|
79
|
+
one value pill, with the time pill connected to the vertical line. (Was
|
|
80
|
+
per-series dots + on-axis pills; the per-series readout stays on `flag` /
|
|
81
|
+
`inline`.)
|
|
82
|
+
- `@pond-ts/charts`: top-flag **labels pack per row** — a label only contends with
|
|
83
|
+
labels in its own row's top space (a bottom-row label no longer dodges a
|
|
84
|
+
top-row one at the same x). A dragged mark is excluded from the pack, so static
|
|
85
|
+
marks hold their lanes as it crosses them (no phantom lane swaps). A marker's
|
|
86
|
+
staff now hangs from the top of its (stacked) flag.
|
|
87
|
+
|
|
88
|
+
### Fixed
|
|
89
|
+
|
|
90
|
+
- `@pond-ts/charts`: the crosshair x-axis pill and marker pills read the axis's
|
|
91
|
+
own formatter (a value-axis / off-boundary time no longer shows a raw number).
|
|
92
|
+
|
|
37
93
|
## [0.38.0] — 2026-07-03
|
|
38
94
|
|
|
39
95
|
A `@pond-ts/charts` release: **axis-edge value indicators + the crosshair
|