diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index bd27f02ee..53f226b9a 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -9,19 +9,19 @@ 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/vrender': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@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 '@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 @@ -60,20 +60,20 @@ 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/vrender': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@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 '@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 @@ -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,11 +229,11 @@ 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/vrender-components': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@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 '@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: @@ -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,10 +338,10 @@ 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/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@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 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 @@ -382,12 +382,12 @@ 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/vrender-components': 0.21.2 - '@visactor/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@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 '@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: @@ -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,10 +479,10 @@ 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/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@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 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 @@ -559,10 +559,10 @@ 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/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@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 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 @@ -602,10 +602,10 @@ 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/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@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 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 @@ -645,10 +645,10 @@ 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/vrender-core': 0.21.2 - '@visactor/vrender-kits': 0.21.2 + '@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 '@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/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 58943a324..e3215bfcb 100644 --- a/docs/dev-demos/package.json +++ b/docs/dev-demos/package.json @@ -12,23 +12,23 @@ "@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/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2", - "@visactor/vrender": "0.21.2", + "@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", "d3-scale-chromatic": "^3.0.0", "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/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 diff --git a/docs/site/package.json b/docs/site/package.json index deb61d60a..ebdebc926 100644 --- a/docs/site/package.json +++ b/docs/site/package.json @@ -14,20 +14,20 @@ "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/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2", - "@visactor/vrender": "0.21.2", + "@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", "markdown-it": "^13.0.0", "highlight.js": "^11.8.0", "axios": "^1.4.0", 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 8c683b3bb..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,12 +37,12 @@ "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.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-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..9a22e54d6 100644 --- a/packages/vgrammar-core/src/types/view.ts +++ b/packages/vgrammar-core/src/types/view.ts @@ -85,6 +85,19 @@ export interface IViewEventConfig { gesture?: boolean | GestureConfig; /** 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 参数 是否自动阻止事件 + */ + autoPreventDefault?: boolean; } export interface srIOption3DType extends IOption3D { 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 029e5d01a..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,10 +39,10 @@ }, "dependencies": { "@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/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" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-plot/package.json b/packages/vgrammar-plot/package.json index c9aa58134..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,12 +36,12 @@ "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/vrender-components": "0.21.2", - "@visactor/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2" + "@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" }, "devDependencies": { "d3-array": "1.x", 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 28da2207a..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,10 +37,10 @@ }, "dependencies": { "@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/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" }, "devDependencies": { "@internal/bundler": "workspace:*", 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; diff --git a/packages/vgrammar-util/package.json b/packages/vgrammar-util/package.json index 762fc4f15..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", @@ -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..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,10 +34,10 @@ "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/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2", + "@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" }, "devDependencies": { diff --git a/packages/vgrammar-wordcloud-shape/package.json b/packages/vgrammar-wordcloud-shape/package.json index 82e5f9f4e..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,10 +36,10 @@ "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/vrender-core": "0.21.2", - "@visactor/vrender-kits": "0.21.2" + "@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" }, "devDependencies": { "@internal/bundler": "workspace:*", diff --git a/packages/vgrammar-wordcloud/package.json b/packages/vgrammar-wordcloud/package.json index 4010ea5ec..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,10 +35,10 @@ }, "dependencies": { "@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/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" }, "devDependencies": { "@internal/bundler": "workspace:*", 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",