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.20.0 #1381

Merged
merged 88 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
30bfa59
style: remove some useless codes
xile611 Jun 13, 2024
2e669b4
fix: remove useless code in line-render
xile611 Jun 14, 2024
a3940a8
refactor: add registers of 3d related modules
xile611 Jun 14, 2024
3a86cdd
refactor: html-attribute-plugin and react-attribute-plugin refactor t…
xile611 Jun 14, 2024
1b1dbf5
refactor: refactor duplicated code in rect-contribution-render
xile611 Jun 14, 2024
7dd844f
refactor: reduce duplicated code in render
xile611 Jun 14, 2024
272d258
refactor: remove `tryUpdateOBBBounds()`
xile611 Jun 24, 2024
2bbb2b6
refactor: remove OBBBounds temp
xile611 Jun 24, 2024
0e9c7b8
refactor: remove some duplicated codes in text-render
xile611 Jun 24, 2024
5225eac
fix: fix error name of `registerHtmlAttributePlugin`
xile611 Jul 19, 2024
81a54eb
Merge pull request #1265 from VisActor/refactor/optimize-bundle-size
xile611 Jul 19, 2024
b568fad
refactor: optimize some utils in matrix
xile611 Jun 24, 2024
3728604
refactor: optimize size of axis/ and label/
xile611 Jun 24, 2024
6bef4f1
refactor: use `getContextFont` and `isPointInLine` of vutils
xile611 Jul 17, 2024
618ed98
refactor: reduce repeated code of pickers
xile611 Jul 17, 2024
5ed7098
refactor: reduce duplicated code between math-picker and canvas-picker
xile611 Jul 17, 2024
24ff5c9
refactor: remove duplicated code in base-player
xile611 Jul 17, 2024
f8289e7
refactor: remove duplicated code in render-curve
xile611 Jul 17, 2024
bda918d
refactor: reduce duplicated in canvas picker
xile611 Jul 23, 2024
2fa6f91
refactor: reduce duplicated code in 3d renderer
xile611 Jul 24, 2024
aa357cb
refactor: reduce duplicated code in poptip plugin
xile611 Jul 24, 2024
9544b18
refactor: reduce duplicated code about identity
xile611 Jul 25, 2024
6b78cc0
refactor: reduce duplicated code in symbol-render
xile611 Jul 25, 2024
cb20fcc
refactor: reduce duplicated code of glyph-picker
xile611 Jul 25, 2024
7517a56
refactor: optimize duplicated code in sort
xile611 Jul 25, 2024
9e6979b
refactor: add rough base
xile611 Jul 25, 2024
9042381
refactor: optimize richtest utils
xile611 Jul 26, 2024
c2210cf
refactor: optimize aix grid component
xile611 Jul 26, 2024
798b733
refactor: optimize CustomSymbolClass about duplicted code
xile611 Jul 29, 2024
3f45f5f
fix: not use array to change values
xile611 Jul 31, 2024
8f0e21c
refactor: reduce duplicated code of angle
xile611 Aug 1, 2024
a72d002
Merge pull request #1310 from VisActor/refactor/reduce-repeated-code
xile611 Aug 1, 2024
31b116d
Merge pull request #1274 from VisActor/size/optimize-vrender-components
xile611 Aug 1, 2024
9178ecd
fix: fix conflicts with develop 0.19.19
xile611 Aug 1, 2024
1d8fc1f
fix: fix conflicts with develop 0.19.20
xile611 Aug 1, 2024
974ef50
refactor: reduce some unneed module
xile611 Aug 2, 2024
4ab6aee
refactor: add `registerViewTransform3dPlugin`
xile611 Aug 2, 2024
1329992
refactor: add `registerFlexLayoutPlugin`
xile611 Aug 2, 2024
ee937b6
fix: fix registers of vrender
xile611 Aug 5, 2024
3b1e78a
fix: fix registers of vrender-components
xile611 Aug 5, 2024
6c069c1
Merge pull request #1332 from VisActor/refactor/reduce-ticker
xile611 Aug 6, 2024
e64bad0
refactor: optimize cornerRadius parse of arc
xile611 Aug 6, 2024
827a36a
docs: update changlog of rush
xile611 Aug 6, 2024
d0f3946
fix: optimize triangle symbols
xile611 Aug 6, 2024
95a6e01
docs: update changlog of rush
xile611 Aug 6, 2024
2f8a7a6
feat: set width limit in arc richtext labels
xiaoluoHe Aug 6, 2024
7bb13c5
Merge pull request #1340 from VisActor/refactor/built-in-symbols
xile611 Aug 6, 2024
8fbfdf2
Merge pull request #1348 from VisActor/refactor/optimize-arc
xile611 Aug 6, 2024
4d5a245
fix: fix conflicts width develop 0.19.23
xile611 Aug 6, 2024
c217528
fix: fix bug of auto-render when remove some graphics
xile611 Aug 7, 2024
b69ba9a
docs: update changlog of rush
xile611 Aug 7, 2024
c4abeb9
Merge pull request #1354 from VisActor/fix/auto-render-when-remove
xile611 Aug 7, 2024
5d1f263
refactor: refactor graphic-service
xile611 Aug 2, 2024
28c36a1
fix: fix type error of graphics
xile611 Aug 2, 2024
d2044d6
fix: fix updateAABBBounds()
xile611 Aug 2, 2024
abf0e6f
refactor: update AABBBounds
xile611 Aug 2, 2024
d99e53f
refactor: update duplicated codes
xile611 Aug 2, 2024
17f747d
fix: fix type error
xile611 Aug 3, 2024
ad84924
fix: fix type error of types
xile611 Aug 5, 2024
b72bcb4
fix: fix `doUpdateAABBBounds` of graphic
xile611 Aug 6, 2024
e963980
fix: fix thin-triangle
xile611 Aug 6, 2024
7b0a185
fix: fix symbol-renderer
xile611 Aug 7, 2024
74441dc
fix: fix wrong cache of path render
xile611 Aug 8, 2024
0c49d32
Merge pull request #1331 from VisActor/refactor/updateAABBounds
xile611 Aug 9, 2024
ce0ab42
refactor: remove polyfill from reflect-metadata
neuqzxy Aug 9, 2024
95a5179
Merge pull request #1366 from VisActor/refactor/minify-reflect-metadata
xile611 Aug 12, 2024
aae10b8
fix: arc label line color should follow arc mark
xiaoluoHe Aug 13, 2024
73e5b36
docs: update changelog
xiaoluoHe Aug 13, 2024
9b7f37b
fix: label line customShape
xiaoluoHe Aug 13, 2024
2f7a83e
fix: fix issue with timeline animate duration compute
neuqzxy Aug 13, 2024
3ead680
Merge pull request #1374 from VisActor/sync/main-0.19.24
neuqzxy Aug 13, 2024
b335b6f
Merge branch 'develop' into fix/timeline-animate
neuqzxy Aug 13, 2024
2553f93
feat: symbol animate by size
neuqzxy Aug 13, 2024
659eca2
docs: generate changelog of release v0.19.24
xile611 Aug 14, 2024
6723c28
Merge pull request #1376 from VisActor/docs/generate-changelog-v0.19.24
neuqzxy Aug 14, 2024
f921fb1
Merge pull request #1358 from VisActor/feat/arc-label-richtext-width-…
xile611 Aug 15, 2024
9703dc7
Merge pull request #1375 from VisActor/fix/timeline-animate
xile611 Aug 15, 2024
2223d35
fix: set container pick false to allow tooltip interactive
skie1997 Aug 13, 2024
0499df9
chore: rush change
skie1997 Aug 13, 2024
47e9f5b
feat: update vutils/vscale version to support custom callback in tick…
666haiwen Aug 15, 2024
c36e47d
fix: update customTicksFunction type to continues
666haiwen Aug 15, 2024
285fa4a
fix: remove useless pnpm config in packages.json
666haiwen Aug 15, 2024
d7161ab
Merge pull request #1378 from 666haiwen/feat/tickMode
xile611 Aug 15, 2024
398a4c4
fix: merge develop 0.19.24
xile611 Aug 15, 2024
9c84a7a
Merge pull request #1379 from VisActor/fix/axis-container-pickable
xile611 Aug 15, 2024
353e960
Merge remote-tracking branch 'origin/develop' into dev/0.20.0
xile611 Aug 15, 2024
58090f7
Merge pull request #1380 from VisActor/sync/develop-0.19.24
xile611 Aug 15, 2024
7a2db5a
build: prelease version 0.20.0
github-actions[bot] Aug 15, 2024
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
1,628 changes: 850 additions & 778 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":"vrenderMain","version":"0.19.24","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"0.20.0","nextBump":"minor"}]
31 changes: 31 additions & 0 deletions docs/assets/changelog/en/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
# v0.19.24

