From 4f73a806f9d3c5c33e9f1bab93c8e97784016030 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 12 Jan 2025 17:44:12 +0000 Subject: [PATCH] Version Packages --- .changeset/bright-buses-buy.md | 5 ---- .changeset/chilly-jeans-film.md | 5 ---- .changeset/chilly-moles-wave.md | 5 ---- .changeset/cold-penguins-jump.md | 5 ---- .changeset/dry-dodos-build.md | 5 ---- .changeset/dry-masks-suffer.md | 5 ---- .changeset/dry-singers-travel.md | 5 ---- .changeset/early-keys-think.md | 5 ---- .changeset/gentle-months-rest.md | 5 ---- .changeset/ninety-numbers-fail.md | 5 ---- .changeset/orange-parrots-arrive.md | 5 ---- .changeset/popular-stingrays-change.md | 5 ---- .changeset/pretty-bears-report.md | 5 ---- .changeset/shaggy-rocks-tan.md | 5 ---- .changeset/warm-cars-attack.md | 5 ---- .changeset/wicked-mirrors-sleep.md | 5 ---- packages/layerchart/CHANGELOG.md | 38 ++++++++++++++++++++++++++ packages/layerchart/package.json | 2 +- 18 files changed, 39 insertions(+), 81 deletions(-) delete mode 100644 .changeset/bright-buses-buy.md delete mode 100644 .changeset/chilly-jeans-film.md delete mode 100644 .changeset/chilly-moles-wave.md delete mode 100644 .changeset/cold-penguins-jump.md delete mode 100644 .changeset/dry-dodos-build.md delete mode 100644 .changeset/dry-masks-suffer.md delete mode 100644 .changeset/dry-singers-travel.md delete mode 100644 .changeset/early-keys-think.md delete mode 100644 .changeset/gentle-months-rest.md delete mode 100644 .changeset/ninety-numbers-fail.md delete mode 100644 .changeset/orange-parrots-arrive.md delete mode 100644 .changeset/popular-stingrays-change.md delete mode 100644 .changeset/pretty-bears-report.md delete mode 100644 .changeset/shaggy-rocks-tan.md delete mode 100644 .changeset/warm-cars-attack.md delete mode 100644 .changeset/wicked-mirrors-sleep.md diff --git a/.changeset/bright-buses-buy.md b/.changeset/bright-buses-buy.md deleted file mode 100644 index 650013953..000000000 --- a/.changeset/bright-buses-buy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -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) diff --git a/.changeset/chilly-jeans-film.md b/.changeset/chilly-jeans-film.md deleted file mode 100644 index e23109128..000000000 --- a/.changeset/chilly-jeans-film.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -Add `spikePath()` util diff --git a/.changeset/chilly-moles-wave.md b/.changeset/chilly-moles-wave.md deleted file mode 100644 index 284fdec8d..000000000 --- a/.changeset/chilly-moles-wave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(circlePath): Correctly handle sweep argument diff --git a/.changeset/cold-penguins-jump.md b/.changeset/cold-penguins-jump.md deleted file mode 100644 index cd60cd2e2..000000000 --- a/.changeset/cold-penguins-jump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat: Update all simplified charts to support `renderContext` prop to switch between Svg (default) and Canvas (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) diff --git a/.changeset/dry-dodos-build.md b/.changeset/dry-dodos-build.md deleted file mode 100644 index 31e5d8f75..000000000 --- a/.changeset/dry-dodos-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat(Canvas): Support `center` prop (similar to `Svg`) to translate children to center (useful for radial layouts) diff --git a/.changeset/dry-masks-suffer.md b/.changeset/dry-masks-suffer.md deleted file mode 100644 index 9cca5abd3..000000000 --- a/.changeset/dry-masks-suffer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -feat: Add new `renderPathData()` canvas util to simplify rendering SVG path data onto canvas context with CSS variable and class support diff --git a/.changeset/dry-singers-travel.md b/.changeset/dry-singers-travel.md deleted file mode 100644 index 7ac5505b7..000000000 --- a/.changeset/dry-singers-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -feat: Add new `renderRect()` canvas util to simplify rendering rectangles onto canvas context with CSS variable and class support diff --git a/.changeset/early-keys-think.md b/.changeset/early-keys-think.md deleted file mode 100644 index 6e0d66ffb..000000000 --- a/.changeset/early-keys-think.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -breaking(LinearGradient|RadialGradient): Rename `url` slot prop to `gradient`. Improves name, especially within canvas context diff --git a/.changeset/gentle-months-rest.md b/.changeset/gentle-months-rest.md deleted file mode 100644 index fa9e68f91..000000000 --- a/.changeset/gentle-months-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix: Reduce likihood of clipping for Canvas-rendered simplified charts by increasing default padding (and add top)) diff --git a/.changeset/ninety-numbers-fail.md b/.changeset/ninety-numbers-fail.md deleted file mode 100644 index e511fb1ee..000000000 --- a/.changeset/ninety-numbers-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -fix(Canvas): Support multiple children (fix infinite loops, coordinating redraws, etc). Resolves issue #158 diff --git a/.changeset/orange-parrots-arrive.md b/.changeset/orange-parrots-arrive.md deleted file mode 100644 index 085733e0c..000000000 --- a/.changeset/orange-parrots-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -feat: Add new `renderText()` canvas util to simplify rendering text onto canvas context with CSS variable and class support diff --git a/.changeset/popular-stingrays-change.md b/.changeset/popular-stingrays-change.md deleted file mode 100644 index 3528218b5..000000000 --- a/.changeset/popular-stingrays-change.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat: Improve Canvas implementation with registering render functions and common invalidation to synchronize redrawing diff --git a/.changeset/pretty-bears-report.md b/.changeset/pretty-bears-report.md deleted file mode 100644 index b30cca348..000000000 --- a/.changeset/pretty-bears-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -feat: Add `scaleCanvas` util diff --git a/.changeset/shaggy-rocks-tan.md b/.changeset/shaggy-rocks-tan.md deleted file mode 100644 index 891b504d9..000000000 --- a/.changeset/shaggy-rocks-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': patch ---- - -Add `clearCanvasContext()` util diff --git a/.changeset/warm-cars-attack.md b/.changeset/warm-cars-attack.md deleted file mode 100644 index 0d16563c4..000000000 --- a/.changeset/warm-cars-attack.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -feat: Add `ComputedStyles` component to easily resolve classes / CSS variable values (useful when working with ) diff --git a/.changeset/wicked-mirrors-sleep.md b/.changeset/wicked-mirrors-sleep.md deleted file mode 100644 index 7c0f699a3..000000000 --- a/.changeset/wicked-mirrors-sleep.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'layerchart': minor ---- - -breaking(GeoPath): Simplify render prop use case by leveraging renderPathData() (ex. HitCanvas) diff --git a/packages/layerchart/CHANGELOG.md b/packages/layerchart/CHANGELOG.md index 749e5083f..db4782ac0 100644 --- a/packages/layerchart/CHANGELOG.md +++ b/packages/layerchart/CHANGELOG.md @@ -1,5 +1,43 @@ # LayerChart +## 0.61.0 + +### Minor Changes + +- 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: 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)) + +- breaking(LinearGradient|RadialGradient): Rename `url` slot prop to `gradient`. Improves name, especially within canvas context ([#295](https://github.com/techniq/layerchart/pull/295)) + +- feat: Improve Canvas implementation with registering render functions and common invalidation to synchronize redrawing ([#295](https://github.com/techniq/layerchart/pull/295)) + +- feat: Add `ComputedStyles` component to easily resolve classes / CSS variable values (useful when working with ) ([#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)) + +### Patch Changes + +- Add `spikePath()` util ([#295](https://github.com/techniq/layerchart/pull/295)) + +- fix(circlePath): Correctly handle sweep argument ([#295](https://github.com/techniq/layerchart/pull/295)) + +- feat: Add new `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 new `renderRect()` canvas util to simplify rendering rectangles onto canvas context with CSS variable and class support ([#295](https://github.com/techniq/layerchart/pull/295)) + +- fix: Reduce likihood of clipping for Canvas-rendered simplified charts by increasing default padding (and add top)) ([#295](https://github.com/techniq/layerchart/pull/295)) + +- fix(Canvas): Support multiple children (fix infinite loops, coordinating redraws, etc). Resolves issue #158 ([#295](https://github.com/techniq/layerchart/pull/295)) + +- feat: Add new `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)) + +- Add `clearCanvasContext()` util ([#295](https://github.com/techniq/layerchart/pull/295)) + ## 0.60.3 ### Patch Changes diff --git a/packages/layerchart/package.json b/packages/layerchart/package.json index 7d0e8dda5..9b1855afd 100644 --- a/packages/layerchart/package.json +++ b/packages/layerchart/package.json @@ -4,7 +4,7 @@ "author": "Sean Lynch ", "license": "MIT", "repository": "techniq/layerchart", - "version": "0.60.3", + "version": "0.61.0", "scripts": { "dev": "vite dev", "build": "vite build",