Skip to content

Commit

Permalink
feat: allow constructing pattern with basic shapes #1226 (#1227)
Browse files Browse the repository at this point in the history
* feat: allow constructing pattern with basic shapes #1226

* chore: update pattern's docs

* chore: update docs for <gradient>

* fix: avoid generating pattern key for empty id #1225

* Publish

 - @antv/g-camera-api@1.0.19
 - @antv/g-canvas@1.9.18
 - @antv/g-canvaskit@0.8.18
 - @antv/g-components@1.7.30
 - @antv/g-css-layout-api@1.0.19
 - @antv/g-css-typed-om-api@1.0.19
 - @antv/g-devtool@0.10.30
 - @antv/g-dom-mutation-observer-api@1.0.19
 - @antv/g-gesture@0.0.53
 - @antv/g-image-exporter@0.5.30
 - @antv/g-layout-blocklike@1.7.30
 - @antv/g-lite@1.0.19
 - @antv/g-lottie-player@0.0.16
 - @antv/g-math@1.7.30
 - @antv/g-mobile-canvas-element@0.6.30
 - @antv/g-mobile-canvas@0.8.27
 - @antv/g-mobile-svg@0.8.27
 - @antv/g-mobile-webgl@0.7.33
 - @antv/g-pattern@0.0.3
 - @antv/g-plugin-3d@1.7.30
 - @antv/g-plugin-a11y@0.4.30
 - @antv/g-plugin-annotation@0.2.27
 - @antv/g-plugin-box2d@1.7.30
 - @antv/g-plugin-canvas-path-generator@1.1.30
 - @antv/g-plugin-canvas-picker@1.8.27
 - @antv/g-plugin-canvas-renderer@1.7.33
 - @antv/g-plugin-canvaskit-renderer@1.1.31
 - @antv/g-plugin-control@1.7.30
 - @antv/g-plugin-css-select@1.7.30
 - @antv/g-plugin-device-renderer@1.7.33
 - @antv/g-plugin-dom-interaction@1.7.30
 - @antv/g-plugin-dragndrop@1.6.30
 - @antv/g-plugin-gpgpu@1.7.30
 - @antv/g-plugin-html-renderer@1.7.30
 - @antv/g-plugin-image-loader@1.1.31
 - @antv/g-plugin-matterjs@1.7.30
 - @antv/g-plugin-mobile-interaction@0.7.30
 - @antv/g-plugin-physx@1.7.30
 - @antv/g-plugin-rough-canvas-renderer@1.7.31
 - @antv/g-plugin-rough-svg-renderer@1.7.31
 - @antv/g-plugin-svg-picker@1.7.30
 - @antv/g-plugin-svg-renderer@1.8.27
 - @antv/g-plugin-webgl-device@1.7.30
 - @antv/g-plugin-webgpu-device@1.7.30
 - @antv/g-plugin-yoga@1.7.30
 - @antv/g-shader-components@1.7.30
 - @antv/g-svg@1.8.27
 - @antv/g-web-animations-api@1.0.19
 - @antv/g-web-components@1.7.30
 - @antv/g-webgl@1.7.33
 - @antv/g-webgpu@1.7.33
 - @antv/g@5.14.1
 - @antv/react-g@1.8.27
  • Loading branch information
xiaoiver committed Nov 23, 2022
1 parent d0df67f commit 13b5bf7
Show file tree
Hide file tree
Showing 99 changed files with 2,252 additions and 1,091 deletions.
9 changes: 9 additions & 0 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,15 @@ $ yarn build
$ yarn test
```

### 启动站点

```bash
$ cd ./site
$ yarn install
$ cd ../
$ yarn link-site
```

## Inspired by

- [Sprite.js](https://github.com/spritejs/spritejs)
Expand Down
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,15 @@ $ yarn build
$ yarn test
```

### Run site demos

```bash
$ cd ./site
$ yarn install
$ cd ../
$ yarn link-site
```

## Inspired by

