Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Auto release] release 0.19.9 #1252

Merged
merged 10 commits into from
Jun 5, 2024
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.19.8","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"0.19.9","nextBump":"patch"}]
35 changes: 35 additions & 0 deletions docs/assets/changelog/en/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
# v0.19.8

2024-06-05


**What's Changed**

* fix issue with https://github.com/VisActor/VRender/pull/1247
* [Auto release] release 0.19.8 by @github-actions in https://github.com/VisActor/VRender/pull/1249


**Full Changelog**: https://github.com/VisActor/VRender/compare/v0.19.7...v0.19.8

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

# v0.19.7

2024-06-04


**🆕 New feature**

- **@visactor/vrender-core**: image support stroke and border, closed [#1242](https://github.com/VisActor/VRender/issues/1242)
- **@visactor/vrender**: image support stroke and border, closed [#1242](https://github.com/VisActor/VRender/issues/1242)

**🐛 Bug fix**

- **@visactor/vrender-components**: fix useless re-render of datazoom and brush
- **@visactor/vrender-core**: fix `useStates` of glyph
- **@visactor/vrender-core**: fix env check in micro frontend env



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

# v0.19.6

2024-05-29
Expand Down
35 changes: 35 additions & 0 deletions docs/assets/changelog/zh/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,38 @@
# v0.19.8

2024-06-05


**What's Changed**

* fix issue with https://github.com/VisActor/VRender/pull/1247
* [Auto release] release 0.19.8 by @github-actions in https://github.com/VisActor/VRender/pull/1249


**Full Changelog**: https://github.com/VisActor/VRender/compare/v0.19.7...v0.19.8

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

# v0.19.7

2024-06-04


**🆕 新增功能**

- **@visactor/vrender-core**: image support stroke and border, closed [#1242](https://github.com/VisActor/VRender/issues/1242)
- **@visactor/vrender**: image support stroke and border, closed [#1242](https://github.com/VisActor/VRender/issues/1242)

**🐛 功能修复**

- **@visactor/vrender-components**: fix useless re-render of datazoom and brush
- **@visactor/vrender-core**: fix `useStates` of glyph
- **@visactor/vrender-core**: fix env check in micro frontend env



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

# v0.19.6

2024-05-29
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.18.9",
"@visactor/vgrammar": "~0.5.7",
"@visactor/vrender": "workspace:0.19.8",
"@visactor/vrender": "workspace:0.19.9",
"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.19.9",
"tag": "@visactor/react-vrender-utils_v0.19.9",
"date": "Wed, 05 Jun 2024 12:25:00 GMT",
"comments": {}
},
{
"version": "0.19.8",
"tag": "@visactor/react-vrender-utils_v0.19.8",
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 Wed, 05 Jun 2024 08:24:28 GMT and should not be manually modified.
This log was last generated on Wed, 05 Jun 2024 12:25:00 GMT and should not be manually modified.

## 0.19.9
Wed, 05 Jun 2024 12:25:00 GMT

_Version update only_

## 0.19.8
Wed, 05 Jun 2024 08:24:28 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.19.8",
"version": "0.19.9",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,8 +24,8 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.19.8",
"@visactor/react-vrender": "workspace:0.19.8",
"@visactor/vrender": "workspace:0.19.9",
"@visactor/react-vrender": "workspace:0.19.9",
"@visactor/vutils": "~0.18.9",
"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.19.9",
"tag": "@visactor/react-vrender_v0.19.9",
"date": "Wed, 05 Jun 2024 12:25:00 GMT",
"comments": {}
},
{
"version": "0.19.8",
"tag": "@visactor/react-vrender_v0.19.8",
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 Wed, 05 Jun 2024 08:24:28 GMT and should not be manually modified.
This log was last generated on Wed, 05 Jun 2024 12:25:00 GMT and should not be manually modified.

## 0.19.9
Wed, 05 Jun 2024 12:25:00 GMT

_Version update only_

## 0.19.8
Wed, 05 Jun 2024 08:24:28 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.19.8",
"version": "0.19.9",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -23,7 +23,7 @@
"react": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.19.8",
"@visactor/vrender": "workspace:0.19.9",
"@visactor/vutils": "~0.18.9",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
12 changes: 12 additions & 0 deletions packages/vrender-components/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
{
"name": "@visactor/vrender-components",
"entries": [
{
"version": "0.19.9",
"tag": "@visactor/vrender-components_v0.19.9",
"date": "Wed, 05 Jun 2024 12:25:00 GMT",
"comments": {
"none": [
{
"comment": "fix: colorLegend handler cannot customize fill color"
}
]
}
},
{
"version": "0.19.8",
"tag": "@visactor/vrender-components_v0.19.8",
Expand Down
9 changes: 8 additions & 1 deletion packages/vrender-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @visactor/vrender-components

This log was last generated on Wed, 05 Jun 2024 08:24:28 GMT and should not be manually modified.
This log was last generated on Wed, 05 Jun 2024 12:25:00 GMT and should not be manually modified.

## 0.19.9
Wed, 05 Jun 2024 12:25:00 GMT

### Updates

- fix: colorLegend handler cannot customize fill color

## 0.19.8
Wed, 05 Jun 2024 08:24:28 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.19.8",
"version": "0.19.9",
"description": "components library for dp visualization",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,8 +24,8 @@
"analysis-core": "cross-env DEBUG='Bundler*' bundle -f umd -a -i core.ts"
},
"dependencies": {
"@visactor/vrender-core": "workspace:0.19.8",
"@visactor/vrender-kits": "workspace:0.19.8",
"@visactor/vrender-core": "workspace:0.19.9",
"@visactor/vrender-kits": "workspace:0.19.9",
"@visactor/vutils": "~0.18.9",
"@visactor/vscale": "~0.18.9"
},
Expand Down
19 changes: 8 additions & 11 deletions packages/vrender-components/src/legend/color/color.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,21 +219,18 @@ export class ColorContinuousLegend extends LegendBase<ColorLegendAttributes> {

private _updateColor() {
const { layout = 'horizontal', colors, railWidth, railHeight } = this.attribute as ColorLegendAttributes;
const { startHandler, endHandler, track } = this._slider;
const { startHandler, endHandler, track, attribute } = this._slider;
const { startValue, endValue, startPos, endPos } = this._slider.currentValue;
const handlerColor = attribute.handlerStyle?.fill;
// 计算颜色
if (startHandler) {
if (!startHandler.attribute.fill) {
const startHandlerColor = this._colorScale.scale(startValue);
startHandler.setAttribute('fill', startHandlerColor);
}
if (startHandler && !handlerColor) {
const startHandlerColor = this._colorScale.scale(startValue);
startHandler.setAttribute('fill', startHandlerColor);
}

if (endHandler) {
if (!endHandler.attribute.fill) {
const endHandlerColor = this._colorScale.scale(endValue);
endHandler.setAttribute('fill', endHandlerColor);
}
if (endHandler && !handlerColor) {
const endHandlerColor = this._colorScale.scale(endValue);
endHandler.setAttribute('fill', endHandlerColor);
}

const isHorizontal = layout === 'horizontal';
Expand Down
6 changes: 6 additions & 0 deletions packages/vrender-core/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/vrender-core",
"entries": [
{
"version": "0.19.9",
"tag": "@visactor/vrender-core_v0.19.9",
"date": "Wed, 05 Jun 2024 12:25:00 GMT",
"comments": {}
},
{
"version": "0.19.8",
"tag": "@visactor/vrender-core_v0.19.8",
Expand Down
7 changes: 6 additions & 1 deletion packages/vrender-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/vrender-core

This log was last generated on Wed, 05 Jun 2024 08:24:28 GMT and should not be manually modified.
This log was last generated on Wed, 05 Jun 2024 12:25:00 GMT and should not be manually modified.

## 0.19.9
Wed, 05 Jun 2024 12:25:00 GMT

_Version update only_

## 0.19.8
Wed, 05 Jun 2024 08:24:28 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.19.8",
"version": "0.19.9",
"description": "",
"sideEffects": [
"./src/modules.ts",
Expand Down
6 changes: 6 additions & 0 deletions packages/vrender-kits/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/vrender-kits",
"entries": [
{
"version": "0.19.9",
"tag": "@visactor/vrender-kits_v0.19.9",
"date": "Wed, 05 Jun 2024 12:25:00 GMT",
"comments": {}
},
{
"version": "0.19.8",
"tag": "@visactor/vrender-kits_v0.19.8",
Expand Down
7 changes: 6 additions & 1 deletion packages/vrender-kits/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Change Log - @visactor/vrender-kits

This log was last generated on Wed, 05 Jun 2024 08:24:28 GMT and should not be manually modified.
This log was last generated on Wed, 05 Jun 2024 12:25:00 GMT and should not be manually modified.

## 0.19.9
Wed, 05 Jun 2024 12:25:00 GMT

_Version update only_

## 0.19.8
Wed, 05 Jun 2024 08:24:28 GMT
Expand Down
Loading
Loading