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