layerchart@0.93.3
Patch Changes
- fix(Highlight): Pass all
barprops to underlyingBar(aligning withlinesandpoints) (2a153ea)
bar props to underlying Bar (aligning with lines and points) (2a153ea)pointerdown event (allowing e.stopPropagation()) (579d771)fix(AreaChart|LineChart): Only define onpointerclick on Highlight if provided to chart (coordinate with recent Highlight change) (81ddcbe)
fix: Add BrushContext to top-level exports (useful for types) (5005c18)
fix(Highlight): Do not propagate pointerdown event to BrushContext if onclick is provided (0c35ba9)
feat(Circle): Add onpointerevent event callback (0ecb9e3)
ticks as d3-time interval (ex. timeDay.every(3)) (57dfdcb)MouseEvent as first argument to onclick (match other event callbacks) (180d77a)1d5ad26)feat(Canvas): Integrate hit canvas with component registration system for simplified pointer events (#354)
breaking: Remove all usage of createEventDispatcher with on{event} callbacks. Aligns with Svelte 5 recommendation and unlocks canvas integration (#354)
breaking: Lowercase all event names (onTooltipClick => ontooltipclick) for consistency with native events (preparing for Svelte 5) (#354)
feat(Frame): Support Canvas render context (#354)
feat(Link): Support Canvas render context (#354)
feat(Voronoi): Support Canvas render context (#354)
feat: Add debug prop to all simplfied charts to enable tooltip and renderContext debug mode (#354)
feat(GeoPoint): Pass x / y as slot props (#354)
feat(Rect): Support binding to underlying svg <rect> using element prop (#354)
breaking: Remove HitCanvas (integrated into Canvas) (#354)
breaking: Remove render prop from GeoPath, GeoPoint, and Points. No longer useful now that Canvas integrates functionality (#354)
fix(PieChart): Fix tooltips when using renderContext="canvas" (#354)
fix(AreaChart|LineChart|Highlight): Support canvas pointer events, enabling series highlighting and click events when using `renderContext="canvas" (#354)
fix(Canvas): Improve animation performance by only rendering hit canvas when <canvas> has active pointer over element (#354)
interface $Props extends ... with other simplified charts to fix odd type issue (a7133b4)