@antv/g2 5.1.5 → 5.1.6-beta.1
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 +36 -67
- package/dist/g2.full.min.js +1 -1
- package/dist/g2.lite.min.js +1 -1
- package/dist/g2.min.js +1 -1
- package/esm/api/utils.d.ts +0 -4
- package/esm/api/utils.js +4 -3
- package/esm/api/utils.js.map +1 -1
- package/esm/component/axis.js +1 -1
- package/esm/component/axis.js.map +1 -1
- package/esm/component/legendCategory.js +1 -1
- package/esm/component/legendCategory.js.map +1 -1
- package/esm/component/legendContinuous.js +1 -1
- package/esm/component/legendContinuous.js.map +1 -1
- package/esm/component/scrollbar.js +1 -1
- package/esm/component/scrollbar.js.map +1 -1
- package/esm/component/slider.js +1 -1
- package/esm/component/slider.js.map +1 -1
- package/esm/component/utils.d.ts +1 -1
- package/esm/component/utils.js +1 -1
- package/esm/component/utils.js.map +1 -1
- package/esm/interaction/scrollbarFilter.js +8 -10
- package/esm/interaction/scrollbarFilter.js.map +1 -1
- package/esm/interaction/sliderFilter.d.ts +1 -1
- package/esm/interaction/sliderFilter.js +14 -17
- package/esm/interaction/sliderFilter.js.map +1 -1
- package/esm/interaction/tooltip.js +1 -1
- package/esm/interaction/tooltip.js.map +1 -1
- package/esm/shape/connector/connector.js +1 -1
- package/esm/shape/connector/connector.js.map +1 -1
- package/esm/shape/text/advance.js +1 -1
- package/esm/shape/text/advance.js.map +1 -1
- package/esm/shape/text/badge.js +1 -1
- package/esm/shape/text/badge.js.map +1 -1
- package/esm/spec/interaction.d.ts +1 -1
- package/esm/theme/academy.d.ts +17 -0
- package/esm/theme/academy.js +27 -4
- package/esm/theme/academy.js.map +1 -1
- package/esm/theme/dark.d.ts +17 -0
- package/esm/theme/dark.js +3 -2
- package/esm/theme/dark.js.map +1 -1
- package/esm/theme/light.d.ts +17 -0
- package/esm/theme/light.js +4 -3
- package/esm/theme/light.js.map +1 -1
- package/esm/utils/size.js +0 -1
- package/esm/utils/size.js.map +1 -1
- package/lib/api/utils.d.ts +0 -4
- package/lib/api/utils.js +4 -3
- package/lib/api/utils.js.map +1 -1
- package/lib/component/axis.js +3 -3
- package/lib/component/axis.js.map +1 -1
- package/lib/component/legendCategory.js +2 -2
- package/lib/component/legendCategory.js.map +1 -1
- package/lib/component/legendContinuous.js +2 -2
- package/lib/component/legendContinuous.js.map +1 -1
- package/lib/component/scrollbar.js +2 -2
- package/lib/component/scrollbar.js.map +1 -1
- package/lib/component/slider.js +2 -2
- package/lib/component/slider.js.map +1 -1
- package/lib/component/utils.d.ts +1 -1
- package/lib/component/utils.js +2 -2
- package/lib/component/utils.js.map +1 -1
- package/lib/interaction/scrollbarFilter.js +8 -10
- package/lib/interaction/scrollbarFilter.js.map +1 -1
- package/lib/interaction/sliderFilter.d.ts +1 -1
- package/lib/interaction/sliderFilter.js +14 -17
- package/lib/interaction/sliderFilter.js.map +1 -1
- package/lib/interaction/tooltip.js +2 -2
- package/lib/interaction/tooltip.js.map +1 -1
- package/lib/shape/connector/connector.js +2 -2
- package/lib/shape/connector/connector.js.map +1 -1
- package/lib/shape/text/advance.js +3 -3
- package/lib/shape/text/advance.js.map +1 -1
- package/lib/shape/text/badge.js +2 -2
- package/lib/shape/text/badge.js.map +1 -1
- package/lib/spec/interaction.d.ts +1 -1
- package/lib/theme/academy.d.ts +17 -0
- package/lib/theme/academy.js +28 -5
- package/lib/theme/academy.js.map +1 -1
- package/lib/theme/dark.d.ts +17 -0
- package/lib/theme/dark.js +4 -3
- package/lib/theme/dark.js.map +1 -1
- package/lib/theme/light.d.ts +17 -0
- package/lib/theme/light.js +5 -4
- package/lib/theme/light.js.map +1 -1
- package/lib/utils/size.js +0 -1
- package/lib/utils/size.js.map +1 -1
- package/package.json +5 -3
- package/src/api/utils.ts +4 -2
- package/src/component/axis.ts +1 -1
- package/src/component/legendCategory.ts +1 -1
- package/src/component/legendContinuous.ts +1 -1
- package/src/component/scrollbar.ts +1 -1
- package/src/component/slider.ts +1 -1
- package/src/component/utils.ts +1 -1
- package/src/interaction/scrollbarFilter.ts +11 -10
- package/src/interaction/sliderFilter.ts +23 -17
- package/src/interaction/tooltip.ts +1 -1
- package/src/shape/connector/connector.ts +1 -1
- package/src/shape/text/advance.ts +1 -1
- package/src/shape/text/badge.ts +1 -1
- package/src/spec/interaction.ts +1 -1
- package/src/theme/academy.ts +28 -4
- package/src/theme/dark.ts +4 -2
- package/src/theme/light.ts +5 -3
- package/src/utils/size.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,130 +1,99 @@
|
|
|
1
1
|
## [5.1.5](https://github.com/antvis/g2/compare/5.1.5-beta.0...5.1.5) (2023-09-28)
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
### Bug Fixes
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
- bundle sideEffects config ([#5603](https://github.com/antvis/g2/issues/5603)) ([dbbedfe](https://github.com/antvis/g2/commit/dbbedfebdb4118c92ecac852e76402824f05d3e0))
|
|
6
|
+
- **tooltip:** destroy when reapply ([#5601](https://github.com/antvis/g2/issues/5601)) ([b4c977f](https://github.com/antvis/g2/commit/b4c977f1bfff4247c9917e3ffd74df493daf9315))
|
|
9
7
|
|
|
10
8
|
### Features
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
- add 3 bundle file ([#5597](https://github.com/antvis/g2/issues/5597)) ([ba0c945](https://github.com/antvis/g2/commit/ba0c94534b57273c9e59f91ef772d8f4c4954c57))
|
|
11
|
+
- add auto mark ([#5585](https://github.com/antvis/g2/issues/5585)) ([01c52a6](https://github.com/antvis/g2/commit/01c52a685c5a88593da9e43238b28deec8a4e7a3))
|
|
16
12
|
|
|
17
13
|
## [5.1.5-beta.0](https://github.com/antvis/g2/compare/5.1.4...5.1.5-beta.0) (2023-09-25)
|
|
18
14
|
|
|
19
|
-
|
|
20
15
|
### Bug Fixes
|
|
21
16
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
17
|
+
- **connector:** fix connectLength1 default value getting ([#5587](https://github.com/antvis/g2/issues/5587)) ([7e39af9](https://github.com/antvis/g2/commit/7e39af970f58205db32308af7facd8066908373c))
|
|
18
|
+
- **tooltip:** for fisheye ([#5590](https://github.com/antvis/g2/issues/5590)) ([b39be0a](https://github.com/antvis/g2/commit/b39be0a1deebafbf6f92485ea662f798d23ad6a8))
|
|
19
|
+
- **tooltip:** marker ([#5586](https://github.com/antvis/g2/issues/5586)) ([30450c3](https://github.com/antvis/g2/commit/30450c33168ba4097f1dac5f33c8fd63adfeedc8))
|
|
20
|
+
- **tooltp:** cloned series invert ([#5588](https://github.com/antvis/g2/issues/5588)) ([bece2a7](https://github.com/antvis/g2/commit/bece2a7ad2f8cc87cac9c14da93d9398b781e498))
|
|
21
|
+
- 修复 `site/docs/../intervalThreed.zh.md` 中元素全部为黑的问题 ([#5573](https://github.com/antvis/g2/issues/5573)) ([c32bca0](https://github.com/antvis/g2/commit/c32bca08f539b19efd02c7f6c832839f33b8a819))
|
|
28
22
|
|
|
29
23
|
### Features
|
|
30
24
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
25
|
+
- **facet:** support legend filter ([#5593](https://github.com/antvis/g2/issues/5593)) ([05a49ac](https://github.com/antvis/g2/commit/05a49ace0ac28f8aea1fc0c6b3b9ce672ddc8fc7))
|
|
26
|
+
- show theme editor ([#5579](https://github.com/antvis/g2/issues/5579)) ([9c26412](https://github.com/antvis/g2/commit/9c26412ae2e25a9e24782f63b07ababd26741471))
|
|
27
|
+
- **theme:** add dark and update academy theme ([#5584](https://github.com/antvis/g2/issues/5584)) ([051d719](https://github.com/antvis/g2/commit/051d7196a49d1bc9a488c48334324e230a7285f5))
|
|
36
28
|
|
|
37
29
|
## [5.1.4](https://github.com/antvis/g2/compare/5.1.3...5.1.4) (2023-09-20)
|
|
38
30
|
|
|
39
|
-
|
|
40
31
|
### Bug Fixes
|
|
41
32
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
33
|
+
- **api:** only remove created container ([#5567](https://github.com/antvis/g2/issues/5567)) ([7be3ddf](https://github.com/antvis/g2/commit/7be3ddf8083ba2ab8cf63f6cd695e70324ecf03b))
|
|
34
|
+
- **tooltip:** find closest for band scale ([#5564](https://github.com/antvis/g2/issues/5564)) ([e543e0e](https://github.com/antvis/g2/commit/e543e0ecc572a0412972168d1c2728e385996447))
|
|
45
35
|
|
|
46
36
|
### Features
|
|
47
37
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
38
|
+
- **tooltip:** support css ([#5563](https://github.com/antvis/g2/issues/5563)) ([8a10429](https://github.com/antvis/g2/commit/8a104298434b91f342c9f7b2b70d50198b2013e3))
|
|
51
39
|
|
|
52
40
|
## [5.1.3](https://github.com/antvis/g2/compare/5.1.2...5.1.3) (2023-09-18)
|
|
53
41
|
|
|
54
|
-
|
|
55
42
|
### Bug Fixes
|
|
56
43
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
44
|
+
- **CONTRIBUTING.md:** fix incorrect file path ([#5556](https://github.com/antvis/g2/issues/5556)) ([f400dcd](https://github.com/antvis/g2/commit/f400dcd7224a3f11a9b9e1b2100ba3a59e21f510))
|
|
45
|
+
- restore to last cursor not default ([#5553](https://github.com/antvis/g2/issues/5553)) ([e688283](https://github.com/antvis/g2/commit/e688283d9b4fdc79559e8402405a271aff29bd3c))
|
|
46
|
+
- set target to es6 for umd ([#5559](https://github.com/antvis/g2/issues/5559)) ([5afd45a](https://github.com/antvis/g2/commit/5afd45a2687204137ef40fb34fceea34cf358e34))
|
|
62
47
|
|
|
63
48
|
## [5.1.2](https://github.com/antvis/g2/compare/5.1.1...5.1.2) (2023-09-13)
|
|
64
49
|
|
|
65
|
-
|
|
66
50
|
### Bug Fixes
|
|
67
51
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
52
|
+
- **dual:** set series of line to band scale ([#5528](https://github.com/antvis/g2/issues/5528)) ([1446b1a](https://github.com/antvis/g2/commit/1446b1a4f0798304b8257c741bb3d0f1d189df2c))
|
|
53
|
+
- **pie:** interaction for composite mark ([#5524](https://github.com/antvis/g2/issues/5524)) ([ae3138c](https://github.com/antvis/g2/commit/ae3138c150a774703b9404b61d98b0b388e8f541))
|
|
54
|
+
- remove console.log in runtime ([#5532](https://github.com/antvis/g2/issues/5532)) ([e9486dc](https://github.com/antvis/g2/commit/e9486dcda4de02f959493eac5a0db90b89ade29a))
|
|
55
|
+
- **tooltip:** legendFilter and shared tooltip ([#5534](https://github.com/antvis/g2/issues/5534)) ([7fc3e75](https://github.com/antvis/g2/commit/7fc3e7521ec18bb5c9b20d8544a6e9f0a615a4ef))
|
|
56
|
+
- **types:** composition node ([#5527](https://github.com/antvis/g2/issues/5527)) ([88fdb41](https://github.com/antvis/g2/commit/88fdb4148432f02c5cb8f9e30b09cfac6298fbad))
|
|
74
57
|
|
|
75
58
|
### Features
|
|
76
59
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
60
|
+
- add mark.liquid ([#5508](https://github.com/antvis/g2/issues/5508)) ([69540e3](https://github.com/antvis/g2/commit/69540e327fe97debba0b0194e9a9fe5dd738cbee))
|
|
61
|
+
- **canvas:** set feat/supportsCSSTransform to true by default ([#5526](https://github.com/antvis/g2/issues/5526)) ([ab59152](https://github.com/antvis/g2/commit/ab591522b5538c351c09679c1451097a21766363))
|
|
62
|
+
- **examples:** 新增子弹图案例 ([#5530](https://github.com/antvis/g2/issues/5530)) ([3ae84d4](https://github.com/antvis/g2/commit/3ae84d4715a6c6fcc7a0261834225cf981a929f4))
|
|
82
63
|
|
|
83
64
|
## [5.1.1](https://github.com/antvis/g2/compare/5.1.0...5.1.1) (2023-09-07)
|
|
84
65
|
|
|
85
|
-
|
|
86
66
|
### Bug Fixes
|
|
87
67
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
68
|
+
- **axis:** labelAutoHide ([#5502](https://github.com/antvis/g2/issues/5502)) ([4dfdaff](https://github.com/antvis/g2/commit/4dfdaff76ee0584a1d9bb139b6fa6404145dbd22))
|
|
69
|
+
- **shape:** update group shape without animation ([#5514](https://github.com/antvis/g2/issues/5514)) ([a49624b](https://github.com/antvis/g2/commit/a49624b9a7a6503989e8e08d8dfa5937999f8a21))
|
|
91
70
|
|
|
92
71
|
### Features
|
|
93
72
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
73
|
+
- **interaction:** emit more brush and tooltip events ([#5512](https://github.com/antvis/g2/issues/5512)) ([57cc841](https://github.com/antvis/g2/commit/57cc841e17969ac3e686061bf8aa821c616460c7))
|
|
97
74
|
|
|
98
75
|
# [5.1.0](https://github.com/antvis/g2/compare/5.0.24...5.1.0) (2023-08-31)
|
|
99
76
|
|
|
100
|
-
|
|
101
77
|
### Bug Fixes
|
|
102
78
|
|
|
103
|
-
|
|
104
|
-
|
|
79
|
+
- **runtime:** process data ([#5494](https://github.com/antvis/g2/issues/5494)) ([b851ca3](https://github.com/antvis/g2/commit/b851ca34f585485c5855924ed92061c21f92d43f))
|
|
105
80
|
|
|
106
81
|
### Features
|
|
107
82
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
83
|
+
- update category20 ([#5495](https://github.com/antvis/g2/issues/5495)) ([83bcc17](https://github.com/antvis/g2/commit/83bcc17a0e044779268a8cb6748b043ab6efbd16))
|
|
111
84
|
|
|
112
85
|
## [5.0.24](https://github.com/antvis/g2/compare/5.0.23...5.0.24) (2023-08-30)
|
|
113
86
|
|
|
114
|
-
|
|
115
87
|
### Bug Fixes
|
|
116
88
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
89
|
+
- **test:** call defined render function ([#5481](https://github.com/antvis/g2/issues/5481)) ([c0c5746](https://github.com/antvis/g2/commit/c0c574683f3cd97b1813fa3dc7454137b8ae6ad4))
|
|
90
|
+
- **theme:** update default color of light theme ([#5487](https://github.com/antvis/g2/issues/5487)) ([7cbe9a7](https://github.com/antvis/g2/commit/7cbe9a7cf8ea537c274288c4f55118b9544ae622))
|
|
120
91
|
|
|
121
92
|
### Features
|
|
122
93
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
94
|
+
- 3d line plot ([#5471](https://github.com/antvis/g2/issues/5471)) ([4d157cd](https://github.com/antvis/g2/commit/4d157cd162a805d8a68a29a5abf216074fb2058f))
|
|
95
|
+
- **builtinlib:** move some components from core to builtinlib ([#5485](https://github.com/antvis/g2/issues/5485)) ([fc70bf5](https://github.com/antvis/g2/commit/fc70bf5423b73b1b06ff3b551e2a5a5902dd3527))
|
|
96
|
+
- **lib:** change graphlib and plotlib ([#5484](https://github.com/antvis/g2/issues/5484)) ([ad175a0](https://github.com/antvis/g2/commit/ad175a0b232552c94c3c6d6305da28a9c42ee497))
|
|
128
97
|
|
|
129
98
|
## [5.0.23](https://github.com/antvis/g2/compare/5.0.22...5.0.23) (2023-08-29)
|
|
130
99
|
|