Skip to content

Commit 1cadc1c

Browse files
committed
feat: upgrade vrender to 1.0.10
1 parent 30c53fc commit 1cadc1c

File tree

9 files changed

+91
-84
lines changed

9 files changed

+91
-84
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 52 additions & 52 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"@visactor/vchart-theme": "~1.6.6",
2020
"@visactor/vmind": "1.2.4-alpha.5",
2121
"@visactor/vutils": "~1.0.9",
22-
"@visactor/vrender": "1.0.9",
23-
"@visactor/vrender-kits": "1.0.9",
22+
"@visactor/vrender": "1.0.10",
23+
"@visactor/vrender-kits": "1.0.10",
2424
"@visactor/vtable": "1.19.0-alpha.0",
2525
"@visactor/vtable-editors": "1.19.0-alpha.0",
2626
"@visactor/vtable-gantt": "1.19.0-alpha.0",
@@ -58,4 +58,4 @@
5858
"react-device-detect": "^2.2.2",
5959
"minimist": "1.2.8"
6060
}
61-
}
61+
}

packages/openinula-vchart/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"dependencies": {
3131
"@visactor/vchart": "workspace:2.0.1",
3232
"@visactor/vutils": "~1.0.9",
33-
"@visactor/vrender-core": "1.0.9",
34-
"@visactor/vrender-kits": "1.0.9",
33+
"@visactor/vrender-core": "1.0.10",
34+
"@visactor/vrender-kits": "1.0.10",
3535
"react-is": "^18.2.0"
3636
},
3737
"devDependencies": {
@@ -78,4 +78,4 @@
7878
"access": "public",
7979
"registry": "https://registry.npmjs.org/"
8080
}
81-
}
81+
}

packages/react-vchart/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
"@visactor/vchart": "workspace:2.0.1",
3232
"@visactor/vchart-extension": "workspace:2.0.1",
3333
"@visactor/vutils": "~1.0.9",
34-
"@visactor/vrender-core": "1.0.9",
35-
"@visactor/vrender-kits": "1.0.9",
34+
"@visactor/vrender-core": "1.0.10",
35+
"@visactor/vrender-kits": "1.0.10",
3636
"react-is": "^18.2.0"
3737
},
3838
"devDependencies": {
@@ -83,4 +83,4 @@
8383
"access": "public",
8484
"registry": "https://registry.npmjs.org/"
8585
}
86-
}
86+
}

packages/vchart-extension/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"start": "ts-node __tests__/runtime/browser/scripts/initVite.ts && vite serve __tests__/runtime/browser"
2222
},
2323
"dependencies": {
24-
"@visactor/vrender-core": "1.0.9",
25-
"@visactor/vrender-kits": "1.0.9",
26-
"@visactor/vrender-components": "1.0.9",
27-
"@visactor/vrender-animate": "1.0.9",
24+
"@visactor/vrender-core": "1.0.10",
25+
"@visactor/vrender-kits": "1.0.10",
26+
"@visactor/vrender-components": "1.0.10",
27+
"@visactor/vrender-animate": "1.0.10",
2828
"@visactor/vutils": "~1.0.9",
2929
"@visactor/vdataset": "~1.0.9",
3030
"@visactor/vlayouts": "~1.0.9",
@@ -61,4 +61,4 @@
6161
"registry": "https://registry.npmjs.org/"
6262
},
6363
"license": "MIT"
64-
}
64+
}

packages/vchart-extension/src/charts/compare-sankey/compare-sankey.ts

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -323,12 +323,19 @@ export class CompareSankeySeries extends SankeySeries<ICompareSankeySeriesSpecBa
323323

324324
// 同时需要清除 hover
325325
const allNodeElements = this._nodeMark.getGraphics();
326-
if (!allNodeElements || !allNodeElements.length) {
327-
return;
326+
if (allNodeElements || !allNodeElements.length) {
327+
allNodeElements.forEach(el => {
328+
el.removeState(STATE_VALUE_ENUM.STATE_HOVER);
329+
});
330+
}
331+
332+
// 同时需要清除 hover
333+
const allLinkElements = this._linkMark.getGraphics();
334+
if (allLinkElements || !allLinkElements.length) {
335+
allLinkElements.forEach(el => {
336+
el.removeState(STATE_VALUE_ENUM.STATE_HOVER);
337+
});
328338
}
329-
allNodeElements.forEach(el => {
330-
el.removeState(STATE_VALUE_ENUM.STATE_HOVER);
331-
});
332339
}
333340
}
334341

packages/vchart/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,14 +122,14 @@
122122
"@visactor/vdataset": "~1.0.9",
123123
"@visactor/vscale": "~1.0.9",
124124
"@visactor/vlayouts": "~1.0.9",
125-
"@visactor/vrender-core": "1.0.9",
126-
"@visactor/vrender-kits": "1.0.9",
127-
"@visactor/vrender-components": "1.0.9",
128-
"@visactor/vrender-animate": "1.0.9",
125+
"@visactor/vrender-core": "1.0.10",
126+
"@visactor/vrender-kits": "1.0.10",
127+
"@visactor/vrender-components": "1.0.10",
128+
"@visactor/vrender-animate": "1.0.10",
129129
"@visactor/vutils-extension": "workspace:2.0.1"
130130
},
131131
"publishConfig": {
132132
"access": "public",
133133
"registry": "https://registry.npmjs.org/"
134134
}
135-
}
135+
}

packages/vstory/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
},
2222
"dependencies": {
2323
"@visactor/vchart": "workspace:1.11.0",
24-
"@visactor/vrender-core": "1.0.9",
25-
"@visactor/vrender-kits": "1.0.9",
26-
"@visactor/vrender-components": "1.0.9",
24+
"@visactor/vrender-core": "1.0.10",
25+
"@visactor/vrender-kits": "1.0.10",
26+
"@visactor/vrender-components": "1.0.10",
2727
"@visactor/vutils": "~1.0.9"
2828
},
2929
"devDependencies": {
@@ -42,4 +42,4 @@
4242
"vite": "3.2.6",
4343
"typescript": "4.9.5"
4444
}
45-
}
45+
}

tools/story-player/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
"vite": "3.2.6"
5757
},
5858
"dependencies": {
59-
"@visactor/vrender-core": "1.0.9",
60-
"@visactor/vrender-kits": "1.0.9",
59+
"@visactor/vrender-core": "1.0.10",
60+
"@visactor/vrender-kits": "1.0.10",
6161
"@visactor/vchart": "workspace:2.0.1",
62-
"@visactor/vrender": "1.0.9",
62+
"@visactor/vrender": "1.0.10",
6363
"@visactor/vutils": "~1.0.9"
6464
}
65-
}
65+
}

0 commit comments

Comments
 (0)