From acd120ec75ad90fedc420b317ea2ab449bdb6800 Mon Sep 17 00:00:00 2001 From: xiaoiver Date: Tue, 19 Mar 2024 09:37:42 +0800 Subject: [PATCH] Release (#1644) * Fix 1641 (#1642) * fix: support shadowRoot #1641 * chore: commit changeset * chore: remove gui from test cases for now * chore(release): bump version (#1643) 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] --- __tests__/main.ts | 7 ++--- jest.node.config.js | 1 + packages/g-camera-api/CHANGELOG.md | 7 +++++ packages/g-camera-api/package.json | 2 +- packages/g-canvas/CHANGELOG.md | 13 ++++++++ packages/g-canvas/package.json | 2 +- packages/g-canvaskit/CHANGELOG.md | 13 ++++++++ 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/plugins/EventPlugin.ts | 20 ++++-------- packages/g-lite/src/services/EventService.ts | 31 +++++++++++++------ 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 | 14 +++++++++ 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 | 7 +++++ .../package.json | 2 +- packages/g-plugin-canvas-picker/CHANGELOG.md | 9 ++++++ packages/g-plugin-canvas-picker/package.json | 2 +- .../g-plugin-canvas-renderer/CHANGELOG.md | 9 ++++++ .../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 | 7 +++++ packages/g-plugin-html-renderer/package.json | 2 +- 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 | 9 ++++++ packages/g-plugin-svg-picker/package.json | 2 +- .../src/SVGPickerPlugin.ts | 20 +++++++----- 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 +- 99 files changed, 478 insertions(+), 82 deletions(-) diff --git a/__tests__/main.ts b/__tests__/main.ts index 937a0267d..c85897f13 100644 --- a/__tests__/main.ts +++ b/__tests__/main.ts @@ -1,4 +1,3 @@ -import * as lil from 'lil-gui'; import { runtime, Canvas, CanvasEvent } from '../packages/g'; import { Renderer as CanvasRenderer } from '../packages/g-canvas'; import { Renderer as CanvaskitRenderer } from '../packages/g-canvaskit'; @@ -209,10 +208,10 @@ function createSpecRender(object) { window.__g_instances__ = [canvas]; // GUI - const gui = new lil.GUI({ autoPlace: false }); - $div.appendChild(gui.domElement); + // const gui = new lil.GUI({ autoPlace: false }); + // $div.appendChild(gui.domElement); - await generate({ canvas, renderer, container: $div, gui }); + await generate({ canvas, renderer, container: $div }); if ( selectRenderer.value === 'canvas' && diff --git a/jest.node.config.js b/jest.node.config.js index f3e6dc553..51321756b 100644 --- a/jest.node.config.js +++ b/jest.node.config.js @@ -47,4 +47,5 @@ module.exports = { globalSetup: './scripts/jest/setup.js', globalTeardown: './scripts/jest/teardown.js', testEnvironment: './scripts/jest/environment.js', + testPathIgnorePatterns: ['/__tests__/main.ts'], }; diff --git a/packages/g-camera-api/CHANGELOG.md b/packages/g-camera-api/CHANGELOG.md index e8146822a..f5bc83b1e 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.25 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.2.24 ### Patch Changes diff --git a/packages/g-camera-api/package.json b/packages/g-camera-api/package.json index 40062c820..4c30f112e 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.24", + "version": "1.2.25", "description": "A simple implementation of Camera API.", "keywords": [ "antv", diff --git a/packages/g-canvas/CHANGELOG.md b/packages/g-canvas/CHANGELOG.md index 393c5d10c..aa976407a 100644 --- a/packages/g-canvas/CHANGELOG.md +++ b/packages/g-canvas/CHANGELOG.md @@ -1,5 +1,18 @@ # @antv/g-canvas +## 1.11.29 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-canvas-path-generator@1.3.24 + - @antv/g-plugin-canvas-picker@1.10.26 + - @antv/g-plugin-canvas-renderer@1.9.26 + - @antv/g-plugin-dom-interaction@1.9.24 + - @antv/g-plugin-html-renderer@1.9.27 + - @antv/g-plugin-image-loader@1.3.24 + ## 1.11.28 ### Patch Changes diff --git a/packages/g-canvas/package.json b/packages/g-canvas/package.json index 8e95e6b66..f019b9bfe 100644 --- a/packages/g-canvas/package.json +++ b/packages/g-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-canvas", - "version": "1.11.28", + "version": "1.11.29", "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 d1a2b7d3c..f42d0442a 100644 --- a/packages/g-canvaskit/CHANGELOG.md +++ b/packages/g-canvaskit/CHANGELOG.md @@ -1,5 +1,18 @@ # @antv/g-canvaskit +## 0.10.29 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-canvas-path-generator@1.3.24 + - @antv/g-plugin-canvas-picker@1.10.26 + - @antv/g-plugin-canvaskit-renderer@1.3.25 + - @antv/g-plugin-dom-interaction@1.9.24 + - @antv/g-plugin-html-renderer@1.9.27 + - @antv/g-plugin-image-loader@1.3.24 + ## 0.10.28 ### Patch Changes diff --git a/packages/g-canvaskit/package.json b/packages/g-canvaskit/package.json index a62d3deb8..c58f13664 100644 --- a/packages/g-canvaskit/package.json +++ b/packages/g-canvaskit/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-canvaskit", - "version": "0.10.28", + "version": "0.10.29", "description": "A renderer implemented by CanvasKit", "keywords": [ "antv", diff --git a/packages/g-components/CHANGELOG.md b/packages/g-components/CHANGELOG.md index 6e59256c7..97557db86 100644 --- a/packages/g-components/CHANGELOG.md +++ b/packages/g-components/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-components +## 1.9.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.9.23 ### Patch Changes diff --git a/packages/g-components/package.json b/packages/g-components/package.json index 01842fe50..956486d09 100644 --- a/packages/g-components/package.json +++ b/packages/g-components/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-components", - "version": "1.9.23", + "version": "1.9.24", "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 9b87d3361..7905c7177 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.2.23 ### Patch Changes diff --git a/packages/g-dom-mutation-observer-api/package.json b/packages/g-dom-mutation-observer-api/package.json index fb7cacb3a..cdc1d0247 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.23", + "version": "1.2.24", "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 9dec6892a..f987096e7 100644 --- a/packages/g-gesture/CHANGELOG.md +++ b/packages/g-gesture/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-gesture +## 2.2.27 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 2.2.26 ### Patch Changes diff --git a/packages/g-gesture/package.json b/packages/g-gesture/package.json index 252dda3d9..cb138f436 100644 --- a/packages/g-gesture/package.json +++ b/packages/g-gesture/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-gesture", - "version": "2.2.26", + "version": "2.2.27", "description": "G Gesture", "keywords": [ "antv", diff --git a/packages/g-image-exporter/CHANGELOG.md b/packages/g-image-exporter/CHANGELOG.md index 74b7ca6d3..d7b27605c 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 0.7.23 ### Patch Changes diff --git a/packages/g-image-exporter/package.json b/packages/g-image-exporter/package.json index 191aacf43..34692075c 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.23", + "version": "0.7.24", "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 0bf84799a..f0de86392 100644 --- a/packages/g-lite/CHANGELOG.md +++ b/packages/g-lite/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/g-lite +## 1.2.24 + +### Patch Changes + +- 10397c19: Support shadowRoot when picking. + ## 1.2.23 ### Patch Changes diff --git a/packages/g-lite/package.json b/packages/g-lite/package.json index 0b6be3eb7..379cb6404 100644 --- a/packages/g-lite/package.json +++ b/packages/g-lite/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-lite", - "version": "1.2.23", + "version": "1.2.24", "description": "A core module for rendering engine implements DOM API.", "keywords": [ "antv", diff --git a/packages/g-lite/src/plugins/EventPlugin.ts b/packages/g-lite/src/plugins/EventPlugin.ts index 31b4b47ab..a09d57636 100644 --- a/packages/g-lite/src/plugins/EventPlugin.ts +++ b/packages/g-lite/src/plugins/EventPlugin.ts @@ -94,20 +94,12 @@ export class EventPlugin implements RenderingPlugin { const $element = this.context.contextService.getDomElement() as HTMLCanvasElement; - let outside = 'outside'; - try { - outside = - $element && - nativeEvent.target && - nativeEvent.target !== $element && - $element.contains && - !$element.contains(nativeEvent.target as Node) - ? 'outside' - : ''; - } catch (e) { - // nativeEvent.target maybe not Node, such as Window - // @see https://github.com/antvis/G/issues/1235 - } + const isNativeEventFromCanvas = + this.context.eventService.isNativeEventFromCanvas( + $element, + nativeEvent, + ); + const outside = !isNativeEventFromCanvas ? 'outside' : ''; const normalizedEvents = this.normalizeToPointerEvent( nativeEvent, canvas, diff --git a/packages/g-lite/src/services/EventService.ts b/packages/g-lite/src/services/EventService.ts index 79e9e6721..c93ec7315 100644 --- a/packages/g-lite/src/services/EventService.ts +++ b/packages/g-lite/src/services/EventService.ts @@ -1,6 +1,6 @@ import EventEmitter from 'eventemitter3'; import { mat4, vec3 } from 'gl-matrix'; -import type { CanvasContext, GlobalRuntime } from '..'; +import type { CanvasContext, GlobalRuntime, InteractivePointerEvent } from '..'; import type { HTML } from '../display-objects'; import type { FederatedEvent } from '../dom/FederatedEvent'; import { FederatedMouseEvent } from '../dom/FederatedMouseEvent'; @@ -709,10 +709,16 @@ export class EventService { * whether the native event trigger came from Canvas, * should account for HTML shape */ - private isNativeEventFromCanvas(event: FederatedEvent) { - const $el = this.context.contextService.getDomElement(); - - const target = event.nativeEvent?.target; + isNativeEventFromCanvas( + $el: HTMLCanvasElement, + nativeEvent: InteractivePointerEvent, + ) { + let target = nativeEvent?.target as Element; + // Get event target inside a web component. + // @see https://stackoverflow.com/questions/57963312/get-event-target-inside-a-web-component + if (target?.shadowRoot) { + target = nativeEvent.composedPath()[0] as Element; + } if (target) { // from @@ -726,8 +732,8 @@ export class EventService { } } - if (event.nativeEvent.composedPath) { - return event.nativeEvent.composedPath().indexOf($el as EventTarget) > -1; + if (nativeEvent?.composedPath) { + return nativeEvent.composedPath().indexOf($el as EventTarget) > -1; } // account for Touch @@ -779,10 +785,13 @@ export class EventService { event.originalEvent = from; const existedHTML = this.getExistedHTML(event); + const $el = + this.context.contextService.getDomElement() as HTMLCanvasElement; event.target = target ?? (existedHTML || - (this.isNativeEventFromCanvas(event) && this.pickTarget(event)) || + (this.isNativeEventFromCanvas($el, event.nativeEvent) && + this.pickTarget(event)) || fallbackTarget); if (typeof type === 'string') { @@ -802,9 +811,13 @@ export class EventService { event.nativeEvent = from.nativeEvent; event.originalEvent = from; const existedHTML = this.getExistedHTML(event); + + const $el = + this.context.contextService.getDomElement() as HTMLCanvasElement; event.target = existedHTML || - (this.isNativeEventFromCanvas(event) && this.pickTarget(event)); + (this.isNativeEventFromCanvas($el, event.nativeEvent) && + this.pickTarget(event)); return event; } diff --git a/packages/g-lottie-player/CHANGELOG.md b/packages/g-lottie-player/CHANGELOG.md index 678f49808..b644f9209 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 0.2.23 ### Patch Changes diff --git a/packages/g-lottie-player/package.json b/packages/g-lottie-player/package.json index 949c5f4ad..c271301f5 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.23", + "version": "0.2.24", "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 6a48d4034..685192779 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 0.8.23 ### Patch Changes diff --git a/packages/g-mobile-canvas-element/package.json b/packages/g-mobile-canvas-element/package.json index 70babca28..8b9e20906 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.23", + "version": "0.8.24", "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 8bf197d1c..84560bff3 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.17 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-canvas-path-generator@1.3.24 + - @antv/g-plugin-canvas-picker@1.10.26 + - @antv/g-plugin-canvas-renderer@1.9.26 + - @antv/g-plugin-dragndrop@1.8.24 + - @antv/g-plugin-gesture@1.2.12 + - @antv/g-plugin-image-loader@1.3.24 + - @antv/g-plugin-mobile-interaction@0.9.24 + ## 0.11.16 ### Patch Changes diff --git a/packages/g-mobile-canvas/package.json b/packages/g-mobile-canvas/package.json index 15f7210d4..11cc8f431 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.16", + "version": "0.11.17", "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 f0d373853..670c4cd40 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.29 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-plugin-svg-picker@1.9.28 + - @antv/g-lite@1.2.24 + - @antv/g-plugin-dragndrop@1.8.24 + - @antv/g-plugin-gesture@1.2.12 + - @antv/g-plugin-mobile-interaction@0.9.24 + - @antv/g-plugin-svg-renderer@1.10.28 + ## 0.10.28 ### Patch Changes diff --git a/packages/g-mobile-svg/package.json b/packages/g-mobile-svg/package.json index e824cd28b..1dd43871a 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.28", + "version": "0.10.29", "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 939a58566..20bbc2424 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.40 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-device-renderer@1.9.36 + - @antv/g-plugin-dragndrop@1.8.24 + - @antv/g-plugin-gesture@1.2.12 + - @antv/g-plugin-html-renderer@1.9.27 + - @antv/g-plugin-image-loader@1.3.24 + - @antv/g-plugin-mobile-interaction@0.9.24 + ## 0.9.39 ### Patch Changes diff --git a/packages/g-mobile-webgl/package.json b/packages/g-mobile-webgl/package.json index 242a3b48d..e79a5d277 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.39", + "version": "0.9.40", "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 f95d04d4e..9effa7131 100644 --- a/packages/g-pattern/CHANGELOG.md +++ b/packages/g-pattern/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-pattern +## 1.2.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.2.23 ### Patch Changes diff --git a/packages/g-pattern/package.json b/packages/g-pattern/package.json index 3612ba255..fff7f291d 100644 --- a/packages/g-pattern/package.json +++ b/packages/g-pattern/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-pattern", - "version": "1.2.23", + "version": "1.2.24", "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 41865085a..df6cf26b9 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.36 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-device-renderer@1.9.36 + ## 1.9.35 ### Patch Changes diff --git a/packages/g-plugin-3d/package.json b/packages/g-plugin-3d/package.json index a68780cc6..3b483fc7a 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.35", + "version": "1.9.36", "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 6a0d1709c..e5f4b6f89 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 0.6.23 ### Patch Changes diff --git a/packages/g-plugin-a11y/package.json b/packages/g-plugin-a11y/package.json index 17799e83c..3850cbc38 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.23", + "version": "0.6.24", "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 f4a27f842..657db69df 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 0.4.23 ### Patch Changes diff --git a/packages/g-plugin-annotation/package.json b/packages/g-plugin-annotation/package.json index 9577249c8..a623f4008 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.23", + "version": "0.4.24", "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 474061d70..27b86a13b 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.9.23 ### Patch Changes diff --git a/packages/g-plugin-box2d/package.json b/packages/g-plugin-box2d/package.json index 93bfb029b..a1b4c4965 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.23", + "version": "1.9.24", "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 a053af393..a76a5f65e 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.3.23 ### Patch Changes diff --git a/packages/g-plugin-canvas-path-generator/package.json b/packages/g-plugin-canvas-path-generator/package.json index 9993a6a07..c08dad826 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.23", + "version": "1.3.24", "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 b9712ffc3..0f6323384 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.26 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-canvas-path-generator@1.3.24 + - @antv/g-plugin-canvas-renderer@1.9.26 + ## 1.10.25 ### Patch Changes diff --git a/packages/g-plugin-canvas-picker/package.json b/packages/g-plugin-canvas-picker/package.json index 9fb9da4c0..ea435bd46 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.25", + "version": "1.10.26", "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 79d005d9b..07ba8eaf9 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.26 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-canvas-path-generator@1.3.24 + - @antv/g-plugin-image-loader@1.3.24 + ## 1.9.25 ### Patch Changes diff --git a/packages/g-plugin-canvas-renderer/package.json b/packages/g-plugin-canvas-renderer/package.json index 2c410e493..70a67c1d8 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.25", + "version": "1.9.26", "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 a71286aff..d94821c6f 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.25 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-image-loader@1.3.24 + ## 1.3.24 ### Patch Changes diff --git a/packages/g-plugin-canvaskit-renderer/package.json b/packages/g-plugin-canvaskit-renderer/package.json index f646e4517..ca701d16f 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.24", + "version": "1.3.25", "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 2dc9f8c7b..adf1ba781 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.9.23 ### Patch Changes diff --git a/packages/g-plugin-control/package.json b/packages/g-plugin-control/package.json index b97c89892..7ce75a269 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.23", + "version": "1.9.24", "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 5fa9466e5..fca2c09da 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.9.23 ### Patch Changes diff --git a/packages/g-plugin-css-select/package.json b/packages/g-plugin-css-select/package.json index dd0bf0d3d..2638607ca 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.23", + "version": "1.9.24", "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 da4083cbf..a80fc9df8 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.36 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-image-loader@1.3.24 + ## 1.9.35 ### Patch Changes diff --git a/packages/g-plugin-device-renderer/package.json b/packages/g-plugin-device-renderer/package.json index dd425aed7..4d07616f9 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.35", + "version": "1.9.36", "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 336ca879f..3fec40221 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.9.23 ### Patch Changes diff --git a/packages/g-plugin-dom-interaction/package.json b/packages/g-plugin-dom-interaction/package.json index 7a2872969..f9f2ba894 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.23", + "version": "1.9.24", "description": "A G plugin", "keywords": [ "antv", diff --git a/packages/g-plugin-dragndrop/CHANGELOG.md b/packages/g-plugin-dragndrop/CHANGELOG.md index 8952f3cc8..ffbf9159a 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.8.23 ### Patch Changes diff --git a/packages/g-plugin-dragndrop/package.json b/packages/g-plugin-dragndrop/package.json index e3e9ad9d7..6e383817b 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.23", + "version": "1.8.24", "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 484b44e53..805f7dec4 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.12 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.2.11 ### Patch Changes diff --git a/packages/g-plugin-gesture/package.json b/packages/g-plugin-gesture/package.json index f9729d7a2..f7ba295c5 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.11", + "version": "1.2.12", "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 88992e60c..62f27a766 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.27 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.9.26 ### Patch Changes diff --git a/packages/g-plugin-html-renderer/package.json b/packages/g-plugin-html-renderer/package.json index 77ae80d7a..3577e0e9f 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.26", + "version": "1.9.27", "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 2dcecf87a..5e44130e7 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.3.23 ### Patch Changes diff --git a/packages/g-plugin-image-loader/package.json b/packages/g-plugin-image-loader/package.json index 50823baf6..fe637f6ab 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.23", + "version": "1.3.24", "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 da0b0a1f2..6f487cb46 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.9.23 ### Patch Changes diff --git a/packages/g-plugin-matterjs/package.json b/packages/g-plugin-matterjs/package.json index e2e6f4bd4..c611de7d7 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.23", + "version": "1.9.24", "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 4c2363ed9..a5bda56fc 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 0.9.23 ### Patch Changes diff --git a/packages/g-plugin-mobile-interaction/package.json b/packages/g-plugin-mobile-interaction/package.json index c487ab9fd..c1e9e946d 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.23", + "version": "0.9.24", "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 e60b68f06..6bfe4ff83 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.9.23 ### Patch Changes diff --git a/packages/g-plugin-physx/package.json b/packages/g-plugin-physx/package.json index fef19a5e9..c797682af 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.23", + "version": "1.9.24", "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 e6c4f2e4c..50e07c7b5 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.29 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-canvas@1.11.29 + ## 1.9.28 ### Patch Changes diff --git a/packages/g-plugin-rough-canvas-renderer/package.json b/packages/g-plugin-rough-canvas-renderer/package.json index 87282f39a..6d8fc5779 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.28", + "version": "1.9.29", "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 ffd2a069a..7b20dd9ba 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.29 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-svg@1.10.28 + ## 1.9.28 ### Patch Changes diff --git a/packages/g-plugin-rough-svg-renderer/package.json b/packages/g-plugin-rough-svg-renderer/package.json index eb0b8aef7..294acec5a 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.28", + "version": "1.9.29", "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 c378fb75f..75b7d91e6 100644 --- a/packages/g-plugin-svg-picker/CHANGELOG.md +++ b/packages/g-plugin-svg-picker/CHANGELOG.md @@ -1,5 +1,14 @@ # @antv/g-plugin-svg-picker +## 1.9.28 + +### Patch Changes + +- 10397c19: Support shadowRoot when picking. +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-svg-renderer@1.10.28 + ## 1.9.27 ### Patch Changes diff --git a/packages/g-plugin-svg-picker/package.json b/packages/g-plugin-svg-picker/package.json index 05fd2e7d1..a6841d02f 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.27", + "version": "1.9.28", "description": "A G plugin for picking in SVG", "keywords": [ "antv", diff --git a/packages/g-plugin-svg-picker/src/SVGPickerPlugin.ts b/packages/g-plugin-svg-picker/src/SVGPickerPlugin.ts index 51351cfdf..137eb8b19 100644 --- a/packages/g-plugin-svg-picker/src/SVGPickerPlugin.ts +++ b/packages/g-plugin-svg-picker/src/SVGPickerPlugin.ts @@ -40,7 +40,7 @@ export class SVGPickerPlugin implements RenderingPlugin { private pick( svgElementMap: WeakMap, - doc: Document, + doc: Document | ShadowRoot, result: PickingResult, ) { const { @@ -55,14 +55,18 @@ export class SVGPickerPlugin implements RenderingPlugin { clientX, clientY, )) { - const target = svgElementMap.get(element as SVGElement); - // don't need to account for `visibility` since DOM API already does - if (target && target.isInteractive()) { - targets.push(target); + if (element.shadowRoot && element.shadowRoot !== doc) { + return this.pick(svgElementMap, element.shadowRoot, result); + } else { + const target = svgElementMap.get(element as SVGElement); + // don't need to account for `visibility` since DOM API already does + if (target && target.isInteractive()) { + targets.push(target); - if (topmost) { - result.picked = targets; - return result; + if (topmost) { + result.picked = targets; + return result; + } } } } diff --git a/packages/g-plugin-svg-renderer/CHANGELOG.md b/packages/g-plugin-svg-renderer/CHANGELOG.md index f87d69e39..486164358 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.28 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.10.27 ### Patch Changes diff --git a/packages/g-plugin-svg-renderer/package.json b/packages/g-plugin-svg-renderer/package.json index 2001e5607..ff30c2338 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.27", + "version": "1.10.28", "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 ca0251aa7..264c2c053 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.24 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.9.23 ### Patch Changes diff --git a/packages/g-plugin-yoga/package.json b/packages/g-plugin-yoga/package.json index 5661badff..0d53c1123 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.23", + "version": "1.9.24", "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 34b0964aa..c7597eaa4 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.29 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-canvas@1.11.29 + ## 1.2.28 ### Patch Changes diff --git a/packages/g-plugin-zdog-canvas-renderer/package.json b/packages/g-plugin-zdog-canvas-renderer/package.json index 2f4f8f76a..7d0882e15 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.28", + "version": "1.2.29", "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 b99da2ca9..79a5508a7 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.29 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-svg@1.10.28 + - @antv/g-plugin-svg-renderer@1.10.28 + ## 1.2.28 ### Patch Changes diff --git a/packages/g-plugin-zdog-svg-renderer/package.json b/packages/g-plugin-zdog-svg-renderer/package.json index 1fed193ae..1bcdb19cd 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.28", + "version": "1.2.29", "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 7ee5efbea..f0474d47f 100644 --- a/packages/g-svg/CHANGELOG.md +++ b/packages/g-svg/CHANGELOG.md @@ -1,5 +1,15 @@ # @antv/g-svg +## 1.10.28 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-plugin-svg-picker@1.9.28 + - @antv/g-lite@1.2.24 + - @antv/g-plugin-dom-interaction@1.9.24 + - @antv/g-plugin-svg-renderer@1.10.28 + ## 1.10.27 ### Patch Changes diff --git a/packages/g-svg/package.json b/packages/g-svg/package.json index 543eca723..bd17b7d56 100644 --- a/packages/g-svg/package.json +++ b/packages/g-svg/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-svg", - "version": "1.10.27", + "version": "1.10.28", "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 a6b6d4065..37071adbb 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.25 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + ## 1.2.24 ### Patch Changes diff --git a/packages/g-web-animations-api/package.json b/packages/g-web-animations-api/package.json index 01d5ddb33..4b4dabaca 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.24", + "version": "1.2.25", "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 632d317ab..ed32c8aee 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.40 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-canvas@1.11.29 + - @antv/g-webgl@1.9.39 + ## 1.9.39 ### Patch Changes diff --git a/packages/g-web-components/package.json b/packages/g-web-components/package.json index f62796e84..0b0a7ad1e 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.39", + "version": "1.9.40", "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 a53deeb2e..d43833c43 100644 --- a/packages/g-webgl/CHANGELOG.md +++ b/packages/g-webgl/CHANGELOG.md @@ -1,5 +1,16 @@ # @antv/g-webgl +## 1.9.39 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-device-renderer@1.9.36 + - @antv/g-plugin-dom-interaction@1.9.24 + - @antv/g-plugin-html-renderer@1.9.27 + - @antv/g-plugin-image-loader@1.3.24 + ## 1.9.38 ### Patch Changes diff --git a/packages/g-webgl/package.json b/packages/g-webgl/package.json index 6b481842f..ecc723314 100644 --- a/packages/g-webgl/package.json +++ b/packages/g-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-webgl", - "version": "1.9.38", + "version": "1.9.39", "description": "A renderer implemented by WebGL1/2", "keywords": [ "antv", diff --git a/packages/g-webgpu/CHANGELOG.md b/packages/g-webgpu/CHANGELOG.md index c465070f3..3805f141f 100644 --- a/packages/g-webgpu/CHANGELOG.md +++ b/packages/g-webgpu/CHANGELOG.md @@ -1,5 +1,16 @@ # @antv/g-webgpu +## 1.9.39 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-plugin-device-renderer@1.9.36 + - @antv/g-plugin-dom-interaction@1.9.24 + - @antv/g-plugin-html-renderer@1.9.27 + - @antv/g-plugin-image-loader@1.3.24 + ## 1.9.38 ### Patch Changes diff --git a/packages/g-webgpu/package.json b/packages/g-webgpu/package.json index b1a7fb386..b0835fe32 100644 --- a/packages/g-webgpu/package.json +++ b/packages/g-webgpu/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-webgpu", - "version": "1.9.38", + "version": "1.9.39", "description": "A renderer implemented by WebGPU", "keywords": [ "antv", diff --git a/packages/g/CHANGELOG.md b/packages/g/CHANGELOG.md index ec330152f..a0dcc9dff 100644 --- a/packages/g/CHANGELOG.md +++ b/packages/g/CHANGELOG.md @@ -1,5 +1,15 @@ # @antv/g +## 5.18.27 + +### Patch Changes + +- Updated dependencies [10397c19] + - @antv/g-lite@1.2.24 + - @antv/g-camera-api@1.2.25 + - @antv/g-dom-mutation-observer-api@1.2.24 + - @antv/g-web-animations-api@1.2.25 + ## 5.18.26 ### Patch Changes diff --git a/packages/g/package.json b/packages/g/package.json index a87cc7f28..9acc07249 100644 --- a/packages/g/package.json +++ b/packages/g/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g", - "version": "5.18.26", + "version": "5.18.27", "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 5d9655652..74951657f 100644 --- a/packages/react-g/CHANGELOG.md +++ b/packages/react-g/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/react-g +## 1.10.28 + +### Patch Changes + +- @antv/g@5.18.27 + ## 1.10.27 ### Patch Changes diff --git a/packages/react-g/package.json b/packages/react-g/package.json index cb95d186d..6c11085cf 100644 --- a/packages/react-g/package.json +++ b/packages/react-g/package.json @@ -1,6 +1,6 @@ { "name": "@antv/react-g", - "version": "1.10.27", + "version": "1.10.28", "description": "react render for @antv/g", "keywords": [ "react",