Skip to content

Commit

Permalink
Merge pull request #1044 from VisActor/release/0.18.1
Browse files Browse the repository at this point in the history
[Auto release] release 0.18.1
  • Loading branch information
neuqzxy authored Mar 4, 2024
2 parents 2bbf1b4 + 791d1c8 commit 2a4fd16
Show file tree
Hide file tree
Showing 28 changed files with 256 additions and 68 deletions.
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.18.0","nextBump":"minor"}]
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"0.18.1","nextBump":"patch"}]
27 changes: 27 additions & 0 deletions docs/assets/changelog/en/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# v0.18.0

2024-02-28


**🆕 New feature**

- **scrollbar**: reconfig scrollbar api of scrollDrag and scrollDown
- **@visactor/vrender-components**: support oriented padding in label overlap bitmap
- **@visactor/vrender-components**: support item align of discrete legend
- **@visactor/vrender-components**: support scrollbar in legend
- **@visactor/vrender-components**: support tooltip in SizeLegend and ColorLegend
- **@visactor/vrender-components**: support lazyload of Legend, and pageFormatter of Pager
- **@visactor/vrender-core**: support flatten_simplify
- **@visactor/vrender-core**: support innerpadding and outerpadding
- **@visactor/vrender-core**: richtext support inherit attribute, closed [#946](https://github.com/VisActor/VRender/issues/946)

**🐛 Bug fix**

- **datazoom**: realtime & pickable not work
- **dataZoom**: compute line width when compute bounds
- **@visactor/vrender-core**: multiline text underline bugfix, closed [#1029](https://github.com/VisActor/VRender/issues/1029)



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

# v0.17.26

2024-02-28
Expand Down
27 changes: 27 additions & 0 deletions docs/assets/changelog/zh/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# v0.18.0

2024-02-28


**🆕 新增功能**

- **scrollbar**: reconfig scrollbar api of scrollDrag and scrollDown
- **@visactor/vrender-components**: support oriented padding in label overlap bitmap
- **@visactor/vrender-components**: support item align of discrete legend
- **@visactor/vrender-components**: support scrollbar in legend
- **@visactor/vrender-components**: support tooltip in SizeLegend and ColorLegend
- **@visactor/vrender-components**: support lazyload of Legend, and pageFormatter of Pager
- **@visactor/vrender-core**: support flatten_simplify
- **@visactor/vrender-core**: support innerpadding and outerpadding
- **@visactor/vrender-core**: richtext support inherit attribute, closed [#946](https://github.com/VisActor/VRender/issues/946)

**🐛 功能修复**

- **datazoom**: realtime & pickable not work
- **dataZoom**: compute line width when compute bounds
- **@visactor/vrender-core**: multiline text underline bugfix, closed [#1029](https://github.com/VisActor/VRender/issues/1029)



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

# v0.17.26

2024-02-28
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.1",
"@visactor/vgrammar": "~0.5.7",
"@visactor/vrender": "workspace:0.18.0",
"@visactor/vrender": "workspace:0.18.1",
"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.18.1",
"tag": "@visactor/react-vrender-utils_v0.18.1",
"date": "Mon, 04 Mar 2024 08:29:15 GMT",
"comments": {}
},
{
"version": "0.18.0",
"tag": "@visactor/react-vrender-utils_v0.18.0",
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, 28 Feb 2024 10:09:04 GMT and should not be manually modified.
This log was last generated on Mon, 04 Mar 2024 08:29:15 GMT and should not be manually modified.

## 0.18.1
Mon, 04 Mar 2024 08:29:15 GMT

_Version update only_

## 0.18.0
Wed, 28 Feb 2024 10:09:04 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.18.0",
"version": "0.18.1",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,8 +24,8 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.18.0",
"@visactor/react-vrender": "workspace:0.18.0",
"@visactor/vrender": "workspace:0.18.1",
"@visactor/react-vrender": "workspace:0.18.1",
"@visactor/vutils": "~0.18.1",
"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.18.1",
"tag": "@visactor/react-vrender_v0.18.1",
"date": "Mon, 04 Mar 2024 08:29:15 GMT",
"comments": {}
},
{
"version": "0.18.0",
"tag": "@visactor/react-vrender_v0.18.0",
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, 28 Feb 2024 10:09:04 GMT and should not be manually modified.
This log was last generated on Mon, 04 Mar 2024 08:29:15 GMT and should not be manually modified.

## 0.18.1
Mon, 04 Mar 2024 08:29:15 GMT

_Version update only_

## 0.18.0
Wed, 28 Feb 2024 10:09:04 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.18.0",
"version": "0.18.1",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -23,7 +23,7 @@
"react": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.18.0",
"@visactor/vrender": "workspace:0.18.1",
"@visactor/vutils": "~0.18.1",
"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.18.1",
"tag": "@visactor/vrender-components_v0.18.1",
"date": "Mon, 04 Mar 2024 08:29:15 GMT",
"comments": {
"none": [
{
"comment": " feat: support `autoEllipsisStrategy` of legend item"
}
]
}
},
{
"version": "0.18.0",
"tag": "@visactor/vrender-components_v0.18.0",
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, 28 Feb 2024 10:09:04 GMT and should not be manually modified.
This log was last generated on Mon, 04 Mar 2024 08:29:15 GMT and should not be manually modified.

## 0.18.1
Mon, 04 Mar 2024 08:29:15 GMT

### Updates

- feat: support `autoEllipsisStrategy` of legend item

## 0.18.0
Wed, 28 Feb 2024 10:09:04 GMT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('Legend focus layout', () => {
stage.defaultLayer.add(legend as unknown as IGraphic);
stage.render();

expect(legend.AABBBounds.width()).toBe(370.05995178222656);
expect(legend.AABBBounds.width()).toBe(382.05995178222656);
});

it('should not exceed the maximum width of the item, and the basic length exceeds, legend item without value', () => {
Expand Down Expand Up @@ -133,7 +133,7 @@ describe('Legend focus layout', () => {
stage.defaultLayer.add(legend as unknown as IGraphic);
stage.render();

expect(legend.AABBBounds.width()).toBe(87.92627607073103);
expect(legend.AABBBounds.width()).toBe(99.92627607073103);
});

it('should calculate when legend item just has label', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,6 @@ describe('DiscreteLegend', () => {
expect(
(legend.getElementsByName('legendItem')[0].getElementsByName('legendItemValue')[0] as IText).attribute
.maxLineWidth
).toBeUndefined();
).toBeCloseTo(49.975);
});
});
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.18.0",
"version": "0.18.1",
"description": "components library for dp visualization",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,8 +24,8 @@
"analysis-core": "bundle -f umd -a -i core.ts"
},
"dependencies": {
"@visactor/vrender-core": "workspace:0.18.0",
"@visactor/vrender-kits": "workspace:0.18.0",
"@visactor/vrender-core": "workspace:0.18.1",
"@visactor/vrender-kits": "workspace:0.18.1",
"@visactor/vutils": "~0.18.1",
"@visactor/vscale": "~0.17.3"
},
Expand Down
Loading

0 comments on commit 2a4fd16

Please sign in to comment.