diff --git a/.changeset/accessor-plain-key-fast-path.md b/.changeset/accessor-plain-key-fast-path.md deleted file mode 100644 index 79e84065e..000000000 --- a/.changeset/accessor-plain-key-fast-path.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -perf(Chart): Resolve a plain-key accessor (`x="date"`) directly instead of re-parsing the path string on every row diff --git a/.changeset/chart-empty-explicit-series.md b/.changeset/chart-empty-explicit-series.md deleted file mode 100644 index 3d4868ebf..000000000 --- a/.changeset/chart-empty-explicit-series.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Chart): Treat an explicit but empty `series` array as authoritative, rather than deriving implicit series from the marks it just rendered (the two never settled, locking the page) diff --git a/.changeset/chart-mount-domain-registry.md b/.changeset/chart-mount-domain-registry.md deleted file mode 100644 index aa03e607a..000000000 --- a/.changeset/chart-mount-domain-registry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -perf(Chart): Keep the value domain off the mark registry, so mounting a chart no longer rebuilds its scales — and every path drawn from them — once per mark registered diff --git a/.changeset/highlight-nested-data-c-points.md b/.changeset/highlight-nested-data-c-points.md deleted file mode 100644 index 21e636b0f..000000000 --- a/.changeset/highlight-nested-data-c-points.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Highlight): Point `c`-grouped rows from `flatData`, fixing a crash on nested `stack()` data and `NaN` points where a category's value is a span (`y={[0, 1]}`) diff --git a/.changeset/highlight-single-point-mode.md b/.changeset/highlight-single-point-mode.md deleted file mode 100644 index 4c39070b5..000000000 --- a/.changeset/highlight-single-point-mode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Highlight): Mark only the hovered row in `quadtree` / `voronoi` tooltips, rather than every row sharing its position diff --git a/.changeset/implied-color-channel.md b/.changeset/implied-color-channel.md deleted file mode 100644 index c10556fd6..000000000 --- a/.changeset/implied-color-channel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -feat(Chart): Take the colour channel from a mark's own `fill` / `stroke` (``) when no `c` is declared, so the colour domain and legend hold the categories rather than the rows — hiding one still needs `c` diff --git a/.changeset/tooltip-interval-data-position.md b/.changeset/tooltip-interval-data-position.md deleted file mode 100644 index 86c222b6b..000000000 --- a/.changeset/tooltip-interval-data-position.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Tooltip): Center `x="data"` / `y="data"` on the interval when `xInterval` / `yInterval` is set, instead of on its leading edge diff --git a/.changeset/tooltip-pointer-events-hide.md b/.changeset/tooltip-pointer-events-hide.md deleted file mode 100644 index 379a7d579..000000000 --- a/.changeset/tooltip-pointer-events-hide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Tooltip): Hide after the pointer leaves the tooltip when `pointerEvents` is enabled (hovering it suppressed the pending hide, and leaving never re-armed it) diff --git a/packages/layerchart/CHANGELOG.md b/packages/layerchart/CHANGELOG.md index 9c94ae08e..531120029 100644 --- a/packages/layerchart/CHANGELOG.md +++ b/packages/layerchart/CHANGELOG.md @@ -1,5 +1,25 @@ # LayerChart +## 2.3.1 + +### Patch Changes + +- perf(Chart): Resolve a plain-key accessor (`x="date"`) directly instead of re-parsing the path string ([#906](https://github.com/techniq/layerchart/pull/906)) + +- fix(Chart): Treat an explicit but empty `series` array as authoritative, rather than deriving implicit series from marks ([#906](https://github.com/techniq/layerchart/pull/906)) + +- perf(Chart): Keep the value domain off the mark registry, so mounting a chart no longer rebuilds its scales — and every path drawn from them — once per mark registered ([#906](https://github.com/techniq/layerchart/pull/906)) + +- fix(Highlight): Fix crash highlighting `c`-grouped points over nested chart data ([#906](https://github.com/techniq/layerchart/pull/906)) + +- fix(Highlight): Mark only the hovered row in `quadtree` / `voronoi` tooltips, rather than every row sharing its position ([#906](https://github.com/techniq/layerchart/pull/906)) + +- feat(Chart): Take the color channel from a mark's own `fill` / `stroke` (``) when no `c` is declared ([#906](https://github.com/techniq/layerchart/pull/906)) + +- fix(Tooltip): Center on internal when data snapping (instead of on its leading edge) ([#906](https://github.com/techniq/layerchart/pull/906)) + +- fix(Tooltip): Fix persistent tooltip when rendered outside Chart container and `pointerEvents` is enabled ([#906](https://github.com/techniq/layerchart/pull/906)) + ## 2.3.0 ### Minor Changes diff --git a/packages/layerchart/package.json b/packages/layerchart/package.json index db4bbe3aa..62eb0d05f 100644 --- a/packages/layerchart/package.json +++ b/packages/layerchart/package.json @@ -5,7 +5,7 @@ "license": "MIT", "repository": "techniq/layerchart", "homepage": "https://layerchart.com", - "version": "2.3.0", + "version": "2.3.1", "scripts": { "dev": "pnpm package:watch", "build": "svelte-package",