From 4c6d19ac068339072060c005406c6c4f79bf0c95 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 4 Sep 2026 14:12:22 +0000 Subject: [PATCH] Version Packages --- .changeset/area-line-shared-props.md | 5 ---- .changeset/axis-tick-occlusion.md | 5 ---- .changeset/calendar-month-label-offset.md | 5 ---- .changeset/calendar-month-path-width.md | 5 ---- .changeset/chart-single-mount.md | 5 ---- .changeset/download-gradient-stops.md | 5 ---- .changeset/getter-missing-accessor.md | 5 ---- .changeset/grouped-path-motion.md | 5 ---- .changeset/path-end-content-without-draw.md | 5 ---- .changeset/text-rect-rotate.md | 5 ---- packages/layerchart/CHANGELOG.md | 26 +++++++++++++++++++++ packages/layerchart/package.json | 2 +- 12 files changed, 27 insertions(+), 51 deletions(-) delete mode 100644 .changeset/area-line-shared-props.md delete mode 100644 .changeset/axis-tick-occlusion.md delete mode 100644 .changeset/calendar-month-label-offset.md delete mode 100644 .changeset/calendar-month-path-width.md delete mode 100644 .changeset/chart-single-mount.md delete mode 100644 .changeset/download-gradient-stops.md delete mode 100644 .changeset/getter-missing-accessor.md delete mode 100644 .changeset/grouped-path-motion.md delete mode 100644 .changeset/path-end-content-without-draw.md delete mode 100644 .changeset/text-rect-rotate.md diff --git a/.changeset/area-line-shared-props.md b/.changeset/area-line-shared-props.md deleted file mode 100644 index f918fdab6..000000000 --- a/.changeset/area-line-shared-props.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Area): Apply `mask`, `filter`, and `clip-path` to the `line` path as well as the fill (unless overrideden by `line={{...}}`) diff --git a/.changeset/axis-tick-occlusion.md b/.changeset/axis-tick-occlusion.md deleted file mode 100644 index fbeecd0b0..000000000 --- a/.changeset/axis-tick-occlusion.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat(Axis): Add `tickOcclusion` to drop ticks whose labels would overlap, measured at the size they render (including rotation), with `priority` of `'end'` (default), `'start'`, or `'start-end'` to choose which survive diff --git a/.changeset/calendar-month-label-offset.md b/.changeset/calendar-month-label-offset.md deleted file mode 100644 index 3b3b090a0..000000000 --- a/.changeset/calendar-month-label-offset.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Calendar): Adjust month labels after recent Text verticalAnchor improvements diff --git a/.changeset/calendar-month-path-width.md b/.changeset/calendar-month-path-width.md deleted file mode 100644 index d275d106a..000000000 --- a/.changeset/calendar-month-path-width.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Calendar): Size cells to fit `monthPath`, which can extend past the last cell when the range ends mid-month diff --git a/.changeset/chart-single-mount.md b/.changeset/chart-single-mount.md deleted file mode 100644 index 5c961029f..000000000 --- a/.changeset/chart-single-mount.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -perf(Chart): Measure the container before building the subtree, so marks are only built once diff --git a/.changeset/download-gradient-stops.md b/.changeset/download-gradient-stops.md deleted file mode 100644 index aa3f248ed..000000000 --- a/.changeset/download-gradient-stops.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(downloadImage, downloadSvg): Inline `stop-color`/`stop-opacity` so gradients don't export as solid black diff --git a/.changeset/getter-missing-accessor.md b/.changeset/getter-missing-accessor.md deleted file mode 100644 index c522152c6..000000000 --- a/.changeset/getter-missing-accessor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Chart): Return `undefined` from `xGet`/`yGet` when that axis has no accessor, instead of throwing `accessor is not a function` diff --git a/.changeset/grouped-path-motion.md b/.changeset/grouped-path-motion.md deleted file mode 100644 index 3684cfd58..000000000 --- a/.changeset/grouped-path-motion.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Spline, Area): Animate each path when the mark is split by `z`, which `motion` previously skipped — segments split by a style function are still redrawn outright diff --git a/.changeset/path-end-content-without-draw.md b/.changeset/path-end-content-without-draw.md deleted file mode 100644 index 77443c1d6..000000000 --- a/.changeset/path-end-content-without-draw.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Path, Spline): Render `endContent` without a `draw` transition diff --git a/.changeset/text-rect-rotate.md b/.changeset/text-rect-rotate.md deleted file mode 100644 index 3dcb7ad5c..000000000 --- a/.changeset/text-rect-rotate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat(utils): Add `rotate` and multiline support to `getTextRect`, so a rotated or stacked `` can be measured for `occlude` without the caller reproducing ``'s pivot diff --git a/packages/layerchart/CHANGELOG.md b/packages/layerchart/CHANGELOG.md index 531120029..1135b0461 100644 --- a/packages/layerchart/CHANGELOG.md +++ b/packages/layerchart/CHANGELOG.md @@ -1,5 +1,31 @@ # LayerChart +## 2.4.0 + +### Minor Changes + +- feat(Axis): Add `tickOcclusion` to drop ticks whose labels would overlap, measured at the size they render (including rotation), with `priority` of `'end'` (default), `'start'`, or `'start-end'` to choose which survive ([#909](https://github.com/techniq/layerchart/pull/909)) + +- feat(utils): Add `rotate` and multiline support to `getTextRect`, so a rotated or stacked `` can be measured for `occlude` without the caller reproducing ``'s pivot ([#909](https://github.com/techniq/layerchart/pull/909)) + +### Patch Changes + +- fix(Area): Apply `mask`, `filter`, and `clip-path` to the `line` path as well as the fill (unless overrideden by `line={{...}}`) ([#909](https://github.com/techniq/layerchart/pull/909)) + +- fix(Calendar): Adjust month labels after recent Text verticalAnchor improvements ([#909](https://github.com/techniq/layerchart/pull/909)) + +- fix(Calendar): Size cells to fit `monthPath`, which can extend past the last cell when the range ends mid-month ([#909](https://github.com/techniq/layerchart/pull/909)) + +- perf(Chart): Measure the container before building the subtree, so marks are only built once ([#909](https://github.com/techniq/layerchart/pull/909)) + +- fix(downloadImage, downloadSvg): Inline `stop-color`/`stop-opacity` so gradients don't export as solid black ([#909](https://github.com/techniq/layerchart/pull/909)) + +- fix(Chart): Return `undefined` from `xGet`/`yGet` when that axis has no accessor, instead of throwing `accessor is not a function` ([#909](https://github.com/techniq/layerchart/pull/909)) + +- fix(Spline, Area): Animate each path when the mark is split by `z`, which `motion` previously skipped — segments split by a style function are still redrawn outright ([#909](https://github.com/techniq/layerchart/pull/909)) + +- fix(Path, Spline): Render `endContent` without a `draw` transition ([#909](https://github.com/techniq/layerchart/pull/909)) + ## 2.3.1 ### Patch Changes diff --git a/packages/layerchart/package.json b/packages/layerchart/package.json index 62eb0d05f..0f1fcba32 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.1", + "version": "2.4.0", "scripts": { "dev": "pnpm package:watch", "build": "svelte-package",