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.21.9 #1674

Merged
merged 40 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
0e67fd7
fix: fix issue with dirtyBounds incorrectly while set visible
neuqzxy Sep 29, 2024
7b8372c
fix: add clearAABBBounds interface
neuqzxy Sep 29, 2024
9b12fa5
fix: fix issue with dirtyBounds by calc globalAABBBounds
neuqzxy Sep 30, 2024
241e539
fix: fix bug where clearAABBSounds is called when graphic.parent is null
neuqzxy Sep 30, 2024
b293c4c
fix: group bounds valid check ignore visible
neuqzxy Oct 12, 2024
6ae4f59
Merge pull request #1499 from VisActor/develop
neuqzxy Oct 15, 2024
ca44b58
Merge pull request #1480 from VisActor/fix/visible-bounds
neuqzxy Oct 15, 2024
ee55bb1
Merge pull request #1502 from VisActor/develop
neuqzxy Oct 16, 2024
db0155e
build: prelease version 0.21.0-alpha.2
github-actions[bot] Oct 16, 2024
1ca4b70
feat: add gifImage in vrender-components
Rui-Sun Nov 13, 2024
07b1baa
Merge branch 'develop' into feat/gif-image
Rui-Sun Nov 13, 2024
45b6b26
docs: add disableAutoClipedPoptip in text documentation
Rui-Sun Nov 13, 2024
2c6759e
feat: add update in gif-image component
Rui-Sun Nov 13, 2024
3a7e86d
fix: fix gif-canvas clear in GifImage
Rui-Sun Nov 13, 2024
9f1f39c
feat: add animation & name in JSX
Rui-Sun Nov 14, 2024
abb1827
Merge remote-tracking branch 'origin/develop' into feat/gif-image
Rui-Sun Nov 14, 2024
7e6f133
chore: add rush change
Rui-Sun Nov 14, 2024
52a9ece
Merge remote-tracking branch 'origin/pre-release/0.21.0-alpha.2' into…
Rui-Sun Nov 14, 2024
6148c39
feat: move GifImage from vrender-components to vrender-kits
Rui-Sun Nov 18, 2024
cb98cd9
fix: fix issue with animate error when graphic.stage is null
neuqzxy Dec 30, 2024
dbb1b85
Merge remote-tracking branch 'origin/develop' into feat/gif-image
Rui-Sun Jan 3, 2025
a766717
chore: update merge request
Rui-Sun Jan 6, 2025
783f76d
docs: add comments for graphic
xile611 Jan 6, 2025
fb57783
Merge pull request #1551 from VisActor/feat/gif-image
Rui-Sun Jan 6, 2025
9f060b0
Merge pull request #1666 from VisActor/sync/main-0.21.8
xile611 Jan 7, 2025
871cb46
fix: fix duplicate label issue after custom filtering with label data…
xiaoluoHe Jan 7, 2025
67f3537
docs: add changelog
xiaoluoHe Jan 7, 2025
9a73ed5
fix: fix drawShape function in gif-image render
Rui-Sun Jan 8, 2025
3f273af
Merge pull request #1668 from VisActor/fix/gif-image-render
Rui-Sun Jan 8, 2025
672210a
Merge pull request #1664 from VisActor/docs/comments-graphic
xile611 Jan 9, 2025
0462d37
docs: update comments
xile611 Jan 9, 2025
be52f12
fix: fix issue with measureText in lynx env
neuqzxy Jan 9, 2025
20cd045
feat: change effect for connectedType, closed #1660
neuqzxy Jan 10, 2025
9562c1d
Merge pull request #1667 from VisActor/fix/duplicated-label-id
neuqzxy Jan 10, 2025
a20dab5
Merge pull request #1659 from VisActor/fix/animate-with-noStage
neuqzxy Jan 10, 2025
ccca7d0
Merge pull request #1672 from VisActor/fix/lynx-measure
neuqzxy Jan 10, 2025
9e31f03
Merge pull request #1673 from VisActor/feat/line-connect
neuqzxy Jan 10, 2025
0dbcf45
Merge pull request #1669 from VisActor/docs/update-comments
neuqzxy Jan 10, 2025
baf9739
chore: edit change log
neuqzxy Jan 13, 2025
c5a5dd7
build: prelease version 0.21.9
github-actions[bot] Jan 13, 2025
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
38 changes: 25 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.21.8","nextBump":"patch"}]
[{"definitionName":"lockStepVersion","policyName":"vrenderMain","version":"0.21.9","nextBump":"patch"}]
4 changes: 4 additions & 0 deletions docs/assets/api/en/common/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ Roboto,Helvetica,Arial,sans-serif, apple color emoji,segoe ui emoji,segoe ui sym
#${prefix} lineThrough(number) = 0

中划线线粗

#${prefix} disableAutoClipedPoptip(boolean) = false

禁用省略hover展示poptip
4 changes: 4 additions & 0 deletions docs/assets/api/zh/common/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ Roboto,Helvetica,Arial,sans-serif, apple color emoji,segoe ui emoji,segoe ui sym
#${prefix} lineThrough(number) = 0

中划线线粗

#${prefix} disableAutoClipedPoptip(boolean) = false

禁用省略hover展示poptip
4 changes: 4 additions & 0 deletions docs/assets/option/en/common/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ Roboto,Helvetica,Arial,sans-serif, apple color emoji,segoe ui emoji,segoe ui sym
#${prefix} lineThrough(number) = 0

中划线线粗

#${prefix} disableAutoClipedPoptip(boolean) = false

