diff --git a/.changeset/centred-zoom-controls.md b/.changeset/centred-zoom-controls.md deleted file mode 100644 index eb82b4cdd..000000000 --- a/.changeset/centred-zoom-controls.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(TransformContext): Zoom in / out about the middle of the plot area, and center a `canvas` zoom without resetting its scale diff --git a/.changeset/colored-contour-lines.md b/.changeset/colored-contour-lines.md deleted file mode 100644 index 2cdeea698..000000000 --- a/.changeset/colored-contour-lines.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat(Contour): Stroke unfilled contours in the bands' colors when no `stroke` is given diff --git a/.changeset/floating-points-walls.md b/.changeset/floating-points-walls.md deleted file mode 100644 index 20fbab958..000000000 --- a/.changeset/floating-points-walls.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat(Frame|Grid|Axis|Highlight): Draw an `isometric` chart's back walls, their gridlines (``), a height axis (``), and highlights at a point's height diff --git a/.changeset/geo-path-motion.md b/.changeset/geo-path-motion.md deleted file mode 100644 index 2aae4d519..000000000 --- a/.changeset/geo-path-motion.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(GeoPath): Start a tweened map shape as itself rather than rising from a baseline diff --git a/.changeset/isometric-heights.md b/.changeset/isometric-heights.md deleted file mode 100644 index 936a6df76..000000000 --- a/.changeset/isometric-heights.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat: Support `z` heights on an `isometric` chart — boxes (`Rect`, `Cell`, `Calendar`, `Bars` with `valueAxis="z"`), floating `Circle`, `Text`, `Labels` and `ArcLabel`, `Line` stems, and extruded `Polygon`, `Path`, `GeoPath`, `Contour`, `Pie`, `Area` and `Spline` diff --git a/.changeset/split-paths-by-g.md b/.changeset/split-paths-by-g.md deleted file mode 100644 index 9147a7484..000000000 --- a/.changeset/split-paths-by-g.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -breaking(Chart|Spline|Area): Rename the `z` grouping channel to `g` (ex. ``), freeing `z` for a third position diff --git a/.changeset/steady-radial-ticks.md b/.changeset/steady-radial-ticks.md deleted file mode 100644 index 424687841..000000000 --- a/.changeset/steady-radial-ticks.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Axis): Size an `angle` axis' ticks by its circle rather than the chart's width, so a continuous angle scale's tick count no longer changes with width (square charts get more ticks) diff --git a/.changeset/straight-links.md b/.changeset/straight-links.md deleted file mode 100644 index 5eeed33e4..000000000 --- a/.changeset/straight-links.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Link): Draw links whose ends share an `x` or `y` diff --git a/.changeset/switchable-transform-mode.md b/.changeset/switchable-transform-mode.md deleted file mode 100644 index 704706667..000000000 --- a/.changeset/switchable-transform-mode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat(TransformContext): Switch `mode` without remounting the chart diff --git a/.changeset/tilted-floors-turn.md b/.changeset/tilted-floors-turn.md deleted file mode 100644 index 03a111264..000000000 --- a/.changeset/tilted-floors-turn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat(Chart): Support `view={isometric}` to draw the plot area as a floor seen at an angle, turned with `isometric({ rotate, tilt })` or by dragging (`transform={{ drag: 'rotate' }}`), with `viewport` text facing the viewer diff --git a/.changeset/transformed-brush.md b/.changeset/transformed-brush.md deleted file mode 100644 index c29c56543..000000000 --- a/.changeset/transformed-brush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(BrushContext): Draw and measure the brush through a `canvas` pan / zoom diff --git a/.changeset/turned-ellipses.md b/.changeset/turned-ellipses.md deleted file mode 100644 index 07fd68a3f..000000000 --- a/.changeset/turned-ellipses.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat(Ellipse): Support `rotate` to turn the ellipse about its center diff --git a/.changeset/zoomed-tooltips-find.md b/.changeset/zoomed-tooltips-find.md deleted file mode 100644 index 3cd502ba9..000000000 --- a/.changeset/zoomed-tooltips-find.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(TooltipContext): Account for `transform.mode: 'canvas'` pan / zoom in bisect modes and `'data'` tooltip placement diff --git a/packages/layerchart/CHANGELOG.md b/packages/layerchart/CHANGELOG.md index 88f6c0c7c..f5f1c24c1 100644 --- a/packages/layerchart/CHANGELOG.md +++ b/packages/layerchart/CHANGELOG.md @@ -1,5 +1,37 @@ # LayerChart +## 2.6.0 + +### Minor Changes + +- feat(Contour): Stroke unfilled contours in the bands' colors when no `stroke` is given ([#934](https://github.com/techniq/layerchart/pull/934)) + +- feat(Frame|Grid|Axis|Highlight): Draw an `isometric` chart's back walls, their gridlines (``), a height axis (``), and highlights at a point's height ([#934](https://github.com/techniq/layerchart/pull/934)) + +- feat: Support `z` heights on an `isometric` chart — boxes (`Rect`, `Cell`, `Calendar`, `Bars` with `valueAxis="z"`), floating `Circle`, `Text`, `Labels` and `ArcLabel`, `Line` stems, and extruded `Polygon`, `Path`, `GeoPath`, `Contour`, `Pie`, `Area` and `Spline` ([#934](https://github.com/techniq/layerchart/pull/934)) + +- breaking(Chart|Spline|Area): Rename the `z` grouping channel to `g` (ex. ``), freeing `z` for a third position ([#934](https://github.com/techniq/layerchart/pull/934)) + +- feat(TransformContext): Switch `mode` without remounting the chart ([#934](https://github.com/techniq/layerchart/pull/934)) + +- feat(Chart): Support `view={isometric}` to draw the plot area as a floor seen at an angle, turned with `isometric({ rotate, tilt })` or by dragging (`transform={{ drag: 'rotate' }}`), with `viewport` text facing the viewer ([#934](https://github.com/techniq/layerchart/pull/934)) + +- feat(Ellipse): Support `rotate` to turn the ellipse about its center ([#934](https://github.com/techniq/layerchart/pull/934)) + +### Patch Changes + +- fix(TransformContext): Zoom in / out about the middle of the plot area, and center a `canvas` zoom without resetting its scale ([#934](https://github.com/techniq/layerchart/pull/934)) + +- fix(GeoPath): Start a tweened map shape as itself rather than rising from a baseline ([#934](https://github.com/techniq/layerchart/pull/934)) + +- fix(Axis): Size an `angle` axis' ticks by its circle rather than the chart's width, so a continuous angle scale's tick count no longer changes with width (square charts get more ticks) ([#934](https://github.com/techniq/layerchart/pull/934)) + +- fix(Link): Draw links whose ends share an `x` or `y` ([#934](https://github.com/techniq/layerchart/pull/934)) + +- fix(BrushContext): Draw and measure the brush through a `canvas` pan / zoom ([#934](https://github.com/techniq/layerchart/pull/934)) + +- fix(TooltipContext): Account for `transform.mode: 'canvas'` pan / zoom in bisect modes and `'data'` tooltip placement ([#934](https://github.com/techniq/layerchart/pull/934)) + ## 2.5.2 ### Patch Changes diff --git a/packages/layerchart/package.json b/packages/layerchart/package.json index 5f9c6d351..0ee736864 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.5.2", + "version": "2.6.0", "scripts": { "dev": "pnpm package:watch", "build": "svelte-package",