diff --git a/__tests__/integration/__node__tests__/webgl/snapshots/marker.png b/__tests__/integration/__node__tests__/webgl/snapshots/marker.png index e7e7f3372..7b40926c4 100644 Binary files a/__tests__/integration/__node__tests__/webgl/snapshots/marker.png and b/__tests__/integration/__node__tests__/webgl/snapshots/marker.png differ diff --git a/__tests__/unit/display-objects/polyline.spec.ts b/__tests__/unit/display-objects/polyline.spec.ts index 762ea8776..87269d404 100644 --- a/__tests__/unit/display-objects/polyline.spec.ts +++ b/__tests__/unit/display-objects/polyline.spec.ts @@ -77,6 +77,31 @@ describe('Polyline', () => { expect(polyline.getTotalLength()).toBe(750); }); + it('should remove points attribute correctly', () => { + const polyline = new Polyline({ + style: { + points: [ + [50, 50], + [100, 50], + [100, 100], + ], + lineWidth: 10, + }, + }); + let bounds = polyline.getBounds(); + if (bounds) { + expect(bounds.center).toStrictEqual([75, 75, 0]); + expect(bounds.halfExtents).toStrictEqual([25, 25, 0]); + } + + polyline.removeAttribute('points'); + bounds = polyline.getBounds(); + if (bounds) { + expect(bounds.center).toStrictEqual([0, 0, 0]); + expect(bounds.halfExtents).toStrictEqual([0, 0, 0]); + } + }); + it('should getPoint at ratio correctly', () => { const polyline = new Polyline({ style: { diff --git a/__tests__/unit/display-objects/text.spec.ts b/__tests__/unit/display-objects/text.spec.ts index e4f28a17c..71b4f0f70 100644 --- a/__tests__/unit/display-objects/text.spec.ts +++ b/__tests__/unit/display-objects/text.spec.ts @@ -1,5 +1,5 @@ import { Renderer as CanvasRenderer } from '../../../packages/g-canvas/src'; -import { Canvas, Group, Text } from '../../../packages/g/src'; +import { Canvas, Group, Rect, Text } from '../../../packages/g/src'; const $container = document.createElement('div'); $container.id = 'container'; @@ -249,4 +249,33 @@ describe('Text', () => { text.style.wordWrap = false; expect(text.isOverflowing()).toBe(false); }); + + // it.only('should calc global bounds correctly', async () => { + // await canvas.ready; + + // const group = new Group(); + // const rect = new Rect({ + // style: { + // width: 50, + // height: 50, + // stroke: 'black', + // lineWidth: 2, + // fill: 'red', + // }, + // }); + // const text = new Text({ + // style: { + // text: '这是测试文本This is text', + // fontSize: 60, + // fill: '#1890FF', + // }, + // }); + + // rect.appendChild(text); + + // group.appendChild(rect); + // canvas.appendChild(group); + + // console.log(text); + // }); }); diff --git a/packages/g-camera-api/CHANGELOG.md b/packages/g-camera-api/CHANGELOG.md index 98e6b8960..95ef1bec5 100644 --- a/packages/g-camera-api/CHANGELOG.md +++ b/packages/g-camera-api/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-camera-api +## 1.2.17 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.2.16 ### Patch Changes diff --git a/packages/g-camera-api/package.json b/packages/g-camera-api/package.json index 6d33a6333..03c6a086d 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": "1.2.16", + "version": "1.2.17", "description": "A simple implementation of Camera API.", "keywords": [ "antv", diff --git a/packages/g-canvas/CHANGELOG.md b/packages/g-canvas/CHANGELOG.md index 4fc83fdf9..5dae1f511 100644 --- a/packages/g-canvas/CHANGELOG.md +++ b/packages/g-canvas/CHANGELOG.md @@ -1,5 +1,18 @@ # @antv/g-canvas +## 1.11.21 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-canvas-path-generator@1.3.16 + - @antv/g-plugin-canvas-picker@1.10.18 + - @antv/g-plugin-canvas-renderer@1.9.18 + - @antv/g-plugin-dom-interaction@1.9.16 + - @antv/g-plugin-html-renderer@1.9.19 + - @antv/g-plugin-image-loader@1.3.16 + ## 1.11.20 ### Patch Changes diff --git a/packages/g-canvas/package.json b/packages/g-canvas/package.json index be8ef31fc..8cc8e5fed 100644 --- a/packages/g-canvas/package.json +++ b/packages/g-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-canvas", - "version": "1.11.20", + "version": "1.11.21", "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 7175e5c13..d7b58bb5b 100644 --- a/packages/g-canvaskit/CHANGELOG.md +++ b/packages/g-canvaskit/CHANGELOG.md @@ -1,5 +1,18 @@ # @antv/g-canvaskit +## 0.10.21 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-canvas-path-generator@1.3.16 + - @antv/g-plugin-canvas-picker@1.10.18 + - @antv/g-plugin-canvaskit-renderer@1.3.17 + - @antv/g-plugin-dom-interaction@1.9.16 + - @antv/g-plugin-html-renderer@1.9.19 + - @antv/g-plugin-image-loader@1.3.16 + ## 0.10.20 ### Patch Changes diff --git a/packages/g-canvaskit/package.json b/packages/g-canvaskit/package.json index 9da604d1f..9492ab520 100644 --- a/packages/g-canvaskit/package.json +++ b/packages/g-canvaskit/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-canvaskit", - "version": "0.10.20", + "version": "0.10.21", "description": "A renderer implemented by CanvasKit", "keywords": [ "antv", diff --git a/packages/g-components/CHANGELOG.md b/packages/g-components/CHANGELOG.md index 279051a37..f4c2ab8eb 100644 --- a/packages/g-components/CHANGELOG.md +++ b/packages/g-components/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-components +## 1.9.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.9.15 ### Patch Changes diff --git a/packages/g-components/package.json b/packages/g-components/package.json index cef00519f..faa17ed8f 100644 --- a/packages/g-components/package.json +++ b/packages/g-components/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-components", - "version": "1.9.15", + "version": "1.9.16", "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 e3b5e87e3..2230471fa 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 +## 1.2.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.2.15 ### Patch Changes diff --git a/packages/g-dom-mutation-observer-api/package.json b/packages/g-dom-mutation-observer-api/package.json index b7243639c..fb2c17c52 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": "1.2.15", + "version": "1.2.16", "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 6fdcc431a..f27ba473d 100644 --- a/packages/g-gesture/CHANGELOG.md +++ b/packages/g-gesture/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-gesture +## 2.2.19 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 2.2.18 ### Patch Changes diff --git a/packages/g-gesture/package.json b/packages/g-gesture/package.json index cc964c3a6..726c1ca6d 100644 --- a/packages/g-gesture/package.json +++ b/packages/g-gesture/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-gesture", - "version": "2.2.18", + "version": "2.2.19", "description": "G Gesture", "keywords": [ "antv", diff --git a/packages/g-image-exporter/CHANGELOG.md b/packages/g-image-exporter/CHANGELOG.md index 2fbf1814b..5c2e53f1e 100644 --- a/packages/g-image-exporter/CHANGELOG.md +++ b/packages/g-image-exporter/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-image-exporter +## 0.7.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 0.7.15 ### Patch Changes diff --git a/packages/g-image-exporter/package.json b/packages/g-image-exporter/package.json index 3b3cb844d..1338a18c0 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": "0.7.15", + "version": "0.7.16", "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 9d1f8f8c0..03fbcfcd0 100644 --- a/packages/g-lite/CHANGELOG.md +++ b/packages/g-lite/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/g-lite +## 1.2.16 + +### Patch Changes + +- 7e3dbd76: Removing points attribute from polyline & polygon won't throw error now. + ## 1.2.15 ### Patch Changes diff --git a/packages/g-lite/package.json b/packages/g-lite/package.json index 5e22424a7..13ce218e5 100644 --- a/packages/g-lite/package.json +++ b/packages/g-lite/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-lite", - "version": "1.2.15", + "version": "1.2.16", "description": "A core module for rendering engine implements DOM API.", "keywords": [ "antv", diff --git a/packages/g-lite/src/display-objects/Polygon.ts b/packages/g-lite/src/display-objects/Polygon.ts index 737b76cda..8fb48ab93 100644 --- a/packages/g-lite/src/display-objects/Polygon.ts +++ b/packages/g-lite/src/display-objects/Polygon.ts @@ -156,13 +156,14 @@ export class Polygon extends DisplayObject< markerEnd, markerStartOffset, markerEndOffset, - points: { points }, + points: P, defX, defY, } = this.parsedStyle; + const { points } = P || {}; const marker = isStart ? markerStart : markerEnd; - if (!marker || !isDisplayObject(marker)) { + if (!marker || !isDisplayObject(marker) || !points) { return; } @@ -208,11 +209,8 @@ export class Polygon extends DisplayObject< } private placeMarkerMid(marker: DisplayObject) { - const { - points: { points }, - defX, - defY, - } = this.parsedStyle; + const { points: P, defX, defY } = this.parsedStyle; + const { points } = P || {}; // clear all existed markers this.markerMidList.forEach((marker) => { @@ -220,7 +218,7 @@ export class Polygon extends DisplayObject< }); this.markerMidList = []; - if (marker && isDisplayObject(marker)) { + if (marker && isDisplayObject(marker) && points) { for ( let i = 1; i < (this.parsedStyle.isClosed ? points.length : points.length - 1); diff --git a/packages/g-lite/src/services/aabb/PolylineUpdater.ts b/packages/g-lite/src/services/aabb/PolylineUpdater.ts index a4df83760..c235a8e2a 100644 --- a/packages/g-lite/src/services/aabb/PolylineUpdater.ts +++ b/packages/g-lite/src/services/aabb/PolylineUpdater.ts @@ -1,22 +1,31 @@ +import { isArray } from '@antv/util'; import type { ParsedPolylineStyleProps } from '../../display-objects'; import type { GeometryAABBUpdater } from './interfaces'; -export class PolylineUpdater implements GeometryAABBUpdater { +export class PolylineUpdater + implements GeometryAABBUpdater +{ update(parsedStyle: ParsedPolylineStyleProps) { - const { points } = parsedStyle.points; + if (parsedStyle.points && isArray(parsedStyle.points.points)) { + const { points } = parsedStyle.points; - // FIXME: account for miter lineJoin - const minX = Math.min(...points.map((point) => point[0])); - const maxX = Math.max(...points.map((point) => point[0])); - const minY = Math.min(...points.map((point) => point[1])); - const maxY = Math.max(...points.map((point) => point[1])); + // FIXME: account for miter lineJoin + const minX = Math.min(...points.map((point) => point[0])); + const maxX = Math.max(...points.map((point) => point[0])); + const minY = Math.min(...points.map((point) => point[1])); + const maxY = Math.max(...points.map((point) => point[1])); - const width = maxX - minX; - const height = maxY - minY; + const width = maxX - minX; + const height = maxY - minY; + return { + width, + height, + }; + } return { - width, - height, + width: 0, + height: 0, }; } } diff --git a/packages/g-lottie-player/CHANGELOG.md b/packages/g-lottie-player/CHANGELOG.md index bd71446ec..272763b2e 100644 --- a/packages/g-lottie-player/CHANGELOG.md +++ b/packages/g-lottie-player/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-lottie-player +## 0.2.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 0.2.15 ### Patch Changes diff --git a/packages/g-lottie-player/package.json b/packages/g-lottie-player/package.json index c34d01918..af702ddf6 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": "0.2.15", + "version": "0.2.16", "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 40d976c75..e897a8729 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 +## 0.8.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 0.8.15 ### Patch Changes diff --git a/packages/g-mobile-canvas-element/package.json b/packages/g-mobile-canvas-element/package.json index f9e00f205..f8ab4e592 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": "0.8.15", + "version": "0.8.16", "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 06dde26ee..f93ed08f8 100644 --- a/packages/g-mobile-canvas/CHANGELOG.md +++ b/packages/g-mobile-canvas/CHANGELOG.md @@ -1,5 +1,19 @@ # @antv/g-mobile-canvas +## 0.11.9 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-canvas-path-generator@1.3.16 + - @antv/g-plugin-canvas-picker@1.10.18 + - @antv/g-plugin-canvas-renderer@1.9.18 + - @antv/g-plugin-dragndrop@1.8.16 + - @antv/g-plugin-gesture@1.2.4 + - @antv/g-plugin-image-loader@1.3.16 + - @antv/g-plugin-mobile-interaction@0.9.16 + ## 0.11.8 ### Patch Changes diff --git a/packages/g-mobile-canvas/package.json b/packages/g-mobile-canvas/package.json index d6823fb33..ef7b5529b 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": "0.11.8", + "version": "0.11.9", "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 b833d1600..def3445d4 100644 --- a/packages/g-mobile-svg/CHANGELOG.md +++ b/packages/g-mobile-svg/CHANGELOG.md @@ -1,5 +1,17 @@ # @antv/g-mobile-svg +## 0.10.19 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-dragndrop@1.8.16 + - @antv/g-plugin-gesture@1.2.4 + - @antv/g-plugin-mobile-interaction@0.9.16 + - @antv/g-plugin-svg-picker@1.9.18 + - @antv/g-plugin-svg-renderer@1.10.18 + ## 0.10.18 ### Patch Changes diff --git a/packages/g-mobile-svg/package.json b/packages/g-mobile-svg/package.json index 0e4b165b8..a3840aec3 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.18", + "version": "0.10.19", "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 ee797e7bc..af5bd730a 100644 --- a/packages/g-mobile-webgl/CHANGELOG.md +++ b/packages/g-mobile-webgl/CHANGELOG.md @@ -1,5 +1,18 @@ # @antv/g-mobile-webgl +## 0.9.28 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-device-renderer@1.9.24 + - @antv/g-plugin-dragndrop@1.8.16 + - @antv/g-plugin-gesture@1.2.4 + - @antv/g-plugin-html-renderer@1.9.19 + - @antv/g-plugin-image-loader@1.3.16 + - @antv/g-plugin-mobile-interaction@0.9.16 + ## 0.9.27 ### Patch Changes diff --git a/packages/g-mobile-webgl/package.json b/packages/g-mobile-webgl/package.json index 1411427e1..f123cbf04 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": "0.9.27", + "version": "0.9.28", "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 f6755a4d8..a938684eb 100644 --- a/packages/g-pattern/CHANGELOG.md +++ b/packages/g-pattern/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-pattern +## 1.2.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.2.15 ### Patch Changes diff --git a/packages/g-pattern/package.json b/packages/g-pattern/package.json index 346420dfc..32e66ca19 100644 --- a/packages/g-pattern/package.json +++ b/packages/g-pattern/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-pattern", - "version": "1.2.15", + "version": "1.2.16", "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 bc876e32f..1ef5a3181 100644 --- a/packages/g-plugin-3d/CHANGELOG.md +++ b/packages/g-plugin-3d/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-3d +## 1.9.24 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-device-renderer@1.9.24 + ## 1.9.23 ### Patch Changes diff --git a/packages/g-plugin-3d/package.json b/packages/g-plugin-3d/package.json index fee4c70a2..4c9183368 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": "1.9.23", + "version": "1.9.24", "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 f06cc8ac9..f38a8623c 100644 --- a/packages/g-plugin-a11y/CHANGELOG.md +++ b/packages/g-plugin-a11y/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-a11y +## 0.6.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 0.6.15 ### Patch Changes diff --git a/packages/g-plugin-a11y/package.json b/packages/g-plugin-a11y/package.json index 9a83cce47..7ee32a4ec 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": "0.6.15", + "version": "0.6.16", "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 25ecc4b88..3e52eb3ff 100644 --- a/packages/g-plugin-annotation/CHANGELOG.md +++ b/packages/g-plugin-annotation/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-annotation +## 0.4.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 0.4.15 ### Patch Changes diff --git a/packages/g-plugin-annotation/package.json b/packages/g-plugin-annotation/package.json index d01527f37..dce4a002a 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": "0.4.15", + "version": "0.4.16", "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 7a7225d9c..58a70aafd 100644 --- a/packages/g-plugin-box2d/CHANGELOG.md +++ b/packages/g-plugin-box2d/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-box2d +## 1.9.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.9.15 ### Patch Changes diff --git a/packages/g-plugin-box2d/package.json b/packages/g-plugin-box2d/package.json index a846d23c3..ab5a918da 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": "1.9.15", + "version": "1.9.16", "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 538ad2e72..a5d35f7d2 100644 --- a/packages/g-plugin-canvas-path-generator/CHANGELOG.md +++ b/packages/g-plugin-canvas-path-generator/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-canvas-path-generator +## 1.3.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.3.15 ### Patch Changes diff --git a/packages/g-plugin-canvas-path-generator/package.json b/packages/g-plugin-canvas-path-generator/package.json index 07ac88b7d..9e999f723 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": "1.3.15", + "version": "1.3.16", "description": "A G plugin of path generator with Canvas2D API", "keywords": [ "antv", diff --git a/packages/g-plugin-canvas-picker/CHANGELOG.md b/packages/g-plugin-canvas-picker/CHANGELOG.md index 4745639bd..9975c016e 100644 --- a/packages/g-plugin-canvas-picker/CHANGELOG.md +++ b/packages/g-plugin-canvas-picker/CHANGELOG.md @@ -1,5 +1,14 @@ # @antv/g-plugin-canvas-picker +## 1.10.18 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-canvas-path-generator@1.3.16 + - @antv/g-plugin-canvas-renderer@1.9.18 + ## 1.10.17 ### Patch Changes diff --git a/packages/g-plugin-canvas-picker/package.json b/packages/g-plugin-canvas-picker/package.json index a711caa32..0e69115ff 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": "1.10.17", + "version": "1.10.18", "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 17e45f52a..72515c5c0 100644 --- a/packages/g-plugin-canvas-renderer/CHANGELOG.md +++ b/packages/g-plugin-canvas-renderer/CHANGELOG.md @@ -1,5 +1,14 @@ # @antv/g-plugin-canvas-renderer +## 1.9.18 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-canvas-path-generator@1.3.16 + - @antv/g-plugin-image-loader@1.3.16 + ## 1.9.17 ### Patch Changes diff --git a/packages/g-plugin-canvas-renderer/package.json b/packages/g-plugin-canvas-renderer/package.json index a055bfa12..3cfb12c1b 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": "1.9.17", + "version": "1.9.18", "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 69bbda2b9..181c6e593 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 +## 1.3.17 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-image-loader@1.3.16 + ## 1.3.16 ### Patch Changes diff --git a/packages/g-plugin-canvaskit-renderer/package.json b/packages/g-plugin-canvaskit-renderer/package.json index 0978f283d..a2e192123 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": "1.3.16", + "version": "1.3.17", "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 033bd9733..4a4244223 100644 --- a/packages/g-plugin-control/CHANGELOG.md +++ b/packages/g-plugin-control/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-control +## 1.9.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.9.15 ### Patch Changes diff --git a/packages/g-plugin-control/package.json b/packages/g-plugin-control/package.json index 9d7c6f881..2a9883247 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": "1.9.15", + "version": "1.9.16", "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 5c0cd9fb2..9c6177832 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 +## 1.9.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.9.15 ### Patch Changes diff --git a/packages/g-plugin-css-select/package.json b/packages/g-plugin-css-select/package.json index cd1e3992b..b4dc0c00d 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": "1.9.15", + "version": "1.9.16", "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 a5027472f..ee5bfe877 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 +## 1.9.24 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-image-loader@1.3.16 + ## 1.9.23 ### Patch Changes diff --git a/packages/g-plugin-device-renderer/package.json b/packages/g-plugin-device-renderer/package.json index 59a7bbbd1..4dbb54c2e 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": "1.9.23", + "version": "1.9.24", "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 1ace5b50b..c11652779 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 +## 1.9.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.9.15 ### Patch Changes diff --git a/packages/g-plugin-dom-interaction/package.json b/packages/g-plugin-dom-interaction/package.json index 57c57f5ef..f91ecdf84 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": "1.9.15", + "version": "1.9.16", "description": "A G plugin", "keywords": [ "antv", diff --git a/packages/g-plugin-dragndrop/CHANGELOG.md b/packages/g-plugin-dragndrop/CHANGELOG.md index 6f400c7b5..d2b1dce7d 100644 --- a/packages/g-plugin-dragndrop/CHANGELOG.md +++ b/packages/g-plugin-dragndrop/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-dragndrop +## 1.8.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.8.15 ### Patch Changes diff --git a/packages/g-plugin-dragndrop/package.json b/packages/g-plugin-dragndrop/package.json index 57d19dc26..31c8a8593 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": "1.8.15", + "version": "1.8.16", "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 0aef0bb6b..98f455d3b 100644 --- a/packages/g-plugin-gesture/CHANGELOG.md +++ b/packages/g-plugin-gesture/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-gesture +## 1.2.4 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.2.3 ### Patch Changes diff --git a/packages/g-plugin-gesture/package.json b/packages/g-plugin-gesture/package.json index 517c25090..643f866bc 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": "1.2.3", + "version": "1.2.4", "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 9f793125d..0bfab21fc 100644 --- a/packages/g-plugin-html-renderer/CHANGELOG.md +++ b/packages/g-plugin-html-renderer/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-html-renderer +## 1.9.19 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.9.18 ### Patch Changes diff --git a/packages/g-plugin-html-renderer/package.json b/packages/g-plugin-html-renderer/package.json index e47da1506..1d18315a6 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": "1.9.18", + "version": "1.9.19", "description": "A G plugin for rendering HTML", "keywords": [ "antv", diff --git a/packages/g-plugin-image-loader/CHANGELOG.md b/packages/g-plugin-image-loader/CHANGELOG.md index dbb1afe30..7dba7cc58 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 +## 1.3.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.3.15 ### Patch Changes diff --git a/packages/g-plugin-image-loader/package.json b/packages/g-plugin-image-loader/package.json index 207cf948c..e93171528 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": "1.3.15", + "version": "1.3.16", "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 b5e6df145..840510a91 100644 --- a/packages/g-plugin-matterjs/CHANGELOG.md +++ b/packages/g-plugin-matterjs/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-matterjs +## 1.9.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.9.15 ### Patch Changes diff --git a/packages/g-plugin-matterjs/package.json b/packages/g-plugin-matterjs/package.json index 338b6801d..5395e25a0 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": "1.9.15", + "version": "1.9.16", "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 8a1f1d74c..5958dd5db 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 +## 0.9.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 0.9.15 ### Patch Changes diff --git a/packages/g-plugin-mobile-interaction/package.json b/packages/g-plugin-mobile-interaction/package.json index 43ed8434a..3445a26d2 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": "0.9.15", + "version": "0.9.16", "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 5a8f538c5..d480f711f 100644 --- a/packages/g-plugin-physx/CHANGELOG.md +++ b/packages/g-plugin-physx/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-physx +## 1.9.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.9.15 ### Patch Changes diff --git a/packages/g-plugin-physx/package.json b/packages/g-plugin-physx/package.json index 7850a1848..dccd291a5 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": "1.9.15", + "version": "1.9.16", "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 f4e501eb3..891cbeb29 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 +## 1.9.21 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-canvas@1.11.21 + ## 1.9.20 ### Patch Changes diff --git a/packages/g-plugin-rough-canvas-renderer/package.json b/packages/g-plugin-rough-canvas-renderer/package.json index 762e571a7..14a3c93fa 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": "1.9.20", + "version": "1.9.21", "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 6b4ade079..d30056463 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 +## 1.9.19 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-svg@1.10.18 + ## 1.9.18 ### Patch Changes diff --git a/packages/g-plugin-rough-svg-renderer/package.json b/packages/g-plugin-rough-svg-renderer/package.json index 10ad7b71c..7d4af7d49 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.18", + "version": "1.9.19", "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 d8ad35b00..67bd279e2 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 +## 1.9.18 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-svg-renderer@1.10.18 + ## 1.9.17 ### Patch Changes diff --git a/packages/g-plugin-svg-picker/package.json b/packages/g-plugin-svg-picker/package.json index 4cbf4ceab..be208da23 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.17", + "version": "1.9.18", "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 142f501fb..5eef35699 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 +## 1.10.18 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.10.17 ### Patch Changes diff --git a/packages/g-plugin-svg-renderer/package.json b/packages/g-plugin-svg-renderer/package.json index 9044525d6..a29fccd21 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.17", + "version": "1.10.18", "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 58b12417e..d1753741f 100644 --- a/packages/g-plugin-yoga/CHANGELOG.md +++ b/packages/g-plugin-yoga/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-yoga +## 1.9.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.9.15 ### Patch Changes diff --git a/packages/g-plugin-yoga/package.json b/packages/g-plugin-yoga/package.json index 5961f5c9e..d07187014 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": "1.9.15", + "version": "1.9.16", "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 a0999f096..892253878 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 +## 1.2.21 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-canvas@1.11.21 + ## 1.2.20 ### Patch Changes diff --git a/packages/g-plugin-zdog-canvas-renderer/package.json b/packages/g-plugin-zdog-canvas-renderer/package.json index d508c9e2d..53daf7bdb 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": "1.2.20", + "version": "1.2.21", "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 2fa6f858e..038821194 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 +## 1.2.19 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-svg-renderer@1.10.18 + - @antv/g-svg@1.10.18 + ## 1.2.18 ### Patch Changes diff --git a/packages/g-plugin-zdog-svg-renderer/package.json b/packages/g-plugin-zdog-svg-renderer/package.json index 382abe2e9..0076317d1 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.18", + "version": "1.2.19", "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 88d5e0da7..a62cea4b5 100644 --- a/packages/g-svg/CHANGELOG.md +++ b/packages/g-svg/CHANGELOG.md @@ -1,5 +1,15 @@ # @antv/g-svg +## 1.10.18 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-dom-interaction@1.9.16 + - @antv/g-plugin-svg-picker@1.9.18 + - @antv/g-plugin-svg-renderer@1.10.18 + ## 1.10.17 ### Patch Changes diff --git a/packages/g-svg/package.json b/packages/g-svg/package.json index 11c208b1e..4dc2f74d1 100644 --- a/packages/g-svg/package.json +++ b/packages/g-svg/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-svg", - "version": "1.10.17", + "version": "1.10.18", "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 fb5e997a9..5654c139c 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 +## 1.2.16 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + ## 1.2.15 ### Patch Changes diff --git a/packages/g-web-animations-api/package.json b/packages/g-web-animations-api/package.json index 5215bc0bb..368a8b4e3 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": "1.2.15", + "version": "1.2.16", "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 e2b9ca951..62bd06d18 100644 --- a/packages/g-web-components/CHANGELOG.md +++ b/packages/g-web-components/CHANGELOG.md @@ -1,5 +1,14 @@ # @antv/g-web-components +## 1.9.28 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-canvas@1.11.21 + - @antv/g-webgl@1.9.27 + ## 1.9.27 ### Patch Changes diff --git a/packages/g-web-components/package.json b/packages/g-web-components/package.json index 9f0269829..a646c39f1 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": "1.9.27", + "version": "1.9.28", "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 c50211634..31a400eab 100644 --- a/packages/g-webgl/CHANGELOG.md +++ b/packages/g-webgl/CHANGELOG.md @@ -1,5 +1,16 @@ # @antv/g-webgl +## 1.9.27 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-device-renderer@1.9.24 + - @antv/g-plugin-dom-interaction@1.9.16 + - @antv/g-plugin-html-renderer@1.9.19 + - @antv/g-plugin-image-loader@1.3.16 + ## 1.9.26 ### Patch Changes diff --git a/packages/g-webgl/package.json b/packages/g-webgl/package.json index db8a8ff1a..ab52e70a6 100644 --- a/packages/g-webgl/package.json +++ b/packages/g-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-webgl", - "version": "1.9.26", + "version": "1.9.27", "description": "A renderer implemented by WebGL1/2", "keywords": [ "antv", diff --git a/packages/g-webgpu/CHANGELOG.md b/packages/g-webgpu/CHANGELOG.md index d884c1ea0..35f59db35 100644 --- a/packages/g-webgpu/CHANGELOG.md +++ b/packages/g-webgpu/CHANGELOG.md @@ -1,5 +1,16 @@ # @antv/g-webgpu +## 1.9.27 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-plugin-device-renderer@1.9.24 + - @antv/g-plugin-dom-interaction@1.9.16 + - @antv/g-plugin-html-renderer@1.9.19 + - @antv/g-plugin-image-loader@1.3.16 + ## 1.9.26 ### Patch Changes diff --git a/packages/g-webgpu/package.json b/packages/g-webgpu/package.json index 9dbbe7f16..621e5c269 100644 --- a/packages/g-webgpu/package.json +++ b/packages/g-webgpu/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-webgpu", - "version": "1.9.26", + "version": "1.9.27", "description": "A renderer implemented by WebGPU", "keywords": [ "antv", diff --git a/packages/g/CHANGELOG.md b/packages/g/CHANGELOG.md index da041ec31..8dc74bf83 100644 --- a/packages/g/CHANGELOG.md +++ b/packages/g/CHANGELOG.md @@ -1,5 +1,15 @@ # @antv/g +## 5.18.18 + +### Patch Changes + +- Updated dependencies [7e3dbd76] + - @antv/g-lite@1.2.16 + - @antv/g-camera-api@1.2.17 + - @antv/g-dom-mutation-observer-api@1.2.16 + - @antv/g-web-animations-api@1.2.16 + ## 5.18.17 ### Patch Changes diff --git a/packages/g/package.json b/packages/g/package.json index 2e2009d97..0bb4eb6da 100644 --- a/packages/g/package.json +++ b/packages/g/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g", - "version": "5.18.17", + "version": "5.18.18", "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 94cd1c7af..b79cebfb2 100644 --- a/packages/react-g/CHANGELOG.md +++ b/packages/react-g/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/react-g +## 1.10.19 + +### Patch Changes + +- 08d08128: Use ownerDocument to createElement later in element. + - @antv/g@5.18.18 + ## 1.10.18 ### Patch Changes diff --git a/packages/react-g/package.json b/packages/react-g/package.json index 9f769ca44..e281455e4 100644 --- a/packages/react-g/package.json +++ b/packages/react-g/package.json @@ -1,6 +1,6 @@ { "name": "@antv/react-g", - "version": "1.10.18", + "version": "1.10.19", "description": "react render for @antv/g", "keywords": [ "react", diff --git a/packages/react-g/src/reconciler.ts b/packages/react-g/src/reconciler.ts index b1d51b05d..222837c37 100644 --- a/packages/react-g/src/reconciler.ts +++ b/packages/react-g/src/reconciler.ts @@ -58,8 +58,10 @@ export const reconcilor = ReactReconciler< hostContext: HostContext, internalInstanceHandle: OpaqueHandle, ): Instance { - const canvas = rootContainerInstance as unknown as Canvas; - const instance = canvas.document.createElement(type, { + const instance = ( + (rootContainerInstance as unknown as Canvas).document || + rootContainerInstance.ownerDocument + ).createElement(type, { style: props, }) as unknown as Element; // @ts-ignore diff --git a/site/examples/ecosystem/declarative/demo/meta.json b/site/examples/ecosystem/declarative/demo/meta.json index cc6b46ec4..29625856a 100644 --- a/site/examples/ecosystem/declarative/demo/meta.json +++ b/site/examples/ecosystem/declarative/demo/meta.json @@ -24,6 +24,13 @@ "zh": "ReactG", "en": "ReactG" } + }, + { + "filename": "react-g-render.js", + "title": { + "zh": "ReactG 渲染到任意 G 的图形", + "en": "ReactG render to any element from G" + } } ] } diff --git a/site/examples/ecosystem/declarative/demo/react-g-render.js b/site/examples/ecosystem/declarative/demo/react-g-render.js new file mode 100644 index 000000000..ea20c93df --- /dev/null +++ b/site/examples/ecosystem/declarative/demo/react-g-render.js @@ -0,0 +1,93 @@ +import React, { useState, useEffect } from 'react'; +import ReactDOM from 'react-dom'; +import { Canvas as GCanvas, Group as GGroup, runtime } from '@antv/g'; +import { Renderer } from '@antv/g-canvas'; +import { + Circle, + Ellipse, + Line, + Polyline, + Path, + Text, + Rect, + Group, + render, +} from '@antv/react-g'; + +const CustomShape = () => { + const [size, setSize] = useState(100); + return ( + + + + + + + + + + + { + setSize(80); + }} + onMouseleave={() => { + setSize(100); + }} + > + + + + + ); +}; + +const App = () => { + useEffect(() => { + // runtime.enableCSSParsing = false; + + const canvas = new GCanvas({ + container: 'C', + width: 500, + height: 500, + renderer: new Renderer(), // select a renderer + }); + + const group = new GGroup(); + canvas.appendChild(group); + + render(, group); + + console.log(group); + }, []); + + return
; +}; + +ReactDOM.render(, document.getElementById('container'));