禁用省略hover展示poptip
4 changes: 4 additions & 0 deletions docs/assets/option/zh/common/text.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ Roboto,Helvetica,Arial,sans-serif, apple color emoji,segoe ui emoji,segoe ui sym
#${prefix} lineThrough(number) = 0

中划线线粗

#${prefix} disableAutoClipedPoptip(boolean) = false

禁用省略hover展示poptip
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.3",
"@visactor/vgrammar": "~0.5.7",
"@visactor/vrender": "workspace:0.21.8",
"@visactor/vrender": "workspace:0.21.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.21.9",
"tag": "@visactor/react-vrender-utils_v0.21.9",
"date": "Mon, 13 Jan 2025 03:23:50 GMT",
"comments": {}
},
{
"version": "0.21.8",
"tag": "@visactor/react-vrender-utils_v0.21.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 Mon, 06 Jan 2025 11:07:36 GMT and should not be manually modified.
This log was last generated on Mon, 13 Jan 2025 03:23:50 GMT and should not be manually modified.

## 0.21.9
Mon, 13 Jan 2025 03:23:50 GMT

_Version update only_

## 0.21.8
Mon, 06 Jan 2025 11:07:36 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.21.8",
"version": "0.21.9",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -24,8 +24,8 @@
"react-dom": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.21.8",
"@visactor/react-vrender": "workspace:0.21.8",
"@visactor/vrender": "workspace:0.21.9",
"@visactor/react-vrender": "workspace:0.21.9",
"@visactor/vutils": "~0.19.3",
"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.21.9",
"tag": "@visactor/react-vrender_v0.21.9",
"date": "Mon, 13 Jan 2025 03:23:50 GMT",
"comments": {}
},
{
"version": "0.21.8",
"tag": "@visactor/react-vrender_v0.21.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 Mon, 06 Jan 2025 11:07:36 GMT and should not be manually modified.
This log was last generated on Mon, 13 Jan 2025 03:23:50 GMT and should not be manually modified.

## 0.21.9
Mon, 13 Jan 2025 03:23:50 GMT

_Version update only_

## 0.21.8
Mon, 06 Jan 2025 11:07:36 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.21.8",
"version": "0.21.9",
"description": "",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -23,7 +23,7 @@
"react": "^18.2.0"
},
"dependencies": {
"@visactor/vrender": "workspace:0.21.8",
"@visactor/vrender": "workspace:0.21.9",
"@visactor/vutils": "~0.19.3",
"react-reconciler": "^0.29.0",
"tslib": "^2.3.1"
Expand Down
15 changes: 15 additions & 0 deletions packages/vrender-components/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
{
"name": "@visactor/vrender-components",
"entries": [
{
"version": "0.21.9",
"tag": "@visactor/vrender-components_v0.21.9",
"date": "Mon, 13 Jan 2025 03:23:50 GMT",
"comments": {
"none": [
{
"comment": "feat: add GifImage component"
},
{
"comment": "fix: fix duplicate label issue after custom filtering with label dataFilter"
}
]
}
},
{
"version": "0.21.8",
"tag": "@visactor/vrender-components_v0.21.8",
Expand Down
10 changes: 9 additions & 1 deletion packages/vrender-components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# Change Log - @visactor/vrender-components

This log was last generated on Mon, 06 Jan 2025 11:07:36 GMT and should not be manually modified.
This log was last generated on Mon, 13 Jan 2025 03:23:50 GMT and should not be manually modified.

## 0.21.9
Mon, 13 Jan 2025 03:23:50 GMT

### Updates

- feat: add GifImage component
- fix: fix duplicate label issue after custom filtering with label dataFilter

## 0.21.8
Mon, 06 Jan 2025 11:07:36 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.21.8",
"version": "0.21.9",
"description": "components library for dp visualization",
"sideEffects": false,
"main": "cjs/index.js",
Expand All @@ -27,8 +27,8 @@
"dependencies": {
"@visactor/vutils": "~0.19.3",
"@visactor/vscale": "~0.19.3",
"@visactor/vrender-core": "workspace:0.21.8",
"@visactor/vrender-kits": "workspace:0.21.8"
"@visactor/vrender-core": "workspace:0.21.9",
"@visactor/vrender-kits": "workspace:0.21.9"
},
"devDependencies": {
"@internal/bundler": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/vrender-components/src/axis/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,13 @@ export interface AxisLabelOverlap {
overflowLimitLength?:
| number
| {
/**
* 左侧扩充空间的大小
*/
left?: number;
/**
* 右侧扩充空间的大小
*/
right?: number;
// top?: number;
// bottom?: number;
Expand Down
18 changes: 18 additions & 0 deletions packages/vrender-components/src/core/type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,21 @@ export type Padding =
| number
| number[]
| {
/**
* 上边距
*/
top?: number;
/**
* 下边距
*/
bottom?: number;
/**
* 左边距
*/
left?: number;
/**
* 右边距
*/
right?: number;
};

Expand All @@ -65,7 +77,13 @@ type CommonTextContent = {
| number
| number[]
| {
/**
* 指定文本节点类型为'text'
*/
type?: 'text';
/**
* 设置文本的内容
*/
text: string | string[] | number | number[];
};
};
Expand Down
6 changes: 6 additions & 0 deletions packages/vrender-components/src/label/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,12 @@ export class LabelBase<T extends BaseLabelAttrs> extends AbstractComponent<T> {
data = dataFilter(data);
}

if (data && data.length) {
// 数据保护,防止重复 id 造成不可预知的问题
const seenIds = new Set();
data = data.filter(d => !seenIds.has(d.id) && seenIds.add(d.id));
}

let labels: (IText | IRichText)[] = this._initText(data);

if (isFunction(customLayoutFunc)) {
Expand Down
Loading
Loading