@antv/g2 4.1.35 → 4.1.39

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.
Files changed (62) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/g2.min.js +3 -17
  3. package/dist/g2.min.js.map +1 -1
  4. package/esm/chart/controller/annotation.js +35 -21
  5. package/esm/chart/controller/annotation.js.map +1 -1
  6. package/esm/chart/controller/scrollbar.js +4 -1
  7. package/esm/chart/controller/scrollbar.js.map +1 -1
  8. package/esm/chart/controller/slider.js +7 -1
  9. package/esm/chart/controller/slider.js.map +1 -1
  10. package/esm/core.d.ts +1 -1
  11. package/esm/core.js +1 -1
  12. package/esm/core.js.map +1 -1
  13. package/esm/geometry/base.d.ts +4 -0
  14. package/esm/geometry/base.js +8 -3
  15. package/esm/geometry/base.js.map +1 -1
  16. package/esm/geometry/element/index.js +3 -6
  17. package/esm/geometry/element/index.js.map +1 -1
  18. package/esm/index.js +20 -3
  19. package/esm/index.js.map +1 -1
  20. package/esm/interaction/action/component/list-focus.d.ts +5 -0
  21. package/esm/interaction/action/component/list-focus.js +55 -0
  22. package/esm/interaction/action/component/list-focus.js.map +1 -0
  23. package/esm/interaction/action/component/list-radio.d.ts +6 -0
  24. package/esm/interaction/action/component/list-radio.js +26 -0
  25. package/esm/interaction/action/component/list-radio.js.map +1 -0
  26. package/esm/interface.d.ts +5 -0
  27. package/esm/interface.js.map +1 -1
  28. package/lib/chart/controller/annotation.js +35 -21
  29. package/lib/chart/controller/annotation.js.map +1 -1
  30. package/lib/chart/controller/scrollbar.js +4 -1
  31. package/lib/chart/controller/scrollbar.js.map +1 -1
  32. package/lib/chart/controller/slider.js +7 -1
  33. package/lib/chart/controller/slider.js.map +1 -1
  34. package/lib/core.d.ts +1 -1
  35. package/lib/core.js +1 -1
  36. package/lib/core.js.map +1 -1
  37. package/lib/geometry/base.d.ts +4 -0
  38. package/lib/geometry/base.js +8 -3
  39. package/lib/geometry/base.js.map +1 -1
  40. package/lib/geometry/element/index.js +3 -6
  41. package/lib/geometry/element/index.js.map +1 -1
  42. package/lib/index.js +20 -3
  43. package/lib/index.js.map +1 -1
  44. package/lib/interaction/action/component/list-focus.d.ts +5 -0
  45. package/lib/interaction/action/component/list-focus.js +57 -0
  46. package/lib/interaction/action/component/list-focus.js.map +1 -0
  47. package/lib/interaction/action/component/list-radio.d.ts +6 -0
  48. package/lib/interaction/action/component/list-radio.js +28 -0
  49. package/lib/interaction/action/component/list-radio.js.map +1 -0
  50. package/lib/interface.d.ts +5 -0
  51. package/lib/interface.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/chart/controller/annotation.ts +31 -18
  54. package/src/chart/controller/scrollbar.ts +18 -13
  55. package/src/chart/controller/slider.ts +12 -2
  56. package/src/core.ts +1 -1
  57. package/src/geometry/base.ts +13 -2
  58. package/src/geometry/element/index.ts +3 -5
  59. package/src/index.ts +20 -3
  60. package/src/interaction/action/component/list-focus.ts +36 -0
  61. package/src/interaction/action/component/list-radio.ts +23 -0
  62. package/src/interface.ts +5 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,41 @@
1
+ #### 4.1.39 (2022-01-14)
2
+
3
+ ##### Chores
4
+
5
+ * 增加dingtalk-release-nofity ([#3778](https://github.com/antvis/g2/pull/3778)) ([c69af004](https://github.com/antvis/g2/commit/c69af004c27ce738be11470572f330e40921ac54))
6
+
7
+ ##### Bug Fixes
8
+
9
+ * **legend:** 修复图例 radio focus 模式 & 增加 demo ([#3779](https://github.com/antvis/g2/pull/3779)) ([5295b78a](https://github.com/antvis/g2/commit/5295b78a3d25c07a6b3a27c7ee7c15a6ed6be831))
10
+ * remove node 12 to fix release action failed ([#3720](https://github.com/antvis/g2/pull/3720)) ([1358be9a](https://github.com/antvis/g2/commit/1358be9a05a33f313b54d0f18a47df048f92ecb1))
11
+
12
+ #### 4.1.38 (2022-01-12)
13
+
14
+ ##### Bug Fixes
15
+
16
+ * **issue-3723:** 修复annotation 在筛选条件下,范围外的标注不需要展示 ([#3775](https://github.com/antvis/g2/pull/3775)) ([151f9152](https://github.com/antvis/g2/commit/151f915280cb7d00604a39c2c96859bb92dc6395))
17
+ * **slider,scrollbar:** 修复slider 、scrollbar values 排序错误的问题 ([#3773](https://github.com/antvis/g2/pull/3773)) ([6e84c446](https://github.com/antvis/g2/commit/6e84c44684149cf0c5754cb8b537dd541011dc06))
18
+
19
+ #### 4.1.37 (2022-01-04)
20
+
21
+ ##### Bug Fixes
22
+
23
+ * **slider,scrollbar:** 滚动条和缩略轴 在xScale 为线性时筛选错误的问题 ([#3767](https://github.com/antvis/g2/pull/3767)) ([768eb3c3](https://github.com/antvis/g2/commit/768eb3c34bd0d1c031554cac8f33146a845a901e))
24
+
25
+ #### 4.1.36 (2021-12-29)
26
+
27
+ ##### New Features
28
+
29
+ * **legend:** 添加图例的正反选功能 ([#3756](https://github.com/antvis/g2/pull/3756)) ([2c92f5d8](https://github.com/antvis/g2/commit/2c92f5d8bcec555460d9ed10ed1255a7a09dedbe))
30
+
31
+ ##### Bug Fixes
32
+
33
+ * **scrollbar:** Scale option tickMethod doesn't work when enable scrollbar ([#3747](https://github.com/antvis/g2/pull/3747)) ([cb3ad042](https://github.com/antvis/g2/commit/cb3ad0424886d4fa096c6aabc9cdcccf84644a2f))
34
+
35
+ ##### Performance Improvements
36
+
37
+ * 优化性能,由于set-zindex每次都会调用 sort,导致耗时为指数级别的 ([#3758](https://github.com/antvis/g2/pull/3758)) ([f2877bcf](https://github.com/antvis/g2/commit/f2877bcf0e6b5e281de289d544296c940ddbdb3d))
38
+
1
39
  #### 4.1.35 (2021-12-14)
2
40
 
3
41
  ##### Bug Fixes