From 494aedcda0e6332ccba00abdf2ba3bf281926f25 Mon Sep 17 00:00:00 2001 From: xiaoiver Date: Thu, 28 Mar 2024 15:57:53 +0800 Subject: [PATCH] Release (#1655) * fix: update geometry before getting computed length #1651 (#1652) * chore: commit changeset (#1653) * chore: commit changeset * fix: set default fill & stroke to 'none' in rough.js * chore: commit changeset * chore(release): bump version (#1654) 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__/unit/display-objects/text.spec.ts | 297 ++++++++---------- __tests__/unit/offscreenCanvasContext.ts | 129 ++++++++ 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/display-objects/Text.ts | 3 + 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 | 9 + .../package.json | 2 +- .../src/util.ts | 4 +- .../g-plugin-rough-svg-renderer/CHANGELOG.md | 9 + .../g-plugin-rough-svg-renderer/package.json | 2 +- .../g-plugin-rough-svg-renderer/src/util.ts | 4 +- packages/g-plugin-svg-picker/CHANGELOG.md | 8 + packages/g-plugin-svg-picker/package.json | 2 +- packages/g-plugin-svg-renderer/CHANGELOG.md | 7 + packages/g-plugin-svg-renderer/package.json | 2 +- packages/g-plugin-yoga/CHANGELOG.md | 7 + packages/g-plugin-yoga/package.json | 2 +- .../CHANGELOG.md | 8 + .../package.json | 2 +- .../g-plugin-zdog-svg-renderer/CHANGELOG.md | 9 + .../g-plugin-zdog-svg-renderer/package.json | 2 +- packages/g-svg/CHANGELOG.md | 10 + packages/g-svg/package.json | 2 +- packages/g-web-animations-api/CHANGELOG.md | 7 + packages/g-web-animations-api/package.json | 2 +- packages/g-web-components/CHANGELOG.md | 9 + packages/g-web-components/package.json | 2 +- packages/g-webgl/CHANGELOG.md | 11 + packages/g-webgl/package.json | 2 +- packages/g-webgpu/CHANGELOG.md | 11 + packages/g-webgpu/package.json | 2 +- packages/g/CHANGELOG.md | 10 + packages/g/package.json | 2 +- packages/react-g/CHANGELOG.md | 6 + packages/react-g/package.json | 2 +- 99 files changed, 706 insertions(+), 213 deletions(-) create mode 100644 __tests__/unit/offscreenCanvasContext.ts diff --git a/__tests__/unit/display-objects/text.spec.ts b/__tests__/unit/display-objects/text.spec.ts index 47e451704..a2de47800 100644 --- a/__tests__/unit/display-objects/text.spec.ts +++ b/__tests__/unit/display-objects/text.spec.ts @@ -1,5 +1,7 @@ +import { vec3 } from 'gl-matrix'; import { Renderer as CanvasRenderer } from '../../../packages/g-svg/src'; -import { Canvas, Group, Rect, Text } from '../../../packages/g/src'; +import { Canvas, Text } from '../../../packages/g/src'; +import { OffscreenCanvasContext } from '../offscreenCanvasContext'; const $container = document.createElement('div'); $container.id = 'container'; @@ -7,15 +9,21 @@ document.body.prepend($container); const renderer = new CanvasRenderer(); +const offscreenNodeCanvas = { + getContext: () => context, +} as unknown as HTMLCanvasElement; +const context = new OffscreenCanvasContext(offscreenNodeCanvas); + // create a canvas const canvas = new Canvas({ container: 'container', width: 600, height: 500, renderer, + offscreenCanvas: offscreenNodeCanvas as any, }); -describe.skip('Text', () => { +describe('Text', () => { // afterEach(() => { // canvas.destroyChildren(); // }); @@ -31,77 +39,73 @@ describe.skip('Text', () => { }, }); expect(text.style.text).toBe(1); - expect(text.parsedStyle.text).toBe('1'); + expect(text.parsedStyle.text).toBe(1); }); it('should calc global bounds correctly', () => { const text = new Text({ style: { - text: '这是测试文本This is text', + text: '这', fontFamily: 'PingFang SC', - fontSize: 60, + fontSize: 100, fontWeight: 'normal', fontStyle: 'normal', fontVariant: 'normal', fill: '#1890FF', stroke: '#F04864', - lineWidth: 5, + lineWidth: 0, + textAlign: 'center', + textBaseline: 'middle', }, }); - // @ts-ignore - text.setAttribute('font-size', 30); + text.setAttribute('fontSize', 30); expect(text.style.fontSize).toBe(30); // parse font size with unit - text.style.fontSize = '40px'; - expect(text.parsedStyle.fontSize).toBe(40); + // text.style.fontSize = '40px'; + // expect(text.parsedStyle.fontSize).toBe(40); - expect(text.nodeValue).toBe('这是测试文本This is text'); - expect(text.textContent).toBe('这是测试文本This is text'); + // expect(text.nodeValue).toBe('这是测试文本This is text'); + // expect(text.textContent).toBe('这是测试文本This is text'); // get local position expect(text.getLocalPosition()).toStrictEqual([0, 0, 0]); - text.style.text = 'changed'; - expect(text.nodeValue).toBe('changed'); - expect(text.textContent).toBe('changed'); + // text.style.text = 'changed'; + // expect(text.nodeValue).toBe('changed'); + // expect(text.textContent).toBe('changed'); - const group = new Group(); - expect(group.nodeValue).toBeNull(); - expect(group.textContent).toBe(''); - group.appendChild(text); - expect(group.nodeValue).toBeNull(); - expect(group.textContent).toBe('changed'); + // const group = new Group(); + // expect(group.nodeValue).toBeNull(); + // expect(group.textContent).toBe(''); + // group.appendChild(text); + // expect(group.nodeValue).toBeNull(); + // expect(group.textContent).toBe('changed'); - text.textContent = 'changed again'; - expect(text.nodeValue).toBe('changed again'); - expect(text.textContent).toBe('changed again'); + // text.textContent = 'changed again'; + // expect(text.nodeValue).toBe('changed again'); + // expect(text.textContent).toBe('changed again'); // empty text should return empty AABB text.style.text = ''; - const bounds = text.getBounds(); - expect(bounds.center[0]).toBeCloseTo(0); - expect(bounds.center[1]).toBeCloseTo(0); - expect(bounds.halfExtents[0]).toBeCloseTo(0); - expect(bounds.halfExtents[1]).toBeCloseTo(0); - - // // get bounds - // let bounds = text.getBounds(); - // if (bounds) { - // expect(bounds.center[0]).toBeCloseTo(336.61); - // expect(bounds.center[1]).toBeCloseTo(-19.5); - // expect(bounds.halfExtents[0]).toBeCloseTo(341.6); - // expect(bounds.halfExtents[1]).toBeCloseTo(41.5); - // } - - // // change lineWidth - // line.style.lineWidth = 20; - // bounds = line.getBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(300, 100, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(120, 20, 0)); - // } + let bounds = text.getBounds(); + expect(bounds.center).toEqual([0, 0, 0]); + expect(bounds.halfExtents).toEqual([0, 0, 0]); + + text.style.text = '这'; + text.style.fontSize = 100; + bounds = text.getBounds(); + expect(bounds.center).toEqual([0, 0, 0]); + expect(bounds.halfExtents).toEqual([50, 89, 0]); + + // change lineWidth + text.style.lineWidth = 20; + bounds = text.getBounds(); + if (bounds) { + expect(bounds.center).toEqual([10, 0, 0]); + expect(bounds.halfExtents).toEqual([60, 99, 0]); + } }); it('should overflow correctly.', async () => { @@ -111,8 +115,8 @@ describe.skip('Text', () => { style: { x: 100, y: 100, - text: '这是测试文本This is text', - fontSize: 60, + text: '这是一段测试文本', + fontSize: 100, fill: '#1890FF', stroke: '#F04864', lineWidth: 5, @@ -121,118 +125,116 @@ describe.skip('Text', () => { canvas.appendChild(text); - // let bounds = text.getBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(436.60992431640625, 80.5, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(336.60992431640625, 36.5, 0)); - // } - // let bounds = text.getRenderBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(436.60992431640625, 80.5, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(339.10992431640625, 39, 0)); - // } + let bounds = text.getBounds(); + if (bounds) { + expect(bounds.center).toEqual([502.5, 8.5, 0]); + expect(bounds.halfExtents).toEqual([402.5, 91.5, 0]); + } + bounds = text.getRenderBounds(); + if (bounds) { + expect(bounds.center).toEqual([502.5, 8.5, 0]); + expect(bounds.halfExtents).toEqual([405, 94, 0]); + } // word wrap text.style.wordWrap = true; - text.style.wordWrapWidth = 200; + text.style.wordWrapWidth = 1000; expect(text.isOverflowing()).toBe(false); - // bounds = text.getBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(193.39996337890625, -29, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(93.39996337890625, 146, 0)); - // } - // bounds = text.getRenderBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(193.39996337890625, -29, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(95.89996337890625, 148.5, 0)); - // } + bounds = text.getBounds(); + if (bounds) { + expect(bounds.center).toEqual([502.5, 8.5, 0]); + expect(bounds.halfExtents).toEqual([402.5, 91.5, 0]); + } + bounds = text.getRenderBounds(); + if (bounds) { + expect(bounds.center).toEqual([502.5, 8.5, 0]); + expect(bounds.halfExtents).toEqual([405, 94, 0]); + } // restore text.style.wordWrap = true; - text.style.wordWrapWidth = 2000; + text.style.wordWrapWidth = 20000; expect(text.isOverflowing()).toBe(false); - // bounds = text.getBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(436.60992431640625, 80.5, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(336.60992431640625, 36.5, 0)); - // } - // bounds = text.getRenderBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(436.60992431640625, 80.5, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(339.10992431640625, 39, 0)); - // } + bounds = text.getBounds(); + if (bounds) { + expect(bounds.center).toEqual([502.5, 8.5, 0]); + expect(bounds.halfExtents).toEqual([402.5, 91.5, 0]); + } + bounds = text.getRenderBounds(); + if (bounds) { + expect(bounds.center).toEqual([502.5, 8.5, 0]); + expect(bounds.halfExtents).toEqual([405, 94, 0]); + } // clip text.style.wordWrapWidth = 200; text.style.maxLines = 2; - - const r = text.isOverflowing(); - expect(r).toBe(true); - // bounds = text.getBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(192.5, 44, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(92.5, 73, 0)); - // } - // bounds = text.getRenderBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(192.5, 44, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(95, 75.5, 0)); - // } + expect(text.isOverflowing()).toBe(true); + bounds = text.getBounds(); + if (bounds) { + expect(bounds.center).toEqual([202.5, -83, 0]); + expect(bounds.halfExtents).toEqual([102.5, 183, 0]); + } + bounds = text.getRenderBounds(); + if (bounds) { + expect(bounds.center).toEqual([202.5, -83, 0]); + expect(bounds.halfExtents).toEqual([105, 185.5, 0]); + } // overflow with ellipsis text.style.textOverflow = 'ellipsis'; expect(text.isOverflowing()).toBe(true); - // bounds = text.getBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(192.5, 44, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(92.5, 73, 0)); - // } - // bounds = text.getRenderBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(192.5, 44, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(95, 75.5, 0)); - // } + bounds = text.getBounds(); + if (bounds) { + expect(bounds.center).toEqual([202.5, -83, 0]); + expect(bounds.halfExtents).toEqual([102.5, 183, 0]); + } + bounds = text.getRenderBounds(); + if (bounds) { + expect(bounds.center).toEqual([202.5, -83, 0]); + expect(bounds.halfExtents).toEqual([105, 185.5, 0]); + } // overflow with clip text.style.textOverflow = 'clip'; expect(text.isOverflowing()).toBe(true); - // bounds = text.getBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(192.5, 44, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(92.5, 73, 0)); - // } - // bounds = text.getRenderBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(192.5, 44, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(95, 75.5, 0)); - // } + bounds = text.getBounds(); + if (bounds) { + expect(bounds.center).toEqual([202.5, -83, 0]); + expect(bounds.halfExtents).toEqual([102.5, 183, 0]); + } + bounds = text.getRenderBounds(); + if (bounds) { + expect(bounds.center).toEqual([202.5, -83, 0]); + expect(bounds.halfExtents).toEqual([105, 185.5, 0]); + } // overflow with custom long string text.style.textOverflow = 'long long long long long long long text'; expect(text.isOverflowing()).toBe(true); - // bounds = text.getBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(192.5, 44, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(92.5, 73, 0)); - // } - // bounds = text.getRenderBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(192.5, 44, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(95, 75.5, 0)); - // } + bounds = text.getBounds(); + if (bounds) { + expect(bounds.center).toEqual([202.5, -83, 0]); + expect(bounds.halfExtents).toEqual([102.5, 183, 0]); + } + bounds = text.getRenderBounds(); + if (bounds) { + expect(bounds.center).toEqual([202.5, -83, 0]); + expect(bounds.halfExtents).toEqual([105, 185.5, 0]); + } text.style.textOverflow = '..'; expect(text.isOverflowing()).toBe(true); - // bounds = text.getBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(192.5, 44, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(92.5, 73, 0)); - // } - // bounds = text.getRenderBounds(); - // if (bounds) { - // expect(bounds.center).toBe(vec3.fromValues(192.5, 44, 0)); - // expect(bounds.halfExtents).toBe(vec3.fromValues(95, 75.5, 0)); - // } + bounds = text.getBounds(); + if (bounds) { + expect(bounds.center).toEqual([202.5, -83, 0]); + expect(bounds.halfExtents).toEqual([102.5, 183, 0]); + } + bounds = text.getRenderBounds(); + if (bounds) { + expect(bounds.center).toEqual([202.5, -83, 0]); + expect(bounds.halfExtents).toEqual([105, 185.5, 0]); + } // no overflowing content text.style.wordWrapWidth = 2000; @@ -249,33 +251,4 @@ describe.skip('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/__tests__/unit/offscreenCanvasContext.ts b/__tests__/unit/offscreenCanvasContext.ts new file mode 100644 index 000000000..5b71e52d4 --- /dev/null +++ b/__tests__/unit/offscreenCanvasContext.ts @@ -0,0 +1,129 @@ +// Computed as round(measureText(text).width * 10) at 10px system-ui. For +// characters that are not represented in this map, we’d ideally want to use a +// weighted average of what we expect to see. But since we don’t really know +// what that is, using “e” seems reasonable. +const defaultWidthMap = { + a: 56, + b: 63, + c: 57, + d: 63, + e: 58, + f: 37, + g: 62, + h: 60, + i: 26, + j: 26, + k: 55, + l: 26, + m: 88, + n: 60, + o: 60, + p: 62, + q: 62, + r: 39, + s: 54, + t: 38, + u: 60, + v: 55, + w: 79, + x: 54, + y: 55, + z: 55, + A: 69, + B: 67, + C: 73, + D: 74, + E: 61, + F: 58, + G: 76, + H: 75, + I: 28, + J: 55, + K: 67, + L: 58, + M: 89, + N: 75, + O: 78, + P: 65, + Q: 78, + R: 67, + S: 65, + T: 65, + U: 75, + V: 69, + W: 98, + X: 69, + Y: 67, + Z: 67, + 0: 64, + 1: 48, + 2: 62, + 3: 64, + 4: 66, + 5: 63, + 6: 65, + 7: 58, + 8: 65, + 9: 65, + ' ': 29, + '!': 32, + '"': 49, + "'": 31, + '(': 39, + ')': 39, + ',': 31, + '-': 48, + '.': 31, + '/': 32, + ':': 31, + ';': 31, + '?': 52, + '‘': 31, + '’': 31, + '“': 47, + '”': 47, + '…': 82, +}; + +export function measureText(text: string, fontSize: number) { + let sum = 0; + for (let i = 0; i < text.length; i++) { + sum += ((defaultWidthMap[text[i]] ?? 100) * fontSize) / 100; + } + return sum; +} + +export class OffscreenCanvasContext { + private fontSize: number; + + constructor(public canvas: HTMLCanvasElement) {} + + set font(font: string) { + // `${fontStyle} ${fontVariant} ${fontWeight} ${fontSizeString} + const [fontStyle, fontVariant, fontWeight, fontSizeString] = + font.split(' '); + const fontSize = parseFloat(fontSizeString.replace('px', '')); + this.fontSize = fontSize; + } + + fillRect() {} + fillText() {} + getImageData(sx: number, sy: number, sw: number, sh: number) { + return { + // ignore acsent and descent + data: new Uint8ClampedArray(sw * sh * 4).fill(0), + }; + } + + measureText(text: string): TextMetrics { + return { + width: measureText(text, this.fontSize), + actualBoundingBoxAscent: 0, + actualBoundingBoxDescent: 0, + actualBoundingBoxLeft: 0, + actualBoundingBoxRight: 0, + fontBoundingBoxAscent: 0, + fontBoundingBoxDescent: 0, + }; + } +} diff --git a/packages/g-camera-api/CHANGELOG.md b/packages/g-camera-api/CHANGELOG.md index f890f07e7..ce327c709 100644 --- a/packages/g-camera-api/CHANGELOG.md +++ b/packages/g-camera-api/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-camera-api +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-camera-api/package.json b/packages/g-camera-api/package.json index 61908208e..ad8dfda80 100644 --- a/packages/g-camera-api/package.json +++ b/packages/g-camera-api/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-camera-api", - "version": "2.0.0", + "version": "2.0.1", "description": "A simple implementation of Camera API.", "keywords": [ "antv", diff --git a/packages/g-canvas/CHANGELOG.md b/packages/g-canvas/CHANGELOG.md index dad04130a..28280ff2b 100644 --- a/packages/g-canvas/CHANGELOG.md +++ b/packages/g-canvas/CHANGELOG.md @@ -1,5 +1,18 @@ # @antv/g-canvas +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-canvas-path-generator@2.0.1 + - @antv/g-plugin-canvas-picker@2.0.1 + - @antv/g-plugin-canvas-renderer@2.0.1 + - @antv/g-plugin-dom-interaction@2.0.1 + - @antv/g-plugin-html-renderer@2.0.1 + - @antv/g-plugin-image-loader@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-canvas/package.json b/packages/g-canvas/package.json index c5ad36d9a..d2e6d71f1 100644 --- a/packages/g-canvas/package.json +++ b/packages/g-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-canvas", - "version": "2.0.0", + "version": "2.0.1", "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 15a330995..fb1eee592 100644 --- a/packages/g-canvaskit/CHANGELOG.md +++ b/packages/g-canvaskit/CHANGELOG.md @@ -1,5 +1,18 @@ # @antv/g-canvaskit +## 1.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-canvas-path-generator@2.0.1 + - @antv/g-plugin-canvas-picker@2.0.1 + - @antv/g-plugin-canvaskit-renderer@2.0.1 + - @antv/g-plugin-dom-interaction@2.0.1 + - @antv/g-plugin-html-renderer@2.0.1 + - @antv/g-plugin-image-loader@2.0.1 + ## 1.0.0 ### Major Changes diff --git a/packages/g-canvaskit/package.json b/packages/g-canvaskit/package.json index 7c5b6c6f5..861a26dd9 100644 --- a/packages/g-canvaskit/package.json +++ b/packages/g-canvaskit/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-canvaskit", - "version": "1.0.0", + "version": "1.0.1", "description": "A renderer implemented by CanvasKit", "keywords": [ "antv", diff --git a/packages/g-components/CHANGELOG.md b/packages/g-components/CHANGELOG.md index 7a5c788d3..7c9848435 100644 --- a/packages/g-components/CHANGELOG.md +++ b/packages/g-components/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-components +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-components/package.json b/packages/g-components/package.json index b8ab5c797..1936c4e24 100644 --- a/packages/g-components/package.json +++ b/packages/g-components/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-components", - "version": "2.0.0", + "version": "2.0.1", "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 49178174b..8949ae606 100644 --- a/packages/g-dom-mutation-observer-api/CHANGELOG.md +++ b/packages/g-dom-mutation-observer-api/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-dom-mutation-observer-api +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-dom-mutation-observer-api/package.json b/packages/g-dom-mutation-observer-api/package.json index ec111d64f..e25a4bae3 100644 --- a/packages/g-dom-mutation-observer-api/package.json +++ b/packages/g-dom-mutation-observer-api/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-dom-mutation-observer-api", - "version": "2.0.0", + "version": "2.0.1", "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 7fbe244c3..936ae3453 100644 --- a/packages/g-gesture/CHANGELOG.md +++ b/packages/g-gesture/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-gesture +## 3.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 3.0.0 ### Major Changes diff --git a/packages/g-gesture/package.json b/packages/g-gesture/package.json index 24defc35b..b31450949 100644 --- a/packages/g-gesture/package.json +++ b/packages/g-gesture/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-gesture", - "version": "3.0.0", + "version": "3.0.1", "description": "G Gesture", "keywords": [ "antv", diff --git a/packages/g-image-exporter/CHANGELOG.md b/packages/g-image-exporter/CHANGELOG.md index 74992bd2f..2d15aab4a 100644 --- a/packages/g-image-exporter/CHANGELOG.md +++ b/packages/g-image-exporter/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-image-exporter +## 1.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 1.0.0 ### Major Changes diff --git a/packages/g-image-exporter/package.json b/packages/g-image-exporter/package.json index 9fcc29017..ee3c99d12 100644 --- a/packages/g-image-exporter/package.json +++ b/packages/g-image-exporter/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-image-exporter", - "version": "1.0.0", + "version": "1.0.1", "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 8f3d08022..7f873dfe6 100644 --- a/packages/g-lite/CHANGELOG.md +++ b/packages/g-lite/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/g-lite +## 2.0.1 + +### Patch Changes + +- acabbcb0: Update Text's geometry before getting computed length. + ## 2.0.0 ### Major Changes diff --git a/packages/g-lite/package.json b/packages/g-lite/package.json index c63dd905b..962260aef 100644 --- a/packages/g-lite/package.json +++ b/packages/g-lite/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-lite", - "version": "2.0.0", + "version": "2.0.1", "description": "A core module for rendering engine implements DOM API.", "keywords": [ "antv", diff --git a/packages/g-lite/src/display-objects/Text.ts b/packages/g-lite/src/display-objects/Text.ts index 06c1b6074..a4f0e8f20 100644 --- a/packages/g-lite/src/display-objects/Text.ts +++ b/packages/g-lite/src/display-objects/Text.ts @@ -314,6 +314,7 @@ export class Text extends DisplayObject { * @see https://developer.mozilla.org/en-US/docs/Web/API/SVGTextContentElement */ getComputedTextLength(): number { + this.getGeometryBounds(); return this.parsedStyle.metrics?.maxLineWidth || 0; } @@ -342,10 +343,12 @@ export class Text extends DisplayObject { // } getLineBoundingRects() { + this.getGeometryBounds(); return this.parsedStyle.metrics?.lineMetrics || []; } isOverflowing() { + this.getGeometryBounds(); return !!this.parsedStyle.isOverflowing; } } diff --git a/packages/g-lottie-player/CHANGELOG.md b/packages/g-lottie-player/CHANGELOG.md index 2c27f6985..eed7c360c 100644 --- a/packages/g-lottie-player/CHANGELOG.md +++ b/packages/g-lottie-player/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-lottie-player +## 1.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 1.0.0 ### Major Changes diff --git a/packages/g-lottie-player/package.json b/packages/g-lottie-player/package.json index 892c8225a..60e79f541 100644 --- a/packages/g-lottie-player/package.json +++ b/packages/g-lottie-player/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-lottie-player", - "version": "1.0.0", + "version": "1.0.1", "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 941f58f81..602abcd3b 100644 --- a/packages/g-mobile-canvas-element/CHANGELOG.md +++ b/packages/g-mobile-canvas-element/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-mobile-canvas-element +## 1.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 1.0.0 ### Major Changes diff --git a/packages/g-mobile-canvas-element/package.json b/packages/g-mobile-canvas-element/package.json index 919df9b9a..2326ae1b3 100644 --- a/packages/g-mobile-canvas-element/package.json +++ b/packages/g-mobile-canvas-element/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-mobile-canvas-element", - "version": "1.0.0", + "version": "1.0.1", "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 95552e31d..f4c94b2cd 100644 --- a/packages/g-mobile-canvas/CHANGELOG.md +++ b/packages/g-mobile-canvas/CHANGELOG.md @@ -1,5 +1,19 @@ # @antv/g-mobile-canvas +## 1.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-canvas-path-generator@2.0.1 + - @antv/g-plugin-canvas-picker@2.0.1 + - @antv/g-plugin-canvas-renderer@2.0.1 + - @antv/g-plugin-dragndrop@2.0.1 + - @antv/g-plugin-gesture@2.0.1 + - @antv/g-plugin-image-loader@2.0.1 + - @antv/g-plugin-mobile-interaction@1.0.1 + ## 1.0.0 ### Major Changes diff --git a/packages/g-mobile-canvas/package.json b/packages/g-mobile-canvas/package.json index ef05854ae..9a716ce3a 100644 --- a/packages/g-mobile-canvas/package.json +++ b/packages/g-mobile-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-mobile-canvas", - "version": "1.0.0", + "version": "1.0.1", "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 c0c96a7f3..e41bcb0d0 100644 --- a/packages/g-mobile-svg/CHANGELOG.md +++ b/packages/g-mobile-svg/CHANGELOG.md @@ -1,5 +1,17 @@ # @antv/g-mobile-svg +## 1.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-dragndrop@2.0.1 + - @antv/g-plugin-gesture@2.0.1 + - @antv/g-plugin-mobile-interaction@1.0.1 + - @antv/g-plugin-svg-picker@2.0.1 + - @antv/g-plugin-svg-renderer@2.0.1 + ## 1.0.0 ### Major Changes diff --git a/packages/g-mobile-svg/package.json b/packages/g-mobile-svg/package.json index d82e3f814..97d28714d 100644 --- a/packages/g-mobile-svg/package.json +++ b/packages/g-mobile-svg/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-mobile-svg", - "version": "1.0.0", + "version": "1.0.1", "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 fd872be4c..4a154409c 100644 --- a/packages/g-mobile-webgl/CHANGELOG.md +++ b/packages/g-mobile-webgl/CHANGELOG.md @@ -1,5 +1,18 @@ # @antv/g-mobile-webgl +## 1.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-device-renderer@2.0.1 + - @antv/g-plugin-dragndrop@2.0.1 + - @antv/g-plugin-gesture@2.0.1 + - @antv/g-plugin-html-renderer@2.0.1 + - @antv/g-plugin-image-loader@2.0.1 + - @antv/g-plugin-mobile-interaction@1.0.1 + ## 1.0.0 ### Major Changes diff --git a/packages/g-mobile-webgl/package.json b/packages/g-mobile-webgl/package.json index 6aa02e2c0..82b633034 100644 --- a/packages/g-mobile-webgl/package.json +++ b/packages/g-mobile-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-mobile-webgl", - "version": "1.0.0", + "version": "1.0.1", "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 54cb91153..a270ed038 100644 --- a/packages/g-pattern/CHANGELOG.md +++ b/packages/g-pattern/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-pattern +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-pattern/package.json b/packages/g-pattern/package.json index 467084227..922fdc8da 100644 --- a/packages/g-pattern/package.json +++ b/packages/g-pattern/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-pattern", - "version": "2.0.0", + "version": "2.0.1", "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 23d9624eb..38a7aeae1 100644 --- a/packages/g-plugin-3d/CHANGELOG.md +++ b/packages/g-plugin-3d/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-3d +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-device-renderer@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-3d/package.json b/packages/g-plugin-3d/package.json index 8e222a376..7bffe39a4 100644 --- a/packages/g-plugin-3d/package.json +++ b/packages/g-plugin-3d/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-3d", - "version": "2.0.0", + "version": "2.0.1", "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 fd524fc76..48e990330 100644 --- a/packages/g-plugin-a11y/CHANGELOG.md +++ b/packages/g-plugin-a11y/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-a11y +## 1.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 1.0.0 ### Major Changes diff --git a/packages/g-plugin-a11y/package.json b/packages/g-plugin-a11y/package.json index c7bfd6804..17c87dd12 100644 --- a/packages/g-plugin-a11y/package.json +++ b/packages/g-plugin-a11y/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-a11y", - "version": "1.0.0", + "version": "1.0.1", "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 b3bce1edf..305d831d6 100644 --- a/packages/g-plugin-annotation/CHANGELOG.md +++ b/packages/g-plugin-annotation/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-annotation +## 1.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 1.0.0 ### Major Changes diff --git a/packages/g-plugin-annotation/package.json b/packages/g-plugin-annotation/package.json index c85414088..4cecd2bed 100644 --- a/packages/g-plugin-annotation/package.json +++ b/packages/g-plugin-annotation/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-annotation", - "version": "1.0.0", + "version": "1.0.1", "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 a9d550305..edd084129 100644 --- a/packages/g-plugin-box2d/CHANGELOG.md +++ b/packages/g-plugin-box2d/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-box2d +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-box2d/package.json b/packages/g-plugin-box2d/package.json index 34103cff3..2f09668bc 100644 --- a/packages/g-plugin-box2d/package.json +++ b/packages/g-plugin-box2d/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-box2d", - "version": "2.0.0", + "version": "2.0.1", "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 5d9527fea..5dcb9b08b 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 +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-canvas-path-generator/package.json b/packages/g-plugin-canvas-path-generator/package.json index c4849563f..8e2a35f5e 100644 --- a/packages/g-plugin-canvas-path-generator/package.json +++ b/packages/g-plugin-canvas-path-generator/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-canvas-path-generator", - "version": "2.0.0", + "version": "2.0.1", "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 5574fca9e..4d02297e6 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 +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-canvas-path-generator@2.0.1 + - @antv/g-plugin-canvas-renderer@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-canvas-picker/package.json b/packages/g-plugin-canvas-picker/package.json index e3c898a86..6db96b1b1 100644 --- a/packages/g-plugin-canvas-picker/package.json +++ b/packages/g-plugin-canvas-picker/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-canvas-picker", - "version": "2.0.0", + "version": "2.0.1", "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 4f936cee0..d62290de5 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 +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-canvas-path-generator@2.0.1 + - @antv/g-plugin-image-loader@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-canvas-renderer/package.json b/packages/g-plugin-canvas-renderer/package.json index bc05a33b8..c325570fa 100644 --- a/packages/g-plugin-canvas-renderer/package.json +++ b/packages/g-plugin-canvas-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-canvas-renderer", - "version": "2.0.0", + "version": "2.0.1", "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 a43340372..1b83a0dc9 100644 --- a/packages/g-plugin-canvaskit-renderer/CHANGELOG.md +++ b/packages/g-plugin-canvaskit-renderer/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-canvaskit-renderer +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-image-loader@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-canvaskit-renderer/package.json b/packages/g-plugin-canvaskit-renderer/package.json index 4fe212d2e..8fb1644c1 100644 --- a/packages/g-plugin-canvaskit-renderer/package.json +++ b/packages/g-plugin-canvaskit-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-canvaskit-renderer", - "version": "2.0.0", + "version": "2.0.1", "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 c405483df..d2d24df5c 100644 --- a/packages/g-plugin-control/CHANGELOG.md +++ b/packages/g-plugin-control/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-control +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-control/package.json b/packages/g-plugin-control/package.json index ed0cbf7fb..486d11ef2 100644 --- a/packages/g-plugin-control/package.json +++ b/packages/g-plugin-control/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-control", - "version": "2.0.0", + "version": "2.0.1", "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 d5c3bdbb0..373be6c18 100644 --- a/packages/g-plugin-css-select/CHANGELOG.md +++ b/packages/g-plugin-css-select/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-css-select +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-css-select/package.json b/packages/g-plugin-css-select/package.json index d3432d8f0..7f8514694 100644 --- a/packages/g-plugin-css-select/package.json +++ b/packages/g-plugin-css-select/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-css-select", - "version": "2.0.0", + "version": "2.0.1", "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 1ac7db6fe..5ee23d3a3 100644 --- a/packages/g-plugin-device-renderer/CHANGELOG.md +++ b/packages/g-plugin-device-renderer/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-device-renderer +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-image-loader@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-device-renderer/package.json b/packages/g-plugin-device-renderer/package.json index b13756046..ae06110d1 100644 --- a/packages/g-plugin-device-renderer/package.json +++ b/packages/g-plugin-device-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-device-renderer", - "version": "2.0.0", + "version": "2.0.1", "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 c27dff93e..a968aab72 100644 --- a/packages/g-plugin-dom-interaction/CHANGELOG.md +++ b/packages/g-plugin-dom-interaction/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-dom-interaction +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-dom-interaction/package.json b/packages/g-plugin-dom-interaction/package.json index 5e43467ce..df4eb8f02 100644 --- a/packages/g-plugin-dom-interaction/package.json +++ b/packages/g-plugin-dom-interaction/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-dom-interaction", - "version": "2.0.0", + "version": "2.0.1", "description": "A G plugin", "keywords": [ "antv", diff --git a/packages/g-plugin-dragndrop/CHANGELOG.md b/packages/g-plugin-dragndrop/CHANGELOG.md index 9fbce02b7..f8b87e486 100644 --- a/packages/g-plugin-dragndrop/CHANGELOG.md +++ b/packages/g-plugin-dragndrop/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-dragndrop +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-dragndrop/package.json b/packages/g-plugin-dragndrop/package.json index 7da9ee325..b0e9845e7 100644 --- a/packages/g-plugin-dragndrop/package.json +++ b/packages/g-plugin-dragndrop/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-dragndrop", - "version": "2.0.0", + "version": "2.0.1", "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 df378af7d..4d3ed5fe1 100644 --- a/packages/g-plugin-gesture/CHANGELOG.md +++ b/packages/g-plugin-gesture/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-gesture +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-gesture/package.json b/packages/g-plugin-gesture/package.json index 429a09b7f..d5d98fd5b 100644 --- a/packages/g-plugin-gesture/package.json +++ b/packages/g-plugin-gesture/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-gesture", - "version": "2.0.0", + "version": "2.0.1", "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 91f289abf..6922deb3f 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 +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-html-renderer/package.json b/packages/g-plugin-html-renderer/package.json index 5d6760d9e..0ecefbeab 100644 --- a/packages/g-plugin-html-renderer/package.json +++ b/packages/g-plugin-html-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-html-renderer", - "version": "2.0.0", + "version": "2.0.1", "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 be91c50a8..fde2acced 100644 --- a/packages/g-plugin-image-loader/CHANGELOG.md +++ b/packages/g-plugin-image-loader/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-image-loader +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-image-loader/package.json b/packages/g-plugin-image-loader/package.json index 12a6b672d..fbcbbe5c9 100644 --- a/packages/g-plugin-image-loader/package.json +++ b/packages/g-plugin-image-loader/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-image-loader", - "version": "2.0.0", + "version": "2.0.1", "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 34a822912..0b5b87015 100644 --- a/packages/g-plugin-matterjs/CHANGELOG.md +++ b/packages/g-plugin-matterjs/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-matterjs +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-matterjs/package.json b/packages/g-plugin-matterjs/package.json index fbc898e22..72697aab7 100644 --- a/packages/g-plugin-matterjs/package.json +++ b/packages/g-plugin-matterjs/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-matterjs", - "version": "2.0.0", + "version": "2.0.1", "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 2d0fe2aab..5bf3e3e29 100644 --- a/packages/g-plugin-mobile-interaction/CHANGELOG.md +++ b/packages/g-plugin-mobile-interaction/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-mobile-interaction +## 1.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 1.0.0 ### Major Changes diff --git a/packages/g-plugin-mobile-interaction/package.json b/packages/g-plugin-mobile-interaction/package.json index e607a71b4..2a32613bb 100644 --- a/packages/g-plugin-mobile-interaction/package.json +++ b/packages/g-plugin-mobile-interaction/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-mobile-interaction", - "version": "1.0.0", + "version": "1.0.1", "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 130cb5ed8..daacb6533 100644 --- a/packages/g-plugin-physx/CHANGELOG.md +++ b/packages/g-plugin-physx/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-physx +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-physx/package.json b/packages/g-plugin-physx/package.json index c7b99fa2d..a490c6f09 100644 --- a/packages/g-plugin-physx/package.json +++ b/packages/g-plugin-physx/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-physx", - "version": "2.0.0", + "version": "2.0.1", "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 8bb19465c..531385948 100644 --- a/packages/g-plugin-rough-canvas-renderer/CHANGELOG.md +++ b/packages/g-plugin-rough-canvas-renderer/CHANGELOG.md @@ -1,5 +1,14 @@ # @antv/g-plugin-rough-canvas-renderer +## 2.0.1 + +### Patch Changes + +- acabbcb0: Set default fill & stroke to 'none' in rough.js. +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-canvas@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-rough-canvas-renderer/package.json b/packages/g-plugin-rough-canvas-renderer/package.json index b0f02ca9e..4405e236f 100644 --- a/packages/g-plugin-rough-canvas-renderer/package.json +++ b/packages/g-plugin-rough-canvas-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-rough-canvas-renderer", - "version": "2.0.0", + "version": "2.0.1", "description": "A G plugin of renderer implementation with rough.js", "keywords": [ "antv", diff --git a/packages/g-plugin-rough-canvas-renderer/src/util.ts b/packages/g-plugin-rough-canvas-renderer/src/util.ts index 52de8413b..3632a46fc 100644 --- a/packages/g-plugin-rough-canvas-renderer/src/util.ts +++ b/packages/g-plugin-rough-canvas-renderer/src/util.ts @@ -64,8 +64,8 @@ export function generateRoughOptions(object: DisplayObject) { bowing, roughness, seed: seed || object.entity, - fill: fill && mergeOpacity(fill, fillOpacity), - stroke: stroke && mergeOpacity(stroke, strokeOpacity), + fill: fill ? mergeOpacity(fill, fillOpacity) : 'none', + stroke: stroke ? mergeOpacity(stroke, strokeOpacity) : 'none', strokeWidth: lineWidth === 0 ? MIN_STROKE_WIDTH : lineWidth, fillStyle, fillWeight, diff --git a/packages/g-plugin-rough-svg-renderer/CHANGELOG.md b/packages/g-plugin-rough-svg-renderer/CHANGELOG.md index 34f330d53..add30fa64 100644 --- a/packages/g-plugin-rough-svg-renderer/CHANGELOG.md +++ b/packages/g-plugin-rough-svg-renderer/CHANGELOG.md @@ -1,5 +1,14 @@ # @antv/g-plugin-rough-svg-renderer +## 2.0.1 + +### Patch Changes + +- acabbcb0: Set default fill & stroke to 'none' in rough.js. +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-svg@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-rough-svg-renderer/package.json b/packages/g-plugin-rough-svg-renderer/package.json index 13fb7ab91..132ea6ee2 100644 --- a/packages/g-plugin-rough-svg-renderer/package.json +++ b/packages/g-plugin-rough-svg-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-rough-svg-renderer", - "version": "2.0.0", + "version": "2.0.1", "description": "A G plugin of renderer implementation with rough.js", "keywords": [ "antv", diff --git a/packages/g-plugin-rough-svg-renderer/src/util.ts b/packages/g-plugin-rough-svg-renderer/src/util.ts index 5c50594e1..07eddcedc 100644 --- a/packages/g-plugin-rough-svg-renderer/src/util.ts +++ b/packages/g-plugin-rough-svg-renderer/src/util.ts @@ -89,8 +89,8 @@ export function generateRoughOptions(object: DisplayObject) { // If seed is not defined, or set to 0, no seed is used when computing random values. // @see https://github.com/rough-stuff/rough/wiki#seed seed: seed || object.entity, - fill: fill && mergeOpacity(fill, fillOpacity), - stroke: stroke && mergeOpacity(stroke, strokeOpacity), + fill: fill ? mergeOpacity(fill, fillOpacity) : 'none', + stroke: stroke ? mergeOpacity(stroke, strokeOpacity) : 'none', strokeWidth: lineWidth === 0 ? MIN_STROKE_WIDTH : lineWidth, fillStyle, fillWeight, diff --git a/packages/g-plugin-svg-picker/CHANGELOG.md b/packages/g-plugin-svg-picker/CHANGELOG.md index d58f264f2..b96cc1e05 100644 --- a/packages/g-plugin-svg-picker/CHANGELOG.md +++ b/packages/g-plugin-svg-picker/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-svg-picker +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-svg-renderer@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-svg-picker/package.json b/packages/g-plugin-svg-picker/package.json index 3204b72cd..f2aafd5ee 100644 --- a/packages/g-plugin-svg-picker/package.json +++ b/packages/g-plugin-svg-picker/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-svg-picker", - "version": "2.0.0", + "version": "2.0.1", "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 e03fd9704..2cdce0580 100644 --- a/packages/g-plugin-svg-renderer/CHANGELOG.md +++ b/packages/g-plugin-svg-renderer/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-svg-renderer +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-svg-renderer/package.json b/packages/g-plugin-svg-renderer/package.json index 5f1054a2d..dc110d013 100644 --- a/packages/g-plugin-svg-renderer/package.json +++ b/packages/g-plugin-svg-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-svg-renderer", - "version": "2.0.0", + "version": "2.0.1", "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 4e081f21a..5312024b6 100644 --- a/packages/g-plugin-yoga/CHANGELOG.md +++ b/packages/g-plugin-yoga/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-plugin-yoga +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-yoga/package.json b/packages/g-plugin-yoga/package.json index bce1e9780..b80609233 100644 --- a/packages/g-plugin-yoga/package.json +++ b/packages/g-plugin-yoga/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-yoga", - "version": "2.0.0", + "version": "2.0.1", "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 546492982..728d88da0 100644 --- a/packages/g-plugin-zdog-canvas-renderer/CHANGELOG.md +++ b/packages/g-plugin-zdog-canvas-renderer/CHANGELOG.md @@ -1,5 +1,13 @@ # @antv/g-plugin-zdog-canvas-renderer +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-canvas@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-zdog-canvas-renderer/package.json b/packages/g-plugin-zdog-canvas-renderer/package.json index 3cb5efe30..036c83f40 100644 --- a/packages/g-plugin-zdog-canvas-renderer/package.json +++ b/packages/g-plugin-zdog-canvas-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-zdog-canvas-renderer", - "version": "2.0.0", + "version": "2.0.1", "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 bb84aa80d..49c3600ec 100644 --- a/packages/g-plugin-zdog-svg-renderer/CHANGELOG.md +++ b/packages/g-plugin-zdog-svg-renderer/CHANGELOG.md @@ -1,5 +1,14 @@ # @antv/g-plugin-zdog-svg-renderer +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-svg-renderer@2.0.1 + - @antv/g-svg@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-plugin-zdog-svg-renderer/package.json b/packages/g-plugin-zdog-svg-renderer/package.json index 50961041b..cfab099e5 100644 --- a/packages/g-plugin-zdog-svg-renderer/package.json +++ b/packages/g-plugin-zdog-svg-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-plugin-zdog-svg-renderer", - "version": "2.0.0", + "version": "2.0.1", "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 67c69ff2e..a51ff8a78 100644 --- a/packages/g-svg/CHANGELOG.md +++ b/packages/g-svg/CHANGELOG.md @@ -1,5 +1,15 @@ # @antv/g-svg +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-dom-interaction@2.0.1 + - @antv/g-plugin-svg-picker@2.0.1 + - @antv/g-plugin-svg-renderer@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-svg/package.json b/packages/g-svg/package.json index a3b8dacfc..a9ca3e5bf 100644 --- a/packages/g-svg/package.json +++ b/packages/g-svg/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-svg", - "version": "2.0.0", + "version": "2.0.1", "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 5a7ec6a1f..013ba43af 100644 --- a/packages/g-web-animations-api/CHANGELOG.md +++ b/packages/g-web-animations-api/CHANGELOG.md @@ -1,5 +1,12 @@ # @antv/g-web-animations-api +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-web-animations-api/package.json b/packages/g-web-animations-api/package.json index 303147db3..0bfc36e80 100644 --- a/packages/g-web-animations-api/package.json +++ b/packages/g-web-animations-api/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-web-animations-api", - "version": "2.0.0", + "version": "2.0.1", "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 b545016e6..a2a9719cc 100644 --- a/packages/g-web-components/CHANGELOG.md +++ b/packages/g-web-components/CHANGELOG.md @@ -1,5 +1,14 @@ # @antv/g-web-components +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-canvas@2.0.1 + - @antv/g-webgl@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-web-components/package.json b/packages/g-web-components/package.json index 200b07151..129237c93 100644 --- a/packages/g-web-components/package.json +++ b/packages/g-web-components/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-web-components", - "version": "2.0.0", + "version": "2.0.1", "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 0e1e0db8a..c362e4b44 100644 --- a/packages/g-webgl/CHANGELOG.md +++ b/packages/g-webgl/CHANGELOG.md @@ -1,5 +1,16 @@ # @antv/g-webgl +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-device-renderer@2.0.1 + - @antv/g-plugin-dom-interaction@2.0.1 + - @antv/g-plugin-html-renderer@2.0.1 + - @antv/g-plugin-image-loader@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-webgl/package.json b/packages/g-webgl/package.json index 18f6b0135..7641c5ce8 100644 --- a/packages/g-webgl/package.json +++ b/packages/g-webgl/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-webgl", - "version": "2.0.0", + "version": "2.0.1", "description": "A renderer implemented by WebGL1/2", "keywords": [ "antv", diff --git a/packages/g-webgpu/CHANGELOG.md b/packages/g-webgpu/CHANGELOG.md index b4e7782de..83fec12e2 100644 --- a/packages/g-webgpu/CHANGELOG.md +++ b/packages/g-webgpu/CHANGELOG.md @@ -1,5 +1,16 @@ # @antv/g-webgpu +## 2.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-plugin-device-renderer@2.0.1 + - @antv/g-plugin-dom-interaction@2.0.1 + - @antv/g-plugin-html-renderer@2.0.1 + - @antv/g-plugin-image-loader@2.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/g-webgpu/package.json b/packages/g-webgpu/package.json index 71b752d08..573907528 100644 --- a/packages/g-webgpu/package.json +++ b/packages/g-webgpu/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g-webgpu", - "version": "2.0.0", + "version": "2.0.1", "description": "A renderer implemented by WebGPU", "keywords": [ "antv", diff --git a/packages/g/CHANGELOG.md b/packages/g/CHANGELOG.md index f75ff2f19..82f1e892f 100644 --- a/packages/g/CHANGELOG.md +++ b/packages/g/CHANGELOG.md @@ -1,5 +1,15 @@ # @antv/g +## 6.0.1 + +### Patch Changes + +- Updated dependencies [acabbcb0] + - @antv/g-lite@2.0.1 + - @antv/g-camera-api@2.0.1 + - @antv/g-dom-mutation-observer-api@2.0.1 + - @antv/g-web-animations-api@2.0.1 + ## 6.0.0 ### Major Changes diff --git a/packages/g/package.json b/packages/g/package.json index 9db5940e5..8ade566ad 100644 --- a/packages/g/package.json +++ b/packages/g/package.json @@ -1,6 +1,6 @@ { "name": "@antv/g", - "version": "6.0.0", + "version": "6.0.1", "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 4940bd0e7..3fdc2a398 100644 --- a/packages/react-g/CHANGELOG.md +++ b/packages/react-g/CHANGELOG.md @@ -1,5 +1,11 @@ # @antv/react-g +## 2.0.1 + +### Patch Changes + +- @antv/g@6.0.1 + ## 2.0.0 ### Major Changes diff --git a/packages/react-g/package.json b/packages/react-g/package.json index 23f7dd615..13454f85a 100644 --- a/packages/react-g/package.json +++ b/packages/react-g/package.json @@ -1,6 +1,6 @@ { "name": "@antv/react-g", - "version": "2.0.0", + "version": "2.0.1", "description": "react render for @antv/g", "keywords": [ "react",