2024-08-14


**🆕 New feature**

- **@visactor/vrender-components**: support polygon of circle-axis
- **@visactor/vrender-core**: support polygon of circle-axis
- **@visactor/vrender-core**: support rect corner array with array stroke
- **@visactor/vrender**: support polygon of circle-axis

**🐛 Bug fix**

- **@visactor/vrender-components**: fix wrong stroke style is applied to area
- **@visactor/vrender-components**: improve slightly the accuracy of the pager size calculation, related [#3045](https://github.com/VisActor/VRender/issues/3045)
- **@visactor/vrender-components**: fix issue with timeline appearAnimate opacity attr prevented by next animate
- **@visactor/vrender-kits**: fix wrong stroke style is applied to area
- **@visactor/vrender-core**: fix wrong stroke style is applied to area
- **@visactor/vrender-core**: fix issue with baseOpacity equal to 0
- **@visactor/vrender-core**: fix edge and corner stroke in createRectPath()
- **@visactor/vrender-core**: fix issue with shadow group matrix
- **@visactor/vrender-core**: fix issue with disableAutoWrapLine
- **@visactor/vrender-core**: fix richtext icon pick range [#1362](https://github.com/VisActor/VRender/issues/1362)
- **@visactor/vrender-core**: fix issue with richtext attribute update
- **@visactor/vrender**: fix wrong stroke style is applied to area



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


# v0.19.23

Expand Down
31 changes: 31 additions & 0 deletions docs/assets/changelog/zh/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
# v0.19.24

2024-08-14


**🆕 新增功能**

- **@visactor/vrender-components**: support polygon of circle-axis
- **@visactor/vrender-core**: support polygon of circle-axis
- **@visactor/vrender-core**: support rect corner array with array stroke
- **@visactor/vrender**: support polygon of circle-axis

**🐛 功能修复**

- **@visactor/vrender-components**: fix wrong stroke style is applied to area
- **@visactor/vrender-components**: improve slightly the accuracy of the pager size calculation, related [#3045](https://github.com/VisActor/VRender/issues/3045)
- **@visactor/vrender-components**: fix issue with timeline appearAnimate opacity attr prevented by next animate
- **@visactor/vrender-kits**: fix wrong stroke style is applied to area
- **@visactor/vrender-core**: fix wrong stroke style is applied to area
- **@visactor/vrender-core**: fix issue with baseOpacity equal to 0
- **@visactor/vrender-core**: fix edge and corner stroke in createRectPath()
- **@visactor/vrender-core**: fix issue with shadow group matrix
- **@visactor/vrender-core**: fix issue with disableAutoWrapLine
- **@visactor/vrender-core**: fix richtext icon pick range [#1362](https://github.com/VisActor/VRender/issues/1362)
- **@visactor/vrender-core**: fix issue with richtext attribute update
- **@visactor/vrender**: fix wrong stroke style is applied to area



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


# v0.19.23

Expand Down
2 changes: 1 addition & 1 deletion docs/demos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@internal/eslint-config": "workspace:*",
"@internal/ts-config": "workspace:*",
"@visactor/vrender-kits": "workspace:0.14.8",
"@visactor/vutils": "~0.18.10",
"@visactor/vutils": "~0.18.14",
"d3-scale-chromatic": "^3.0.0",
"lodash": "4.17.21",
"dat.gui": "^0.7.9",
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"dependencies": {
"@arco-design/web-react": "2.46.1",
"@visactor/vchart": "1.3.0",
"@visactor/vutils": "~0.18.10",
"@visactor/vutils": "~0.18.14",
"@visactor/vgrammar": "~0.5.7",
"@visactor/vrender": "workspace:0.19.24",
"@visactor/vrender": "workspace:0.20.0",
"markdown-it": "^13.0.0",
"highlight.js": "^11.8.0",
"axios": "^1.4.0",
Expand Down
18 changes: 18 additions & 0 deletions packages/react-vrender-utils/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
{
"name": "@visactor/react-vrender-utils",
"entries": [
{
"version": "0.20.0",
"tag": "@visactor/react-vrender-utils_v0.20.0",
"date": "Thu, 15 Aug 2024 07:26:54 GMT",
"comments": {
"none": [
{
"comment": "fix: fix bug of auto-render when remove some graphics\n\n"
},
{
"comment": "fix: optimize triangle symbols\n\n"
},
{
"comment": "refactor: optimize cornerRadius parse of arc\n\n"
}
]
}
},
{
"version": "0.19.24",
"tag": "@visactor/react-vrender-utils_v0.19.24",
Expand Down
17 changes: 16 additions & 1 deletion packages/react-vrender-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Change Log - @visactor/react-vrender-utils

This log was last generated on Tue, 13 Aug 2024 07:47:29 GMT and should not be manually modified.
This log was last generated on Thu, 15 Aug 2024 07:26:54 GMT and should not be manually modified.

## 0.20.0
Thu, 15 Aug 2024 07:26:54 GMT

### Updates

- fix: fix bug of auto-render when remove some graphics


- fix: optimize triangle symbols


- refactor: optimize cornerRadius parse of arc



## 0.19.24
Tue, 13 Aug 2024 07:47:29 GMT
Expand Down
8 changes: 4 additions & 4 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.24",
"version": "0.20.0",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,9 +24,9 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.19.24",
"@visactor/react-vrender": "workspace:0.19.24",
"@visactor/vutils": "~0.18.10",
"@visactor/vrender": "workspace:0.20.0",
"@visactor/react-vrender": "workspace:0.20.0",
"@visactor/vutils": "~0.18.14",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
},
Expand Down
18 changes: 18 additions & 0 deletions packages/react-vrender/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
{
"name": "@visactor/react-vrender",
"entries": [
{
"version": "0.20.0",
"tag": "@visactor/react-vrender_v0.20.0",
"date": "Thu, 15 Aug 2024 07:26:54 GMT",
"comments": {
"none": [
{
"comment": "fix: fix bug of auto-render when remove some graphics\n\n"
},
{
"comment": "fix: optimize triangle symbols\n\n"
},
{
"comment": "refactor: optimize cornerRadius parse of arc\n\n"
}
]
}
},
{
"version": "0.19.24",
"tag": "@visactor/react-vrender_v0.19.24",
Expand Down
17 changes: 16 additions & 1 deletion packages/react-vrender/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Change Log - @visactor/react-vrender

This log was last generated on Tue, 13 Aug 2024 07:47:29 GMT and should not be manually modified.
This log was last generated on Thu, 15 Aug 2024 07:26:54 GMT and should not be manually modified.

## 0.20.0
Thu, 15 Aug 2024 07:26:54 GMT

### Updates

- fix: fix bug of auto-render when remove some graphics


- fix: optimize triangle symbols


- refactor: optimize cornerRadius parse of arc



## 0.19.24
Tue, 13 Aug 2024 07:47:29 GMT
Expand Down
6 changes: 3 additions & 3 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.24",
"version": "0.20.0",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -23,8 +23,8 @@
"react": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.19.24",
"@visactor/vutils": "~0.18.10",
"@visactor/vrender": "workspace:0.20.0",
"@visactor/vutils": "~0.18.14",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
},
Expand Down
27 changes: 27 additions & 0 deletions packages/vrender-components/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
{
"name": "@visactor/vrender-components",
"entries": [
{
"version": "0.20.0",
"tag": "@visactor/vrender-components_v0.20.0",
"date": "Thu, 15 Aug 2024 07:26:54 GMT",
"comments": {
"none": [
{
"comment": "fix: arc label line color should follow arc mark by default, related #3067"
},
{
"comment": "fix: fix bug of auto-render when remove some graphics\n\n"
},
{
"comment": "fix: set container pick false to allow tooltip interactive"
},
{
"comment": "fix: fix issue with timeline animate duration compute"
},
{
"comment": "fix: optimize triangle symbols\n\n"
},
{
"comment": "refactor: optimize cornerRadius parse of arc\n\n"
}
]
}
},
{
"version": "0.19.24",
"tag": "@visactor/vrender-components_v0.19.24",
Expand Down
20 changes: 19 additions & 1 deletion packages/vrender-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
# Change Log - @visactor/vrender-components

This log was last generated on Tue, 13 Aug 2024 07:47:29 GMT and should not be manually modified.
This log was last generated on Thu, 15 Aug 2024 07:26:54 GMT and should not be manually modified.

## 0.20.0
Thu, 15 Aug 2024 07:26:54 GMT

### Updates

- fix: arc label line color should follow arc mark by default, related #3067
- fix: fix bug of auto-render when remove some graphics


- fix: set container pick false to allow tooltip interactive
- fix: fix issue with timeline animate duration compute
- fix: optimize triangle symbols


- refactor: optimize cornerRadius parse of arc



## 0.19.24
Tue, 13 Aug 2024 07:47:29 GMT
Expand Down
30 changes: 30 additions & 0 deletions packages/vrender-components/__tests__/unit/axis/tick.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { LinearScale, wilkinsonExtended } from '@visactor/vscale';
import { ticks } from '../../../src';

test('Custom Line Ticks', () => {
const s = new LinearScale().domain([0, 100]).range([500, 1000]);
expect(
ticks(s, {
coordinateType: 'cartesian',
axisOrientType: 'bottom',
labelStyle: {},
tickCount: 5,
tickMode: (scale, count) => {
const d = scale.calculateVisibleDomain(scale.get('_range'));
return wilkinsonExtended(d[0], d[1], count);
}
}).map(tick => tick.value)
).toStrictEqual([0, 25, 50, 75, 100]);
});

test('Normal Line Ticks', () => {
const s = new LinearScale().domain([0, 100]).range([500, 1000]);
expect(
ticks(s, {
coordinateType: 'cartesian',
axisOrientType: 'bottom',
labelStyle: {},
tickCount: 5
}).map(tick => tick.value)
).toStrictEqual([0, 20, 40, 60, 80, 100]);
});
12 changes: 6 additions & 6 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.24",
"version": "0.20.0",
"description": "components library for dp visualization",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,17 +24,17 @@
"analysis-core": "cross-env DEBUG='Bundler*' bundle -f umd -a -i core.ts"
},
"dependencies": {
"@visactor/vrender-core": "workspace:0.19.24",
"@visactor/vrender-kits": "workspace:0.19.24",
"@visactor/vutils": "~0.18.10",
"@visactor/vscale": "~0.18.9"
"@visactor/vrender-core": "workspace:0.20.0",
"@visactor/vrender-kits": "workspace:0.20.0",
"@visactor/vutils": "~0.18.14",
"@visactor/vscale": "~0.18.14"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
"@internal/eslint-config": "workspace:*",
"@internal/ts-config": "workspace:*",
"@rushstack/eslint-patch": "~1.1.4",
"@visactor/vscale": "~0.18.9",
"@visactor/vscale": "~0.18.14",
"@types/jest": "^26.0.0",
"jest": "^26.0.0",
"jest-electron": "^0.1.12",
Expand Down
2 changes: 0 additions & 2 deletions packages/vrender-components/src/axis/animate/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
export * from './group-transition';

export * from './group-fade';
6 changes: 3 additions & 3 deletions packages/vrender-components/src/axis/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import { abs, cloneDeep, get, isEmpty, isFunction, isNumberClose, merge, pi } fr
import { AbstractComponent } from '../core/base';
import type { Point } from '../core/type';
import type { TagAttributes } from '../tag';
import { createTextGraphicByType, traverseGroup } from '../util';
import { DEFAULT_STATES, StateValue } from '../constant';
import { createTextGraphicByType } from '../util';
import { DEFAULT_STATES } from '../constant';
import { AXIS_ELEMENT_NAME } from './constant';
import { DEFAULT_AXIS_THEME } from './config';
import type {
Expand Down Expand Up @@ -164,7 +164,7 @@ export abstract class AxisBase<T extends AxisBaseAttributes> extends AbstractCom
protected _renderInner(container: IGroup) {
const { title, label, tick, line, items } = this.attribute;

const axisContainer = graphicCreator.group({ x: 0, y: 0, zIndex: 1 });
const axisContainer = graphicCreator.group({ x: 0, y: 0, zIndex: 1, pickable: false });
axisContainer.name = AXIS_ELEMENT_NAME.axisContainer;
axisContainer.id = this._getNodeId('container');
axisContainer.setMode(this.mode);
Expand Down
Loading
Loading