@antv/g2 4.1.37 → 4.1.41

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 (63) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/g2.min.js +4 -4
  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 +1 -1
  7. package/esm/chart/controller/scrollbar.js.map +1 -1
  8. package/esm/chart/controller/slider.js +1 -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.js +16 -10
  14. package/esm/geometry/base.js.map +1 -1
  15. package/esm/index.js +8 -0
  16. package/esm/index.js.map +1 -1
  17. package/esm/interaction/action/component/list-focus.js +31 -6
  18. package/esm/interaction/action/component/list-focus.js.map +1 -1
  19. package/esm/interaction/action/component/list-radio.d.ts +18 -0
  20. package/esm/interaction/action/component/list-radio.js +92 -2
  21. package/esm/interaction/action/component/list-radio.js.map +1 -1
  22. package/esm/interface.js.map +1 -1
  23. package/esm/util/scale.d.ts +4 -0
  24. package/esm/util/scale.js +15 -1
  25. package/esm/util/scale.js.map +1 -1
  26. package/esm/util/tooltip.js +9 -5
  27. package/esm/util/tooltip.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 +1 -1
  31. package/lib/chart/controller/scrollbar.js.map +1 -1
  32. package/lib/chart/controller/slider.js +1 -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.js +16 -10
  38. package/lib/geometry/base.js.map +1 -1
  39. package/lib/index.js +8 -0
  40. package/lib/index.js.map +1 -1
  41. package/lib/interaction/action/component/list-focus.js +31 -6
  42. package/lib/interaction/action/component/list-focus.js.map +1 -1
  43. package/lib/interaction/action/component/list-radio.d.ts +18 -0
  44. package/lib/interaction/action/component/list-radio.js +91 -1
  45. package/lib/interaction/action/component/list-radio.js.map +1 -1
  46. package/lib/interface.js.map +1 -1
  47. package/lib/util/scale.d.ts +4 -0
  48. package/lib/util/scale.js +17 -2
  49. package/lib/util/scale.js.map +1 -1
  50. package/lib/util/tooltip.js +7 -3
  51. package/lib/util/tooltip.js.map +1 -1
  52. package/package.json +5 -2
  53. package/src/chart/controller/annotation.ts +31 -18
  54. package/src/chart/controller/scrollbar.ts +1 -1
  55. package/src/chart/controller/slider.ts +3 -3
  56. package/src/core.ts +1 -1
  57. package/src/geometry/base.ts +18 -8
  58. package/src/index.ts +8 -0
  59. package/src/interaction/action/component/list-focus.ts +17 -5
  60. package/src/interaction/action/component/list-radio.ts +105 -0
  61. package/src/interface.ts +1 -1
  62. package/src/util/scale.ts +14 -1
  63. package/src/util/tooltip.ts +9 -5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,47 @@
1
+ #### 4.1.41 (2022-01-25)
2
+
3
+ ##### Bug Fixes
4
+
5
+ * 修复 jitter 点图 adjust 后点位置不正确的问题 ([#3790](https://github.com/antvis/g2/pull/3790)) ([5ffcb7ac](https://github.com/antvis/g2/commit/5ffcb7acc6ed445c694c8dfd4b2a1631281b1fe3))
6
+ * 修复获取分组scale错误 & tooltip 获取 value-scale 不忽略 color、shape 通道相关字段 ([#3768](https://github.com/antvis/g2/pull/3768)) ([ab893335](https://github.com/antvis/g2/commit/ab893335ebf274c7291331feceec3f65a5cbd26f))
7
+
8
+ #### 4.1.40 (2022-01-18)
9
+
10
+ ##### Documentation Changes
11
+
12
+ * 添加对scale的值域说明,与d3 值域用法相对比,防止误解。 ([#3781](https://github.com/antvis/g2/pull/3781)) ([3b07b921](https://github.com/antvis/g2/commit/3b07b9211bc1d3fc628a4b74d22dc67570a37b17))
13
+
14
+ ##### New Features
15
+
16
+ * **legend:** 图例 radio增加 tip 文案提示 ([#3786](https://github.com/antvis/g2/pull/3786)) ([6736def0](https://github.com/antvis/g2/commit/6736def0aee2ea02fd645a170e9368dc91e032ea))
17
+
18
+ ##### Bug Fixes
19
+
20
+ * **legend:** 修复 legend radio 设置样式不生效 ([#3784](https://github.com/antvis/g2/pull/3784)) ([fe554991](https://github.com/antvis/g2/commit/fe55499114c4dd440d48747af07e882a8cc87767))
21
+
22
+ ##### Chores
23
+
24
+ * resolutions 更新 修复 remark-mdx 引入问题 ([#3785](https://github.com/antvis/g2/pull/3785)) ([0212ce97](https://github.com/antvis/g2/commit/0212ce97823373537002c9c1c4de9ecb22c94fee))
25
+ * release actions ([52059d5e](https://github.com/antvis/g2/commit/52059d5e603e5e20b062900ca150693c09376850))
26
+
27
+ #### 4.1.39 (2022-01-14)
28
+
29
+ ##### Chores
30
+
31
+ * 增加dingtalk-release-nofity ([#3778](https://github.com/antvis/g2/pull/3778)) ([c69af004](https://github.com/antvis/g2/commit/c69af004c27ce738be11470572f330e40921ac54))
32
+
33
+ ##### Bug Fixes
34
+
35
+ * **legend:** 修复图例 radio focus 模式 & 增加 demo ([#3779](https://github.com/antvis/g2/pull/3779)) ([5295b78a](https://github.com/antvis/g2/commit/5295b78a3d25c07a6b3a27c7ee7c15a6ed6be831))
36
+ * remove node 12 to fix release action failed ([#3720](https://github.com/antvis/g2/pull/3720)) ([1358be9a](https://github.com/antvis/g2/commit/1358be9a05a33f313b54d0f18a47df048f92ecb1))
37
+
38
+ #### 4.1.38 (2022-01-12)
39
+
40
+ ##### Bug Fixes
41
+
42
+ * **issue-3723:** 修复annotation 在筛选条件下,范围外的标注不需要展示 ([#3775](https://github.com/antvis/g2/pull/3775)) ([151f9152](https://github.com/antvis/g2/commit/151f915280cb7d00604a39c2c96859bb92dc6395))
43
+ * **slider,scrollbar:** 修复slider 、scrollbar values 排序错误的问题 ([#3773](https://github.com/antvis/g2/pull/3773)) ([6e84c446](https://github.com/antvis/g2/commit/6e84c44684149cf0c5754cb8b537dd541011dc06))
44
+
1
45
  #### 4.1.37 (2022-01-04)
2
46
 
3
47
  ##### Bug Fixes