From 910c58e9bcba48cfa7bb0585064d27d3ae0bff4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=A6=82=E6=80=80=E5=BF=B5=EF=BC=88=E4=BA=91?= =?UTF-8?q?=E8=B0=8C=EF=BC=89?= Date: Fri, 30 Aug 2024 18:00:12 +0800 Subject: [PATCH] Release (#1765) * chore: add preview demo npm script * fix: `path` elements are drawn incorrectly (#1761) * fix: `path` elements are drawn incorrectly after using `markerStartOffset` (#1760) * chore: revert package.json * fix: html element's `getBounds` logic exception (#1743) (#1764) * Version Packages (#1762) 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] --- demo/{index.html => 2d-shape.html} | 0 .../issue-1743.html} | 29 ++++-- demo/issues/issue-1760.html | 92 +++++++++++++++++++ package.json | 7 +- packages/g-camera-api/CHANGELOG.md | 7 ++ packages/g-camera-api/package.json | 2 +- packages/g-canvas/CHANGELOG.md | 14 +++ packages/g-canvas/package.json | 2 +- packages/g-canvaskit/CHANGELOG.md | 14 +++ packages/g-canvaskit/package.json | 2 +- packages/g-components/CHANGELOG.md | 7 ++ packages/g-components/package.json | 2 +- .../g-dom-mutation-observer-api/CHANGELOG.md | 7 ++ .../g-dom-mutation-observer-api/package.json | 2 +- packages/g-gesture/CHANGELOG.md | 7 ++ packages/g-gesture/package.json | 2 +- packages/g-image-exporter/CHANGELOG.md | 7 ++ packages/g-image-exporter/package.json | 2 +- packages/g-lite/CHANGELOG.md | 6 ++ packages/g-lite/package.json | 2 +- packages/g-lite/src/display-objects/HTML.ts | 60 ++++++------ packages/g-lite/src/global-runtime.ts | 3 +- .../g-lite/src/services/aabb/HTMLUpdater.ts | 15 +++ packages/g-lite/src/services/aabb/index.ts | 1 + packages/g-lottie-player/CHANGELOG.md | 7 ++ packages/g-lottie-player/package.json | 2 +- packages/g-mobile-canvas-element/CHANGELOG.md | 7 ++ packages/g-mobile-canvas-element/package.json | 2 +- packages/g-mobile-canvas/CHANGELOG.md | 15 +++ packages/g-mobile-canvas/package.json | 2 +- packages/g-mobile-svg/CHANGELOG.md | 12 +++ packages/g-mobile-svg/package.json | 2 +- packages/g-mobile-webgl/CHANGELOG.md | 13 +++ packages/g-mobile-webgl/package.json | 2 +- packages/g-pattern/CHANGELOG.md | 7 ++ packages/g-pattern/package.json | 2 +- packages/g-plugin-3d/CHANGELOG.md | 8 ++ packages/g-plugin-3d/package.json | 2 +- packages/g-plugin-a11y/CHANGELOG.md | 7 ++ packages/g-plugin-a11y/package.json | 2 +- packages/g-plugin-annotation/CHANGELOG.md | 7 ++ packages/g-plugin-annotation/package.json | 2 +- packages/g-plugin-box2d/CHANGELOG.md | 7 ++ packages/g-plugin-box2d/package.json | 2 +- .../CHANGELOG.md | 8 ++ .../package.json | 2 +- .../src/paths/Path.ts | 1 - packages/g-plugin-canvas-picker/CHANGELOG.md | 10 ++ packages/g-plugin-canvas-picker/package.json | 2 +- .../g-plugin-canvas-renderer/CHANGELOG.md | 10 ++ .../g-plugin-canvas-renderer/package.json | 2 +- .../g-plugin-canvaskit-renderer/CHANGELOG.md | 8 ++ .../g-plugin-canvaskit-renderer/package.json | 2 +- packages/g-plugin-control/CHANGELOG.md | 7 ++ packages/g-plugin-control/package.json | 2 +- packages/g-plugin-css-select/CHANGELOG.md | 7 ++ packages/g-plugin-css-select/package.json | 2 +- .../g-plugin-device-renderer/CHANGELOG.md | 8 ++ .../g-plugin-device-renderer/package.json | 2 +- .../g-plugin-dom-interaction/CHANGELOG.md | 7 ++ .../g-plugin-dom-interaction/package.json | 2 +- packages/g-plugin-dragndrop/CHANGELOG.md | 7 ++ packages/g-plugin-dragndrop/package.json | 2 +- packages/g-plugin-gesture/CHANGELOG.md | 7 ++ packages/g-plugin-gesture/package.json | 2 +- packages/g-plugin-html-renderer/CHANGELOG.md | 8 ++ packages/g-plugin-html-renderer/package.json | 2 +- .../src/HTMLRenderingPlugin.ts | 25 +++-- packages/g-plugin-image-loader/CHANGELOG.md | 7 ++ packages/g-plugin-image-loader/package.json | 2 +- packages/g-plugin-matterjs/CHANGELOG.md | 7 ++ packages/g-plugin-matterjs/package.json | 2 +- .../g-plugin-mobile-interaction/CHANGELOG.md | 7 ++ .../g-plugin-mobile-interaction/package.json | 2 +- packages/g-plugin-physx/CHANGELOG.md | 7 ++ packages/g-plugin-physx/package.json | 2 +- .../CHANGELOG.md | 8 ++ .../package.json | 2 +- .../g-plugin-rough-svg-renderer/CHANGELOG.md | 8 ++ .../g-plugin-rough-svg-renderer/package.json | 2 +- packages/g-plugin-svg-picker/CHANGELOG.md | 8 ++ packages/g-plugin-svg-picker/package.json | 2 +- packages/g-plugin-svg-renderer/CHANGELOG.md | 7 ++ packages/g-plugin-svg-renderer/package.json | 2 +- packages/g-plugin-yoga/CHANGELOG.md | 7 ++ packages/g-plugin-yoga/package.json | 2 +- .../CHANGELOG.md | 8 ++ .../package.json | 2 +- .../g-plugin-zdog-svg-renderer/CHANGELOG.md | 9 ++ .../g-plugin-zdog-svg-renderer/package.json | 2 +- packages/g-svg/CHANGELOG.md | 10 ++ packages/g-svg/package.json | 2 +- packages/g-web-animations-api/CHANGELOG.md | 7 ++ packages/g-web-animations-api/package.json | 2 +- packages/g-web-components/CHANGELOG.md | 9 ++ packages/g-web-components/package.json | 2 +- packages/g-webgl/CHANGELOG.md | 11 +++ packages/g-webgl/package.json | 2 +- packages/g-webgpu/CHANGELOG.md | 11 +++ packages/g-webgpu/package.json | 2 +- packages/g/CHANGELOG.md | 10 ++ packages/g/package.json | 2 +- packages/react-g/CHANGELOG.md | 6 ++ packages/react-g/package.json | 2 +- 104 files changed, 618 insertions(+), 102 deletions(-) rename demo/{index.html => 2d-shape.html} (100%) rename demo/{camera+html.html => issues/issue-1743.html} (79%) create mode 100644 demo/issues/issue-1760.html create mode 100644 packages/g-lite/src/services/aabb/HTMLUpdater.ts diff --git a/demo/index.html b/demo/2d-shape.html similarity index 100% rename from demo/index.html rename to demo/2d-shape.html diff --git a/demo/camera+html.html b/demo/issues/issue-1743.html similarity index 79% rename from demo/camera+html.html rename to demo/issues/issue-1743.html index 87182a935..36cadb517 100644 --- a/demo/camera+html.html +++ b/demo/issues/issue-1743.html @@ -14,12 +14,15 @@ padding: 0; } - html, body { height: 100vh; + padding: 111px 0 0 111px; + /* padding: 100px 0 0 100px; */ } #container { + /* border: 1px solid #ddd; */ + background-color: #ddd; width: 100%; height: 100%; } @@ -29,16 +32,14 @@
- - + + + + + diff --git a/package.json b/package.json index ccb615414..b90d300e5 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "author": "xiaoiver", "scripts": { "dev": "vite", + "demo": "http-server -c-1 -o ./demo/", "build": "pnpm -r --sequential --if-present run build", "bundle-viz": "cross-env BUNDLE_VIS=1 PACKAGE=g npm run build", "contributor": "git-contributor", @@ -73,13 +74,13 @@ "husky": "^7.0.4", "is-ci": "2.0.0", "jest": "^29.7.0", - "jest-environment-node": "^29.7.0", "jest-environment-jsdom": "^29.7.0", + "jest-environment-node": "^29.7.0", "jest-matcher-deep-close-to": "^3.0.2", "jsdom": "^19.0.0", + "lil-gui": "^0.16.0", "limit-size": "^0.1.4", "lint-staged": "^10.5.4", - "lil-gui": "^0.16.0", "markdownlint-cli": "^0.32.2", "npm-run-all": "^4.1.5", "pixelmatch": "^5.3.0", @@ -91,8 +92,8 @@ "rollup": "^3.29.4", "rollup-plugin-polyfill-node": "^0.8.0", "rollup-plugin-visualizer": "^5.9.2", - "sinon": "^11.1.2", "simplex-noise": "^3.0.0", + "sinon": "^11.1.2", "ts-jest": "^29.1.1", "typescript": "^5.3.2", "vite": "^3.2.7", diff --git a/packages/g-camera-api/CHANGELOG.md b/packages/g-camera-api/CHANGELOG.md index 3fc988ac1..9f0081ccf 100644 --- a/packages/g-camera-api/CHANGELOG.md +++ b/packages/g-camera-api/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-camera-api +## 2.0.12 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.11 ### Patch Changes diff --git a/packages/g-camera-api/package.json b/packages/g-camera-api/package.json index c29c5cf59..72ad19520 100644 --- a/packages/g-camera-api/package.json +++ b/packages/g-camera-api/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-camera-api", - "version": "2.0.11", + "version": "2.0.12", "description": "A simple implementation of Camera API.", "keywords": [ "antv", diff --git a/packages/g-canvas/CHANGELOG.md b/packages/g-canvas/CHANGELOG.md index 00cf03806..797ee05fa 100644 --- a/packages/g-canvas/CHANGELOG.md +++ b/packages/g-canvas/CHANGELOG.md @@ -1,5 +1,19 @@ # @antv/g-canvas +## 2.0.12 + +### Patch Changes + +- Updated dependencies [fcd04674] +- Updated dependencies [5e4a1d69] + - @antv/g-plugin-html-renderer@2.0.11 + - @antv/g-lite@2.0.9 + - @antv/g-plugin-canvas-path-generator@2.0.9 + - @antv/g-plugin-canvas-picker@2.0.10 + - @antv/g-plugin-canvas-renderer@2.0.10 + - @antv/g-plugin-dom-interaction@2.0.9 + - @antv/g-plugin-image-loader@2.0.9 + ## 2.0.11 ### Patch Changes diff --git a/packages/g-canvas/package.json b/packages/g-canvas/package.json index d4ea3ab89..69e0b034a 100644 --- a/packages/g-canvas/package.json +++ b/packages/g-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-canvas", - "version": "2.0.11", + "version": "2.0.12", "description": "A renderer implemented by Canvas 2D API", "keywords": [ "antv", diff --git a/packages/g-canvaskit/CHANGELOG.md b/packages/g-canvaskit/CHANGELOG.md index 869031181..891b08d56 100644 --- a/packages/g-canvaskit/CHANGELOG.md +++ b/packages/g-canvaskit/CHANGELOG.md @@ -1,5 +1,19 @@ # @antv/g-canvaskit +## 1.0.12 + +### Patch Changes + +- Updated dependencies [fcd04674] +- Updated dependencies [5e4a1d69] + - @antv/g-plugin-html-renderer@2.0.11 + - @antv/g-lite@2.0.9 + - @antv/g-plugin-canvas-path-generator@2.0.9 + - @antv/g-plugin-canvas-picker@2.0.10 + - @antv/g-plugin-canvaskit-renderer@2.0.10 + - @antv/g-plugin-dom-interaction@2.0.9 + - @antv/g-plugin-image-loader@2.0.9 + ## 1.0.11 ### Patch Changes diff --git a/packages/g-canvaskit/package.json b/packages/g-canvaskit/package.json index f310ac311..e9fb73936 100644 --- a/packages/g-canvaskit/package.json +++ b/packages/g-canvaskit/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-canvaskit", - "version": "1.0.11", + "version": "1.0.12", "description": "A renderer implemented by CanvasKit", "keywords": [ "antv", diff --git a/packages/g-components/CHANGELOG.md b/packages/g-components/CHANGELOG.md index dfafa02fd..445499127 100644 --- a/packages/g-components/CHANGELOG.md +++ b/packages/g-components/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-components +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-components/package.json b/packages/g-components/package.json index 3c609de48..12681a434 100644 --- a/packages/g-components/package.json +++ b/packages/g-components/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-components", - "version": "2.0.8", + "version": "2.0.9", "description": "Components for g", "keywords": [ "antv", diff --git a/packages/g-dom-mutation-observer-api/CHANGELOG.md b/packages/g-dom-mutation-observer-api/CHANGELOG.md index 259148238..206102a5c 100644 --- a/packages/g-dom-mutation-observer-api/CHANGELOG.md +++ b/packages/g-dom-mutation-observer-api/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-dom-mutation-observer-api +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-dom-mutation-observer-api/package.json b/packages/g-dom-mutation-observer-api/package.json index a5369a6ad..388e9702c 100644 --- a/packages/g-dom-mutation-observer-api/package.json +++ b/packages/g-dom-mutation-observer-api/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-dom-mutation-observer-api", - "version": "2.0.8", + "version": "2.0.9", "description": "A simple implementation of DOM MutationObserver API.", "keywords": [ "antv", diff --git a/packages/g-gesture/CHANGELOG.md b/packages/g-gesture/CHANGELOG.md index 0b334a54b..759d2f022 100644 --- a/packages/g-gesture/CHANGELOG.md +++ b/packages/g-gesture/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-gesture +## 3.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 3.0.8 ### Patch Changes diff --git a/packages/g-gesture/package.json b/packages/g-gesture/package.json index 6bbb106ad..617481aad 100644 --- a/packages/g-gesture/package.json +++ b/packages/g-gesture/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-gesture", - "version": "3.0.8", + "version": "3.0.9", "description": "G Gesture", "keywords": [ "antv", diff --git a/packages/g-image-exporter/CHANGELOG.md b/packages/g-image-exporter/CHANGELOG.md index e7fc9026f..1318f9524 100644 --- a/packages/g-image-exporter/CHANGELOG.md +++ b/packages/g-image-exporter/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-image-exporter +## 1.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 1.0.8 ### Patch Changes diff --git a/packages/g-image-exporter/package.json b/packages/g-image-exporter/package.json index 29d8fa1d0..d0f0c440f 100644 --- a/packages/g-image-exporter/package.json +++ b/packages/g-image-exporter/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-image-exporter", - "version": "1.0.8", + "version": "1.0.9", "description": "A image exporter for G using DOM API", "keywords": [ "antv", diff --git a/packages/g-lite/CHANGELOG.md b/packages/g-lite/CHANGELOG.md index 3227a0315..829ec7dc8 100644 --- a/packages/g-lite/CHANGELOG.md +++ b/packages/g-lite/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/g-lite +## 2.0.9 + +### Patch Changes + +- fcd04674: fix: html element's `getBounds` logic exception (#1743) + ## 2.0.8 ### Patch Changes diff --git a/packages/g-lite/package.json b/packages/g-lite/package.json index 935bb3a77..aadee02dd 100644 --- a/packages/g-lite/package.json +++ b/packages/g-lite/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-lite", - "version": "2.0.8", + "version": "2.0.9", "description": "A core module for rendering engine implements DOM API.", "keywords": [ "antv", diff --git a/packages/g-lite/src/display-objects/HTML.ts b/packages/g-lite/src/display-objects/HTML.ts index f947dab22..e0bfa4676 100644 --- a/packages/g-lite/src/display-objects/HTML.ts +++ b/packages/g-lite/src/display-objects/HTML.ts @@ -1,7 +1,7 @@ import { mat4 } from 'gl-matrix'; import type { DisplayObjectConfig } from '../dom'; import { runtime } from '../global-runtime'; -import { AABB, Rectangle } from '../shapes'; +import { AABB } from '../shapes'; import type { BaseStyleProps, ParsedBaseStyleProps } from '../types'; import { Shape } from '../types'; import { DisplayObject } from './DisplayObject'; @@ -61,45 +61,39 @@ export class HTML extends DisplayObject { /** * override with $el.getBoundingClientRect * @see https://developer.mozilla.org/zh-CN/docs/Web/API/Element/getBoundingClientRect + * + * ! The calculation logic of the html element should be consistent with that of the canvas element */ - getBoundingClientRect(): Rectangle { - if (this.parsedStyle.$el) { - const cameraMatrix = this.ownerDocument.defaultView - .getCamera() - .getOrthoMatrix(); - const bBox = this.parsedStyle.$el.getBoundingClientRect(); - - return Rectangle.applyTransform( - bBox, - mat4.invert(mat4.create(), cameraMatrix), - ); - } else { - const { x, y, width, height } = this.parsedStyle; - return new Rectangle(x, y, width, height); - } - } + // getBoundingClientRect(): Rectangle { + // if (this.parsedStyle.$el) { + // return this.parsedStyle.$el.getBoundingClientRect(); + // } else { + // const { x, y, width, height } = this.parsedStyle; + // return new Rectangle(x, y, width, height); + // } + // } getClientRects() { return [this.getBoundingClientRect()]; } - getBounds() { - const clientRect = this.getBoundingClientRect(); - // calc context's offset - // @ts-ignore - const canvasRect = this.ownerDocument?.defaultView - ?.getContextService() - .getBoundingClientRect(); + // getBounds() { + // const clientRect = this.getBoundingClientRect(); + // // calc context's offset + // // @ts-ignore + // const canvasRect = this.ownerDocument?.defaultView + // ?.getContextService() + // .getBoundingClientRect(); - const aabb = new AABB(); - const minX = clientRect.left - (canvasRect?.left || 0); - const minY = clientRect.top - (canvasRect?.top || 0); - aabb.setMinMax( - [minX, minY, 0], - [minX + clientRect.width, minY + clientRect.height, 0], - ); - return aabb; - } + // const aabb = new AABB(); + // const minX = clientRect.left - (canvasRect?.left || 0); + // const minY = clientRect.top - (canvasRect?.top || 0); + // aabb.setMinMax( + // [minX, minY, 0], + // [minX + clientRect.width, minY + clientRect.height, 0], + // ); + // return aabb; + // } getLocalBounds() { if (this.parentNode) { diff --git a/packages/g-lite/src/global-runtime.ts b/packages/g-lite/src/global-runtime.ts index 23f611422..81918628b 100644 --- a/packages/g-lite/src/global-runtime.ts +++ b/packages/g-lite/src/global-runtime.ts @@ -42,6 +42,7 @@ import { RectUpdater, TextService, TextUpdater, + HTMLUpdater, } from './services'; import { CanvasLike, Shape } from './types'; @@ -104,7 +105,7 @@ const geometryUpdaterFactory: Record> = (() => { [Shape.POLYLINE]: polylineUpdater, [Shape.POLYGON]: polylineUpdater, [Shape.PATH]: new PathUpdater(), - [Shape.HTML]: null, + [Shape.HTML]: new HTMLUpdater(), [Shape.MESH]: null, }; })(); diff --git a/packages/g-lite/src/services/aabb/HTMLUpdater.ts b/packages/g-lite/src/services/aabb/HTMLUpdater.ts new file mode 100644 index 000000000..755bd7eb5 --- /dev/null +++ b/packages/g-lite/src/services/aabb/HTMLUpdater.ts @@ -0,0 +1,15 @@ +import type { HTML, ParsedHTMLStyleProps } from '../../display-objects/HTML'; +import type { GeometryAABBUpdater } from './interfaces'; + +export class HTMLUpdater implements GeometryAABBUpdater { + update(parsedStyle: ParsedHTMLStyleProps, object: HTML) { + const { x = 0, y = 0, width = 0, height = 0 } = parsedStyle; + + return { + cx: x + width / 2, + cy: y + height / 2, + hwidth: width / 2, + hheight: height / 2, + }; + } +} diff --git a/packages/g-lite/src/services/aabb/index.ts b/packages/g-lite/src/services/aabb/index.ts index c99213330..1b15e181d 100644 --- a/packages/g-lite/src/services/aabb/index.ts +++ b/packages/g-lite/src/services/aabb/index.ts @@ -7,3 +7,4 @@ export { PolylineUpdater } from './PolylineUpdater'; export { RectUpdater } from './RectUpdater'; export { TextUpdater } from './TextUpdater'; export { GroupUpdater } from './GroupUpdater'; +export { HTMLUpdater } from './HTMLUpdater'; diff --git a/packages/g-lottie-player/CHANGELOG.md b/packages/g-lottie-player/CHANGELOG.md index b3705bf12..097a1eec5 100644 --- a/packages/g-lottie-player/CHANGELOG.md +++ b/packages/g-lottie-player/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-lottie-player +## 1.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 1.0.8 ### Patch Changes diff --git a/packages/g-lottie-player/package.json b/packages/g-lottie-player/package.json index 5eec8515a..2e6298d4e 100644 --- a/packages/g-lottie-player/package.json +++ b/packages/g-lottie-player/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-lottie-player", - "version": "1.0.8", + "version": "1.0.9", "description": "A lottie player for G", "keywords": [ "antv", diff --git a/packages/g-mobile-canvas-element/CHANGELOG.md b/packages/g-mobile-canvas-element/CHANGELOG.md index 09084592b..98ec2afbc 100644 --- a/packages/g-mobile-canvas-element/CHANGELOG.md +++ b/packages/g-mobile-canvas-element/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-mobile-canvas-element +## 1.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 1.0.8 ### Patch Changes diff --git a/packages/g-mobile-canvas-element/package.json b/packages/g-mobile-canvas-element/package.json index 1d759486e..6167b648a 100644 --- a/packages/g-mobile-canvas-element/package.json +++ b/packages/g-mobile-canvas-element/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-mobile-canvas-element", - "version": "1.0.8", + "version": "1.0.9", "description": "Create a CanvasLike element from existed context in mobile environment", "keywords": [ "antv", diff --git a/packages/g-mobile-canvas/CHANGELOG.md b/packages/g-mobile-canvas/CHANGELOG.md index a923eafa7..0aca409f3 100644 --- a/packages/g-mobile-canvas/CHANGELOG.md +++ b/packages/g-mobile-canvas/CHANGELOG.md @@ -1,5 +1,20 @@ # @antv/g-mobile-canvas +## 1.0.10 + +### Patch Changes + +- Updated dependencies [fcd04674] +- Updated dependencies [5e4a1d69] + - @antv/g-lite@2.0.9 + - @antv/g-plugin-canvas-path-generator@2.0.9 + - @antv/g-plugin-canvas-picker@2.0.10 + - @antv/g-plugin-canvas-renderer@2.0.10 + - @antv/g-plugin-dragndrop@2.0.9 + - @antv/g-plugin-gesture@2.0.9 + - @antv/g-plugin-image-loader@2.0.9 + - @antv/g-plugin-mobile-interaction@1.0.9 + ## 1.0.9 ### Patch Changes diff --git a/packages/g-mobile-canvas/package.json b/packages/g-mobile-canvas/package.json index a1bc67b67..b83cae741 100644 --- a/packages/g-mobile-canvas/package.json +++ b/packages/g-mobile-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-mobile-canvas", - "version": "1.0.9", + "version": "1.0.10", "description": "A renderer implemented with Canvas2D API in mobile environment", "keywords": [ "antv", diff --git a/packages/g-mobile-svg/CHANGELOG.md b/packages/g-mobile-svg/CHANGELOG.md index e2fab3fb2..b7852dd82 100644 --- a/packages/g-mobile-svg/CHANGELOG.md +++ b/packages/g-mobile-svg/CHANGELOG.md @@ -1,5 +1,17 @@ # @antv/g-mobile-svg +## 1.0.11 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-plugin-dragndrop@2.0.9 + - @antv/g-plugin-gesture@2.0.9 + - @antv/g-plugin-mobile-interaction@1.0.9 + - @antv/g-plugin-svg-picker@2.0.11 + - @antv/g-plugin-svg-renderer@2.0.11 + ## 1.0.10 ### Patch Changes diff --git a/packages/g-mobile-svg/package.json b/packages/g-mobile-svg/package.json index a11a29fed..8cce034ce 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": "1.0.10", + "version": "1.0.11", "description": "A renderer implemented by SVG in mobile environment", "keywords": [ "antv", diff --git a/packages/g-mobile-webgl/CHANGELOG.md b/packages/g-mobile-webgl/CHANGELOG.md index 4c67e0d04..811b9e70e 100644 --- a/packages/g-mobile-webgl/CHANGELOG.md +++ b/packages/g-mobile-webgl/CHANGELOG.md @@ -1,5 +1,18 @@ # @antv/g-mobile-webgl +## 1.0.16 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-plugin-html-renderer@2.0.11 + - @antv/g-lite@2.0.9 + - @antv/g-plugin-device-renderer@2.0.14 + - @antv/g-plugin-dragndrop@2.0.9 + - @antv/g-plugin-gesture@2.0.9 + - @antv/g-plugin-image-loader@2.0.9 + - @antv/g-plugin-mobile-interaction@1.0.9 + ## 1.0.15 ### Patch Changes diff --git a/packages/g-mobile-webgl/package.json b/packages/g-mobile-webgl/package.json index 7fc6e61ec..53beb4f83 100644 --- a/packages/g-mobile-webgl/package.json +++ b/packages/g-mobile-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-mobile-webgl", - "version": "1.0.15", + "version": "1.0.16", "description": "A renderer implemented by WebGL1/2 in mobile environment", "keywords": [ "antv", diff --git a/packages/g-pattern/CHANGELOG.md b/packages/g-pattern/CHANGELOG.md index b962df176..90420675c 100644 --- a/packages/g-pattern/CHANGELOG.md +++ b/packages/g-pattern/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-pattern +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-pattern/package.json b/packages/g-pattern/package.json index 4a826fb33..19bb296ea 100644 --- a/packages/g-pattern/package.json +++ b/packages/g-pattern/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-pattern", - "version": "2.0.8", + "version": "2.0.9", "description": "A pattern libs for G", "keywords": [ "antv", diff --git a/packages/g-plugin-3d/CHANGELOG.md b/packages/g-plugin-3d/CHANGELOG.md index c5029b4e9..ad84fd115 100644 --- a/packages/g-plugin-3d/CHANGELOG.md +++ b/packages/g-plugin-3d/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-3d +## 2.0.14 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-plugin-device-renderer@2.0.14 + ## 2.0.13 ### Patch Changes diff --git a/packages/g-plugin-3d/package.json b/packages/g-plugin-3d/package.json index 0e8bf3c7b..bd870bfca 100644 --- a/packages/g-plugin-3d/package.json +++ b/packages/g-plugin-3d/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-3d", - "version": "2.0.13", + "version": "2.0.14", "description": "Provide 3D extension for G", "keywords": [ "antv", diff --git a/packages/g-plugin-a11y/CHANGELOG.md b/packages/g-plugin-a11y/CHANGELOG.md index ca38b1c1b..8cfc3d389 100644 --- a/packages/g-plugin-a11y/CHANGELOG.md +++ b/packages/g-plugin-a11y/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-a11y +## 1.0.10 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 1.0.9 ### Patch Changes diff --git a/packages/g-plugin-a11y/package.json b/packages/g-plugin-a11y/package.json index eeabf9f7a..eb3fb992b 100644 --- a/packages/g-plugin-a11y/package.json +++ b/packages/g-plugin-a11y/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-a11y", - "version": "1.0.9", + "version": "1.0.10", "description": "A G plugin for accessibility", "keywords": [ "antv", diff --git a/packages/g-plugin-annotation/CHANGELOG.md b/packages/g-plugin-annotation/CHANGELOG.md index 28513e65a..101ebee6c 100644 --- a/packages/g-plugin-annotation/CHANGELOG.md +++ b/packages/g-plugin-annotation/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-annotation +## 1.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 1.0.8 ### Patch Changes diff --git a/packages/g-plugin-annotation/package.json b/packages/g-plugin-annotation/package.json index 630fdf2e9..a062955a3 100644 --- a/packages/g-plugin-annotation/package.json +++ b/packages/g-plugin-annotation/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-annotation", - "version": "1.0.8", + "version": "1.0.9", "description": "A G plugin for annotation", "keywords": [ "antv", diff --git a/packages/g-plugin-box2d/CHANGELOG.md b/packages/g-plugin-box2d/CHANGELOG.md index 08d28e7fb..b139d5e50 100644 --- a/packages/g-plugin-box2d/CHANGELOG.md +++ b/packages/g-plugin-box2d/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-box2d +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-box2d/package.json b/packages/g-plugin-box2d/package.json index ef2be1ea0..38a82fed4 100644 --- a/packages/g-plugin-box2d/package.json +++ b/packages/g-plugin-box2d/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-box2d", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin for Box2D", "keywords": [ "antv", diff --git a/packages/g-plugin-canvas-path-generator/CHANGELOG.md b/packages/g-plugin-canvas-path-generator/CHANGELOG.md index 8fa4777c0..bf1e4fee5 100644 --- a/packages/g-plugin-canvas-path-generator/CHANGELOG.md +++ b/packages/g-plugin-canvas-path-generator/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-canvas-path-generator +## 2.0.9 + +### Patch Changes + +- 5e4a1d69: fix: `path` elements are drawn incorrectly after using `markerStartOffset` (#1760) +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-canvas-path-generator/package.json b/packages/g-plugin-canvas-path-generator/package.json index c5e0907aa..5b9312c42 100644 --- a/packages/g-plugin-canvas-path-generator/package.json +++ b/packages/g-plugin-canvas-path-generator/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-canvas-path-generator", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin of path generator with Canvas2D API", "keywords": [ "antv", diff --git a/packages/g-plugin-canvas-path-generator/src/paths/Path.ts b/packages/g-plugin-canvas-path-generator/src/paths/Path.ts index f95cf0918..95189f95b 100644 --- a/packages/g-plugin-canvas-path-generator/src/paths/Path.ts +++ b/packages/g-plugin-canvas-path-generator/src/paths/Path.ts @@ -54,7 +54,6 @@ export function generatePath( // Use start marker offset if (useStartOffset) { context.moveTo(params[1] + startOffsetX, params[2] + startOffsetY); - context.lineTo(params[1], params[2]); } else { context.moveTo(params[1], params[2]); } diff --git a/packages/g-plugin-canvas-picker/CHANGELOG.md b/packages/g-plugin-canvas-picker/CHANGELOG.md index 624284dcc..9a90d1c80 100644 --- a/packages/g-plugin-canvas-picker/CHANGELOG.md +++ b/packages/g-plugin-canvas-picker/CHANGELOG.md @@ -1,5 +1,15 @@ # @antv/g-plugin-canvas-picker +## 2.0.10 + +### Patch Changes + +- Updated dependencies [fcd04674] +- Updated dependencies [5e4a1d69] + - @antv/g-lite@2.0.9 + - @antv/g-plugin-canvas-path-generator@2.0.9 + - @antv/g-plugin-canvas-renderer@2.0.10 + ## 2.0.9 ### Patch Changes diff --git a/packages/g-plugin-canvas-picker/package.json b/packages/g-plugin-canvas-picker/package.json index ca732853f..0f71803c7 100644 --- a/packages/g-plugin-canvas-picker/package.json +++ b/packages/g-plugin-canvas-picker/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-canvas-picker", - "version": "2.0.9", + "version": "2.0.10", "description": "A G plugin for picking in canvas", "keywords": [ "antv", diff --git a/packages/g-plugin-canvas-renderer/CHANGELOG.md b/packages/g-plugin-canvas-renderer/CHANGELOG.md index 4acce1062..f0703e51e 100644 --- a/packages/g-plugin-canvas-renderer/CHANGELOG.md +++ b/packages/g-plugin-canvas-renderer/CHANGELOG.md @@ -1,5 +1,15 @@ # @antv/g-plugin-canvas-renderer +## 2.0.10 + +### Patch Changes + +- Updated dependencies [fcd04674] +- Updated dependencies [5e4a1d69] + - @antv/g-lite@2.0.9 + - @antv/g-plugin-canvas-path-generator@2.0.9 + - @antv/g-plugin-image-loader@2.0.9 + ## 2.0.9 ### Patch Changes diff --git a/packages/g-plugin-canvas-renderer/package.json b/packages/g-plugin-canvas-renderer/package.json index 36e7bd833..e8979239d 100644 --- a/packages/g-plugin-canvas-renderer/package.json +++ b/packages/g-plugin-canvas-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-canvas-renderer", - "version": "2.0.9", + "version": "2.0.10", "description": "A G plugin of renderer implementation with Canvas2D API", "keywords": [ "antv", diff --git a/packages/g-plugin-canvaskit-renderer/CHANGELOG.md b/packages/g-plugin-canvaskit-renderer/CHANGELOG.md index 8c6b0c1c7..81cf06821 100644 --- a/packages/g-plugin-canvaskit-renderer/CHANGELOG.md +++ b/packages/g-plugin-canvaskit-renderer/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-canvaskit-renderer +## 2.0.10 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-plugin-image-loader@2.0.9 + ## 2.0.9 ### Patch Changes diff --git a/packages/g-plugin-canvaskit-renderer/package.json b/packages/g-plugin-canvaskit-renderer/package.json index 38d801dd2..dd2b812fb 100644 --- a/packages/g-plugin-canvaskit-renderer/package.json +++ b/packages/g-plugin-canvaskit-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-canvaskit-renderer", - "version": "2.0.9", + "version": "2.0.10", "description": "A G plugin of renderer implementation with CanvasKit", "keywords": [ "antv", diff --git a/packages/g-plugin-control/CHANGELOG.md b/packages/g-plugin-control/CHANGELOG.md index c55122c9e..88268493b 100644 --- a/packages/g-plugin-control/CHANGELOG.md +++ b/packages/g-plugin-control/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-control +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-control/package.json b/packages/g-plugin-control/package.json index 5f9d5447b..78645f823 100644 --- a/packages/g-plugin-control/package.json +++ b/packages/g-plugin-control/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-control", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin for orbit control", "keywords": [ "antv", diff --git a/packages/g-plugin-css-select/CHANGELOG.md b/packages/g-plugin-css-select/CHANGELOG.md index 775681797..f5703c760 100644 --- a/packages/g-plugin-css-select/CHANGELOG.md +++ b/packages/g-plugin-css-select/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-css-select +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-css-select/package.json b/packages/g-plugin-css-select/package.json index bffc266f9..090cd6040 100644 --- a/packages/g-plugin-css-select/package.json +++ b/packages/g-plugin-css-select/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-css-select", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin for using CSS select syntax in query selector", "keywords": [ "antv", diff --git a/packages/g-plugin-device-renderer/CHANGELOG.md b/packages/g-plugin-device-renderer/CHANGELOG.md index f764c98de..5d8a76c2c 100644 --- a/packages/g-plugin-device-renderer/CHANGELOG.md +++ b/packages/g-plugin-device-renderer/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-device-renderer +## 2.0.14 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-plugin-image-loader@2.0.9 + ## 2.0.13 ### Patch Changes diff --git a/packages/g-plugin-device-renderer/package.json b/packages/g-plugin-device-renderer/package.json index b1ec8f973..74ab8ee13 100644 --- a/packages/g-plugin-device-renderer/package.json +++ b/packages/g-plugin-device-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-device-renderer", - "version": "2.0.13", + "version": "2.0.14", "description": "A G plugin of renderer implementation with GPUDevice", "keywords": [ "antv", diff --git a/packages/g-plugin-dom-interaction/CHANGELOG.md b/packages/g-plugin-dom-interaction/CHANGELOG.md index 4c5cb7e1c..302f58223 100644 --- a/packages/g-plugin-dom-interaction/CHANGELOG.md +++ b/packages/g-plugin-dom-interaction/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-dom-interaction +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-dom-interaction/package.json b/packages/g-plugin-dom-interaction/package.json index e6c0d136b..7a405b8d2 100644 --- a/packages/g-plugin-dom-interaction/package.json +++ b/packages/g-plugin-dom-interaction/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-dom-interaction", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin", "keywords": [ "antv", diff --git a/packages/g-plugin-dragndrop/CHANGELOG.md b/packages/g-plugin-dragndrop/CHANGELOG.md index 820d7c089..43abd23ab 100644 --- a/packages/g-plugin-dragndrop/CHANGELOG.md +++ b/packages/g-plugin-dragndrop/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-dragndrop +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-dragndrop/package.json b/packages/g-plugin-dragndrop/package.json index 28289525e..10fe39091 100644 --- a/packages/g-plugin-dragndrop/package.json +++ b/packages/g-plugin-dragndrop/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-dragndrop", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin for Drag n Drop implemented with PointerEvents", "keywords": [ "antv", diff --git a/packages/g-plugin-gesture/CHANGELOG.md b/packages/g-plugin-gesture/CHANGELOG.md index 93fd94947..929bf5d40 100644 --- a/packages/g-plugin-gesture/CHANGELOG.md +++ b/packages/g-plugin-gesture/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-gesture +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-gesture/package.json b/packages/g-plugin-gesture/package.json index 2ba9da92d..7afe3aa4e 100644 --- a/packages/g-plugin-gesture/package.json +++ b/packages/g-plugin-gesture/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-gesture", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin for Gesture implemented with PointerEvents", "keywords": [ "antv", diff --git a/packages/g-plugin-html-renderer/CHANGELOG.md b/packages/g-plugin-html-renderer/CHANGELOG.md index e58aa6cf4..678452d1a 100644 --- a/packages/g-plugin-html-renderer/CHANGELOG.md +++ b/packages/g-plugin-html-renderer/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-html-renderer +## 2.0.11 + +### Patch Changes + +- fcd04674: fix: html element's `getBounds` logic exception (#1743) +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.10 ### Patch Changes diff --git a/packages/g-plugin-html-renderer/package.json b/packages/g-plugin-html-renderer/package.json index 35df5ec7c..cb185ff8b 100644 --- a/packages/g-plugin-html-renderer/package.json +++ b/packages/g-plugin-html-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-html-renderer", - "version": "2.0.10", + "version": "2.0.11", "description": "A G plugin for rendering HTML", "keywords": [ "antv", diff --git a/packages/g-plugin-html-renderer/src/HTMLRenderingPlugin.ts b/packages/g-plugin-html-renderer/src/HTMLRenderingPlugin.ts index eecc0e7a0..2cb29f499 100644 --- a/packages/g-plugin-html-renderer/src/HTMLRenderingPlugin.ts +++ b/packages/g-plugin-html-renderer/src/HTMLRenderingPlugin.ts @@ -17,7 +17,7 @@ import { Shape, } from '@antv/g-lite'; import { isNil, isNumber, isString } from '@antv/util'; -import type { mat4 } from 'gl-matrix'; +import type { mat4, vec3 } from 'gl-matrix'; const CANVAS_CAMERA_ID = 'g-canvas-camera'; @@ -36,14 +36,17 @@ export class HTMLRenderingPlugin implements RenderingPlugin { HTMLElement >(); - private joinTransformMatrix(matrix: mat4) { + /** + * ! The reason for adding `offset` is that the `transform-origin` coordinate system of DOM is the local coordinate system of the element, while the `transform-origin` coordinate system of canvas drawing is the local coordinate system of the element's parent element. At the same time, the `transform` attribute value of the DOM element does not include `transform-origin`. + */ + private joinTransformMatrix(matrix: mat4, offset: vec3 = [0, 0, 0]) { return `matrix(${[ matrix[0], matrix[1], matrix[4], matrix[5], - matrix[12], - matrix[13], + matrix[12] + offset[0], + matrix[13] + offset[1], ].join(',')})`; } @@ -56,6 +59,7 @@ export class HTMLRenderingPlugin implements RenderingPlugin { const setTransform = (object: HTML, $el: HTMLElement) => { $el.style.transform = this.joinTransformMatrix( object.getWorldTransform(), + object.getOrigin(), ); }; @@ -118,8 +122,8 @@ export class HTMLRenderingPlugin implements RenderingPlugin { const handleCanvasResize = () => { if (this.$camera) { const { width, height } = this.context.config; - this.$camera.style.width = `${width || 0}px`; - this.$camera.style.height = `${height || 0}px`; + this.$camera.parentElement.style.width = `${width || 0}px`; + this.$camera.parentElement.style.height = `${height || 0}px`; } }; @@ -237,6 +241,7 @@ export class HTMLRenderingPlugin implements RenderingPlugin { $existedElement.style['will-change'] = 'transform'; $existedElement.style.transform = this.joinTransformMatrix( object.getWorldTransform(), + object.getOrigin(), ); } @@ -263,9 +268,11 @@ export class HTMLRenderingPlugin implements RenderingPlugin { break; case 'transformOrigin': const { transformOrigin } = object.parsedStyle; - $el.style[ - 'transform-origin' - ] = `${transformOrigin[0].value} ${transformOrigin[1].value}`; + $el.style['transform-origin'] = `${transformOrigin[0].buildCSSText( + null, + null, + '', + )} ${transformOrigin[1].buildCSSText(null, null, '')}`; break; case 'width': if (this.context.enableCSSParsing) { diff --git a/packages/g-plugin-image-loader/CHANGELOG.md b/packages/g-plugin-image-loader/CHANGELOG.md index b3cecc4e9..d97aeafdc 100644 --- a/packages/g-plugin-image-loader/CHANGELOG.md +++ b/packages/g-plugin-image-loader/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-image-loader +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-image-loader/package.json b/packages/g-plugin-image-loader/package.json index ddcc93ce2..5df04c7d8 100644 --- a/packages/g-plugin-image-loader/package.json +++ b/packages/g-plugin-image-loader/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-image-loader", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin for loading image", "keywords": [ "antv", diff --git a/packages/g-plugin-matterjs/CHANGELOG.md b/packages/g-plugin-matterjs/CHANGELOG.md index bf0564e12..96030eb2c 100644 --- a/packages/g-plugin-matterjs/CHANGELOG.md +++ b/packages/g-plugin-matterjs/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-matterjs +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-matterjs/package.json b/packages/g-plugin-matterjs/package.json index a6641553b..d3d3674e4 100644 --- a/packages/g-plugin-matterjs/package.json +++ b/packages/g-plugin-matterjs/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-matterjs", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin for matter.js physics engine", "keywords": [ "antv", diff --git a/packages/g-plugin-mobile-interaction/CHANGELOG.md b/packages/g-plugin-mobile-interaction/CHANGELOG.md index a593e054b..d33565e13 100644 --- a/packages/g-plugin-mobile-interaction/CHANGELOG.md +++ b/packages/g-plugin-mobile-interaction/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-mobile-interaction +## 1.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 1.0.8 ### Patch Changes diff --git a/packages/g-plugin-mobile-interaction/package.json b/packages/g-plugin-mobile-interaction/package.json index 026bceab0..2a5739635 100644 --- a/packages/g-plugin-mobile-interaction/package.json +++ b/packages/g-plugin-mobile-interaction/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-mobile-interaction", - "version": "1.0.8", + "version": "1.0.9", "description": "A G plugin listening events in mobile environment", "keywords": [ "antv", diff --git a/packages/g-plugin-physx/CHANGELOG.md b/packages/g-plugin-physx/CHANGELOG.md index ee11ae9b0..35d2882b3 100644 --- a/packages/g-plugin-physx/CHANGELOG.md +++ b/packages/g-plugin-physx/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-physx +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-physx/package.json b/packages/g-plugin-physx/package.json index 7abd8eeb1..f082ccb17 100644 --- a/packages/g-plugin-physx/package.json +++ b/packages/g-plugin-physx/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-physx", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin for PhysX", "keywords": [ "antv", diff --git a/packages/g-plugin-rough-canvas-renderer/CHANGELOG.md b/packages/g-plugin-rough-canvas-renderer/CHANGELOG.md index 464649587..39c6c5e93 100644 --- a/packages/g-plugin-rough-canvas-renderer/CHANGELOG.md +++ b/packages/g-plugin-rough-canvas-renderer/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-rough-canvas-renderer +## 2.0.13 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-canvas@2.0.12 + ## 2.0.12 ### Patch Changes diff --git a/packages/g-plugin-rough-canvas-renderer/package.json b/packages/g-plugin-rough-canvas-renderer/package.json index 4aa8a40e8..68d0c75ed 100644 --- a/packages/g-plugin-rough-canvas-renderer/package.json +++ b/packages/g-plugin-rough-canvas-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-rough-canvas-renderer", - "version": "2.0.12", + "version": "2.0.13", "description": "A G plugin of renderer implementation with rough.js", "keywords": [ "antv", diff --git a/packages/g-plugin-rough-svg-renderer/CHANGELOG.md b/packages/g-plugin-rough-svg-renderer/CHANGELOG.md index 2064f6b57..bc2eae259 100644 --- a/packages/g-plugin-rough-svg-renderer/CHANGELOG.md +++ b/packages/g-plugin-rough-svg-renderer/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-rough-svg-renderer +## 2.0.12 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-svg@2.0.11 + ## 2.0.11 ### Patch Changes diff --git a/packages/g-plugin-rough-svg-renderer/package.json b/packages/g-plugin-rough-svg-renderer/package.json index 7622a717c..8b135bf61 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": "2.0.11", + "version": "2.0.12", "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 79d82d5f4..91073c491 100644 --- a/packages/g-plugin-svg-picker/CHANGELOG.md +++ b/packages/g-plugin-svg-picker/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-svg-picker +## 2.0.11 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-plugin-svg-renderer@2.0.11 + ## 2.0.10 ### Patch Changes diff --git a/packages/g-plugin-svg-picker/package.json b/packages/g-plugin-svg-picker/package.json index 5e9c04d78..f6491e5d2 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": "2.0.10", + "version": "2.0.11", "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 5345c2c95..409d89007 100644 --- a/packages/g-plugin-svg-renderer/CHANGELOG.md +++ b/packages/g-plugin-svg-renderer/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-svg-renderer +## 2.0.11 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.10 ### Patch Changes diff --git a/packages/g-plugin-svg-renderer/package.json b/packages/g-plugin-svg-renderer/package.json index 1a4db6f65..d23e2f04e 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": "2.0.10", + "version": "2.0.11", "description": "A G plugin of renderer implementation with SVG", "keywords": [ "antv", diff --git a/packages/g-plugin-yoga/CHANGELOG.md b/packages/g-plugin-yoga/CHANGELOG.md index ac25ed7c7..cfbd9facb 100644 --- a/packages/g-plugin-yoga/CHANGELOG.md +++ b/packages/g-plugin-yoga/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-yoga +## 2.0.9 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/g-plugin-yoga/package.json b/packages/g-plugin-yoga/package.json index 7e9c00a94..41236076b 100644 --- a/packages/g-plugin-yoga/package.json +++ b/packages/g-plugin-yoga/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-yoga", - "version": "2.0.8", + "version": "2.0.9", "description": "A G plugin for Yoga layout engine", "keywords": [ "antv", diff --git a/packages/g-plugin-zdog-canvas-renderer/CHANGELOG.md b/packages/g-plugin-zdog-canvas-renderer/CHANGELOG.md index fbe66c0c6..8f68140e5 100644 --- a/packages/g-plugin-zdog-canvas-renderer/CHANGELOG.md +++ b/packages/g-plugin-zdog-canvas-renderer/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-zdog-canvas-renderer +## 2.0.12 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-canvas@2.0.12 + ## 2.0.11 ### Patch Changes diff --git a/packages/g-plugin-zdog-canvas-renderer/package.json b/packages/g-plugin-zdog-canvas-renderer/package.json index 46118a66a..ec298c1e5 100644 --- a/packages/g-plugin-zdog-canvas-renderer/package.json +++ b/packages/g-plugin-zdog-canvas-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-zdog-canvas-renderer", - "version": "2.0.11", + "version": "2.0.12", "description": "A G plugin of renderer implementation with Zdog", "keywords": [ "antv", diff --git a/packages/g-plugin-zdog-svg-renderer/CHANGELOG.md b/packages/g-plugin-zdog-svg-renderer/CHANGELOG.md index 599fd8849..55f28c649 100644 --- a/packages/g-plugin-zdog-svg-renderer/CHANGELOG.md +++ b/packages/g-plugin-zdog-svg-renderer/CHANGELOG.md @@ -1,5 +1,14 @@ # @antv/g-plugin-zdog-svg-renderer +## 2.0.11 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-plugin-svg-renderer@2.0.11 + - @antv/g-svg@2.0.11 + ## 2.0.10 ### Patch Changes diff --git a/packages/g-plugin-zdog-svg-renderer/package.json b/packages/g-plugin-zdog-svg-renderer/package.json index 94444e630..51c51ba64 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": "2.0.10", + "version": "2.0.11", "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 7848bf8a2..98d4db5c5 100644 --- a/packages/g-svg/CHANGELOG.md +++ b/packages/g-svg/CHANGELOG.md @@ -1,5 +1,15 @@ # @antv/g-svg +## 2.0.11 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-plugin-dom-interaction@2.0.9 + - @antv/g-plugin-svg-picker@2.0.11 + - @antv/g-plugin-svg-renderer@2.0.11 + ## 2.0.10 ### Patch Changes diff --git a/packages/g-svg/package.json b/packages/g-svg/package.json index d02ecf5cb..f89d59eba 100644 --- a/packages/g-svg/package.json +++ b/packages/g-svg/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-svg", - "version": "2.0.10", + "version": "2.0.11", "description": "A renderer implemented by SVG", "keywords": [ "antv", diff --git a/packages/g-web-animations-api/CHANGELOG.md b/packages/g-web-animations-api/CHANGELOG.md index 352a9ed9c..62634b33b 100644 --- a/packages/g-web-animations-api/CHANGELOG.md +++ b/packages/g-web-animations-api/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-web-animations-api +## 2.0.10 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + ## 2.0.9 ### Patch Changes diff --git a/packages/g-web-animations-api/package.json b/packages/g-web-animations-api/package.json index 154395dcd..558e8f68a 100644 --- a/packages/g-web-animations-api/package.json +++ b/packages/g-web-animations-api/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-web-animations-api", - "version": "2.0.9", + "version": "2.0.10", "description": "A simple implementation of Web Animations API.", "keywords": [ "antv", diff --git a/packages/g-web-components/CHANGELOG.md b/packages/g-web-components/CHANGELOG.md index 9a4460587..d79a83241 100644 --- a/packages/g-web-components/CHANGELOG.md +++ b/packages/g-web-components/CHANGELOG.md @@ -1,5 +1,14 @@ # @antv/g-web-components +## 2.0.17 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-canvas@2.0.12 + - @antv/g-webgl@2.0.16 + ## 2.0.16 ### Patch Changes diff --git a/packages/g-web-components/package.json b/packages/g-web-components/package.json index 9cc0cfd14..33725f3c5 100644 --- a/packages/g-web-components/package.json +++ b/packages/g-web-components/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-web-components", - "version": "2.0.16", + "version": "2.0.17", "description": "A declarative usage for G implemented with WebComponents", "keywords": [ "antv", diff --git a/packages/g-webgl/CHANGELOG.md b/packages/g-webgl/CHANGELOG.md index 4cead6e26..7d64d9221 100644 --- a/packages/g-webgl/CHANGELOG.md +++ b/packages/g-webgl/CHANGELOG.md @@ -1,5 +1,16 @@ # @antv/g-webgl +## 2.0.16 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-plugin-html-renderer@2.0.11 + - @antv/g-lite@2.0.9 + - @antv/g-plugin-device-renderer@2.0.14 + - @antv/g-plugin-dom-interaction@2.0.9 + - @antv/g-plugin-image-loader@2.0.9 + ## 2.0.15 ### Patch Changes diff --git a/packages/g-webgl/package.json b/packages/g-webgl/package.json index f3aa85cd7..b68e22e18 100644 --- a/packages/g-webgl/package.json +++ b/packages/g-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-webgl", - "version": "2.0.15", + "version": "2.0.16", "description": "A renderer implemented by WebGL1/2", "keywords": [ "antv", diff --git a/packages/g-webgpu/CHANGELOG.md b/packages/g-webgpu/CHANGELOG.md index b9ad8bbfd..dd649c8ca 100644 --- a/packages/g-webgpu/CHANGELOG.md +++ b/packages/g-webgpu/CHANGELOG.md @@ -1,5 +1,16 @@ # @antv/g-webgpu +## 2.0.16 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-plugin-html-renderer@2.0.11 + - @antv/g-lite@2.0.9 + - @antv/g-plugin-device-renderer@2.0.14 + - @antv/g-plugin-dom-interaction@2.0.9 + - @antv/g-plugin-image-loader@2.0.9 + ## 2.0.15 ### Patch Changes diff --git a/packages/g-webgpu/package.json b/packages/g-webgpu/package.json index 20f746a68..16e6c1ff1 100644 --- a/packages/g-webgpu/package.json +++ b/packages/g-webgpu/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-webgpu", - "version": "2.0.15", + "version": "2.0.16", "description": "A renderer implemented by WebGPU", "keywords": [ "antv", diff --git a/packages/g/CHANGELOG.md b/packages/g/CHANGELOG.md index ca1ad666c..e91e2e195 100644 --- a/packages/g/CHANGELOG.md +++ b/packages/g/CHANGELOG.md @@ -1,5 +1,15 @@ # @antv/g +## 6.0.13 + +### Patch Changes + +- Updated dependencies [fcd04674] + - @antv/g-lite@2.0.9 + - @antv/g-camera-api@2.0.12 + - @antv/g-dom-mutation-observer-api@2.0.9 + - @antv/g-web-animations-api@2.0.10 + ## 6.0.12 ### Patch Changes diff --git a/packages/g/package.json b/packages/g/package.json index 3d724441b..6c31b0c4b 100644 --- a/packages/g/package.json +++ b/packages/g/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g", - "version": "6.0.12", + "version": "6.0.13", "description": "A core module for rendering engine implements DOM API.", "keywords": [ "antv", diff --git a/packages/react-g/CHANGELOG.md b/packages/react-g/CHANGELOG.md index 986b7f7b6..944ad469a 100644 --- a/packages/react-g/CHANGELOG.md +++ b/packages/react-g/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/react-g +## 2.0.14 + +### Patch Changes + +- @antv/g@6.0.13 + ## 2.0.13 ### Patch Changes diff --git a/packages/react-g/package.json b/packages/react-g/package.json index 541172683..855be24b0 100644 --- a/packages/react-g/package.json +++ b/packages/react-g/package.json @@ -1,6 +1,6 @@ { "name": "@antv/react-g", - "version": "2.0.13", + "version": "2.0.14", "description": "react render for @antv/g", "keywords": [ "react",