@publishfx/publish-chart 2.1.35 → 2.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ **2.1.36** feat(chart): 组合图tooltip优化 m-6854368983
2
+ - 2026-06-09T11:17:39+08:00 [feat(chart): 组合图tooltip优化 m-6854368983](http://lf.git.oa.mt/publish_platform/web/publish/commit/9494d57a415c8b86ab79a1ed2e671b1390c514a6)
3
+
4
+ **2.1.35** fix(chart): 组合图需要highlightDate依赖侦听
5
+ - 2026-03-19T19:24:40+08:00 [fix(chart): 组合图需要highlightDate依赖侦听](http://lf.git.oa.mt/publish_platform/web/publish/commit/5bd7170d6dd7707c06a7a14f944a8317642ccf2f)
6
+
1
7
  **2.1.35** fix(chart): 组合图需要highlightDate依赖侦听
2
8
  - 2026-03-19T19:24:40+08:00 [fix(chart): 组合图需要highlightDate依赖侦听](http://lf.git.oa.mt/publish_platform/web/publish/commit/5bd7170d6dd7707c06a7a14f944a8317642ccf2f)
3
9
 
@@ -259,6 +259,7 @@ function renderG2CombineChart(container, options) {
259
259
  shared: true,
260
260
  crosshairsY: true,
261
261
  marker: false,
262
+ mount: 'body',
262
263
  render: (_event, payload)=>{
263
264
  const { title, items } = payload;
264
265
  let safeTitle = title.replace(/,.*$/, '');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@publishfx/publish-chart",
3
- "version": "2.1.35",
3
+ "version": "2.1.36",
4
4
  "description": "A React chart component library for the Publish platform, including BarChart, LineChart, BarLineChart and other visualization components",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -24,10 +24,20 @@
24
24
  "CHANGELOG.md",
25
25
  "README.md"
26
26
  ],
27
+ "scripts": {
28
+ "build": "rslib build",
29
+ "dev": "rslib build --watch",
30
+ "lint": "eslint src --ext .ts,.tsx",
31
+ "lint:fix": "eslint src --ext .ts,.tsx --fix",
32
+ "test": "jest",
33
+ "test:watch": "jest --watch",
34
+ "test:coverage": "jest --coverage"
35
+ },
27
36
  "devDependencies": {
28
37
  "@antv/data-set": "^0.11.8",
29
38
  "@antv/g-pattern": "^2.0.42",
30
39
  "@antv/g2": "^5.3.0",
40
+ "@publishfx/publish-components": "workspace:^",
31
41
  "@types/jest": "^29.5.12",
32
42
  "@types/lodash": "^4.17.20",
33
43
  "@types/react": "^18.3.18",
@@ -45,8 +55,7 @@
45
55
  "react-dom": "^18.3.1",
46
56
  "styled-components": "^5.3.11",
47
57
  "ts-jest": "^29.1.2",
48
- "typescript": "^5.9.3",
49
- "@publishfx/publish-components": "^2.1.0"
58
+ "typescript": "^5.9.3"
50
59
  },
51
60
  "peerDependencies": {
52
61
  "@antv/data-set": "^0.11.8",
@@ -62,14 +71,5 @@
62
71
  "publishConfig": {
63
72
  "access": "public",
64
73
  "registry": "https://registry.npmjs.org/"
65
- },
66
- "scripts": {
67
- "build": "rslib build",
68
- "dev": "rslib build --watch",
69
- "lint": "eslint src --ext .ts,.tsx",
70
- "lint:fix": "eslint src --ext .ts,.tsx --fix",
71
- "test": "jest",
72
- "test:watch": "jest --watch",
73
- "test:coverage": "jest --coverage"
74
74
  }
75
- }
75
+ }