Skip to content

Commit 4bbf39c

Browse files
Version Packages (next) (#827)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 365f05b commit 4bbf39c

3 files changed

Lines changed: 36 additions & 1 deletion

File tree

.changeset/pre.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@
1313
},
1414
"changesets": [
1515
"add-boxplot-component",
16+
"add-geoclippath-component",
1617
"add-georaster-component",
1718
"add-smart-label-placement",
1819
"add-stats-utils",
20+
"add-text-segments",
1921
"add-trail-component",
2022
"add-violin-component",
2123
"afraid-jobs-say",
@@ -91,11 +93,13 @@
9193
"fast-primitives-perf",
9294
"fiery-lamps-tickle",
9395
"five-stamps-drum",
96+
"fix-arclabel-canvas-rotation",
9497
"fix-area-all-zero",
9598
"fix-barchart-diverging-edge-rounding",
9699
"fix-geo-mark-domain",
97100
"fix-geopath-canvas-tooltip",
98101
"fix-implicit-series-domain",
102+
"fix-pie-arc-xrange",
99103
"fix-scale-band-invert",
100104
"fix-transform-projection-reactivity",
101105
"flat-arcs-heal",
@@ -130,6 +134,7 @@
130134
"huge-lions-do",
131135
"huge-regions-live",
132136
"huge-rocks-sip",
137+
"hull-style-props",
133138
"icy-llamas-jump",
134139
"khaki-pugs-hammer",
135140
"kind-melons-invent",
@@ -238,7 +243,9 @@
238243
"thick-months-join",
239244
"thirty-glasses-pick",
240245
"three-cities-chew",
246+
"tooltip-fade-duration",
241247
"tooltip-item-highlight-fade",
248+
"tooltip-portal",
242249
"tricky-nights-mix",
243250
"tricky-pears-help",
244251
"true-waves-roll",

packages/layerchart/CHANGELOG.md

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

3+
## 2.0.0-next.54
4+
5+
### Minor Changes
6+
7+
- feat: New `GeoClipPath` component for clipping content to GeoJSON boundaries in both SVG and Canvas modes ([#449](https://github.com/techniq/layerchart/pull/449))
8+
9+
- feat(Text): Add `segments` prop for inline mixed-style text ([#449](https://github.com/techniq/layerchart/pull/449))
10+
11+
New `segments` prop accepts an array of `{ value, class }` objects to render text with different styles (font size, weight, color) inline. Works across SVG (via tspans), Canvas (via sequential measureText/fillText), and HTML layers. Useful for labels that combine a bold name with a lighter value, such as treemap headers.
12+
13+
- feat(Hull): Add CommonStyleProps (fill, fillOpacity, stroke, strokeOpacity, strokeWidth, opacity) for Canvas layer compatibility ([#449](https://github.com/techniq/layerchart/pull/449))
14+
15+
- feat(Tooltip): Add `fadeDuration` prop to control fade in/out transition ([#828](https://github.com/techniq/layerchart/pull/828))
16+
17+
The fade transition on `Tooltip.Root` is now configurable via the `fadeDuration` prop (default: `100`ms). Set to `0` to disable the fade transition entirely.
18+
19+
- feat(Tooltip): Portal tooltip to body by default to fix overflow clipping. Resolves #446 ([#828](https://github.com/techniq/layerchart/pull/828))
20+
21+
Tooltip.Root now portals to `document.body` (or `.PortalTarget`) by default using the `portal` action from `@layerstack/svelte-actions`. This prevents tooltips from being clipped by ancestor elements with `overflow: hidden`. The tooltip uses `position: fixed` with viewport-relative coordinates when portaled. Set `portal={false}` to restore the previous inline behavior. Both `contained="container"` and `contained="window"` modes continue to work correctly with portaling.
22+
23+
### Patch Changes
24+
25+
- fix(ArcLabel): Support rotation in Canvas mode ([#449](https://github.com/techniq/layerchart/pull/449))
26+
27+
Changed `centroid-rotated` and `centroid-radial` placements to pass `rotate` prop instead of SVG `transform` string to `Text`, enabling rotation in Canvas rendering.
28+
29+
- fix: Pie and Arc components now correctly use Chart's `xRange` prop for angle degrees instead of the computed viewport pixel range, and compute radius from chart dimensions instead of scale range ([#449](https://github.com/techniq/layerchart/pull/449))
30+
331
## 2.0.0-next.53
432

533
### Minor 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.0-next.53",
8+
"version": "2.0.0-next.54",
99
"scripts": {
1010
"dev": "pnpm package:watch",
1111
"package": "svelte-package",

0 commit comments

Comments
 (0)