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/annotationpoint-smart-labels.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/geo-clipextent-viewport.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/labels-glyph-edge-spacing.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/labels-voronoi-layout.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/points-geo.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/voronoi-cell-children.md

This file was deleted.

18 changes: 18 additions & 0 deletions packages/layerchart/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# LayerChart

## 2.1.0

### Minor Changes

- feat(AnnotationPoint): Support explicit `labelX`/`labelY` positioning, a `fontSize` prop, a `labelGap` for callout spacing, and a `labelPlacement="smart"` option that auto-orients the label and terminates its callout at the label edge. ([#892](https://github.com/techniq/layerchart/pull/892))

- feat(GeoState): Support `clipExtent: true` to clip the projection to the chart dimensions (`[[0, 0], [width, height]]`), e.g. to trim the `Sphere` overflow under `geoMercator`. ([#892](https://github.com/techniq/layerchart/pull/892))

- feat(Labels): Add `layout="voronoi"` to place each label towards Voronoi cell's centroid, `occlude` to drop overlapping labels and `links` to move labels to centroid with a leader line back to the point. ([#892](https://github.com/techniq/layerchart/pull/892))

- feat(Points|Labels): Project through the chart's geo projection when present, so `<Points>` (and `<Labels>`) render on maps. ([#892](https://github.com/techniq/layerchart/pull/892))

- feat(Voronoi): Add `children` snippet exposing per-cell geometry (`point`, `polygon`, `centroid`, `area`) for custom rendering (e.g. labels). ([#892](https://github.com/techniq/layerchart/pull/892))

### Patch Changes

- fix(Text|Labels): Anchor `verticalAnchor` by cap-height so text sits a consistent distance from marks and aligns across the Svg, Canvas, and Html layers. `placement="smart"` labels now clear the point marker on all sides. ([#893](https://github.com/techniq/layerchart/pull/893))

## 2.0.4

### 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.0.4",
"version": "2.1.0",
"scripts": {
"dev": "pnpm package:watch",
"build": "svelte-package",
Expand Down
Loading