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
26 changes: 13 additions & 13 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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":"vrenderMain","version":"0.22.10","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"0.22.11","nextBump":"patch"}]
22 changes: 22 additions & 0 deletions docs/assets/changelog/en/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# v0.22.10

2025-04-21


**🐛 Bug fix**

- **@visactor/vrender-components**: fix preventDefault() error when passive: true
- **@visactor/vrender-kits**: fix issue with symbol gradient, and support native conical gradient
- **@visactor/vrender-core**: fix issue with symbol gradient, and support native conical gradient
- **@visactor/vrender-core**: fix preventDefault() error when passive: true

**📖 Site / documentation update**

- **@visactor/vrender-components**: update changlog of rush
- **@visactor/vrender-core**: update changlog of rush


**Full Changelog**: https://github.com/VisActor/VRender/compare/v0.22.9...v0.22.10

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

# v0.22.9

2025-04-18
Expand Down
22 changes: 22 additions & 0 deletions docs/assets/changelog/zh/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
# v0.22.10

2025-04-21


**🐛 功能修复**

- **@visactor/vrender-components**: fix preventDefault() error when passive: true
- **@visactor/vrender-kits**: fix issue with symbol gradient, and support native conical gradient
- **@visactor/vrender-core**: fix issue with symbol gradient, and support native conical gradient
- **@visactor/vrender-core**: fix preventDefault() error when passive: true

**📖 文档更新**

- **@visactor/vrender-components**: update changlog of rush
- **@visactor/vrender-core**: update changlog of rush


**Full Changelog**: https://github.com/VisActor/VRender/compare/v0.22.9...v0.22.10

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

# v0.22.9

2025-04-18
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/guide/en/asd/Basic/VRender_basic_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ VRender is a relatively low-level rendering library. We will introduce the usage

## Graphic System

This section will quickly introduce the graphic system. For more detailed understanding, please refer to [Graphic System](./Basic_Tutorial/Graphic)
This section will quickly introduce the graphic system. For more detailed understanding, please refer to [Graphic System](../Basic_Tutorial/Graphic)

### Create Graphics

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/guide/zh/asd/Basic/Vrender_basic_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ VRender 是一个比较底层的渲染库,我们将以使用场景作为区分

## 图元系统

此章节会快速介绍图元系统,如需详细了解,请参考[图元系统](./Basic_Tutorial/Graphic)
此章节会快速介绍图元系统,如需详细了解,请参考[图元系统](../Basic_Tutorial/Graphic)

