Skip to content

Commit 5864f70

Browse files
Version Packages
1 parent fa97e77 commit 5864f70

8 files changed

Lines changed: 19 additions & 31 deletions

.changeset/annotationpoint-smart-labels.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/geo-clipextent-viewport.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/labels-glyph-edge-spacing.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/labels-voronoi-layout.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/points-geo.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/voronoi-cell-children.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/layerchart/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# LayerChart
22

3+
## 2.1.0
4+
5+
### Minor Changes
6+
7+
- 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))
8+
9+
- 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))
10+
11+
- 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))
12+
13+
- 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))
14+
15+
- 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))
16+
17+
### Patch Changes
18+
19+
- 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))
20+
321
## 2.0.4
422

523
### Patch Changes

packages/layerchart/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"license": "MIT",
66
"repository": "techniq/layerchart",
77
"homepage": "https://layerchart.com",
8-
"version": "2.0.4",
8+
"version": "2.1.0",
99
"scripts": {
1010
"dev": "pnpm package:watch",
1111
"build": "svelte-package",

0 commit comments

Comments
 (0)