Skip to content

Commit

Permalink
Merge pull request #568 from VisActor/release/0.14.11
Browse files Browse the repository at this point in the history
[Auto release] release 0.14.11
  • Loading branch information
xile611 authored Oct 24, 2024
2 parents 66dd668 + de1e2ae commit 79d93b9
Show file tree
Hide file tree
Showing 22 changed files with 247 additions and 193 deletions.
214 changes: 107 additions & 107 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.14.10","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vgrammarMain","version":"0.14.11","mainProject":"@visactor/vgrammar-core","nextBump":"patch"}]
26 changes: 13 additions & 13 deletions docs/dev-demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@
"@internal/eslint-config": "workspace:*",
"@internal/ts-config": "workspace:*",
"@visactor/vutils": "~0.18.17",
"@visactor/vgrammar": "workspace:0.14.10",
"@visactor/vgrammar-core": "workspace:0.14.10",
"@visactor/vgrammar-hierarchy": "workspace:0.14.10",
"@visactor/vgrammar-sankey": "workspace:0.14.10",
"@visactor/vgrammar-projection": "workspace:0.14.10",
"@visactor/vgrammar-wordcloud": "workspace:0.14.10",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.14.10",
"@visactor/vgrammar-plot": "workspace:0.14.10",
"@visactor/vrender-core": "0.20.9",
"@visactor/vrender-kits": "0.20.9",
"@visactor/vrender": "0.20.9",
"@visactor/vgrammar": "workspace:0.14.11",
"@visactor/vgrammar-core": "workspace:0.14.11",
"@visactor/vgrammar-hierarchy": "workspace:0.14.11",
"@visactor/vgrammar-sankey": "workspace:0.14.11",
"@visactor/vgrammar-projection": "workspace:0.14.11",
"@visactor/vgrammar-wordcloud": "workspace:0.14.11",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.14.11",
"@visactor/vgrammar-plot": "workspace:0.14.11",
"@visactor/vrender-core": "0.20.10",
"@visactor/vrender-kits": "0.20.10",
"@visactor/vrender": "0.20.10",
"d3-scale-chromatic": "^3.0.0",
"lodash": "4.17.21",
"typescript": "4.9.5",
"vite": "3.2.6",
"@visactor/vgrammar-util": "workspace:0.14.10",
"@visactor/vgrammar-coordinate": "workspace:0.14.10",
"@visactor/vgrammar-util": "workspace:0.14.11",
"@visactor/vgrammar-coordinate": "workspace:0.14.11",
"@vitejs/plugin-react": "3.1.0"
}
}
13 changes: 13 additions & 0 deletions docs/site/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# v0.14.10

2024-10-23


**🐛 Bug fix**

- **@visactor/vgrammar-core**: fix error when clear states



