Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/area-line-shared-props.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/axis-tick-occlusion.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/calendar-month-label-offset.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/calendar-month-path-width.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chart-single-mount.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/download-gradient-stops.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/getter-missing-accessor.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/grouped-path-motion.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/path-end-content-without-draw.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/text-rect-rotate.md

This file was deleted.

26 changes: 26 additions & 0 deletions packages/layerchart/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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 `<Text>` can be measured for `occlude` without the caller reproducing `<Text>`'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
Expand Down
2 changes: 1 addition & 1 deletion packages/layerchart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading