Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
302 changes: 151 additions & 151 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.15.5","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.15.6","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}]
28 changes: 14 additions & 14 deletions docs/dev-demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@
"devDependencies": {
"@internal/eslint-config": "workspace:*",
"@internal/ts-config": "workspace:*",
"@visactor/vutils": "~0.19.3",
"@visactor/vgrammar": "workspace:0.15.5",
"@visactor/vgrammar-core": "workspace:0.15.5",
"@visactor/vgrammar-hierarchy": "workspace:0.15.5",
"@visactor/vgrammar-sankey": "workspace:0.15.5",
"@visactor/vgrammar-projection": "workspace:0.15.5",
"@visactor/vgrammar-wordcloud": "workspace:0.15.5",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.15.5",
"@visactor/vgrammar-plot": "workspace:0.15.5",
"@visactor/vrender-core": "0.21.11",
"@visactor/vrender-kits": "0.21.11",
"@visactor/vrender": "0.21.11",
"@visactor/vutils": "~0.19.4",
"@visactor/vgrammar": "workspace:0.15.6",
"@visactor/vgrammar-core": "workspace:0.15.6",
"@visactor/vgrammar-hierarchy": "workspace:0.15.6",
"@visactor/vgrammar-sankey": "workspace:0.15.6",
"@visactor/vgrammar-projection": "workspace:0.15.6",
"@visactor/vgrammar-wordcloud": "workspace:0.15.6",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.15.6",
"@visactor/vgrammar-plot": "workspace:0.15.6",
"@visactor/vrender-core": "0.21.15",
"@visactor/vrender-kits": "0.21.15",
"@visactor/vrender": "0.21.15",
"d3-scale-chromatic": "^3.0.0",
"lodash": "4.17.21",
"typescript": "4.9.5",
"vite": "3.2.6",
"@visactor/vgrammar-util": "workspace:0.15.5",
"@visactor/vgrammar-coordinate": "workspace:0.15.5",
"@visactor/vgrammar-util": "workspace:0.15.6",
"@visactor/vgrammar-coordinate": "workspace:0.15.6",
"@vitejs/plugin-react": "3.1.0"
}
}
30 changes: 15 additions & 15 deletions docs/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@
},
"dependencies": {
"@arco-design/web-react": "2.46.1",
"@visactor/vutils": "~0.19.3",
"@visactor/vgrammar": "workspace:0.15.5",
"@visactor/vgrammar-core": "workspace:0.15.5",
"@visactor/vgrammar-hierarchy": "workspace:0.15.5",
"@visactor/vgrammar-sankey": "workspace:0.15.5",
"@visactor/vgrammar-projection": "workspace:0.15.5",
"@visactor/vgrammar-wordcloud": "workspace:0.15.5",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.15.5",
"@visactor/vgrammar-plot": "workspace:0.15.5",
"@visactor/vgrammar-util": "workspace:0.15.5",
"@visactor/vgrammar-coordinate": "workspace:0.15.5",
"@visactor/vgrammar-venn": "workspace:0.15.5",
"@visactor/vrender-core": "0.21.11",
"@visactor/vrender-kits": "0.21.11",
"@visactor/vrender": "0.21.11",
"@visactor/vutils": "~0.19.4",
"@visactor/vgrammar": "workspace:0.15.6",
"@visactor/vgrammar-core": "workspace:0.15.6",
"@visactor/vgrammar-hierarchy": "workspace:0.15.6",
"@visactor/vgrammar-sankey": "workspace:0.15.6",
"@visactor/vgrammar-projection": "workspace:0.15.6",
"@visactor/vgrammar-wordcloud": "workspace:0.15.6",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.15.6",
"@visactor/vgrammar-plot": "workspace:0.15.6",
"@visactor/vgrammar-util": "workspace:0.15.6",
"@visactor/vgrammar-coordinate": "workspace:0.15.6",
"@visactor/vgrammar-venn": "workspace:0.15.6",
"@visactor/vrender-core": "0.21.15",
"@visactor/vrender-kits": "0.21.15",
"@visactor/vrender": "0.21.15",
"markdown-it": "^13.0.0",
"highlight.js": "^11.8.0",
"axios": "^1.4.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/vgrammar-coordinate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vgrammar-coordinate",
"version": "0.15.5",
"version": "0.15.6",
"description": "Coordinates for VGrammar",
"keywords": [
"coordinate",
Expand Down Expand Up @@ -34,8 +34,8 @@
"test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand"
},
"dependencies": {
"@visactor/vutils": "~0.19.3",
"@visactor/vgrammar-util": "workspace:0.15.5"
"@visactor/vutils": "~0.19.4",
"@visactor/vgrammar-util": "workspace:0.15.6"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
15 changes: 15 additions & 0 deletions packages/vgrammar-core/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@visactor/vgrammar-core",
"entries": [
{
"version": "0.15.6",
"tag": "@visactor/vgrammar-core_v0.15.6",
"date": "Thu, 13 Feb 2025 09:57:00 GMT",
"comments": {
"none": [
{
"comment": "fix: upgrade vrender to 0.21.15, vutils to 0.19.14\n\n"
},
{
"comment": "fix: fix default param for animator stop"
}
]
}
},
{
"version": "0.15.5",
"tag": "@visactor/vgrammar-core_v0.15.5",
Expand Down
12 changes: 11 additions & 1 deletion packages/vgrammar-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Change Log - @visactor/vgrammar-core

This log was last generated on Thu, 16 Jan 2025 02:27:52 GMT and should not be manually modified.
This log was last generated on Thu, 13 Feb 2025 09:57:00 GMT and should not be manually modified.

## 0.15.6
Thu, 13 Feb 2025 09:57:00 GMT

### Updates

- fix: upgrade vrender to 0.21.15, vutils to 0.19.14


- fix: fix default param for animator stop

## 0.15.5
Thu, 16 Jan 2025 02:27:52 GMT
Expand Down
18 changes: 9 additions & 9 deletions packages/vgrammar-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vgrammar-core",
"version": "0.15.5",
"version": "0.15.6",
"description": "VGrammar is a visual grammar library",
"keywords": [
"grammar",
Expand Down Expand Up @@ -35,14 +35,14 @@
"test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand"
},
"dependencies": {
"@visactor/vutils": "~0.19.3",
"@visactor/vdataset": "~0.19.3",
"@visactor/vgrammar-coordinate": "workspace:0.15.5",
"@visactor/vgrammar-util": "workspace:0.15.5",
"@visactor/vscale": "~0.19.3",
"@visactor/vrender-core": "0.21.11",
"@visactor/vrender-kits": "0.21.11",
"@visactor/vrender-components": "0.21.11"
"@visactor/vutils": "~0.19.4",
"@visactor/vdataset": "~0.19.4",
"@visactor/vgrammar-coordinate": "workspace:0.15.6",
"@visactor/vgrammar-util": "workspace:0.15.6",
"@visactor/vscale": "~0.19.4",
"@visactor/vrender-core": "0.21.15",
"@visactor/vrender-kits": "0.21.15",
"@visactor/vrender-components": "0.21.15"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/vgrammar-core/src/graph/animation/animate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export class Animate implements IAnimate {
stopAnimationByState(animationState: string) {
const animators = this.animators.get(animationState);
if (animators) {
animators.forEach(animator => animator.stop());
animators.forEach(animator => animator.stop('end'));
}
return this;
}
Expand Down Expand Up @@ -157,7 +157,7 @@ export class Animate implements IAnimate {
stop() {
// map will be cleared in animator callback
this.animators.forEach(animators => {
animators.forEach(animator => animator.stop());
animators.forEach(animator => animator.stop('end'));
});
return this;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/vgrammar-core/src/graph/animation/animator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class Animator implements IAnimator {
return this;
}

stop(stopState?: 'start' | 'end', invokeCallback: boolean = true): this {
stop(stopState: 'start' | 'end' | null = 'end', invokeCallback: boolean = true): this {
// FIXME: wait for VRender to fix 'end' parameter
this.runnings.forEach(running => running.stop(stopState));
this.animationEnd(invokeCallback);
Expand Down
2 changes: 1 addition & 1 deletion packages/vgrammar-core/src/types/animate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export interface IAnimator {
callback: (callbackFunction: (...args: any[]) => void) => this;

// animation control
stop: (stopState?: 'start' | 'end', invokeCallback?: boolean) => this;
stop: (stopState: 'start' | 'end' | null, invokeCallback?: boolean) => this;
pause: () => this;
resume: () => this;

Expand Down
18 changes: 9 additions & 9 deletions packages/vgrammar-full/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vgrammar-full",
"version": "0.15.5",
"version": "0.15.6",
"description": "full packages of vgrammar.",
"keywords": [
"visualization",
Expand Down Expand Up @@ -33,14 +33,14 @@
"test": ""
},
"dependencies": {
"@visactor/vgrammar-core": "workspace:0.15.5",
"@visactor/vgrammar-hierarchy": "workspace:0.15.5",
"@visactor/vgrammar-plot": "workspace:0.15.5",
"@visactor/vgrammar-projection": "workspace:0.15.5",
"@visactor/vgrammar-sankey": "workspace:0.15.5",
"@visactor/vgrammar-wordcloud": "workspace:0.15.5",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.15.5",
"@visactor/vgrammar-venn": "workspace:0.15.5"
"@visactor/vgrammar-core": "workspace:0.15.6",
"@visactor/vgrammar-hierarchy": "workspace:0.15.6",
"@visactor/vgrammar-plot": "workspace:0.15.6",
"@visactor/vgrammar-projection": "workspace:0.15.6",
"@visactor/vgrammar-sankey": "workspace:0.15.6",
"@visactor/vgrammar-wordcloud": "workspace:0.15.6",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.15.6",
"@visactor/vgrammar-venn": "workspace:0.15.6"
},
"devDependencies": {
"d3-array": "1.x",
Expand Down
12 changes: 6 additions & 6 deletions packages/vgrammar-hierarchy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vgrammar-hierarchy",
"version": "0.15.5",
"version": "0.15.6",
"description": "Layout of hierarchical data for VGrammar",
"keywords": [
"hierarchy",
Expand Down Expand Up @@ -38,11 +38,11 @@
"test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand"
},
"dependencies": {
"@visactor/vutils": "~0.19.3",
"@visactor/vgrammar-core": "workspace:0.15.5",
"@visactor/vgrammar-util": "workspace:0.15.5",
"@visactor/vrender-core": "0.21.11",
"@visactor/vrender-kits": "0.21.11"
"@visactor/vutils": "~0.19.4",
"@visactor/vgrammar-core": "workspace:0.15.6",
"@visactor/vgrammar-util": "workspace:0.15.6",
"@visactor/vrender-core": "0.21.15",
"@visactor/vrender-kits": "0.21.15"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/vgrammar-hierarchy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export { TreeLayout } from './tree/layout';
export * from './interface';
export * from './format';
export * from './utils';
export { treeTransform, sunburtTransform, circlePackingTransform, treemapTransform };

export const registerTreemapTransforms = () => {
Factory.registerTransform(
Expand Down
18 changes: 9 additions & 9 deletions packages/vgrammar-plot/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vgrammar-plot",
"version": "0.15.5",
"version": "0.15.6",
"description": "Plots of vgrammar.",
"keywords": [
"plot",
Expand Down Expand Up @@ -34,14 +34,14 @@
"test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand"
},
"dependencies": {
"@visactor/vscale": "~0.19.3",
"@visactor/vutils": "~0.19.3",
"@visactor/vgrammar-util": "workspace:0.15.5",
"@visactor/vgrammar-coordinate": "workspace:0.15.5",
"@visactor/vgrammar-core": "workspace:0.15.5",
"@visactor/vrender-components": "0.21.11",
"@visactor/vrender-core": "0.21.11",
"@visactor/vrender-kits": "0.21.11"
"@visactor/vscale": "~0.19.4",
"@visactor/vutils": "~0.19.4",
"@visactor/vgrammar-util": "workspace:0.15.6",
"@visactor/vgrammar-coordinate": "workspace:0.15.6",
"@visactor/vgrammar-core": "workspace:0.15.6",
"@visactor/vrender-components": "0.21.15",
"@visactor/vrender-core": "0.21.15",
"@visactor/vrender-kits": "0.21.15"
},
"devDependencies": {
"d3-array": "1.x",
Expand Down
8 changes: 4 additions & 4 deletions packages/vgrammar-projection/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vgrammar-projection",
"version": "0.15.5",
"version": "0.15.6",
"description": "Projections for map, used in VGrammar.",
"keywords": [
"projection",
Expand Down Expand Up @@ -34,9 +34,9 @@
"test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand"
},
"dependencies": {
"@visactor/vutils": "~0.19.3",
"@visactor/vgrammar-util": "workspace:0.15.5",
"@visactor/vgrammar-core": "workspace:0.15.5",
"@visactor/vutils": "~0.19.4",
"@visactor/vgrammar-util": "workspace:0.15.6",
"@visactor/vgrammar-core": "workspace:0.15.6",
"d3-geo": "^1.12.1"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions packages/vgrammar-sankey/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vgrammar-sankey",
"version": "0.15.5",
"version": "0.15.6",
"description": "Layout of sankey chart, used by VGrammar",
"keywords": [
"sankey",
Expand Down Expand Up @@ -36,11 +36,11 @@
"test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand"
},
"dependencies": {
"@visactor/vutils": "~0.19.3",
"@visactor/vgrammar-core": "workspace:0.15.5",
"@visactor/vgrammar-util": "workspace:0.15.5",
"@visactor/vrender-core": "0.21.11",
"@visactor/vrender-kits": "0.21.11"
"@visactor/vutils": "~0.19.4",
"@visactor/vgrammar-core": "workspace:0.15.6",
"@visactor/vgrammar-util": "workspace:0.15.6",
"@visactor/vrender-core": "0.21.15",
"@visactor/vrender-kits": "0.21.15"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
1 change: 1 addition & 0 deletions packages/vgrammar-sankey/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { transform } from './transform';
import { SankeyHighlight } from './sankey-highlight';

export { SankeyLayout } from './layout';
export const sankeyTransform = transform;

export * from './interface';
export * from './format';
Expand Down
6 changes: 3 additions & 3 deletions packages/vgrammar-util/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vgrammar-util",
"version": "0.15.5",
"version": "0.15.6",
"description": "The common utils functions of VGrammar",
"keywords": [
"utils",
Expand Down Expand Up @@ -34,8 +34,8 @@
"test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand"
},
"dependencies": {
"@visactor/vutils": "~0.19.3",
"@visactor/vrender-core": "0.21.11"
"@visactor/vutils": "~0.19.4",
"@visactor/vrender-core": "0.21.15"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
12 changes: 6 additions & 6 deletions packages/vgrammar-venn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vgrammar-venn",
"version": "0.15.5",
"version": "0.15.6",
"description": "Venn layout transform for VGrammar",
"keywords": [
"venn",
Expand Down Expand Up @@ -34,11 +34,11 @@
"test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand"
},
"dependencies": {
"@visactor/vgrammar-core": "workspace:0.15.5",
"@visactor/vgrammar-util": "workspace:0.15.5",
"@visactor/vrender-core": "0.21.11",
"@visactor/vrender-kits": "0.21.11",
"@visactor/vutils": "~0.19.3"
"@visactor/vgrammar-core": "workspace:0.15.6",
"@visactor/vgrammar-util": "workspace:0.15.6",
"@visactor/vrender-core": "0.21.15",
"@visactor/vrender-kits": "0.21.15",
"@visactor/vutils": "~0.19.4"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
Loading
Loading