### 创建图元

Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@visactor/vchart": "1.3.0",
"@visactor/vutils": "~0.19.5",
"@visactor/vgrammar": "~0.5.7",
"@visactor/vrender": "workspace:0.22.10",
"@visactor/vrender": "workspace:0.22.11",
"markdown-it": "^13.0.0",
"highlight.js": "^11.8.0",
"axios": "^1.4.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/react-vrender-utils/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/react-vrender-utils",
"entries": [
{
"version": "0.22.11",
"tag": "@visactor/react-vrender-utils_v0.22.11",
"date": "Mon, 28 Apr 2025 09:08:54 GMT",
"comments": {}
},
{
"version": "0.22.10",
"tag": "@visactor/react-vrender-utils_v0.22.10",
Expand Down
7 changes: 6 additions & 1 deletion packages/react-vrender-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/react-vrender-utils

This log was last generated on Mon, 21 Apr 2025 02:48:16 GMT and should not be manually modified.
This log was last generated on Mon, 28 Apr 2025 09:08:54 GMT and should not be manually modified.

## 0.22.11
Mon, 28 Apr 2025 09:08:54 GMT

_Version update only_

## 0.22.10
Mon, 21 Apr 2025 02:48:16 GMT
Expand Down
6 changes: 3 additions & 3 deletions packages/react-vrender-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vrender-utils",
"version": "0.22.10",
"version": "0.22.11",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,8 +24,8 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.22.10",
"@visactor/react-vrender": "workspace:0.22.10",
"@visactor/vrender": "workspace:0.22.11",
"@visactor/react-vrender": "workspace:0.22.11",
"@visactor/vutils": "~0.19.5",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
6 changes: 6 additions & 0 deletions packages/react-vrender/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/react-vrender",
"entries": [
{
"version": "0.22.11",
"tag": "@visactor/react-vrender_v0.22.11",
"date": "Mon, 28 Apr 2025 09:08:54 GMT",
"comments": {}
},
{
"version": "0.22.10",
"tag": "@visactor/react-vrender_v0.22.10",
Expand Down
7 changes: 6 additions & 1 deletion packages/react-vrender/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/react-vrender

This log was last generated on Mon, 21 Apr 2025 02:48:16 GMT and should not be manually modified.
This log was last generated on Mon, 28 Apr 2025 09:08:54 GMT and should not be manually modified.

## 0.22.11
Mon, 28 Apr 2025 09:08:54 GMT

_Version update only_

## 0.22.10
Mon, 21 Apr 2025 02:48:16 GMT
Expand Down
4 changes: 2 additions & 2 deletions packages/react-vrender/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/react-vrender",
"version": "0.22.10",
"version": "0.22.11",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -23,7 +23,7 @@
"react": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.22.10",
"@visactor/vrender": "workspace:0.22.11",
"@visactor/vutils": "~0.19.5",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
6 changes: 6 additions & 0 deletions packages/vrender-components/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/vrender-components",
"entries": [
{
"version": "0.22.11",
"tag": "@visactor/vrender-components_v0.22.11",
"date": "Mon, 28 Apr 2025 09:08:54 GMT",
"comments": {}
},
{
"version": "0.22.10",
"tag": "@visactor/vrender-components_v0.22.10",
Expand Down
7 changes: 6 additions & 1 deletion packages/vrender-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/vrender-components

This log was last generated on Mon, 21 Apr 2025 02:48:16 GMT and should not be manually modified.
This log was last generated on Mon, 28 Apr 2025 09:08:54 GMT and should not be manually modified.

## 0.22.11
Mon, 28 Apr 2025 09:08:54 GMT

_Version update only_

## 0.22.10
Mon, 21 Apr 2025 02:48:16 GMT
Expand Down
6 changes: 3 additions & 3 deletions packages/vrender-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vrender-components",
"version": "0.22.10",
"version": "0.22.11",
"description": "components library for dp visualization",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -27,8 +27,8 @@
"dependencies": {
"@visactor/vutils": "~0.19.5",
"@visactor/vscale": "~0.19.5",
"@visactor/vrender-core": "workspace:0.22.10",
"@visactor/vrender-kits": "workspace:0.22.10"
"@visactor/vrender-core": "workspace:0.22.11",
"@visactor/vrender-kits": "workspace:0.22.11"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
12 changes: 12 additions & 0 deletions packages/vrender-core/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/vrender-core",
"entries": [
{
"version": "0.22.11",
"tag": "@visactor/vrender-core_v0.22.11",
"date": "Mon, 28 Apr 2025 09:08:54 GMT",
"comments": {
"none": [
{
"comment": "fix: incorrect result for TagPointsUpdate animation"
}
]
}
},
{
"version": "0.22.10",
"tag": "@visactor/vrender-core_v0.22.10",
Expand Down
9 changes: 8 additions & 1 deletion packages/vrender-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @visactor/vrender-core

This log was last generated on Mon, 21 Apr 2025 02:48:16 GMT and should not be manually modified.
This log was last generated on Mon, 28 Apr 2025 09:08:54 GMT and should not be manually modified.

## 0.22.11
Mon, 28 Apr 2025 09:08:54 GMT

### Updates

- fix: incorrect result for TagPointsUpdate animation

## 0.22.10
Mon, 21 Apr 2025 02:48:16 GMT
Expand Down
2 changes: 1 addition & 1 deletion packages/vrender-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vrender-core",
"version": "0.22.10",
"version": "0.22.11",
"description": "",
"sideEffects": [
"./src/modules.ts",
Expand Down
7 changes: 7 additions & 0 deletions packages/vrender-core/src/animate/custom-animate.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { IPoint, IPointLike } from '@visactor/vutils';
import {
clamp,
cloneDeep,
getDecimalPlaces,
isArray,
isNumber,
Expand Down Expand Up @@ -863,6 +864,12 @@ export class TagPointsUpdate extends ACustomAnimate<{ points?: IPointLike[]; seg
}

onUpdate(end: boolean, ratio: number, out: Record<string, any>): void {
if (end) {
Object.keys(this.to).forEach(k => {
out[k] = this.to[k];
});
return;
}
// if not create new points, multi points animation might not work well.
this.points = this.points.map((point, index) => {
const newPoint = pointInterpolation(this.interpolatePoints[index][0], this.interpolatePoints[index][1], ratio);
Expand Down
Loading
Loading