From fae2e0efa60199718638b85e9439c5dca9bfe3a1 Mon Sep 17 00:00:00 2001 From: xile611 Date: Thu, 19 Dec 2024 08:06:38 +0000 Subject: [PATCH 1/8] docs: generate changelog of release v0.15.1 --- docs/site/assets/changelog/en/release.md | 12 ++++++++++++ docs/site/assets/changelog/zh/release.md | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/docs/site/assets/changelog/en/release.md b/docs/site/assets/changelog/en/release.md index 89898c7ab..61e19850d 100644 --- a/docs/site/assets/changelog/en/release.md +++ b/docs/site/assets/changelog/en/release.md @@ -1,3 +1,15 @@ +# v0.15.1 + +2024-12-19 + + +**What's Changed** + + +**Full Changelog**: https://github.com/VisActor/VGrammar/compare/v0.15.0...v0.15.1 + +[more detail about v0.15.1](https://github.com/VisActor/VGrammar/releases/tag/v0.15.1) + # v0.14.18 2024-12-05 diff --git a/docs/site/assets/changelog/zh/release.md b/docs/site/assets/changelog/zh/release.md index ce1ecb5df..3301be18c 100644 --- a/docs/site/assets/changelog/zh/release.md +++ b/docs/site/assets/changelog/zh/release.md @@ -1,3 +1,15 @@ +# v0.15.1 + +2024-12-19 + + +**What's Changed** + + +**Full Changelog**: https://github.com/VisActor/VGrammar/compare/v0.15.0...v0.15.1 + +[更多详情请查看 v0.15.1](https://github.com/VisActor/VGrammar/releases/tag/v0.15.1) + # v0.14.18 2024-12-05 From f905b4a988914f02319d838019612ccf723531f8 Mon Sep 17 00:00:00 2001 From: xile611 Date: Thu, 19 Dec 2024 17:30:40 +0800 Subject: [PATCH 2/8] fix: fix `minNodeHeight` of sankey when set `nodeGap` --- packages/vgrammar-sankey/src/layout.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/vgrammar-sankey/src/layout.ts b/packages/vgrammar-sankey/src/layout.ts index 7ae02febb..fa75fd72b 100644 --- a/packages/vgrammar-sankey/src/layout.ts +++ b/packages/vgrammar-sankey/src/layout.ts @@ -674,13 +674,14 @@ export class SankeyLayout { return Math.max(cnt, column.length); }, 0); const maxStepHeight = this._viewBox.height / maxRowCount; - const gapY = Math.min(this.options.nodeGap, maxStepHeight); - getGapY = () => gapY; - this._gapY = gapY; + let gapY = Math.min(this.options.nodeGap, maxStepHeight); - if ((minNodeHeight + gapY) * maxRowCount > this._viewBox.height) { - minNodeHeight = maxStepHeight - gapY; + if (minNodeHeight + gapY > maxStepHeight) { + gapY = minNodeHeight >= maxStepHeight ? maxStepHeight / 2 : (maxStepHeight - minNodeHeight) / 2; + minNodeHeight = Math.min(maxStepHeight - gapY, minNodeHeight); } + getGapY = () => gapY; + this._gapY = gapY; if (this.options.equalNodeHeight) { forceNodeHeight = this._viewBox.height / maxRowCount - gapY; From 591213621ca1ca78ae040741f513d183480cdacc Mon Sep 17 00:00:00 2001 From: xile611 Date: Thu, 19 Dec 2024 17:31:06 +0800 Subject: [PATCH 3/8] docs: update changlog of rush --- .../fix-sankey-node-min-height_2024-12-19-09-31.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/@visactor/vgrammar-core/fix-sankey-node-min-height_2024-12-19-09-31.json diff --git a/common/changes/@visactor/vgrammar-core/fix-sankey-node-min-height_2024-12-19-09-31.json b/common/changes/@visactor/vgrammar-core/fix-sankey-node-min-height_2024-12-19-09-31.json new file mode 100644 index 000000000..c05876d28 --- /dev/null +++ b/common/changes/@visactor/vgrammar-core/fix-sankey-node-min-height_2024-12-19-09-31.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "fix: fix `minNodeHeight` of sankey when set `nodeGap`\n\n", + "type": "none", + "packageName": "@visactor/vgrammar-core" + } + ], + "packageName": "@visactor/vgrammar-core", + "email": "dingling112@gmail.com" +} \ No newline at end of file From 674ebe3be5b5596dc7af3dfbd359739aecec25d3 Mon Sep 17 00:00:00 2001 From: kkxxkk2019 Date: Fri, 20 Dec 2024 15:44:16 +0800 Subject: [PATCH 4/8] feat: add and event config --- packages/vgrammar-core/src/graph/canvas-renderer.ts | 4 ++++ packages/vgrammar-core/src/types/view.ts | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/packages/vgrammar-core/src/graph/canvas-renderer.ts b/packages/vgrammar-core/src/graph/canvas-renderer.ts index 883caf506..f20450a20 100644 --- a/packages/vgrammar-core/src/graph/canvas-renderer.ts +++ b/packages/vgrammar-core/src/graph/canvas-renderer.ts @@ -222,6 +222,10 @@ export default class CanvasRenderer implements IRenderer { ticker: viewOptions.ticker, supportsTouchEvents: viewOptions.supportsTouchEvents, supportsPointerEvents: viewOptions.supportsPointerEvents, + event:{ + clickInterval: this._eventConfig.clickInterval, + autoPreventDefault: !!this._eventConfig.autoPreventDefault + }, ReactDOM: viewOptions.ReactDOM, autoRefresh: viewOptions.autoRefresh }); diff --git a/packages/vgrammar-core/src/types/view.ts b/packages/vgrammar-core/src/types/view.ts index 3c10ee308..c407dc586 100644 --- a/packages/vgrammar-core/src/types/view.ts +++ b/packages/vgrammar-core/src/types/view.ts @@ -85,6 +85,17 @@ export interface IViewEventConfig { gesture?: boolean | GestureConfig; /** use drag events or not */ drag?: boolean; + /** + * @default 200 + * VRender 参数 ,单位 ms + * 多次点击之间的最大时间,默认为 200 ms,用于判断点击次数 + */ + clickInterval?: number; + /** + * @default false + * VRender 参数 是否自动阻止事件 + */ + autoPreventDefault?: boolean; } export interface srIOption3DType extends IOption3D { From bf0117f6a27f4ea241d5796790127579ba46f002 Mon Sep 17 00:00:00 2001 From: kkxxkk2019 Date: Fri, 20 Dec 2024 15:53:27 +0800 Subject: [PATCH 5/8] chore: update rush change --- .../feat-event-params_2024-12-20-07-53.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 common/changes/@visactor/vgrammar-core/feat-event-params_2024-12-20-07-53.json diff --git a/common/changes/@visactor/vgrammar-core/feat-event-params_2024-12-20-07-53.json b/common/changes/@visactor/vgrammar-core/feat-event-params_2024-12-20-07-53.json new file mode 100644 index 000000000..926b01ff4 --- /dev/null +++ b/common/changes/@visactor/vgrammar-core/feat-event-params_2024-12-20-07-53.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@visactor/vgrammar-core", + "comment": "feat: add `clickInterval` and `autoPreventDefault` event config", + "type": "none" + } + ], + "packageName": "@visactor/vgrammar-core" +} \ No newline at end of file From af5d6b9832a6941107e81fda8ce6d5356b6593e9 Mon Sep 17 00:00:00 2001 From: kkxxkk2019 Date: Fri, 20 Dec 2024 16:01:22 +0800 Subject: [PATCH 6/8] chore: optimize comment --- packages/vgrammar-core/src/types/view.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/vgrammar-core/src/types/view.ts b/packages/vgrammar-core/src/types/view.ts index c407dc586..9a22e54d6 100644 --- a/packages/vgrammar-core/src/types/view.ts +++ b/packages/vgrammar-core/src/types/view.ts @@ -86,12 +86,14 @@ export interface IViewEventConfig { /** use drag events or not */ drag?: boolean; /** + * @since 0.15.2 * @default 200 * VRender 参数 ,单位 ms * 多次点击之间的最大时间,默认为 200 ms,用于判断点击次数 */ clickInterval?: number; /** + * @since 0.15.2 * @default false * VRender 参数 是否自动阻止事件 */ From 7d852c2add0ddd9a7cd9d04c12808b9f0daeb88f Mon Sep 17 00:00:00 2001 From: xile611 Date: Mon, 23 Dec 2024 17:36:13 +0800 Subject: [PATCH 7/8] fix: upgrade vrender to 0.21.4 --- common/config/rush/pnpm-lock.yaml | 118 +++++++++--------- docs/dev-demos/package.json | 6 +- docs/site/package.json | 6 +- packages/vgrammar-core/package.json | 6 +- packages/vgrammar-hierarchy/package.json | 4 +- packages/vgrammar-plot/package.json | 6 +- packages/vgrammar-sankey/package.json | 4 +- packages/vgrammar-util/package.json | 2 +- packages/vgrammar-venn/package.json | 4 +- .../vgrammar-wordcloud-shape/package.json | 4 +- packages/vgrammar-wordcloud/package.json | 4 +- 11 files changed, 82 insertions(+), 82 deletions(-) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index bd27f02ee..6d00353e8 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -19,9 +19,9 @@ importers: '@visactor/vgrammar-util': workspace:0.15.1 '@visactor/vgrammar-wordcloud': workspace:0.15.1 '@visactor/vgrammar-wordcloud-shape': workspace:0.15.1 - '@visactor/vrender': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender': 0.21.4 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': ~0.19.2 '@vitejs/plugin-react': 3.1.0 d3-scale-chromatic: ^3.0.0 @@ -41,9 +41,9 @@ importers: '@visactor/vgrammar-util': link:../../packages/vgrammar-util '@visactor/vgrammar-wordcloud': link:../../packages/vgrammar-wordcloud '@visactor/vgrammar-wordcloud-shape': link:../../packages/vgrammar-wordcloud-shape - '@visactor/vrender': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender': 0.21.4 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': 0.19.2 '@vitejs/plugin-react': 3.1.0_vite@3.2.6 d3-scale-chromatic: 3.1.0 @@ -71,9 +71,9 @@ importers: '@visactor/vgrammar-venn': workspace:0.15.1 '@visactor/vgrammar-wordcloud': workspace:0.15.1 '@visactor/vgrammar-wordcloud-shape': workspace:0.15.1 - '@visactor/vrender': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender': 0.21.4 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': ~0.19.2 '@vitejs/plugin-react': 3.1.0 axios: ^1.4.0 @@ -109,9 +109,9 @@ importers: '@visactor/vgrammar-venn': link:../../packages/vgrammar-venn '@visactor/vgrammar-wordcloud': link:../../packages/vgrammar-wordcloud '@visactor/vgrammar-wordcloud-shape': link:../../packages/vgrammar-wordcloud-shape - '@visactor/vrender': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender': 0.21.4 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': 0.19.2 axios: 1.6.8 highlight.js: 11.9.0 @@ -231,9 +231,9 @@ importers: '@visactor/vdataset': ~0.19.2 '@visactor/vgrammar-coordinate': workspace:0.15.1 '@visactor/vgrammar-util': workspace:0.15.1 - '@visactor/vrender-components': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-components': 0.21.4 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vscale': ~0.19.2 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 @@ -246,9 +246,9 @@ importers: '@visactor/vdataset': 0.19.2 '@visactor/vgrammar-coordinate': link:../vgrammar-coordinate '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-components': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-components': 0.21.4 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 devDependencies: @@ -340,8 +340,8 @@ importers: '@types/node': '*' '@visactor/vgrammar-core': workspace:0.15.1 '@visactor/vgrammar-util': workspace:0.15.1 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -352,8 +352,8 @@ importers: dependencies: '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -385,9 +385,9 @@ importers: '@visactor/vgrammar-coordinate': workspace:0.15.1 '@visactor/vgrammar-core': workspace:0.15.1 '@visactor/vgrammar-util': workspace:0.15.1 - '@visactor/vrender-components': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-components': 0.21.4 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vscale': ~0.19.2 '@visactor/vutils': ~0.19.2 d3-array: 1.x @@ -401,9 +401,9 @@ importers: '@visactor/vgrammar-coordinate': link:../vgrammar-coordinate '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-components': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-components': 0.21.4 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 devDependencies: @@ -481,8 +481,8 @@ importers: '@types/node': '*' '@visactor/vgrammar-core': workspace:0.15.1 '@visactor/vgrammar-util': workspace:0.15.1 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -493,8 +493,8 @@ importers: dependencies: '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -522,7 +522,7 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vrender-core': 0.21.2 + '@visactor/vrender-core': 0.21.4 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -531,7 +531,7 @@ importers: typescript: 4.9.5 vite: 3.2.6 dependencies: - '@visactor/vrender-core': 0.21.2 + '@visactor/vrender-core': 0.21.4 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -561,8 +561,8 @@ importers: '@types/node': '*' '@visactor/vgrammar-core': workspace:0.15.1 '@visactor/vgrammar-util': workspace:0.15.1 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -573,8 +573,8 @@ importers: dependencies: '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -604,8 +604,8 @@ importers: '@types/node': '*' '@visactor/vgrammar-core': workspace:0.15.1 '@visactor/vgrammar-util': workspace:0.15.1 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -616,8 +616,8 @@ importers: dependencies: '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': 0.19.2 devDependencies: '@internal/bundler': link:../../tools/bundler @@ -647,8 +647,8 @@ importers: '@types/node': '*' '@visactor/vgrammar-core': workspace:0.15.1 '@visactor/vgrammar-util': workspace:0.15.1 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vscale': ~0.19.2 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 @@ -660,8 +660,8 @@ importers: dependencies: '@visactor/vgrammar-core': link:../vgrammar-core '@visactor/vgrammar-util': link:../vgrammar-util - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 devDependencies: @@ -3448,34 +3448,34 @@ packages: topojson-client: 3.1.0 dev: false - /@visactor/vrender-components/0.21.2: - resolution: {integrity: sha512-eLSv4s3QAWazNECrguhPiVA2jx/XlnOq8nGAMk0ne8hnN9F55AqRdfcQ40chk4fh+ZuNrf6CU3uKR7T/ZxG4Jw==} + /@visactor/vrender-components/0.21.4: + resolution: {integrity: sha512-E0lsKf86FIO71vifHoMeCRMec76v4SPR3q29r6o09rDmIP95RBsuY35ckivn7hrmK4y3YZOECSBDiax6XajS3g==} dependencies: - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 '@visactor/vscale': 0.19.2 '@visactor/vutils': 0.19.2 dev: false - /@visactor/vrender-core/0.21.2: - resolution: {integrity: sha512-0rwsZrgw9i4VRAgSe45IZI8TJhreYxWcd5XHzRJRI5cObcjBVHOow2jyYZuidp1OSY12bxl63181Lw2MICi5JQ==} + /@visactor/vrender-core/0.21.4: + resolution: {integrity: sha512-kWBKS7sGaX2jlPBdJHo3BihTuuU+duCsr+vxfMMijx2M3Pe4UlveiLZ/nC9MNCA7JED9qsWQSFCdht2ts9lJzQ==} dependencies: '@visactor/vutils': 0.19.2 color-convert: 2.0.1 - /@visactor/vrender-kits/0.21.2: - resolution: {integrity: sha512-c72mYMmRXsMj0XmcZQeQLQCQ16fL8XJ/uCkels81FRia8Zu6iODLMmyUhrGV/I7Ts6YNGfeuuil3DLLpF68abQ==} + /@visactor/vrender-kits/0.21.4: + resolution: {integrity: sha512-02BImZxbV0y+2m2OWW65I2zvINA0znMw03rSF0K39tWHSHRCIswJALVkcon/CWfFxZQvowP3eiU8M9aKjy05uw==} dependencies: '@resvg/resvg-js': 2.4.1 - '@visactor/vrender-core': 0.21.2 + '@visactor/vrender-core': 0.21.4 '@visactor/vutils': 0.19.2 roughjs: 4.5.2 - /@visactor/vrender/0.21.2: - resolution: {integrity: sha512-rCz4j96U025kT2k8haAsCCgnKuVNqJx7mOwEKRkMO2bqtozET8o5vMNfKkbGtt/hdSUQOuR5sHH7l4PVHqxsrQ==} + /@visactor/vrender/0.21.4: + resolution: {integrity: sha512-RKr50NrqNHq2tkEHeCVEoCmH38ImWdxSfXYV8h6CuPJkLL02z/sVcJzFoU2ZxtkVbS4kpuLcNtn80lmSA11QQA==} dependencies: - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@visactor/vrender-core': 0.21.4 + '@visactor/vrender-kits': 0.21.4 /@visactor/vscale/0.19.2: resolution: {integrity: sha512-grS2nI/dyky9+YWt6EbtBS7aPiHmJrnGnleeRLvaaa6uZN9ItLsuP7oSv63k1arJzkyJ0xcLH4ze/nZmrWopzA==} diff --git a/docs/dev-demos/package.json b/docs/dev-demos/package.json index 58943a324..65ce869ba 100644 --- a/docs/dev-demos/package.json +++ b/docs/dev-demos/package.json @@ -20,9 +20,9 @@ "@visactor/vgrammar-wordcloud": "workspace:0.15.1", "@visactor/vgrammar-wordcloud-shape": "workspace:0.15.1", "@visactor/vgrammar-plot": "workspace:0.15.1", - "@visactor/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2", - "@visactor/vrender": "0.21.2", + "@visactor/vrender-core": "0.21.4", + "@visactor/vrender-kits": "0.21.4", + "@visactor/vrender": "0.21.4", "d3-scale-chromatic": "^3.0.0", "lodash": "4.17.21", "typescript": "4.9.5", diff --git a/docs/site/package.json b/docs/site/package.json index deb61d60a..59f7c9327 100644 --- a/docs/site/package.json +++ b/docs/site/package.json @@ -25,9 +25,9 @@ "@visactor/vgrammar-util": "workspace:0.15.1", "@visactor/vgrammar-coordinate": "workspace:0.15.1", "@visactor/vgrammar-venn": "workspace:0.15.1", - "@visactor/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2", - "@visactor/vrender": "0.21.2", + "@visactor/vrender-core": "0.21.4", + "@visactor/vrender-kits": "0.21.4", + "@visactor/vrender": "0.21.4", "markdown-it": "^13.0.0", "highlight.js": "^11.8.0", "axios": "^1.4.0", diff --git a/packages/vgrammar-core/package.json b/packages/vgrammar-core/package.json index 8c683b3bb..0eeec795e 100644 --- a/packages/vgrammar-core/package.json +++ b/packages/vgrammar-core/package.json @@ -40,9 +40,9 @@ "@visactor/vgrammar-coordinate": "workspace:0.15.1", "@visactor/vgrammar-util": "workspace:0.15.1", "@visactor/vscale": "~0.19.2", - "@visactor/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2", - "@visactor/vrender-components": "0.21.2" + "@visactor/vrender-core": "0.21.4", + "@visactor/vrender-kits": "0.21.4", + "@visactor/vrender-components": "0.21.4" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-hierarchy/package.json b/packages/vgrammar-hierarchy/package.json index 029e5d01a..9a26945ce 100644 --- a/packages/vgrammar-hierarchy/package.json +++ b/packages/vgrammar-hierarchy/package.json @@ -41,8 +41,8 @@ "@visactor/vutils": "~0.19.2", "@visactor/vgrammar-core": "workspace:0.15.1", "@visactor/vgrammar-util": "workspace:0.15.1", - "@visactor/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2" + "@visactor/vrender-core": "0.21.4", + "@visactor/vrender-kits": "0.21.4" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-plot/package.json b/packages/vgrammar-plot/package.json index c9aa58134..6a2ad698d 100644 --- a/packages/vgrammar-plot/package.json +++ b/packages/vgrammar-plot/package.json @@ -39,9 +39,9 @@ "@visactor/vgrammar-util": "workspace:0.15.1", "@visactor/vgrammar-coordinate": "workspace:0.15.1", "@visactor/vgrammar-core": "workspace:0.15.1", - "@visactor/vrender-components": "0.21.2", - "@visactor/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2" + "@visactor/vrender-components": "0.21.4", + "@visactor/vrender-core": "0.21.4", + "@visactor/vrender-kits": "0.21.4" }, "devDependencies": { "d3-array": "1.x", diff --git a/packages/vgrammar-sankey/package.json b/packages/vgrammar-sankey/package.json index 28da2207a..516da39f5 100644 --- a/packages/vgrammar-sankey/package.json +++ b/packages/vgrammar-sankey/package.json @@ -39,8 +39,8 @@ "@visactor/vutils": "~0.19.2", "@visactor/vgrammar-core": "workspace:0.15.1", "@visactor/vgrammar-util": "workspace:0.15.1", - "@visactor/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2" + "@visactor/vrender-core": "0.21.4", + "@visactor/vrender-kits": "0.21.4" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-util/package.json b/packages/vgrammar-util/package.json index 762fc4f15..5969b0c82 100644 --- a/packages/vgrammar-util/package.json +++ b/packages/vgrammar-util/package.json @@ -35,7 +35,7 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vrender-core": "0.21.2" + "@visactor/vrender-core": "0.21.4" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-venn/package.json b/packages/vgrammar-venn/package.json index 6a703a063..6f166fb5e 100644 --- a/packages/vgrammar-venn/package.json +++ b/packages/vgrammar-venn/package.json @@ -36,8 +36,8 @@ "dependencies": { "@visactor/vgrammar-core": "workspace:0.15.1", "@visactor/vgrammar-util": "workspace:0.15.1", - "@visactor/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2", + "@visactor/vrender-core": "0.21.4", + "@visactor/vrender-kits": "0.21.4", "@visactor/vutils": "~0.19.2" }, "devDependencies": { diff --git a/packages/vgrammar-wordcloud-shape/package.json b/packages/vgrammar-wordcloud-shape/package.json index 82e5f9f4e..fd2b3c41f 100644 --- a/packages/vgrammar-wordcloud-shape/package.json +++ b/packages/vgrammar-wordcloud-shape/package.json @@ -38,8 +38,8 @@ "@visactor/vscale": "~0.19.2", "@visactor/vgrammar-core": "workspace:0.15.1", "@visactor/vgrammar-util": "workspace:0.15.1", - "@visactor/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2" + "@visactor/vrender-core": "0.21.4", + "@visactor/vrender-kits": "0.21.4" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-wordcloud/package.json b/packages/vgrammar-wordcloud/package.json index 4010ea5ec..5e6abdaef 100644 --- a/packages/vgrammar-wordcloud/package.json +++ b/packages/vgrammar-wordcloud/package.json @@ -37,8 +37,8 @@ "@visactor/vutils": "~0.19.2", "@visactor/vgrammar-core": "workspace:0.15.1", "@visactor/vgrammar-util": "workspace:0.15.1", - "@visactor/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2" + "@visactor/vrender-core": "0.21.4", + "@visactor/vrender-kits": "0.21.4" }, "devDependencies": { "@internal/bundler": "workspace:*", From 00ae9bcf5f3c84ec878afd7a33aaaea9fe410ffa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 23 Dec 2024 10:53:25 +0000 Subject: [PATCH 8/8] build: release version 0.15.2 --- .../feat-event-params_2024-12-20-07-53.json | 10 -- ...nkey-node-min-height_2024-12-19-09-31.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/feat-event-params_2024-12-20-07-53.json delete mode 100644 common/changes/@visactor/vgrammar-core/fix-sankey-node-min-height_2024-12-19-09-31.json diff --git a/common/changes/@visactor/vgrammar-core/feat-event-params_2024-12-20-07-53.json b/common/changes/@visactor/vgrammar-core/feat-event-params_2024-12-20-07-53.json deleted file mode 100644 index 926b01ff4..000000000 --- a/common/changes/@visactor/vgrammar-core/feat-event-params_2024-12-20-07-53.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "changes": [ - { - "packageName": "@visactor/vgrammar-core", - "comment": "feat: add `clickInterval` and `autoPreventDefault` event config", - "type": "none" - } - ], - "packageName": "@visactor/vgrammar-core" -} \ No newline at end of file diff --git a/common/changes/@visactor/vgrammar-core/fix-sankey-node-min-height_2024-12-19-09-31.json b/common/changes/@visactor/vgrammar-core/fix-sankey-node-min-height_2024-12-19-09-31.json deleted file mode 100644 index c05876d28..000000000 --- a/common/changes/@visactor/vgrammar-core/fix-sankey-node-min-height_2024-12-19-09-31.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "changes": [ - { - "comment": "fix: fix `minNodeHeight` of sankey when set `nodeGap`\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 6d00353e8..53f226b9a 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.15.1 - '@visactor/vgrammar-coordinate': workspace:0.15.1 - '@visactor/vgrammar-core': workspace:0.15.1 - '@visactor/vgrammar-hierarchy': workspace:0.15.1 - '@visactor/vgrammar-plot': workspace:0.15.1 - '@visactor/vgrammar-projection': workspace:0.15.1 - '@visactor/vgrammar-sankey': workspace:0.15.1 - '@visactor/vgrammar-util': workspace:0.15.1 - '@visactor/vgrammar-wordcloud': workspace:0.15.1 - '@visactor/vgrammar-wordcloud-shape': workspace:0.15.1 + '@visactor/vgrammar': workspace:0.15.2 + '@visactor/vgrammar-coordinate': workspace:0.15.2 + '@visactor/vgrammar-core': workspace:0.15.2 + '@visactor/vgrammar-hierarchy': workspace:0.15.2 + '@visactor/vgrammar-plot': workspace:0.15.2 + '@visactor/vgrammar-projection': workspace:0.15.2 + '@visactor/vgrammar-sankey': workspace:0.15.2 + '@visactor/vgrammar-util': workspace:0.15.2 + '@visactor/vgrammar-wordcloud': workspace:0.15.2 + '@visactor/vgrammar-wordcloud-shape': workspace:0.15.2 '@visactor/vrender': 0.21.4 '@visactor/vrender-core': 0.21.4 '@visactor/vrender-kits': 0.21.4 @@ -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.15.1 - '@visactor/vgrammar-coordinate': workspace:0.15.1 - '@visactor/vgrammar-core': workspace:0.15.1 - '@visactor/vgrammar-hierarchy': workspace:0.15.1 - '@visactor/vgrammar-plot': workspace:0.15.1 - '@visactor/vgrammar-projection': workspace:0.15.1 - '@visactor/vgrammar-sankey': workspace:0.15.1 - '@visactor/vgrammar-util': workspace:0.15.1 - '@visactor/vgrammar-venn': workspace:0.15.1 - '@visactor/vgrammar-wordcloud': workspace:0.15.1 - '@visactor/vgrammar-wordcloud-shape': workspace:0.15.1 + '@visactor/vgrammar': workspace:0.15.2 + '@visactor/vgrammar-coordinate': workspace:0.15.2 + '@visactor/vgrammar-core': workspace:0.15.2 + '@visactor/vgrammar-hierarchy': workspace:0.15.2 + '@visactor/vgrammar-plot': workspace:0.15.2 + '@visactor/vgrammar-projection': workspace:0.15.2 + '@visactor/vgrammar-sankey': workspace:0.15.2 + '@visactor/vgrammar-util': workspace:0.15.2 + '@visactor/vgrammar-venn': workspace:0.15.2 + '@visactor/vgrammar-wordcloud': workspace:0.15.2 + '@visactor/vgrammar-wordcloud-shape': workspace:0.15.2 '@visactor/vrender': 0.21.4 '@visactor/vrender-core': 0.21.4 '@visactor/vrender-kits': 0.21.4 @@ -153,7 +153,7 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.15.1 + '@visactor/vgrammar-core': workspace:0.15.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.15.1 + '@visactor/vgrammar-util': workspace:0.15.2 '@visactor/vutils': ~0.19.2 eslint: ~8.18.0 jest: ~29.5.0 @@ -229,8 +229,8 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@visactor/vdataset': ~0.19.2 - '@visactor/vgrammar-coordinate': workspace:0.15.1 - '@visactor/vgrammar-util': workspace:0.15.1 + '@visactor/vgrammar-coordinate': workspace:0.15.2 + '@visactor/vgrammar-util': workspace:0.15.2 '@visactor/vrender-components': 0.21.4 '@visactor/vrender-core': 0.21.4 '@visactor/vrender-kits': 0.21.4 @@ -279,14 +279,14 @@ importers: '@types/jest': ~29.5.0 '@types/node': '*' '@types/node-fetch': 2.6.4 - '@visactor/vgrammar-core': workspace:0.15.1 - '@visactor/vgrammar-hierarchy': workspace:0.15.1 - '@visactor/vgrammar-plot': workspace:0.15.1 - '@visactor/vgrammar-projection': workspace:0.15.1 - '@visactor/vgrammar-sankey': workspace:0.15.1 - '@visactor/vgrammar-venn': workspace:0.15.1 - '@visactor/vgrammar-wordcloud': workspace:0.15.1 - '@visactor/vgrammar-wordcloud-shape': workspace:0.15.1 + '@visactor/vgrammar-core': workspace:0.15.2 + '@visactor/vgrammar-hierarchy': workspace:0.15.2 + '@visactor/vgrammar-plot': workspace:0.15.2 + '@visactor/vgrammar-projection': workspace:0.15.2 + '@visactor/vgrammar-sankey': workspace:0.15.2 + '@visactor/vgrammar-venn': workspace:0.15.2 + '@visactor/vgrammar-wordcloud': workspace:0.15.2 + '@visactor/vgrammar-wordcloud-shape': workspace:0.15.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.15.1 - '@visactor/vgrammar-util': workspace:0.15.1 + '@visactor/vgrammar-core': workspace:0.15.2 + '@visactor/vgrammar-util': workspace:0.15.2 '@visactor/vrender-core': 0.21.4 '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': ~0.19.2 @@ -382,9 +382,9 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-coordinate': workspace:0.15.1 - '@visactor/vgrammar-core': workspace:0.15.1 - '@visactor/vgrammar-util': workspace:0.15.1 + '@visactor/vgrammar-coordinate': workspace:0.15.2 + '@visactor/vgrammar-core': workspace:0.15.2 + '@visactor/vgrammar-util': workspace:0.15.2 '@visactor/vrender-components': 0.21.4 '@visactor/vrender-core': 0.21.4 '@visactor/vrender-kits': 0.21.4 @@ -435,8 +435,8 @@ importers: '@types/d3-geo': ^1.11.1 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.15.1 - '@visactor/vgrammar-util': workspace:0.15.1 + '@visactor/vgrammar-core': workspace:0.15.2 + '@visactor/vgrammar-util': workspace:0.15.2 '@visactor/vutils': ~0.19.2 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.15.1 - '@visactor/vgrammar-util': workspace:0.15.1 + '@visactor/vgrammar-core': workspace:0.15.2 + '@visactor/vgrammar-util': workspace:0.15.2 '@visactor/vrender-core': 0.21.4 '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': ~0.19.2 @@ -559,8 +559,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.15.1 - '@visactor/vgrammar-util': workspace:0.15.1 + '@visactor/vgrammar-core': workspace:0.15.2 + '@visactor/vgrammar-util': workspace:0.15.2 '@visactor/vrender-core': 0.21.4 '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': ~0.19.2 @@ -602,8 +602,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.15.1 - '@visactor/vgrammar-util': workspace:0.15.1 + '@visactor/vgrammar-core': workspace:0.15.2 + '@visactor/vgrammar-util': workspace:0.15.2 '@visactor/vrender-core': 0.21.4 '@visactor/vrender-kits': 0.21.4 '@visactor/vutils': ~0.19.2 @@ -645,8 +645,8 @@ importers: '@rushstack/eslint-patch': ~1.1.4 '@types/jest': ~29.5.0 '@types/node': '*' - '@visactor/vgrammar-core': workspace:0.15.1 - '@visactor/vgrammar-util': workspace:0.15.1 + '@visactor/vgrammar-core': workspace:0.15.2 + '@visactor/vgrammar-util': workspace:0.15.2 '@visactor/vrender-core': 0.21.4 '@visactor/vrender-kits': 0.21.4 '@visactor/vscale': ~0.19.2 diff --git a/common/config/rush/version-policies.json b/common/config/rush/version-policies.json index c72505918..8a1fbabf9 100644 --- a/common/config/rush/version-policies.json +++ b/common/config/rush/version-policies.json @@ -1 +1 @@ -[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.15.1","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}] +[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.15.2","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}] diff --git a/docs/dev-demos/package.json b/docs/dev-demos/package.json index 65ce869ba..e3215bfcb 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.19.2", - "@visactor/vgrammar": "workspace:0.15.1", - "@visactor/vgrammar-core": "workspace:0.15.1", - "@visactor/vgrammar-hierarchy": "workspace:0.15.1", - "@visactor/vgrammar-sankey": "workspace:0.15.1", - "@visactor/vgrammar-projection": "workspace:0.15.1", - "@visactor/vgrammar-wordcloud": "workspace:0.15.1", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.15.1", - "@visactor/vgrammar-plot": "workspace:0.15.1", + "@visactor/vgrammar": "workspace:0.15.2", + "@visactor/vgrammar-core": "workspace:0.15.2", + "@visactor/vgrammar-hierarchy": "workspace:0.15.2", + "@visactor/vgrammar-sankey": "workspace:0.15.2", + "@visactor/vgrammar-projection": "workspace:0.15.2", + "@visactor/vgrammar-wordcloud": "workspace:0.15.2", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.15.2", + "@visactor/vgrammar-plot": "workspace:0.15.2", "@visactor/vrender-core": "0.21.4", "@visactor/vrender-kits": "0.21.4", "@visactor/vrender": "0.21.4", @@ -27,8 +27,8 @@ "lodash": "4.17.21", "typescript": "4.9.5", "vite": "3.2.6", - "@visactor/vgrammar-util": "workspace:0.15.1", - "@visactor/vgrammar-coordinate": "workspace:0.15.1", + "@visactor/vgrammar-util": "workspace:0.15.2", + "@visactor/vgrammar-coordinate": "workspace:0.15.2", "@vitejs/plugin-react": "3.1.0" } } diff --git a/docs/site/package.json b/docs/site/package.json index 59f7c9327..ebdebc926 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.19.2", - "@visactor/vgrammar": "workspace:0.15.1", - "@visactor/vgrammar-core": "workspace:0.15.1", - "@visactor/vgrammar-hierarchy": "workspace:0.15.1", - "@visactor/vgrammar-sankey": "workspace:0.15.1", - "@visactor/vgrammar-projection": "workspace:0.15.1", - "@visactor/vgrammar-wordcloud": "workspace:0.15.1", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.15.1", - "@visactor/vgrammar-plot": "workspace:0.15.1", - "@visactor/vgrammar-util": "workspace:0.15.1", - "@visactor/vgrammar-coordinate": "workspace:0.15.1", - "@visactor/vgrammar-venn": "workspace:0.15.1", + "@visactor/vgrammar": "workspace:0.15.2", + "@visactor/vgrammar-core": "workspace:0.15.2", + "@visactor/vgrammar-hierarchy": "workspace:0.15.2", + "@visactor/vgrammar-sankey": "workspace:0.15.2", + "@visactor/vgrammar-projection": "workspace:0.15.2", + "@visactor/vgrammar-wordcloud": "workspace:0.15.2", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.15.2", + "@visactor/vgrammar-plot": "workspace:0.15.2", + "@visactor/vgrammar-util": "workspace:0.15.2", + "@visactor/vgrammar-coordinate": "workspace:0.15.2", + "@visactor/vgrammar-venn": "workspace:0.15.2", "@visactor/vrender-core": "0.21.4", "@visactor/vrender-kits": "0.21.4", "@visactor/vrender": "0.21.4", diff --git a/packages/vgrammar-coordinate/package.json b/packages/vgrammar-coordinate/package.json index 618e0f5bb..96dd3aafa 100644 --- a/packages/vgrammar-coordinate/package.json +++ b/packages/vgrammar-coordinate/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-coordinate", - "version": "0.15.1", + "version": "0.15.2", "description": "Coordinates for VGrammar", "keywords": [ "coordinate", @@ -35,7 +35,7 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-util": "workspace:0.15.1" + "@visactor/vgrammar-util": "workspace:0.15.2" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-core/CHANGELOG.json b/packages/vgrammar-core/CHANGELOG.json index 2d4f40cd4..2227a92fd 100644 --- a/packages/vgrammar-core/CHANGELOG.json +++ b/packages/vgrammar-core/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@visactor/vgrammar-core", "entries": [ + { + "version": "0.15.2", + "tag": "@visactor/vgrammar-core_v0.15.2", + "date": "Mon, 23 Dec 2024 10:47:20 GMT", + "comments": { + "none": [ + { + "comment": "feat: add `clickInterval` and `autoPreventDefault` event config" + }, + { + "comment": "fix: fix `minNodeHeight` of sankey when set `nodeGap`\n\n" + } + ] + } + }, { "version": "0.15.1", "tag": "@visactor/vgrammar-core_v0.15.1", diff --git a/packages/vgrammar-core/CHANGELOG.md b/packages/vgrammar-core/CHANGELOG.md index 80313488e..95fc642b2 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 Fri, 13 Dec 2024 02:22:10 GMT and should not be manually modified. +This log was last generated on Mon, 23 Dec 2024 10:47:20 GMT and should not be manually modified. + +## 0.15.2 +Mon, 23 Dec 2024 10:47:20 GMT + +### Updates + +- feat: add `clickInterval` and `autoPreventDefault` event config +- fix: fix `minNodeHeight` of sankey when set `nodeGap` + + ## 0.15.1 Fri, 13 Dec 2024 02:22:10 GMT diff --git a/packages/vgrammar-core/package.json b/packages/vgrammar-core/package.json index 0eeec795e..b98c6c2aa 100644 --- a/packages/vgrammar-core/package.json +++ b/packages/vgrammar-core/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-core", - "version": "0.15.1", + "version": "0.15.2", "description": "VGrammar is a visual grammar library", "keywords": [ "grammar", @@ -37,8 +37,8 @@ "dependencies": { "@visactor/vutils": "~0.19.2", "@visactor/vdataset": "~0.19.2", - "@visactor/vgrammar-coordinate": "workspace:0.15.1", - "@visactor/vgrammar-util": "workspace:0.15.1", + "@visactor/vgrammar-coordinate": "workspace:0.15.2", + "@visactor/vgrammar-util": "workspace:0.15.2", "@visactor/vscale": "~0.19.2", "@visactor/vrender-core": "0.21.4", "@visactor/vrender-kits": "0.21.4", diff --git a/packages/vgrammar-full/package.json b/packages/vgrammar-full/package.json index d3a9b287a..2fd4552b4 100644 --- a/packages/vgrammar-full/package.json +++ b/packages/vgrammar-full/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-full", - "version": "0.15.1", + "version": "0.15.2", "description": "full packages of vgrammar.", "keywords": [ "visualization", @@ -33,14 +33,14 @@ "test": "" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.15.1", - "@visactor/vgrammar-hierarchy": "workspace:0.15.1", - "@visactor/vgrammar-plot": "workspace:0.15.1", - "@visactor/vgrammar-projection": "workspace:0.15.1", - "@visactor/vgrammar-sankey": "workspace:0.15.1", - "@visactor/vgrammar-wordcloud": "workspace:0.15.1", - "@visactor/vgrammar-wordcloud-shape": "workspace:0.15.1", - "@visactor/vgrammar-venn": "workspace:0.15.1" + "@visactor/vgrammar-core": "workspace:0.15.2", + "@visactor/vgrammar-hierarchy": "workspace:0.15.2", + "@visactor/vgrammar-plot": "workspace:0.15.2", + "@visactor/vgrammar-projection": "workspace:0.15.2", + "@visactor/vgrammar-sankey": "workspace:0.15.2", + "@visactor/vgrammar-wordcloud": "workspace:0.15.2", + "@visactor/vgrammar-wordcloud-shape": "workspace:0.15.2", + "@visactor/vgrammar-venn": "workspace:0.15.2" }, "devDependencies": { "d3-array": "1.x", diff --git a/packages/vgrammar-hierarchy/package.json b/packages/vgrammar-hierarchy/package.json index 9a26945ce..761df71c4 100644 --- a/packages/vgrammar-hierarchy/package.json +++ b/packages/vgrammar-hierarchy/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-hierarchy", - "version": "0.15.1", + "version": "0.15.2", "description": "Layout of hierarchical data for VGrammar", "keywords": [ "hierarchy", @@ -39,8 +39,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-core": "workspace:0.15.1", - "@visactor/vgrammar-util": "workspace:0.15.1", + "@visactor/vgrammar-core": "workspace:0.15.2", + "@visactor/vgrammar-util": "workspace:0.15.2", "@visactor/vrender-core": "0.21.4", "@visactor/vrender-kits": "0.21.4" }, diff --git a/packages/vgrammar-plot/package.json b/packages/vgrammar-plot/package.json index 6a2ad698d..f1cf8c754 100644 --- a/packages/vgrammar-plot/package.json +++ b/packages/vgrammar-plot/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-plot", - "version": "0.15.1", + "version": "0.15.2", "description": "Plots of vgrammar.", "keywords": [ "plot", @@ -36,9 +36,9 @@ "dependencies": { "@visactor/vscale": "~0.19.2", "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-util": "workspace:0.15.1", - "@visactor/vgrammar-coordinate": "workspace:0.15.1", - "@visactor/vgrammar-core": "workspace:0.15.1", + "@visactor/vgrammar-util": "workspace:0.15.2", + "@visactor/vgrammar-coordinate": "workspace:0.15.2", + "@visactor/vgrammar-core": "workspace:0.15.2", "@visactor/vrender-components": "0.21.4", "@visactor/vrender-core": "0.21.4", "@visactor/vrender-kits": "0.21.4" diff --git a/packages/vgrammar-projection/package.json b/packages/vgrammar-projection/package.json index 151dea201..6407b13d1 100644 --- a/packages/vgrammar-projection/package.json +++ b/packages/vgrammar-projection/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-projection", - "version": "0.15.1", + "version": "0.15.2", "description": "Projections for map, used in VGrammar.", "keywords": [ "projection", @@ -35,8 +35,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-util": "workspace:0.15.1", - "@visactor/vgrammar-core": "workspace:0.15.1", + "@visactor/vgrammar-util": "workspace:0.15.2", + "@visactor/vgrammar-core": "workspace:0.15.2", "d3-geo": "^1.12.1" }, "devDependencies": { diff --git a/packages/vgrammar-sankey/package.json b/packages/vgrammar-sankey/package.json index 516da39f5..e63947e69 100644 --- a/packages/vgrammar-sankey/package.json +++ b/packages/vgrammar-sankey/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-sankey", - "version": "0.15.1", + "version": "0.15.2", "description": "Layout of sankey chart, used by VGrammar", "keywords": [ "sankey", @@ -37,8 +37,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-core": "workspace:0.15.1", - "@visactor/vgrammar-util": "workspace:0.15.1", + "@visactor/vgrammar-core": "workspace:0.15.2", + "@visactor/vgrammar-util": "workspace:0.15.2", "@visactor/vrender-core": "0.21.4", "@visactor/vrender-kits": "0.21.4" }, diff --git a/packages/vgrammar-util/package.json b/packages/vgrammar-util/package.json index 5969b0c82..b847cd6b5 100644 --- a/packages/vgrammar-util/package.json +++ b/packages/vgrammar-util/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-util", - "version": "0.15.1", + "version": "0.15.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 6f166fb5e..a20ce5c24 100644 --- a/packages/vgrammar-venn/package.json +++ b/packages/vgrammar-venn/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-venn", - "version": "0.15.1", + "version": "0.15.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.15.1", - "@visactor/vgrammar-util": "workspace:0.15.1", + "@visactor/vgrammar-core": "workspace:0.15.2", + "@visactor/vgrammar-util": "workspace:0.15.2", "@visactor/vrender-core": "0.21.4", "@visactor/vrender-kits": "0.21.4", "@visactor/vutils": "~0.19.2" diff --git a/packages/vgrammar-wordcloud-shape/package.json b/packages/vgrammar-wordcloud-shape/package.json index fd2b3c41f..2e84d0738 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.15.1", + "version": "0.15.2", "description": "Layout WordCloud in specified shape, this is a transform for VGrammar.", "keywords": [ "wordcloud", @@ -36,8 +36,8 @@ "dependencies": { "@visactor/vutils": "~0.19.2", "@visactor/vscale": "~0.19.2", - "@visactor/vgrammar-core": "workspace:0.15.1", - "@visactor/vgrammar-util": "workspace:0.15.1", + "@visactor/vgrammar-core": "workspace:0.15.2", + "@visactor/vgrammar-util": "workspace:0.15.2", "@visactor/vrender-core": "0.21.4", "@visactor/vrender-kits": "0.21.4" }, diff --git a/packages/vgrammar-wordcloud/package.json b/packages/vgrammar-wordcloud/package.json index 5e6abdaef..8c9e42796 100644 --- a/packages/vgrammar-wordcloud/package.json +++ b/packages/vgrammar-wordcloud/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar-wordcloud", - "version": "0.15.1", + "version": "0.15.2", "description": "WordCloud layout transform for VGrammar", "keywords": [ "wordcloud", @@ -35,8 +35,8 @@ }, "dependencies": { "@visactor/vutils": "~0.19.2", - "@visactor/vgrammar-core": "workspace:0.15.1", - "@visactor/vgrammar-util": "workspace:0.15.1", + "@visactor/vgrammar-core": "workspace:0.15.2", + "@visactor/vgrammar-util": "workspace:0.15.2", "@visactor/vrender-core": "0.21.4", "@visactor/vrender-kits": "0.21.4" }, diff --git a/packages/vgrammar/package.json b/packages/vgrammar/package.json index 5ed26fcfe..e7df96184 100644 --- a/packages/vgrammar/package.json +++ b/packages/vgrammar/package.json @@ -1,6 +1,6 @@ { "name": "@visactor/vgrammar", - "version": "0.15.1", + "version": "0.15.2", "description": "simple package of vgrammar.", "keywords": [ "visualization", @@ -30,7 +30,7 @@ "test": "" }, "dependencies": { - "@visactor/vgrammar-core": "workspace:0.15.1" + "@visactor/vgrammar-core": "workspace:0.15.2" }, "devDependencies": { "d3-array": "1.x",