From d3771f1f9ee0b057a768951911130be6a8ce4265 Mon Sep 17 00:00:00 2001 From: xiaoiver Date: Mon, 6 Nov 2023 15:50:39 +0800 Subject: [PATCH] Release (#1582) * fix: avoid generating redundant dom structure for document element #1578 (#1580) * chore: commit changeset * chore(release): bump version (#1581) Co-authored-by: github-actions[bot] --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] --- packages/g-mobile-svg/CHANGELOG.md | 8 ++++++++ packages/g-mobile-svg/package.json | 2 +- packages/g-plugin-rough-svg-renderer/CHANGELOG.md | 6 ++++++ packages/g-plugin-rough-svg-renderer/package.json | 2 +- packages/g-plugin-svg-picker/CHANGELOG.md | 7 +++++++ packages/g-plugin-svg-picker/package.json | 2 +- packages/g-plugin-svg-renderer/CHANGELOG.md | 6 ++++++ packages/g-plugin-svg-renderer/package.json | 2 +- packages/g-plugin-svg-renderer/src/SVGRendererPlugin.ts | 5 +++-- packages/g-plugin-zdog-svg-renderer/CHANGELOG.md | 8 ++++++++ packages/g-plugin-zdog-svg-renderer/package.json | 2 +- packages/g-svg/CHANGELOG.md | 8 ++++++++ packages/g-svg/package.json | 2 +- 13 files changed, 52 insertions(+), 8 deletions(-) diff --git a/packages/g-mobile-svg/CHANGELOG.md b/packages/g-mobile-svg/CHANGELOG.md index f25253ea2..ee91be94e 100644 --- a/packages/g-mobile-svg/CHANGELOG.md +++ b/packages/g-mobile-svg/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-mobile-svg +## 0.10.22 + +### Patch Changes + +- Updated dependencies [6ce927fa] + - @antv/g-plugin-svg-renderer@1.10.21 + - @antv/g-plugin-svg-picker@1.9.21 + ## 0.10.21 ### Patch Changes diff --git a/packages/g-mobile-svg/package.json b/packages/g-mobile-svg/package.json index 5d15307f2..d6ad5af3a 100644 --- a/packages/g-mobile-svg/package.json +++ b/packages/g-mobile-svg/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-mobile-svg", - "version": "0.10.21", + "version": "0.10.22", "description": "A renderer implemented by SVG in mobile environment", "keywords": [ "antv", diff --git a/packages/g-plugin-rough-svg-renderer/CHANGELOG.md b/packages/g-plugin-rough-svg-renderer/CHANGELOG.md index 0079afbd4..cd9637f2e 100644 --- a/packages/g-plugin-rough-svg-renderer/CHANGELOG.md +++ b/packages/g-plugin-rough-svg-renderer/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/g-plugin-rough-svg-renderer +## 1.9.22 + +### Patch Changes + +- @antv/g-svg@1.10.21 + ## 1.9.21 ### Patch Changes diff --git a/packages/g-plugin-rough-svg-renderer/package.json b/packages/g-plugin-rough-svg-renderer/package.json index ea8dfcceb..3d929014c 100644 --- a/packages/g-plugin-rough-svg-renderer/package.json +++ b/packages/g-plugin-rough-svg-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-rough-svg-renderer", - "version": "1.9.21", + "version": "1.9.22", "description": "A G plugin of renderer implementation with rough.js", "keywords": [ "antv", diff --git a/packages/g-plugin-svg-picker/CHANGELOG.md b/packages/g-plugin-svg-picker/CHANGELOG.md index 24af3a8d5..4f2659ed2 100644 --- a/packages/g-plugin-svg-picker/CHANGELOG.md +++ b/packages/g-plugin-svg-picker/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-svg-picker +## 1.9.21 + +### Patch Changes + +- Updated dependencies [6ce927fa] + - @antv/g-plugin-svg-renderer@1.10.21 + ## 1.9.20 ### Patch Changes diff --git a/packages/g-plugin-svg-picker/package.json b/packages/g-plugin-svg-picker/package.json index 6655e47a6..01e1b02a6 100644 --- a/packages/g-plugin-svg-picker/package.json +++ b/packages/g-plugin-svg-picker/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-svg-picker", - "version": "1.9.20", + "version": "1.9.21", "description": "A G plugin for picking in SVG", "keywords": [ "antv", diff --git a/packages/g-plugin-svg-renderer/CHANGELOG.md b/packages/g-plugin-svg-renderer/CHANGELOG.md index 86ea8c5ea..8420e1de6 100644 --- a/packages/g-plugin-svg-renderer/CHANGELOG.md +++ b/packages/g-plugin-svg-renderer/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/g-plugin-svg-renderer +## 1.10.21 + +### Patch Changes + +- 6ce927fa: Avoid generating redundant dom structure for document element. + ## 1.10.20 ### Patch Changes diff --git a/packages/g-plugin-svg-renderer/package.json b/packages/g-plugin-svg-renderer/package.json index 947e8c2ff..4465a8555 100644 --- a/packages/g-plugin-svg-renderer/package.json +++ b/packages/g-plugin-svg-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-svg-renderer", - "version": "1.10.20", + "version": "1.10.21", "description": "A G plugin of renderer implementation with SVG", "keywords": [ "antv", diff --git a/packages/g-plugin-svg-renderer/src/SVGRendererPlugin.ts b/packages/g-plugin-svg-renderer/src/SVGRendererPlugin.ts index 892a54be2..67b7a7ea0 100644 --- a/packages/g-plugin-svg-renderer/src/SVGRendererPlugin.ts +++ b/packages/g-plugin-svg-renderer/src/SVGRendererPlugin.ts @@ -703,8 +703,9 @@ export class SVGRendererPlugin implements RenderingPlugin { ) { const svgElement = (object as any).elementSVG as ElementSVG; let $hitTestingEl = svgElement.$hitTestingEl; - const increasedLineWidthForHitTesting = - object.parsedStyle.increasedLineWidthForHitTesting; + const increasedLineWidthForHitTesting = Number( + object.parsedStyle.increasedLineWidthForHitTesting, + ); // account for hitArea if (increasedLineWidthForHitTesting) { diff --git a/packages/g-plugin-zdog-svg-renderer/CHANGELOG.md b/packages/g-plugin-zdog-svg-renderer/CHANGELOG.md index 4f7b08ad8..fe54e6aa0 100644 --- a/packages/g-plugin-zdog-svg-renderer/CHANGELOG.md +++ b/packages/g-plugin-zdog-svg-renderer/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-zdog-svg-renderer +## 1.2.22 + +### Patch Changes + +- Updated dependencies [6ce927fa] + - @antv/g-plugin-svg-renderer@1.10.21 + - @antv/g-svg@1.10.21 + ## 1.2.21 ### Patch Changes diff --git a/packages/g-plugin-zdog-svg-renderer/package.json b/packages/g-plugin-zdog-svg-renderer/package.json index 68cf1cdb2..fb28a58d7 100644 --- a/packages/g-plugin-zdog-svg-renderer/package.json +++ b/packages/g-plugin-zdog-svg-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-zdog-svg-renderer", - "version": "1.2.21", + "version": "1.2.22", "description": "A G plugin of renderer implementation with Zdog", "keywords": [ "antv", diff --git a/packages/g-svg/CHANGELOG.md b/packages/g-svg/CHANGELOG.md index b98783734..2d42ef348 100644 --- a/packages/g-svg/CHANGELOG.md +++ b/packages/g-svg/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-svg +## 1.10.21 + +### Patch Changes + +- Updated dependencies [6ce927fa] + - @antv/g-plugin-svg-renderer@1.10.21 + - @antv/g-plugin-svg-picker@1.9.21 + ## 1.10.20 ### Patch Changes diff --git a/packages/g-svg/package.json b/packages/g-svg/package.json index aa72e5552..2dd3f89fd 100644 --- a/packages/g-svg/package.json +++ b/packages/g-svg/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-svg", - "version": "1.10.20", + "version": "1.10.21", "description": "A renderer implemented by SVG", "keywords": [ "antv",