layerchart@0.71.3
Patch Changes
- fix(Tooltip): Only attempt repositiong if not fixed (ie.
pointer/data) (7461788)
pointer/data) (7461788){...$restProps} which also caused default classes to be overridden (ex. fill-none) (487357a)contained="window" to keep tooltip within window/viewport (along with container and false) (e00528a)classes properties for rule, tick, and tickLabel for convenient styling ([5433da5`](https://github.com/techniq/layerchart/commit/5433da5a0e206fd7b7de2b100813de325ac71668))Date) when using seperate series data (a75f612)9c4a07a)feat: Improve Canvas implementation with render registration system including synchronized invalidation / redrawing (#295)
feat: Support Canvas context for most primatives (Arc, Area, Circle, Group, Line, LinearGradient, Rect, Spline, and Text). Also updates components using these primatives (Axis, Bar, Grid, Rule, and more) (#295)
feat: Update all simplified charts to support renderContext prop to switch between Svg (default) and Canvas (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) (#295)
feat: Add renderPathData() canvas util to simplify rendering SVG path data onto canvas context with CSS variable and class support (#295)
feat: Add renderRect() canvas util to simplify rendering rectangles onto canvas context with CSS variable and class support (#295)
feat: Add renderText() canvas util to simplify rendering text onto canvas context with CSS variable and class support (#295)
feat: Add ComputedStyles component to easily resolve classes / CSS variable values (useful when working with ) (#295)
feat(Canvas): Support center prop (similar to Svg) to translate children to center (useful for radial layouts) (#295)
breaking(LinearGradient|RadialGradient): Rename url slot prop to gradient. Improves name, especially within canvas context (#295)
breaking(GeoPath): Simplify render prop use case by leveraging renderPathData() (ex. HitCanvas) (#295)
breaking: Reduce likihood of clipping for Canvas-rendered simplified charts by increasing default padding (and add top)) (#295)
posthog-js from dependencies (only devDependencies for docs) (0d72288)