Releases: techniq/layerchart
layerchart@0.32.0
Minor Changes
- Support NodeNext packages (#126)
Patch Changes
-
Support passing
placementprop (inside|outside) (baea5c88dec9334014d8ceefb5041d02c9d064d2) -
[Labels] Improve default fill/stroke when using
placement="inside"(8366e6905a67df8310916198ea153b87bc5e421b) -
[Text] Support tweened/spring (
d65b1cb65d4d0868a5f41e3a5103ae802711acc2) -
[Spline] Fix usage with geo visualizations (no defined data / domains) (
f6a19c051c49ad2301494bfd5c502f14c9541a6c) -
[Axis] Support tweened/spring (
c2902a2a54eb1d2c89981ff47037c9a3aaf7dd6c) -
Fix
springandtweenedtypes onBars,Bar, andRectClipPath(match underlying Rect) (81a953a2bbd629ef1c54a083d886b32bd38246da)
layerchart@0.31.2
Patch Changes
-
Update dependencies (
48d636c4030df7278499412fad0ded15c59284d0) -
Update Svelte UX (with non-eager fallback settings()) (
b80b17bdc8f1fc15ab25e352c81bc3aa50fd65a9)
layerchart@0.31.1
Patch Changes
- Add pivotLonger() and pivotWider() to top-level exports. Add
layerchart/utilsexport for additional utils (be4cfe219d61c5687e2a896ab43970f7ad6009d2)
layerchart@0.31.0
Minor Changes
- [Area/AreaStack/Spline] Simplify overwriting x/y accessors by applying xScale/yScale within components (#115)
Patch Changes
-
[AreaStack] Support passing slot for custom (enabling modifications in including fill) (#116)
-
Add Voronoi as separate component (
1aeaf0c20f80511209252de560ef0be867e129d7)
layerchart@0.30.2
layerchart@0.30.1
Patch Changes
- Update dependencies (
0a2a08d9360802fda3cffbd193a59299aae52f33)
layerchart@0.30.0
layerchart@0.27.1
LayerChart
0.27.0
Minor Changes
- [TooltipContext] Replace
on:clickevent handler withonClickprop (easier to consume when using<Chart tooltip={{ onClick(e) => { ... } }} />) (ee80654)
0.26.2
Patch Changes
- Use Symbol() instead of empty object for context keys (
c676611)
0.26.1
Patch Changes
-
Expose
geoContextas top-level export (8bef371) -
[Tooltip] Fix xOffset usage after recent refactor (
cd9d8b7)
0.26.0
Minor Changes
-
[Tooltip] Position improvements including
anchorsupport (#72)Breaking Changes
Replace TooltipContext's
snapToDataX/Ywith<Tooltip x="data" y="data" />Before:
<Chart tooltip={{ snapToDataX: true, snapToDataY: true }}> <Tooltip> ... </Tooltip> </Chart>
After:
<Chart tooltip> <Tooltip x="data" y="data"> ... </Tooltip> </Chart>
Rename
<Tooltip left={...} top={...} />to<Tooltip x={...} y={...} />Before:
<Chart tooltip> <Tooltip left={0} top={0}> ... </Tooltip> </Chart>
After:
<Chart tooltip> <Tooltip x={0} left={0}> ... </Tooltip> </Chart>
Additional
- Rename tooltipContext's
top/lefttox/y - Add
anchorprop to align based on corner/edge/center (9 points) of tooltip instead of always top-left corner. - Add more tooltip examples
- Rename tooltipContext's
-
[Labels] Remove old
formatStyleprop since Svelte UXformatnow covers all use cases (06d9bde) -
Setup as monorepo using pnpm workspace (#69)
Patch Changes
-
Expose
dataandflatDataas Chart slot props (97e812d) -
[Bars] Change named
barsslot to default. Update group/stacked transition examples to use directly and set {#each} key (7fd24a5) -
Update dependencies (#73)
0.25.1
Patch Changes
-
[Text] Fix display of
0value when number (and not string) (c1e20dc) -
[Axis] Do not replace all default classes when setting labelsProps={{ class: '...' }} (
fc9e281)
0.25.0
Minor Changes
- [Bar / Bars] Rename
paddingtoinset(006daae)
Patch Changes
-
[TooltipContext] Fix bisect-y padding adjustment (
5f078cf) -
Add Candlestick example (
665ebef) -
Update dependencies (
ca79b59) -
[Bars] Remove no longer used
getPropsandgetKey(can now useBarcomponent and slot) (5a57e63)
0.24.4
Patch Changes
-
[TooltipContext] Fix bisect-x/bisect-y pointer handling with chart left/top padding (
d69295a0) -
[Tooltip] Add
variantsupport with 'light', 'dark', and 'none' (c464874)
0.24.3
Patch Changes
-
[Spline] Fix
drawtransition when using Svelte 4 (22e5a82) -
Update Layer Chart to 8.0.2 (fix sorted ordinal regression)
-
[Preview] Add "View data" button/dialog (
f91b006)
0.24.2
Patch Changes
- Update svelte-ux to latest (with new top-level sort utils) (
e3e3ba1)
0.24.1
Patch Changes
- Update dependencies (
2079955)
0.24.0
Minor Changes
- [LinearGradient] Replace
from/towithstopsprop, which both simplifies tailwind color usage, and simplifies more complex cases (gradient encoding). Also support passing tuple values for explicit offsets (gradient threshold) (97098fd)
Patch Changes
-
[Calendar] Add month labels (
68e4694) -
Added Sparkline examples (#44)
-
[Tooltip] Support passing explicit
topand/orleftfor fixed position (4681c7f) -
[Legend] Support passing
classwithout overriding built-in classes (cbc0249) -
Add highlight on hover examples for multi-series Area and Line (
b9e4722) -
[Line] Add "gradient encoding" and "gradient threshold" examples (
b171e8e)
0.23.0
Minor Changes
- Update major dependencies, including
svelteto 4.x. Change svelte topeerDependency(ff4b907)
Patch Changes
-
Add
urlslot prop to LinearGradient, Blur, and ClipPaths to simplify usage (fa805e0) -
Add Arc color wheel example (
4b0285e) -
Add Calendar component (
8ba2b5f)
0.22.2
Patch Changes
0.22.1
Patch Changes
-
[Line] Fix initializing
y1with wrong value (3f6a661) -
[Highlight] Support setting classes on points/lines/area without overriding all default class (
77e6808)
0.22.0
Minor Changes
-
Add
initial*values to all primative components' (Arc, Rect, Group, Line, Rect) tweened properties (x, y, width, height, value, etc) which enables initial mount transitions (see added examples). (6f8cfb0) -
Remove
ConnectedPointscomponent and replace withlinksprop on<Points>(f514bb6) -
Highlight overhaul (
d9dd4bf)- Consolidate HighlightLine and HighlightRect
- Support enabling
points,lines, andareaindividually - Support passing props to underlying Line, Circle, and Rect
- Support overriding with slots
- Remove
colorprop
Patch Changes
-
[motionStore] Fix resolving per-property options (do not enable tweened height with default options if only height is enabled) (
b930ef7) -
[LinearGradient] Generate
idby default and change default slot to render contexts withidpassed (like ClipPath) (476f03a) -
[HighlightRect] Fix usage with scaleBand yScale's without breaking histogram usage (
53a1fff) -
[LinearGradient] Add
unitsprop to support defining coordinate system for attributes (5e58b98)
0.21.1
Patch Changes
- Fix TooltipContext
mode="bounds"with array of points (ex. duration) (80f3e56)
0.21.0
Minor Changes
- Remove color prop from
Bars,Points,Pie, andLink. UserScaleorfill,stroke, orclassprop to define (13b7688)
0.20.2
Patch Cha...
layerchart@0.27.0
Minor Changes
- [TooltipContext] Replace
on:clickevent handler withonClickprop (easier to consume when using<Chart tooltip={{ onClick(e) => { ... } }} />) (ee80654)
layerchart@0.26.2
Patch Changes
- Use Symbol() instead of empty object for context keys (
c676611)