- [Sprite.js](https://github.com/spritejs/spritejs)
Expand All @@ -161,11 +170,11 @@ $ yarn test

## Contributors

| [<img src="https://avatars.githubusercontent.com/u/14918822?v=4" width="100px;"/><br/><sub><b>dengfuping</b></sub>](https://github.com/dengfuping)<br/> | [<img src="https://avatars.githubusercontent.com/u/3608471?v=4" width="100px;"/><br/><sub><b>xiaoiver</b></sub>](https://github.com/xiaoiver)<br/> | [<img src="https://avatars.githubusercontent.com/u/1264678?v=4" width="100px;"/><br/><sub><b>dxq613</b></sub>](https://github.com/dxq613)<br/> | [<img src="https://avatars.githubusercontent.com/in/2141?v=4" width="100px;"/><br/><sub><b>dependabot-preview[bot]</b></sub>](https://github.com/apps/dependabot-preview)<br/> | [<img src="https://avatars.githubusercontent.com/u/507615?v=4" width="100px;"/><br/><sub><b>afc163</b></sub>](https://github.com/afc163)<br/> | [<img src="https://avatars.githubusercontent.com/u/4224253?v=4" width="100px;"/><br/><sub><b>zhanba</b></sub>](https://github.com/zhanba)<br/> |
| :-: | :-: | :-: | :-: | :-: | :-: |
| [<img src="https://avatars.githubusercontent.com/u/1947344?v=4" width="100px;"/><br/><sub><b>limichange</b></sub>](https://github.com/limichange)<br/> | [<img src="https://avatars.githubusercontent.com/u/23075527?v=4" width="100px;"/><br/><sub><b>entronad</b></sub>](https://github.com/entronad)<br/> | [<img src="https://avatars.githubusercontent.com/u/7856674?v=4" width="100px;"/><br/><sub><b>hustcc</b></sub>](https://github.com/hustcc)<br/> | [<img src="https://avatars.githubusercontent.com/u/6628666?v=4" width="100px;"/><br/><sub><b>simaQ</b></sub>](https://github.com/simaQ)<br/> | [<img src="https://avatars.githubusercontent.com/u/1142242?v=4" width="100px;"/><br/><sub><b>zqlu</b></sub>](https://github.com/zqlu)<br/> | [<img src="https://avatars.githubusercontent.com/u/19731097?v=4" width="100px;"/><br/><sub><b>Deturium</b></sub>](https://github.com/Deturium)<br/> |
| [<img src="https://avatars.githubusercontent.com/u/29593318?v=4" width="100px;"/><br/><sub><b>Yanyan-Wang</b></sub>](https://github.com/Yanyan-Wang)<br/> | [<img src="https://avatars.githubusercontent.com/u/8325822?v=4" width="100px;"/><br/><sub><b>elaine1234</b></sub>](https://github.com/elaine1234)<br/> | [<img src="https://avatars.githubusercontent.com/u/15646325?v=4" width="100px;"/><br/><sub><b>visiky</b></sub>](https://github.com/visiky)<br/> | [<img src="https://avatars.githubusercontent.com/u/9443867?v=4" width="100px;"/><br/><sub><b>baizn</b></sub>](https://github.com/baizn)<br/> | [<img src="https://avatars.githubusercontent.com/u/10277628?v=4" width="100px;"/><br/><sub><b>terence55</b></sub>](https://github.com/terence55)<br/> | [<img src="https://avatars.githubusercontent.com/u/2281857?v=4" width="100px;"/><br/><sub><b>budlion</b></sub>](https://github.com/budlion)<br/> |
| [<img src="https://avatars.githubusercontent.com/u/7278711?v=4" width="100px;"/><br/><sub><b>luoxupan</b></sub>](https://github.com/luoxupan)<br/> | [<img src="https://avatars.githubusercontent.com/u/6812138?v=4" width="100px;"/><br/><sub><b>Leannechn</b></sub>](https://github.com/Leannechn)<br/> |
| [<img src="https://avatars.githubusercontent.com/u/14918822?v=4" width="100px;"/><br/><sub><b>dengfuping</b></sub>](https://github.com/dengfuping)<br/> | [<img src="https://avatars.githubusercontent.com/u/3608471?v=4" width="100px;"/><br/><sub><b>xiaoiver</b></sub>](https://github.com/xiaoiver)<br/> | [<img src="https://avatars.githubusercontent.com/u/1264678?v=4" width="100px;"/><br/><sub><b>dxq613</b></sub>](https://github.com/dxq613)<br/> | [<img src="https://avatars.githubusercontent.com/in/2141?v=4" width="100px;"/><br/><sub><b>dependabot-preview[bot]</b></sub>](https://github.com/apps/dependabot-preview)<br/> | [<img src="https://avatars.githubusercontent.com/u/507615?v=4" width="100px;"/><br/><sub><b>afc163</b></sub>](https://github.com/afc163)<br/> | [<img src="https://avatars.githubusercontent.com/u/4224253?v=4" width="100px;"/><br/><sub><b>zhanba</b></sub>](https://github.com/zhanba)<br/> |
| :-------------------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------: |
| [<img src="https://avatars.githubusercontent.com/u/1947344?v=4" width="100px;"/><br/><sub><b>limichange</b></sub>](https://github.com/limichange)<br/> | [<img src="https://avatars.githubusercontent.com/u/23075527?v=4" width="100px;"/><br/><sub><b>entronad</b></sub>](https://github.com/entronad)<br/> | [<img src="https://avatars.githubusercontent.com/u/7856674?v=4" width="100px;"/><br/><sub><b>hustcc</b></sub>](https://github.com/hustcc)<br/> | [<img src="https://avatars.githubusercontent.com/u/6628666?v=4" width="100px;"/><br/><sub><b>simaQ</b></sub>](https://github.com/simaQ)<br/> | [<img src="https://avatars.githubusercontent.com/u/1142242?v=4" width="100px;"/><br/><sub><b>zqlu</b></sub>](https://github.com/zqlu)<br/> | [<img src="https://avatars.githubusercontent.com/u/19731097?v=4" width="100px;"/><br/><sub><b>Deturium</b></sub>](https://github.com/Deturium)<br/> |
| [<img src="https://avatars.githubusercontent.com/u/29593318?v=4" width="100px;"/><br/><sub><b>Yanyan-Wang</b></sub>](https://github.com/Yanyan-Wang)<br/> | [<img src="https://avatars.githubusercontent.com/u/8325822?v=4" width="100px;"/><br/><sub><b>elaine1234</b></sub>](https://github.com/elaine1234)<br/> | [<img src="https://avatars.githubusercontent.com/u/15646325?v=4" width="100px;"/><br/><sub><b>visiky</b></sub>](https://github.com/visiky)<br/> | [<img src="https://avatars.githubusercontent.com/u/9443867?v=4" width="100px;"/><br/><sub><b>baizn</b></sub>](https://github.com/baizn)<br/> | [<img src="https://avatars.githubusercontent.com/u/10277628?v=4" width="100px;"/><br/><sub><b>terence55</b></sub>](https://github.com/terence55)<br/> | [<img src="https://avatars.githubusercontent.com/u/2281857?v=4" width="100px;"/><br/><sub><b>budlion</b></sub>](https://github.com/budlion)<br/> |
| [<img src="https://avatars.githubusercontent.com/u/7278711?v=4" width="100px;"/><br/><sub><b>luoxupan</b></sub>](https://github.com/luoxupan)<br/> | [<img src="https://avatars.githubusercontent.com/u/6812138?v=4" width="100px;"/><br/><sub><b>Leannechn</b></sub>](https://github.com/Leannechn)<br/> |

This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto updated at `Tue Dec 07 2021 10:00:16 GMT+0800`.

Expand Down
62 changes: 62 additions & 0 deletions __tests__/unit/mobile-canvas/canvas.spec.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import { Canvas, Circle } from '@antv/g';
import { Renderer as CanvasRenderer } from '@antv/g-mobile-canvas';
import { createMobileCanvasElement } from '@antv/g-mobile-canvas-element';
import { createContext } from './util';

describe('canvas', () => {
it('基础图形 canvas render', async () => {
const context = createContext();
const canvasElement = createMobileCanvasElement(context);

// 创建渲染器
const renderer = new CanvasRenderer();
const canvas = new Canvas({
canvas: canvasElement,
devicePixelRatio: window.devicePixelRatio,
renderer,
});

// create a circle
const circle = new Circle({
style: {
cx: 100,
cy: 100,
r: 10,
fill: '#1890FF',
stroke: '#F04864',
lineWidth: 2,
shadowColor: 'black',
shadowBlur: 20,
},
});

await canvas.ready;
canvas.appendChild(circle);

canvas.addEventListener('pointerdown', (e) => {
console.log('pointerdown');
});
canvas.addEventListener('pointerup', (e) => {
console.log('pointerup');
});
canvas.addEventListener('pointermove', (e) => {
console.log('pointermove');
});
canvas.addEventListener('pointerover', (e) => {
console.log('pointerover');
});
canvas.addEventListener('dragstart', (e) => {
console.log('dragstart');
});
canvas.addEventListener('drag', (e) => {
console.log('drag');
});
canvas.addEventListener('dragend', (e) => {
console.log('dragend');
});

canvas.addEventListener('click', (e) => {
console.log('click');
});
});
});
30 changes: 30 additions & 0 deletions __tests__/unit/mobile-canvas/util.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
function delay(time) {
return new Promise((resolve) => {
setTimeout(resolve, time);
});
}

const createContext = (
title = '',
{ width = 300, height = 300 } = {},
type = '2d',
) => {
if (title) {
const titleEl = document.createElement('p');
titleEl.innerText = title + ':';
titleEl.style.fontSize = '12px';
document.body.appendChild(titleEl);
}

const $canvas = document.createElement('canvas');
const dpr = window.devicePixelRatio;
$canvas.width = dpr * width;
$canvas.height = dpr * height;
$canvas.style.width = `${width}px`;
$canvas.style.height = `${height}px`;
document.body.appendChild($canvas);

return $canvas.getContext(type) as CanvasRenderingContext2D;
};

export { createContext, delay };
2 changes: 1 addition & 1 deletion packages/g-camera-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-camera-api",
"version": "1.0.18",
"version": "1.0.19",
"description": "A simple implementation of Camera API.",
"keywords": [
"antv",
Expand Down
15 changes: 8 additions & 7 deletions packages/g-canvas/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-canvas",
"version": "1.9.17",
"version": "1.9.18",
"description": "A renderer implemented by Canvas 2D API",
"keywords": [
"antv",
Expand Down Expand Up @@ -32,13 +32,14 @@
"sync": "tnpm sync"
},
"dependencies": {
"@antv/g-plugin-canvas-path-generator": "^1.1.29",
"@antv/g-plugin-canvas-picker": "^1.8.26",
"@antv/g-plugin-canvas-renderer": "^1.7.32",
"@antv/g-plugin-dom-interaction": "^1.7.29",
"@antv/g-plugin-html-renderer": "^1.7.29",
"@antv/g-plugin-image-loader": "^1.1.30",
"@antv/g-plugin-canvas-path-generator": "^1.1.30",
"@antv/g-plugin-canvas-picker": "^1.8.27",
"@antv/g-plugin-canvas-renderer": "^1.7.33",
"@antv/g-plugin-dom-interaction": "^1.7.30",
"@antv/g-plugin-html-renderer": "^1.7.30",
"@antv/g-plugin-image-loader": "^1.1.31",
"@antv/util": "^3.3.1",
"@types/offscreencanvas": "^2019.6.4",
"tslib": "^2.3.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/g-canvas/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"resolveJsonModule": true,
"esModuleInterop": true,
"lib": ["esnext", "dom"],
"types": ["jest"],
"types": ["jest", "offscreencanvas"],
"experimentalDecorators": false, /* Enables experimental support for ES7 decorators. */
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
"downlevelIteration": true
Expand Down
14 changes: 7 additions & 7 deletions packages/g-canvaskit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-canvaskit",
"version": "0.8.17",
"version": "0.8.18",
"description": "A renderer implemented by CanvasKit",
"keywords": [
"antv",
Expand Down Expand Up @@ -32,12 +32,12 @@
"sync": "tnpm sync"
},
"dependencies": {
"@antv/g-plugin-canvas-path-generator": "^1.1.29",
"@antv/g-plugin-canvas-picker": "^1.8.26",
"@antv/g-plugin-canvaskit-renderer": "^1.1.30",
"@antv/g-plugin-dom-interaction": "^1.7.29",
"@antv/g-plugin-html-renderer": "^1.7.29",
"@antv/g-plugin-image-loader": "^1.1.30",
"@antv/g-plugin-canvas-path-generator": "^1.1.30",
"@antv/g-plugin-canvas-picker": "^1.8.27",
"@antv/g-plugin-canvaskit-renderer": "^1.1.31",
"@antv/g-plugin-dom-interaction": "^1.7.30",
"@antv/g-plugin-html-renderer": "^1.7.30",
"@antv/g-plugin-image-loader": "^1.1.31",
"@antv/util": "^3.3.1",
"canvaskit-wasm": "^0.34.0",
"tslib": "^2.3.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/g-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-components",
"version": "1.7.29",
"version": "1.7.30",
"description": "Components for g",
"keywords": [
"antv",
Expand Down
2 changes: 1 addition & 1 deletion packages/g-css-layout-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-css-layout-api",
"version": "1.0.18",
"version": "1.0.19",
"description": "A simple implementation of CSS Layout API.",
"keywords": [
"antv",
Expand Down
2 changes: 1 addition & 1 deletion packages/g-css-typed-om-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-css-typed-om-api",
"version": "1.0.18",
"version": "1.0.19",
"description": "A simple implementation of CSS Typed OM API.",
"keywords": [
"antv",
Expand Down
2 changes: 1 addition & 1 deletion packages/g-devtool/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-devtool",
"version": "0.10.29",
"version": "0.10.30",
"private": true,
"description": "devtool for g in browser",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/g-dom-mutation-observer-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-dom-mutation-observer-api",
"version": "1.0.18",
"version": "1.0.19",
"description": "A simple implementation of DOM MutationObserver API.",
"keywords": [
"antv",
Expand Down
6 changes: 3 additions & 3 deletions packages/g-gesture/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-gesture",
"version": "0.0.52",
"version": "0.0.53",
"description": "G Gesture",
"keywords": [
"antv",
Expand Down Expand Up @@ -34,8 +34,8 @@
"eventemitter3": "^4.0.0"
},
"devDependencies": {
"@antv/g-mobile-canvas": "^0.8.26",
"@antv/g-mobile-canvas-element": "^0.6.29"
"@antv/g-mobile-canvas": "^0.8.27",
"@antv/g-mobile-canvas-element": "^0.6.30"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/g-image-exporter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-image-exporter",
"version": "0.5.29",
"version": "0.5.30",
"description": "A image exporter for G using DOM API",
"keywords": [
"antv",
Expand Down
2 changes: 1 addition & 1 deletion packages/g-layout-blocklike/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-layout-blocklike",
"version": "1.7.29",
"version": "1.7.30",
"description": "A blocklike layout",
"keywords": [
"antv",
Expand Down
4 changes: 2 additions & 2 deletions packages/g-lite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-lite",
"version": "1.0.18",
"version": "1.0.19",
"description": "A core module for rendering engine implements DOM API.",
"keywords": [
"antv",
Expand Down Expand Up @@ -32,7 +32,7 @@
"sync": "tnpm sync"
},
"dependencies": {
"@antv/g-math": "^1.7.29",
"@antv/g-math": "^1.7.30",
"@antv/util": "^3.3.1",
"@types/offscreencanvas": "^2019.6.4",
"d3-color": "^1.4.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/g-lite/src/css/parser/color.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { clamp, isNil, isObject, memoize } from '@antv/util';
import * as d3 from 'd3-color';
import { Rect } from '../..';
import type { Tuple4Number } from '../../types';
import type { CSSGradientValue } from '../cssom';
import { CSSRGB } from '../cssom';
Expand All @@ -10,7 +11,7 @@ import { parseGradient } from './gradient';
* @see https://developer.mozilla.org/zh-CN/docs/Web/API/CanvasRenderingContext2D/createPattern
*/
export interface Pattern {
image: string | CanvasImageSource;
image: string | CanvasImageSource | Rect;
repetition: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
transform: string;
}
Expand Down
11 changes: 6 additions & 5 deletions packages/g-lite/src/services/OffscreenCanvasCreator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import type { CanvasLike } from '..';
* - g `ctx.measureText`
* - g-plugin-canvas-picker `ctx.isPointInPath`
* - g-plugin-device-renderer `ctx.createLinearGradient` and generate texture
*
* @see https://blog.scottlogic.com/2020/03/19/offscreen-canvas.html
*/
export class OffscreenCanvasCreator {
private canvas: CanvasLike;
Expand All @@ -22,16 +24,15 @@ export class OffscreenCanvasCreator {
} else {
try {
// OffscreenCanvas2D measureText can be up to 40% faster.
// @ts-ignore
this.canvas = new window.OffscreenCanvas(0, 0);
this.context = this.canvas.getContext('2d')!;
this.canvas = new window.OffscreenCanvas(0, 0) as unknown as CanvasLike;
this.context = this.canvas.getContext('2d');
if (!this.context || !this.context.measureText) {
this.canvas = document.createElement('canvas');
this.context = this.canvas.getContext('2d')!;
this.context = this.canvas.getContext('2d');
}
} catch (ex) {
this.canvas = document.createElement('canvas');
this.context = this.canvas.getContext('2d')!;
this.context = this.canvas.getContext('2d');
}
}

Expand Down
2 changes: 1 addition & 1 deletion packages/g-lottie-player/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-lottie-player",
"version": "0.0.15",
"version": "0.0.16",
"description": "A lottie player for G",
"keywords": [
"antv",
Expand Down
2 changes: 1 addition & 1 deletion packages/g-math/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-math",
"version": "1.7.29",
"version": "1.7.30",
"description": "Geometry util",
"keywords": [
"antv",
Expand Down
2 changes: 1 addition & 1 deletion packages/g-mobile-canvas-element/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antv/g-mobile-canvas-element",
"version": "0.6.29",
"version": "0.6.30",
"description": "Create a CanvasLike element from existed context in mobile environment",
"keywords": [
"antv",
Expand Down

0 comments on commit 13b5bf7

Please sign in to comment.