Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #308

Merged
merged 5 commits into from
Jan 12, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update CHANGELOG.md
techniq authored Jan 12, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 6ffd13a04bd7626891be7d073b45866c67e93ee5
22 changes: 11 additions & 11 deletions packages/layerchart/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,30 +4,32 @@

### Minor Changes

- feat: Improve Canvas implementation with registering render functions and common invalidation to synchronize redrawing ([#295](https://github.com/techniq/layerchart/pull/295))
- feat: Improve Canvas implementation with render registration system including synchronized invalidation / redrawing ([#295](https://github.com/techniq/layerchart/pull/295))

- feat: Support Canvas context for most primatives (Arc, Area, Circle, Group, Line, LinearGradient, Rect, Spline, and Text). Also updates components using primatives (Axis, Bar, Grid, Rule, and more) ([#295](https://github.com/techniq/layerchart/pull/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](https://github.com/techniq/layerchart/pull/295))

- feat: Update all simplified charts to support `renderContext` prop to switch between Svg (default) and Canvas (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) ([#295](https://github.com/techniq/layerchart/pull/295))

- feat(Canvas): Support `center` prop (similar to `Svg`) to translate children to center (useful for radial layouts) ([#295](https://github.com/techniq/layerchart/pull/295))
- feat: Add `renderPathData()` canvas util to simplify rendering SVG path data onto canvas context with CSS variable and class support ([#295](https://github.com/techniq/layerchart/pull/295))

- feat: Add `renderRect()` canvas util to simplify rendering rectangles onto canvas context with CSS variable and class support ([#295](https://github.com/techniq/layerchart/pull/295))

- feat: Add `renderText()` canvas util to simplify rendering text onto canvas context with CSS variable and class support ([#295](https://github.com/techniq/layerchart/pull/295))

- feat: Add `ComputedStyles` component to easily resolve classes / CSS variable values (useful when working with <canvas>) ([#295](https://github.com/techniq/layerchart/pull/295))

- feat(Canvas): Support `center` prop (similar to `Svg`) to translate children to center (useful for radial layouts) ([#295](https://github.com/techniq/layerchart/pull/295))

- breaking(LinearGradient|RadialGradient): Rename `url` slot prop to `gradient`. Improves name, especially within canvas context ([#295](https://github.com/techniq/layerchart/pull/295))

- breaking(GeoPath): Simplify render prop use case by leveraging renderPathData() (ex. HitCanvas) ([#295](https://github.com/techniq/layerchart/pull/295))

- breaking: Reduce likihood of clipping for Canvas-rendered simplified charts by increasing default padding (and add top)) ([#295](https://github.com/techniq/layerchart/pull/295))

### Patch Changes

- fix(Canvas): Support multiple children (fix infinite loops, coordinating redraws, etc). Resolves issue #158 ([#295](https://github.com/techniq/layerchart/pull/295))

- feat: Add `renderPathData()` canvas util to simplify rendering SVG path data onto canvas context with CSS variable and class support ([#295](https://github.com/techniq/layerchart/pull/295))

- feat: Add `renderRect()` canvas util to simplify rendering rectangles onto canvas context with CSS variable and class support ([#295](https://github.com/techniq/layerchart/pull/295))

- feat: Add `renderText()` canvas util to simplify rendering text onto canvas context with CSS variable and class support ([#295](https://github.com/techniq/layerchart/pull/295))

- feat: Add `scaleCanvas` util ([#295](https://github.com/techniq/layerchart/pull/295))

- feat: Add `spikePath()` util ([#295](https://github.com/techniq/layerchart/pull/295))
@@ -36,8 +38,6 @@

- fix(circlePath): Correctly handle sweep argument ([#295](https://github.com/techniq/layerchart/pull/295))

- breaking: Reduce likihood of clipping for Canvas-rendered simplified charts by increasing default padding (and add top)) ([#295](https://github.com/techniq/layerchart/pull/295))

## 0.60.3

### Patch Changes