[more detail about v0.14.10](https://github.com/VisActor/VGrammar/releases/tag/v0.14.10)

# v0.14.9

2024-09-29
Expand Down
13 changes: 13 additions & 0 deletions docs/site/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# v0.14.10

2024-10-23


**🐛 功能修复**

- **@visactor/vgrammar-core**: fix error when clear states



[更多详情请查看 v0.14.10](https://github.com/VisActor/VGrammar/releases/tag/v0.14.10)

# v0.14.9

2024-09-29
Expand Down
28 changes: 14 additions & 14 deletions docs/site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@
"dependencies": {
"@arco-design/web-react": "2.46.1",
"@visactor/vutils": "~0.18.17",
"@visactor/vgrammar": "workspace:0.14.10",
"@visactor/vgrammar-core": "workspace:0.14.10",
"@visactor/vgrammar-hierarchy": "workspace:0.14.10",
"@visactor/vgrammar-sankey": "workspace:0.14.10",
"@visactor/vgrammar-projection": "workspace:0.14.10",
"@visactor/vgrammar-wordcloud": "workspace:0.14.10",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.14.10",
"@visactor/vgrammar-plot": "workspace:0.14.10",
"@visactor/vgrammar-util": "workspace:0.14.10",
"@visactor/vgrammar-coordinate": "workspace:0.14.10",
"@visactor/vgrammar-venn": "workspace:0.14.10",
"@visactor/vrender-core": "0.20.9",
"@visactor/vrender-kits": "0.20.9",
"@visactor/vrender": "0.20.9",
"@visactor/vgrammar": "workspace:0.14.11",
"@visactor/vgrammar-core": "workspace:0.14.11",
"@visactor/vgrammar-hierarchy": "workspace:0.14.11",
"@visactor/vgrammar-sankey": "workspace:0.14.11",
"@visactor/vgrammar-projection": "workspace:0.14.11",
"@visactor/vgrammar-wordcloud": "workspace:0.14.11",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.14.11",
"@visactor/vgrammar-plot": "workspace:0.14.11",
"@visactor/vgrammar-util": "workspace:0.14.11",
"@visactor/vgrammar-coordinate": "workspace:0.14.11",
"@visactor/vgrammar-venn": "workspace:0.14.11",
"@visactor/vrender-core": "0.20.10",
"@visactor/vrender-kits": "0.20.10",
"@visactor/vrender": "0.20.10",
"markdown-it": "^13.0.0",
"highlight.js": "^11.8.0",
"axios": "^1.4.0",
Expand Down
4 changes: 2 additions & 2 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.14.10",
"version": "0.14.11",
"description": "Coordinates for VGrammar",
"keywords": [
"coordinate",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"dependencies": {
"@visactor/vutils": "~0.18.17",
"@visactor/vgrammar-util": "workspace:0.14.10"
"@visactor/vgrammar-util": "workspace:0.14.11"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
12 changes: 12 additions & 0 deletions packages/vgrammar-core/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/vgrammar-core",
"entries": [
{
"version": "0.14.11",
"tag": "@visactor/vgrammar-core_v0.14.11",
"date": "Wed, 23 Oct 2024 12:22:58 GMT",
"comments": {
"none": [
{
"comment": " feat: add animation control option `ignoreLoopFinalAttributes`"
}
]
}
},
{
"version": "0.14.10",
"tag": "@visactor/vgrammar-core_v0.14.10",
Expand Down
9 changes: 8 additions & 1 deletion packages/vgrammar-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @visactor/vgrammar-core

This log was last generated on Tue, 15 Oct 2024 05:53:02 GMT and should not be manually modified.
This log was last generated on Wed, 23 Oct 2024 12:22:58 GMT and should not be manually modified.

## 0.14.11
Wed, 23 Oct 2024 12:22:58 GMT

### Updates

- feat: add animation control option `ignoreLoopFinalAttributes`

## 0.14.10
Tue, 15 Oct 2024 05:53:02 GMT
Expand Down
12 changes: 6 additions & 6 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.14.10",
"version": "0.14.11",
"description": "VGrammar is a visual grammar library",
"keywords": [
"grammar",
Expand Down Expand Up @@ -37,12 +37,12 @@
"dependencies": {
"@visactor/vutils": "~0.18.17",
"@visactor/vdataset": "~0.18.17",
"@visactor/vgrammar-coordinate": "workspace:0.14.10",
"@visactor/vgrammar-util": "workspace:0.14.10",
"@visactor/vgrammar-coordinate": "workspace:0.14.11",
"@visactor/vgrammar-util": "workspace:0.14.11",
"@visactor/vscale": "~0.18.17",
"@visactor/vrender-core": "0.20.9",
"@visactor/vrender-kits": "0.20.9",
"@visactor/vrender-components": "0.20.9"
"@visactor/vrender-core": "0.20.10",
"@visactor/vrender-kits": "0.20.10",
"@visactor/vrender-components": "0.20.10"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
9 changes: 8 additions & 1 deletion packages/vgrammar-core/src/graph/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,14 @@ export class Element implements IElement {
this.setPrevGraphicAttributes(prevGraphicAttributes);
this.setFinalGraphicAttributes(finalGraphicAttributes);

const currentAnimators = this.mark.animate?.getElementAnimators(this);
// ignore loop animation final attributes
const currentAnimators = this.mark.animate?.getElementAnimators(this).filter(animator => {
if (animator.animationOptions.timeline.controlOptions?.ignoreLoopFinalAttributes) {
return !animator.animationOptions.timeline.loop;
}
return true;
});

const animateGraphicAttributes = (currentAnimators || []).reduce((attributes, animator) => {
return Object.assign(attributes, animator.getEndAttributes());
}, {});
Expand Down
2 changes: 2 additions & 0 deletions packages/vgrammar-core/src/types/animate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ export interface IAnimationControlOptions {
stopWhenStateChange?: boolean;
/** 是否立即应用动画初始状态 */
immediatelyApply?: boolean;
/** encode 计算图元最终状态时是否忽略循环动画 */
ignoreLoopFinalAttributes?: boolean;
}

/**
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.14.10",
"version": "0.14.11",
"description": "full packages of vgrammar.",
"keywords": [
"visualization",
Expand Down Expand Up @@ -33,14 +33,14 @@
"test": ""
},
"dependencies": {
"@visactor/vgrammar-core": "workspace:0.14.10",
"@visactor/vgrammar-hierarchy": "workspace:0.14.10",
"@visactor/vgrammar-plot": "workspace:0.14.10",
"@visactor/vgrammar-projection": "workspace:0.14.10",
"@visactor/vgrammar-sankey": "workspace:0.14.10",
"@visactor/vgrammar-wordcloud": "workspace:0.14.10",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.14.10",
"@visactor/vgrammar-venn": "workspace:0.14.10"
"@visactor/vgrammar-core": "workspace:0.14.11",
"@visactor/vgrammar-hierarchy": "workspace:0.14.11",
"@visactor/vgrammar-plot": "workspace:0.14.11",
"@visactor/vgrammar-projection": "workspace:0.14.11",
"@visactor/vgrammar-sankey": "workspace:0.14.11",
"@visactor/vgrammar-wordcloud": "workspace:0.14.11",
"@visactor/vgrammar-wordcloud-shape": "workspace:0.14.11",
"@visactor/vgrammar-venn": "workspace:0.14.11"
},
"devDependencies": {
"d3-array": "1.x",
Expand Down
10 changes: 5 additions & 5 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.14.10",
"version": "0.14.11",
"description": "Layout of hierarchical data for VGrammar",
"keywords": [
"hierarchy",
Expand Down Expand Up @@ -39,10 +39,10 @@
},
"dependencies": {
"@visactor/vutils": "~0.18.17",
"@visactor/vgrammar-core": "workspace:0.14.10",
"@visactor/vgrammar-util": "workspace:0.14.10",
"@visactor/vrender-core": "0.20.9",
"@visactor/vrender-kits": "0.20.9"
"@visactor/vgrammar-core": "workspace:0.14.11",
"@visactor/vgrammar-util": "workspace:0.14.11",
"@visactor/vrender-core": "0.20.10",
"@visactor/vrender-kits": "0.20.10"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
14 changes: 7 additions & 7 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.14.10",
"version": "0.14.11",
"description": "Plots of vgrammar.",
"keywords": [
"plot",
Expand Down Expand Up @@ -36,12 +36,12 @@
"dependencies": {
"@visactor/vscale": "~0.18.17",
"@visactor/vutils": "~0.18.17",
"@visactor/vgrammar-util": "workspace:0.14.10",
"@visactor/vgrammar-coordinate": "workspace:0.14.10",
"@visactor/vgrammar-core": "workspace:0.14.10",
"@visactor/vrender-components": "0.20.9",
"@visactor/vrender-core": "0.20.9",
"@visactor/vrender-kits": "0.20.9"
"@visactor/vgrammar-util": "workspace:0.14.11",
"@visactor/vgrammar-coordinate": "workspace:0.14.11",
"@visactor/vgrammar-core": "workspace:0.14.11",
"@visactor/vrender-components": "0.20.10",
"@visactor/vrender-core": "0.20.10",
"@visactor/vrender-kits": "0.20.10"
},
"devDependencies": {
"d3-array": "1.x",
Expand Down
6 changes: 3 additions & 3 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.14.10",
"version": "0.14.11",
"description": "Projections for map, used in VGrammar.",
"keywords": [
"projection",
Expand Down Expand Up @@ -35,8 +35,8 @@
},
"dependencies": {
"@visactor/vutils": "~0.18.17",
"@visactor/vgrammar-util": "workspace:0.14.10",
"@visactor/vgrammar-core": "workspace:0.14.10",
"@visactor/vgrammar-util": "workspace:0.14.11",
"@visactor/vgrammar-core": "workspace:0.14.11",
"d3-geo": "^1.12.1"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 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.14.10",
"version": "0.14.11",
"description": "Layout of sankey chart, used by VGrammar",
"keywords": [
"sankey",
Expand Down Expand Up @@ -37,10 +37,10 @@
},
"dependencies": {
"@visactor/vutils": "~0.18.17",
"@visactor/vgrammar-core": "workspace:0.14.10",
"@visactor/vgrammar-util": "workspace:0.14.10",
"@visactor/vrender-core": "0.20.9",
"@visactor/vrender-kits": "0.20.9"
"@visactor/vgrammar-core": "workspace:0.14.11",
"@visactor/vgrammar-util": "workspace:0.14.11",
"@visactor/vrender-core": "0.20.10",
"@visactor/vrender-kits": "0.20.10"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
4 changes: 2 additions & 2 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.14.10",
"version": "0.14.11",
"description": "The common utils functions of VGrammar",
"keywords": [
"utils",
Expand Down Expand Up @@ -35,7 +35,7 @@
},
"dependencies": {
"@visactor/vutils": "~0.18.17",
"@visactor/vrender-core": "0.20.9"
"@visactor/vrender-core": "0.20.10"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
10 changes: 5 additions & 5 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.14.10",
"version": "0.14.11",
"description": "Venn layout transform for VGrammar",
"keywords": [
"venn",
Expand Down Expand Up @@ -34,10 +34,10 @@
"test-check": "DEBUG=jest jest --forceExit --detectOpenHandles --silent false --verbose false --runInBand"
},
"dependencies": {
"@visactor/vgrammar-core": "workspace:0.14.10",
"@visactor/vgrammar-util": "workspace:0.14.10",
"@visactor/vrender-core": "0.20.9",
"@visactor/vrender-kits": "0.20.9",
"@visactor/vgrammar-core": "workspace:0.14.11",
"@visactor/vgrammar-util": "workspace:0.14.11",
"@visactor/vrender-core": "0.20.10",
"@visactor/vrender-kits": "0.20.10",
"@visactor/vutils": "~0.18.17"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/vgrammar-wordcloud-shape/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vgrammar-wordcloud-shape",
"version": "0.14.10",
"version": "0.14.11",
"description": "Layout WordCloud in specified shape, this is a transform for VGrammar.",
"keywords": [
"wordcloud",
Expand Down Expand Up @@ -36,10 +36,10 @@
"dependencies": {
"@visactor/vutils": "~0.18.17",
"@visactor/vscale": "~0.18.17",
"@visactor/vgrammar-core": "workspace:0.14.10",
"@visactor/vgrammar-util": "workspace:0.14.10",
"@visactor/vrender-core": "0.20.9",
"@visactor/vrender-kits": "0.20.9"
"@visactor/vgrammar-core": "workspace:0.14.11",
"@visactor/vgrammar-util": "workspace:0.14.11",
"@visactor/vrender-core": "0.20.10",
"@visactor/vrender-kits": "0.20.10"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
Loading

0 comments on commit 79d93b9

Please sign in to comment.