From 4a831bb78859a9d4654465a326d7a7947af0700a Mon Sep 17 00:00:00 2001 From: xiaoluoHe Date: Mon, 2 Sep 2024 11:33:04 +0800 Subject: [PATCH 1/5] fix: label merge will lost data --- packages/vgrammar-core/src/component/label.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vgrammar-core/src/component/label.ts b/packages/vgrammar-core/src/component/label.ts index 2c400e9d..ecd04a28 100644 --- a/packages/vgrammar-core/src/component/label.ts +++ b/packages/vgrammar-core/src/component/label.ts @@ -81,7 +81,7 @@ export const generateLabelAttributes = ( } else { const mergeAttributes = (attributes: any, themeDatum: any) => { const { data: labelData, ...restAttribute } = attributes; - return { data: labelData, ...merge({}, themeDatum, restAttribute) }; + return { ...merge({}, themeDatum, restAttribute), data: labelData }; }; // process by order of elements mark.elements.forEach(element => { From b2d881ca622f6ecf21f2eb2d0651b3e22170328d Mon Sep 17 00:00:00 2001 From: xiaoluoHe Date: Mon, 2 Sep 2024 16:08:35 +0800 Subject: [PATCH 2/5] docs: update changelog --- .../fix-label-data-merge_2024-09-02-08-08.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 common/changes/@visactor/vgrammar-core/fix-label-data-merge_2024-09-02-08-08.json diff --git a/common/changes/@visactor/vgrammar-core/fix-label-data-merge_2024-09-02-08-08.json b/common/changes/@visactor/vgrammar-core/fix-label-data-merge_2024-09-02-08-08.json new file mode 100644 index 00000000..ff9b699c --- /dev/null +++ b/common/changes/@visactor/vgrammar-core/fix-label-data-merge_2024-09-02-08-08.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@visactor/vgrammar-core", + "comment": "fix: fix the issue of merging data in label component", + "type": "none" + } + ], + "packageName": "@visactor/vgrammar-core" +} \ No newline at end of file From 550a18d7909d692891b98dcbd0004724d178fad1 Mon Sep 17 00:00:00 2001 From: xile611 Date: Mon, 2 Sep 2024 16:41:39 +0800 Subject: [PATCH 3/5] fix: fix animation of word-cloud-shape --- packages/vgrammar-core/src/types/grammar.ts | 2 ++ packages/vgrammar-core/src/types/transform.ts | 4 ++++ packages/vgrammar-core/src/view/View.ts | 4 ++++ packages/vgrammar-core/src/view/mark.ts | 8 ++++++++ packages/vgrammar-wordcloud-shape/src/layout.ts | 3 +++ 5 files changed, 21 insertions(+) diff --git a/packages/vgrammar-core/src/types/grammar.ts b/packages/vgrammar-core/src/types/grammar.ts index ed283780..6d326dcc 100644 --- a/packages/vgrammar-core/src/types/grammar.ts +++ b/packages/vgrammar-core/src/types/grammar.ts @@ -216,6 +216,8 @@ export interface IProgressiveGrammar { restartProgressive: () => void; /** 分片执行 */ evaluateProgressive: () => void; + /** 增量流程后,是否执行动画 */ + canAnimateAfterProgressive: () => boolean; } export interface IMark extends IGrammarBase, IProgressiveGrammar { diff --git a/packages/vgrammar-core/src/types/transform.ts b/packages/vgrammar-core/src/types/transform.ts index 0aede8e0..33b2fd5e 100644 --- a/packages/vgrammar-core/src/types/transform.ts +++ b/packages/vgrammar-core/src/types/transform.ts @@ -376,6 +376,10 @@ export interface IProgressiveTransformResult { progressiveRun: () => void; /** release the progressive context */ release: () => void; + /** + * can animate after progressive + */ + canAnimate?: () => boolean; } export interface IProgressiveTransform { diff --git a/packages/vgrammar-core/src/view/View.ts b/packages/vgrammar-core/src/view/View.ts index de396111..34e0aff1 100644 --- a/packages/vgrammar-core/src/view/View.ts +++ b/packages/vgrammar-core/src/view/View.ts @@ -1342,6 +1342,10 @@ export default class View extends EventEmitter implements IView { if (this._progressiveMarks && this._progressiveMarks.some(mark => mark.isDoingProgressive())) { const raf = vglobal.getRequestAnimationFrame(); this._progressiveRafId = raf(this.handleProgressiveFrame); + } else if (this._progressiveMarks && this._progressiveMarks.every(mark => mark.canAnimateAfterProgressive())) { + this.animate.animate(); + } else if (this._progressiveMarks) { + this._progressiveMarks = null; } } diff --git a/packages/vgrammar-core/src/view/mark.ts b/packages/vgrammar-core/src/view/mark.ts index 83aa03f7..2f58de80 100644 --- a/packages/vgrammar-core/src/view/mark.ts +++ b/packages/vgrammar-core/src/view/mark.ts @@ -934,6 +934,14 @@ export class Mark extends GrammarBase implements IMark { return this.renderContext && (!!this.renderContext.progressive || !!this.renderContext.beforeTransformProgressive); } + canAnimateAfterProgressive() { + return ( + this.renderContext && + this.renderContext.beforeTransformProgressive && + this.renderContext.beforeTransformProgressive.canAnimate() + ); + } + isDoingProgressive() { return ( this.renderContext && diff --git a/packages/vgrammar-wordcloud-shape/src/layout.ts b/packages/vgrammar-wordcloud-shape/src/layout.ts index c3ed5738..5c843e99 100644 --- a/packages/vgrammar-wordcloud-shape/src/layout.ts +++ b/packages/vgrammar-wordcloud-shape/src/layout.ts @@ -128,6 +128,9 @@ export class Layout implements IProgressiveTransformResult { this.isLayoutFinished = true; } } + canAnimate() { + return true; + } unfinished(): boolean { return !this.isLayoutFinished; From 1b90820b1c4f6607013e2b4fb4fe21723c7f98fd Mon Sep 17 00:00:00 2001 From: xile611 Date: Mon, 2 Sep 2024 16:42:00 +0800 Subject: [PATCH 4/5] docs: update changlog of rush --- ...x-word-cloud-shape-animation_2024-09-02-08-42.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/@visactor/vgrammar-core/fix-word-cloud-shape-animation_2024-09-02-08-42.json diff --git a/common/changes/@visactor/vgrammar-core/fix-word-cloud-shape-animation_2024-09-02-08-42.json b/common/changes/@visactor/vgrammar-core/fix-word-cloud-shape-animation_2024-09-02-08-42.json new file mode 100644 index 00000000..cda90e44 --- /dev/null +++ b/common/changes/@visactor/vgrammar-core/fix-word-cloud-shape-animation_2024-09-02-08-42.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "fix: fix animation of word-cloud-shape\n\n", + "type": "none", + "packageName": "@visactor/vgrammar-core" + } + ], + "packageName": "@visactor/vgrammar-core", + "email": "dingling112@gmail.com" +} \ No newline at end of file From d7471e799d3e2378b6d0e7a3c5cd0fde0d889c19 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 2 Sep 2024 11:04:50 +0000 Subject: [PATCH 5/5] build: release version 0.14.2 --- ...fix-label-data-merge_2024-09-02-08-08.json | 10 -- ...loud-shape-animation_2024-09-02-08-42.json | 11 --- common/config/rush/pnpm-lock.yaml | 96 +++++++++---------- common/config/rush/version-policies.json | 2 +- docs/dev-demos/package.json | 20 ++-- docs/site/package.json | 22 ++--- packages/vgrammar-coordinate/package.json | 4 +- packages/vgrammar-core/CHANGELOG.json | 15 +++ packages/vgrammar-core/CHANGELOG.md | 12 ++- packages/vgrammar-core/package.json | 6 +- packages/vgrammar-full/package.json | 18 ++-- packages/vgrammar-hierarchy/package.json | 6 +- packages/vgrammar-plot/package.json | 8 +- packages/vgrammar-projection/package.json | 6 +- packages/vgrammar-sankey/package.json | 6 +- packages/vgrammar-util/package.json | 2 +- packages/vgrammar-venn/package.json | 6 +- .../vgrammar-wordcloud-shape/package.json | 6 +- packages/vgrammar-wordcloud/package.json | 6 +- packages/vgrammar/package.json | 4 +- 20 files changed, 135 insertions(+), 131 deletions(-) delete mode 100644 common/changes/@visactor/vgrammar-core/fix-label-data-merge_2024-09-02-08-08.json delete mode 100644 common/changes/@visactor/vgrammar-core/fix-word-cloud-shape-animation_2024-09-02-08-42.json diff --git a/common/changes/@visactor/vgrammar-core/fix-label-data-merge_2024-09-02-08-08.json b/common/changes/@visactor/vgrammar-core/fix-label-data-merge_2024-09-02-08-08.json deleted file mode 100644 index ff9b699c..00000000 --- a/common/changes/@visactor/vgrammar-core/fix-label-data-merge_2024-09-02-08-08.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@visactor/vgrammar-core", - "comment": "fix: fix the issue of merging data in label component", - "type": "none" - } - ], - "packageName": "@visactor/vgrammar-core" -} \ No newline at end of file diff --git a/common/changes/@visactor/vgrammar-core/fix-word-cloud-shape-animation_2024-09-02-08-42.json b/common/changes/@visactor/vgrammar-core/fix-word-cloud-shape-animation_2024-09-02-08-42.json deleted file mode 100644 index cda90e44..00000000 --- a/common/changes/@visactor/vgrammar-core/fix-word-cloud-shape-animation_2024-09-02-08-42.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "changes": [ - { - "comment": "fix: fix animation of word-cloud-shape\n\n", - "type": "none", - "packageName": "@visactor/vgrammar-core" - } - ], - "packageName": "@visactor/vgrammar-core", - "email": "dingling112@gmail.com" -} \ No newline at end of file diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 2561ddb0..90abc83f 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -9,16 +9,16 @@ importers: specifiers: '@internal/eslint-config': workspace:* '@internal/ts-config': workspace:* - '@visactor/vgrammar': workspace:0.14.1 - '@visactor/vgrammar-coordinate': workspace:0.14.1 - '@visactor/vgrammar-core': workspace:0.14.1 - '@visactor/vgrammar-hierarchy': workspace:0.14.1 - '@visactor/vgrammar-plot': workspace:0.14.1 - '@visactor/vgrammar-projection': workspace:0.14.1 - '@visactor/vgrammar-sankey': workspace:0.14.1 - '@visactor/vgrammar-util': workspace:0.14.1 - '@visactor/vgrammar-wordcloud': workspace:0.14.1 - '@visactor/vgrammar-wordcloud-shape': workspace:0.14.1 + '@visactor/vgrammar': workspace:0.14.2 + '@visactor/vgrammar-coordinate': workspace:0.14.2 + '@visactor/vgrammar-core': workspace:0.14.2 + '@visactor/vgrammar-hierarchy': workspace:0.14.2 + '@visactor/vgrammar-plot': workspace:0.14.2 + '@visactor/vgrammar-projection': workspace:0.14.2 + '@visactor/vgrammar-sankey': workspace:0.14.2 + '@visactor/vgrammar-util': workspace:0.14.2 + '@visactor/vgrammar-wordcloud': workspace:0.14.2 + '@visactor/vgrammar-wordcloud-shape': workspace:0.14.2 '@visactor/vrender': 0.20.1 '@visactor/vrender-core': 0.20.1 '@visactor/vrender-kits': 0.20.1 @@ -60,17 +60,17 @@ importers: '@types/markdown-it': ^13.0.0 '@types/react': ^18.0.0 '@types/react-dom': ^18.0.0 - '@visactor/vgrammar': workspace:0.14.1 - '@visactor/vgrammar-coordinate': workspace:0.14.1 - '@visactor/vgrammar-core': workspace:0.14.1 - '@visactor/vgrammar-hierarchy': workspace:0.14.1 - '@visactor/vgrammar-plot': workspace:0.14.1 - '@visactor/vgrammar-projection': workspace:0.14.1 - '@visactor/vgrammar-sankey': workspace:0.14.1 - '@visactor/vgrammar-util': workspace:0.14.1 - '@visactor/vgrammar-venn': workspace:0.14.1 - '@visactor/vgrammar-wordcloud': workspace:0.14.1 - '@visactor/vgrammar-wordcloud-shape': workspace:0.14.1 + '@visactor/vgrammar': workspace:0.14.2 + '@visactor/vgrammar-coordinate': workspace:0.14.2 + '@visactor/vgrammar-core': workspace:0.14.2 + '@visactor/vgrammar-hierarchy': workspace:0.14.2 + '@visactor/vgrammar-plot': workspace:0.14.2 + '@visactor/vgrammar-projection': workspace:0.14.2 + '@visactor/vgrammar-sankey': workspace:0.14.2 + '@visactor/vgrammar-util': workspace:0.14.2 + '@visactor/vgrammar-venn': workspace:0.14.2 + '@visactor/vgrammar-wordcloud': workspace:0.14.2 + '@visactor/vgrammar-wordcloud-shape': workspace:0.14.2 '@visactor/vrender': 0.20.1 '@visactor/vrender-core': 0.20.1 '@visactor/vrender-kits': 0.20.1 @@ -153,7 +153,7 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.1 + '@visactor/vgrammar-core': workspace:0.14.2 d3-array: 1.x eslint: ~8.18.0 jest: ~29.5.0 @@ -191,7 +191,7 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-util': workspace:0.14.1 + '@visactor/vgrammar-util': workspace:0.14.2 '@visactor/vutils': ~0.18.15 eslint: ~8.18.0 jest: ~29.5.0 @@ -229,8 +229,8 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@visactor/vdataset': ~0.18.15 - '@visactor/vgrammar-coordinate': workspace:0.14.1 - '@visactor/vgrammar-util': workspace:0.14.1 + '@visactor/vgrammar-coordinate': workspace:0.14.2 + '@visactor/vgrammar-util': workspace:0.14.2 '@visactor/vrender-components': 0.20.1 '@visactor/vrender-core': 0.20.1 '@visactor/vrender-kits': 0.20.1 @@ -279,14 +279,14 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@types/node-fetch': 2.6.4 - '@visactor/vgrammar-core': workspace:0.14.1 - '@visactor/vgrammar-hierarchy': workspace:0.14.1 - '@visactor/vgrammar-plot': workspace:0.14.1 - '@visactor/vgrammar-projection': workspace:0.14.1 - '@visactor/vgrammar-sankey': workspace:0.14.1 - '@visactor/vgrammar-venn': workspace:0.14.1 - '@visactor/vgrammar-wordcloud': workspace:0.14.1 - '@visactor/vgrammar-wordcloud-shape': workspace:0.14.1 + '@visactor/vgrammar-core': workspace:0.14.2 + '@visactor/vgrammar-hierarchy': workspace:0.14.2 + '@visactor/vgrammar-plot': workspace:0.14.2 + '@visactor/vgrammar-projection': workspace:0.14.2 + '@visactor/vgrammar-sankey': workspace:0.14.2 + '@visactor/vgrammar-venn': workspace:0.14.2 + '@visactor/vgrammar-wordcloud': workspace:0.14.2 + '@visactor/vgrammar-wordcloud-shape': workspace:0.14.2 d3-array: 1.x eslint: ~8.18.0 form-data: ~4.0.0 @@ -338,8 +338,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.1 - '@visactor/vgrammar-util': workspace:0.14.1 + '@visactor/vgrammar-core': workspace:0.14.2 + '@visactor/vgrammar-util': workspace:0.14.2 '@visactor/vrender-core': 0.20.1 '@visactor/vrender-kits': 0.20.1 '@visactor/vutils': ~0.18.15 @@ -382,9 +382,9 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-coordinate': workspace:0.14.1 - '@visactor/vgrammar-core': workspace:0.14.1 - '@visactor/vgrammar-util': workspace:0.14.1 + '@visactor/vgrammar-coordinate': workspace:0.14.2 + '@visactor/vgrammar-core': workspace:0.14.2 + '@visactor/vgrammar-util': workspace:0.14.2 '@visactor/vrender-components': 0.20.1 '@visactor/vrender-core': 0.20.1 '@visactor/vrender-kits': 0.20.1 @@ -435,8 +435,8 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.1 - '@visactor/vgrammar-util': workspace:0.14.1 + '@visactor/vgrammar-core': workspace:0.14.2 + '@visactor/vgrammar-util': workspace:0.14.2 '@visactor/vutils': ~0.18.15 d3-array: 1.x d3-geo: ^1.12.1 @@ -479,8 +479,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.1 - '@visactor/vgrammar-util': workspace:0.14.1 + '@visactor/vgrammar-core': workspace:0.14.2 + '@visactor/vgrammar-util': workspace:0.14.2 '@visactor/vrender-core': 0.20.1 '@visactor/vrender-kits': 0.20.1 '@visactor/vutils': ~0.18.15 @@ -559,8 +559,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.1 - '@visactor/vgrammar-util': workspace:0.14.1 + '@visactor/vgrammar-core': workspace:0.14.2 + '@visactor/vgrammar-util': workspace:0.14.2 '@visactor/vrender-core': 0.20.1 '@visactor/vrender-kits': 0.20.1 '@visactor/vutils': ~0.18.15 @@ -602,8 +602,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.1 - '@visactor/vgrammar-util': workspace:0.14.1 + '@visactor/vgrammar-core': workspace:0.14.2 + '@visactor/vgrammar-util': workspace:0.14.2 '@visactor/vrender-core': 0.20.1 '@visactor/vrender-kits': 0.20.1 '@visactor/vutils': ~0.18.15 @@ -645,8 +645,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.14.1 - '@visactor/vgrammar-util': workspace:0.14.1 + '@visactor/vgrammar-core': workspace:0.14.2 + '@visactor/vgrammar-util': workspace:0.14.2 '@visactor/vrender-core': 0.20.1 '@visactor/vrender-kits': 0.20.1 '@visactor/vscale': ~0.18.15 diff --git a/common/config/rush/version-policies.json b/common/config/rush/version-policies.json index fc6dd661..1bef5c8a 100644 --- a/common/config/rush/version-policies.json +++ b/common/config/rush/version-policies.json @@ -1 +1 @@ -[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.14.1","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}] +[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.14.2","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}] diff --git a/docs/dev-demos/package.json b/docs/dev-demos/package.json index 47afb3a5..e8d25fa4 100644 --- a/docs/dev-demos/package.json +++ b/docs/dev-demos/package.json @@ -12,14 +12,14 @@ "@internal/eslint-config": "workspace:*", "@internal/ts-config": "workspace:*", "@visactor/vutils": "~0.18.15", - "@visactor/vgrammar": "workspace:0.14.1", - "@visactor/vgrammar-core": "workspace:0.14.1", - "@visactor/vgrammar-hierarchy": "workspace:0.14.1", - "@visactor/vgrammar-sankey": "workspace:0.14.1", - "@visactor/vgrammar-projection": "workspace:0.14.1", - "@visactor/vgrammar-wordcloud": "workspace:0.14.1", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.14.1", - "@visactor/vgrammar-plot": "workspace:0.14.1", + "@visactor/vgrammar": "workspace:0.14.2", + "@visactor/vgrammar-core": "workspace:0.14.2", + "@visactor/vgrammar-hierarchy": "workspace:0.14.2", + "@visactor/vgrammar-sankey": "workspace:0.14.2", + "@visactor/vgrammar-projection": "workspace:0.14.2", + "@visactor/vgrammar-wordcloud": "workspace:0.14.2", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.14.2", + "@visactor/vgrammar-plot": "workspace:0.14.2", "@visactor/vrender-core": "0.20.1", "@visactor/vrender-kits": "0.20.1", "@visactor/vrender": "0.20.1", @@ -27,8 +27,8 @@ "lodash": "4.17.21", "typescript": "4.9.5", "vite": "3.2.6", - "@visactor/vgrammar-util": "workspace:0.14.1", - "@visactor/vgrammar-coordinate": "workspace:0.14.1", + "@visactor/vgrammar-util": "workspace:0.14.2", + "@visactor/vgrammar-coordinate": "workspace:0.14.2", "@vitejs/plugin-react": "3.1.0" } } diff --git a/docs/site/package.json b/docs/site/package.json index cb2d3db8..90eae2f6 100644 --- a/docs/site/package.json +++ b/docs/site/package.json @@ -14,17 +14,17 @@ "dependencies": { "@arco-design/web-react": "2.46.1", "@visactor/vutils": "~0.18.15", - "@visactor/vgrammar": "workspace:0.14.1", - "@visactor/vgrammar-core": "workspace:0.14.1", - "@visactor/vgrammar-hierarchy": "workspace:0.14.1", - "@visactor/vgrammar-sankey": "workspace:0.14.1", - "@visactor/vgrammar-projection": "workspace:0.14.1", - "@visactor/vgrammar-wordcloud": "workspace:0.14.1", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.14.1", - "@visactor/vgrammar-plot": "workspace:0.14.1", - "@visactor/vgrammar-util": "workspace:0.14.1", - "@visactor/vgrammar-coordinate": "workspace:0.14.1", - "@visactor/vgrammar-venn": "workspace:0.14.1", + "@visactor/vgrammar": "workspace:0.14.2", + "@visactor/vgrammar-core": "workspace:0.14.2", + "@visactor/vgrammar-hierarchy": "workspace:0.14.2", + "@visactor/vgrammar-sankey": "workspace:0.14.2", + "@visactor/vgrammar-projection": "workspace:0.14.2", + "@visactor/vgrammar-wordcloud": "workspace:0.14.2", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.14.2", + "@visactor/vgrammar-plot": "workspace:0.14.2", + "@visactor/vgrammar-util": "workspace:0.14.2", + "@visactor/vgrammar-coordinate": "workspace:0.14.2", + "@visactor/vgrammar-venn": "workspace:0.14.2", "@visactor/vrender-core": "0.20.1", "@visactor/vrender-kits": "0.20.1", "@visactor/vrender": "0.20.1", diff --git a/packages/vgrammar-coordinate/package.json b/packages/vgrammar-coordinate/package.json index 96bc7327..ffb49d54 100644 --- a/packages/vgrammar-coordinate/package.json +++ b/packages/vgrammar-coordinate/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-coordinate", - "version": "0.14.1", + "version": "0.14.2", "description": "Coordinates for VGrammar", "keywords": [ "coordinate", @@ -35,7 +35,7 @@ }, "dependencies": { "@visactor/vutils": "~0.18.15", - "@visactor/vgrammar-util": "workspace:0.14.1" + "@visactor/vgrammar-util": "workspace:0.14.2" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-core/CHANGELOG.json b/packages/vgrammar-core/CHANGELOG.json index 8e1f11e5..26403f6c 100644 --- a/packages/vgrammar-core/CHANGELOG.json +++ b/packages/vgrammar-core/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@visactor/vgrammar-core", "entries": [ + { + "version": "0.14.2", + "tag": "@visactor/vgrammar-core_v0.14.2", + "date": "Mon, 02 Sep 2024 10:59:02 GMT", + "comments": { + "none": [ + { + "comment": "fix: fix the issue of merging data in label component" + }, + { + "comment": "fix: fix animation of word-cloud-shape\n\n" + } + ] + } + }, { "version": "0.14.1", "tag": "@visactor/vgrammar-core_v0.14.1", diff --git a/packages/vgrammar-core/CHANGELOG.md b/packages/vgrammar-core/CHANGELOG.md index 79e54927..a2b27bd7 100644 --- a/packages/vgrammar-core/CHANGELOG.md +++ b/packages/vgrammar-core/CHANGELOG.md @@ -1,6 +1,16 @@ # Change Log - @visactor/vgrammar-core -This log was last generated on Mon, 02 Sep 2024 02:02:24 GMT and should not be manually modified. +This log was last generated on Mon, 02 Sep 2024 10:59:02 GMT and should not be manually modified. + +## 0.14.2 +Mon, 02 Sep 2024 10:59:02 GMT + +### Updates + +- fix: fix the issue of merging data in label component +- fix: fix animation of word-cloud-shape + + ## 0.14.1 Mon, 02 Sep 2024 02:02:24 GMT diff --git a/packages/vgrammar-core/package.json b/packages/vgrammar-core/package.json index f8037558..1fb6b7df 100644 --- a/packages/vgrammar-core/package.json +++ b/packages/vgrammar-core/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-core", - "version": "0.14.1", + "version": "0.14.2", "description": "VGrammar is a visual grammar library", "keywords": [ "grammar", @@ -37,8 +37,8 @@ "dependencies": { "@visactor/vutils": "~0.18.15", "@visactor/vdataset": "~0.18.15", - "@visactor/vgrammar-coordinate": "workspace:0.14.1", - "@visactor/vgrammar-util": "workspace:0.14.1", + "@visactor/vgrammar-coordinate": "workspace:0.14.2", + "@visactor/vgrammar-util": "workspace:0.14.2", "@visactor/vscale": "~0.18.15", "@visactor/vrender-core": "0.20.1", "@visactor/vrender-kits": "0.20.1", diff --git a/packages/vgrammar-full/package.json b/packages/vgrammar-full/package.json index 559db514..afb11c9e 100644 --- a/packages/vgrammar-full/package.json +++ b/packages/vgrammar-full/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-full", - "version": "0.14.1", + "version": "0.14.2", "description": "full packages of vgrammar.", "keywords": [ "visualization", @@ -33,14 +33,14 @@ "test": "" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.14.1", - "@visactor/vgrammar-hierarchy": "workspace:0.14.1", - "@visactor/vgrammar-plot": "workspace:0.14.1", - "@visactor/vgrammar-projection": "workspace:0.14.1", - "@visactor/vgrammar-sankey": "workspace:0.14.1", - "@visactor/vgrammar-wordcloud": "workspace:0.14.1", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.14.1", - "@visactor/vgrammar-venn": "workspace:0.14.1" + "@visactor/vgrammar-core": "workspace:0.14.2", + "@visactor/vgrammar-hierarchy": "workspace:0.14.2", + "@visactor/vgrammar-plot": "workspace:0.14.2", + "@visactor/vgrammar-projection": "workspace:0.14.2", + "@visactor/vgrammar-sankey": "workspace:0.14.2", + "@visactor/vgrammar-wordcloud": "workspace:0.14.2", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.14.2", + "@visactor/vgrammar-venn": "workspace:0.14.2" }, "devDependencies": { "d3-array": "1.x", diff --git a/packages/vgrammar-hierarchy/package.json b/packages/vgrammar-hierarchy/package.json index 329664f4..bf31190b 100644 --- a/packages/vgrammar-hierarchy/package.json +++ b/packages/vgrammar-hierarchy/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-hierarchy", - "version": "0.14.1", + "version": "0.14.2", "description": "Layout of hierarchical data for VGrammar", "keywords": [ "hierarchy", @@ -39,8 +39,8 @@ }, "dependencies": { "@visactor/vutils": "~0.18.15", - "@visactor/vgrammar-core": "workspace:0.14.1", - "@visactor/vgrammar-util": "workspace:0.14.1", + "@visactor/vgrammar-core": "workspace:0.14.2", + "@visactor/vgrammar-util": "workspace:0.14.2", "@visactor/vrender-core": "0.20.1", "@visactor/vrender-kits": "0.20.1" }, diff --git a/packages/vgrammar-plot/package.json b/packages/vgrammar-plot/package.json index 8c95dee2..73aaed85 100644 --- a/packages/vgrammar-plot/package.json +++ b/packages/vgrammar-plot/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-plot", - "version": "0.14.1", + "version": "0.14.2", "description": "Plots of vgrammar.", "keywords": [ "plot", @@ -36,9 +36,9 @@ "dependencies": { "@visactor/vscale": "~0.18.15", "@visactor/vutils": "~0.18.15", - "@visactor/vgrammar-util": "workspace:0.14.1", - "@visactor/vgrammar-coordinate": "workspace:0.14.1", - "@visactor/vgrammar-core": "workspace:0.14.1", + "@visactor/vgrammar-util": "workspace:0.14.2", + "@visactor/vgrammar-coordinate": "workspace:0.14.2", + "@visactor/vgrammar-core": "workspace:0.14.2", "@visactor/vrender-components": "0.20.1", "@visactor/vrender-core": "0.20.1", "@visactor/vrender-kits": "0.20.1" diff --git a/packages/vgrammar-projection/package.json b/packages/vgrammar-projection/package.json index 742d0792..8a5e75df 100644 --- a/packages/vgrammar-projection/package.json +++ b/packages/vgrammar-projection/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-projection", - "version": "0.14.1", + "version": "0.14.2", "description": "Projections for map, used in VGrammar.", "keywords": [ "projection", @@ -35,8 +35,8 @@ }, "dependencies": { "@visactor/vutils": "~0.18.15", - "@visactor/vgrammar-util": "workspace:0.14.1", - "@visactor/vgrammar-core": "workspace:0.14.1", + "@visactor/vgrammar-util": "workspace:0.14.2", + "@visactor/vgrammar-core": "workspace:0.14.2", "d3-geo": "^1.12.1" }, "devDependencies": { diff --git a/packages/vgrammar-sankey/package.json b/packages/vgrammar-sankey/package.json index 73483eae..5691ce82 100644 --- a/packages/vgrammar-sankey/package.json +++ b/packages/vgrammar-sankey/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-sankey", - "version": "0.14.1", + "version": "0.14.2", "description": "Layout of sankey chart, used by VGrammar", "keywords": [ "sankey", @@ -37,8 +37,8 @@ }, "dependencies": { "@visactor/vutils": "~0.18.15", - "@visactor/vgrammar-core": "workspace:0.14.1", - "@visactor/vgrammar-util": "workspace:0.14.1", + "@visactor/vgrammar-core": "workspace:0.14.2", + "@visactor/vgrammar-util": "workspace:0.14.2", "@visactor/vrender-core": "0.20.1", "@visactor/vrender-kits": "0.20.1" }, diff --git a/packages/vgrammar-util/package.json b/packages/vgrammar-util/package.json index fe496e9a..ab62acc8 100644 --- a/packages/vgrammar-util/package.json +++ b/packages/vgrammar-util/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-util", - "version": "0.14.1", + "version": "0.14.2", "description": "The common utils functions of VGrammar", "keywords": [ "utils", diff --git a/packages/vgrammar-venn/package.json b/packages/vgrammar-venn/package.json index a8a4e2bd..c662338b 100644 --- a/packages/vgrammar-venn/package.json +++ b/packages/vgrammar-venn/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-venn", - "version": "0.14.1", + "version": "0.14.2", "description": "Venn layout transform for VGrammar", "keywords": [ "venn", @@ -34,8 +34,8 @@ "test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.14.1", - "@visactor/vgrammar-util": "workspace:0.14.1", + "@visactor/vgrammar-core": "workspace:0.14.2", + "@visactor/vgrammar-util": "workspace:0.14.2", "@visactor/vrender-core": "0.20.1", "@visactor/vrender-kits": "0.20.1", "@visactor/vutils": "~0.18.15" diff --git a/packages/vgrammar-wordcloud-shape/package.json b/packages/vgrammar-wordcloud-shape/package.json index a0f65466..8c8fa1d3 100644 --- a/packages/vgrammar-wordcloud-shape/package.json +++ b/packages/vgrammar-wordcloud-shape/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-wordcloud-shape", - "version": "0.14.1", + "version": "0.14.2", "description": "Layout WordCloud in specified shape, this is a transform for VGrammar.", "keywords": [ "wordcloud", @@ -36,8 +36,8 @@ "dependencies": { "@visactor/vutils": "~0.18.15", "@visactor/vscale": "~0.18.15", - "@visactor/vgrammar-core": "workspace:0.14.1", - "@visactor/vgrammar-util": "workspace:0.14.1", + "@visactor/vgrammar-core": "workspace:0.14.2", + "@visactor/vgrammar-util": "workspace:0.14.2", "@visactor/vrender-core": "0.20.1", "@visactor/vrender-kits": "0.20.1" }, diff --git a/packages/vgrammar-wordcloud/package.json b/packages/vgrammar-wordcloud/package.json index dda21a75..97a8bc71 100644 --- a/packages/vgrammar-wordcloud/package.json +++ b/packages/vgrammar-wordcloud/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-wordcloud", - "version": "0.14.1", + "version": "0.14.2", "description": "WordCloud layout transform for VGrammar", "keywords": [ "wordcloud", @@ -35,8 +35,8 @@ }, "dependencies": { "@visactor/vutils": "~0.18.15", - "@visactor/vgrammar-core": "workspace:0.14.1", - "@visactor/vgrammar-util": "workspace:0.14.1", + "@visactor/vgrammar-core": "workspace:0.14.2", + "@visactor/vgrammar-util": "workspace:0.14.2", "@visactor/vrender-core": "0.20.1", "@visactor/vrender-kits": "0.20.1" }, diff --git a/packages/vgrammar/package.json b/packages/vgrammar/package.json index 1ae72af6..834340cc 100644 --- a/packages/vgrammar/package.json +++ b/packages/vgrammar/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar", - "version": "0.14.1", + "version": "0.14.2", "description": "simple package of vgrammar.", "keywords": [ "visualization", @@ -30,7 +30,7 @@ "test": "" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.14.1" + "@visactor/vgrammar-core": "workspace:0.14.2" }, "devDependencies": { "d3-array": "1.x",