@antv/g2 5.0.13 → 5.0.15

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 (113) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist/g2-lite.min.js +3 -3
  3. package/dist/g2.min.js +3 -3
  4. package/esm/animation/morphing.js +1 -2
  5. package/esm/animation/morphing.js.map +1 -1
  6. package/esm/api/utils.js +2 -2
  7. package/esm/api/utils.js.map +1 -1
  8. package/esm/component/slider.js +16 -4
  9. package/esm/component/slider.js.map +1 -1
  10. package/esm/composition/facetRect.js +1 -1
  11. package/esm/composition/facetRect.js.map +1 -1
  12. package/esm/interaction/brushFilter.js +3 -2
  13. package/esm/interaction/brushFilter.js.map +1 -1
  14. package/esm/interaction/legendFilter.js +4 -1
  15. package/esm/interaction/legendFilter.js.map +1 -1
  16. package/esm/interaction/sliderFilter.js +28 -20
  17. package/esm/interaction/sliderFilter.js.map +1 -1
  18. package/esm/interaction/tooltip.d.ts +2 -2
  19. package/esm/interaction/tooltip.js +48 -36
  20. package/esm/interaction/tooltip.js.map +1 -1
  21. package/esm/mark/line.js +1 -1
  22. package/esm/mark/line.js.map +1 -1
  23. package/esm/mark/utils.js +3 -3
  24. package/esm/mark/utils.js.map +1 -1
  25. package/esm/runtime/component.d.ts +1 -1
  26. package/esm/runtime/component.js +42 -24
  27. package/esm/runtime/component.js.map +1 -1
  28. package/esm/runtime/layout.js +39 -10
  29. package/esm/runtime/layout.js.map +1 -1
  30. package/esm/runtime/plot.js +7 -2
  31. package/esm/runtime/plot.js.map +1 -1
  32. package/esm/shape/area/curve.js +1 -1
  33. package/esm/shape/area/curve.js.map +1 -1
  34. package/esm/shape/line/trail.js +4 -1
  35. package/esm/shape/line/trail.js.map +1 -1
  36. package/esm/spec/mark.d.ts +1 -0
  37. package/esm/theme/academy.js +2 -2
  38. package/esm/theme/academy.js.map +1 -1
  39. package/esm/theme/classic.js +2 -2
  40. package/esm/theme/classic.js.map +1 -1
  41. package/esm/theme/classicDark.js +2 -2
  42. package/esm/theme/classicDark.js.map +1 -1
  43. package/esm/transform/maybeGradient.js +3 -2
  44. package/esm/transform/maybeGradient.js.map +1 -1
  45. package/esm/utils/helper.d.ts +1 -0
  46. package/esm/utils/helper.js +15 -1
  47. package/esm/utils/helper.js.map +1 -1
  48. package/lib/animation/morphing.js +1 -2
  49. package/lib/animation/morphing.js.map +1 -1
  50. package/lib/api/utils.js +2 -2
  51. package/lib/api/utils.js.map +1 -1
  52. package/lib/component/slider.js +16 -4
  53. package/lib/component/slider.js.map +1 -1
  54. package/lib/composition/facetRect.js +1 -1
  55. package/lib/composition/facetRect.js.map +1 -1
  56. package/lib/interaction/brushFilter.js +3 -2
  57. package/lib/interaction/brushFilter.js.map +1 -1
  58. package/lib/interaction/legendFilter.js +4 -1
  59. package/lib/interaction/legendFilter.js.map +1 -1
  60. package/lib/interaction/sliderFilter.js +28 -20
  61. package/lib/interaction/sliderFilter.js.map +1 -1
  62. package/lib/interaction/tooltip.d.ts +2 -2
  63. package/lib/interaction/tooltip.js +48 -36
  64. package/lib/interaction/tooltip.js.map +1 -1
  65. package/lib/mark/line.js +1 -1
  66. package/lib/mark/line.js.map +1 -1
  67. package/lib/mark/utils.js +3 -3
  68. package/lib/mark/utils.js.map +1 -1
  69. package/lib/runtime/component.d.ts +1 -1
  70. package/lib/runtime/component.js +42 -24
  71. package/lib/runtime/component.js.map +1 -1
  72. package/lib/runtime/layout.js +38 -9
  73. package/lib/runtime/layout.js.map +1 -1
  74. package/lib/runtime/plot.js +6 -1
  75. package/lib/runtime/plot.js.map +1 -1
  76. package/lib/shape/area/curve.js +1 -1
  77. package/lib/shape/area/curve.js.map +1 -1
  78. package/lib/shape/line/trail.js +4 -1
  79. package/lib/shape/line/trail.js.map +1 -1
  80. package/lib/spec/mark.d.ts +1 -0
  81. package/lib/theme/academy.js +2 -2
  82. package/lib/theme/academy.js.map +1 -1
  83. package/lib/theme/classic.js +2 -2
  84. package/lib/theme/classic.js.map +1 -1
  85. package/lib/theme/classicDark.js +2 -2
  86. package/lib/theme/classicDark.js.map +1 -1
  87. package/lib/transform/maybeGradient.js +3 -2
  88. package/lib/transform/maybeGradient.js.map +1 -1
  89. package/lib/utils/helper.d.ts +1 -0
  90. package/lib/utils/helper.js +16 -1
  91. package/lib/utils/helper.js.map +1 -1
  92. package/package.json +1 -1
  93. package/src/animation/morphing.ts +1 -2
  94. package/src/api/utils.ts +2 -2
  95. package/src/component/slider.ts +22 -6
  96. package/src/composition/facetRect.ts +1 -1
  97. package/src/interaction/brushFilter.ts +3 -2
  98. package/src/interaction/legendFilter.ts +4 -1
  99. package/src/interaction/sliderFilter.ts +14 -6
  100. package/src/interaction/tooltip.ts +52 -34
  101. package/src/mark/line.ts +1 -1
  102. package/src/mark/utils.ts +3 -3
  103. package/src/runtime/component.ts +59 -31
  104. package/src/runtime/layout.ts +48 -22
  105. package/src/runtime/plot.ts +8 -2
  106. package/src/shape/area/curve.ts +1 -1
  107. package/src/shape/line/trail.ts +3 -1
  108. package/src/spec/mark.ts +1 -0
  109. package/src/theme/academy.ts +2 -2
  110. package/src/theme/classic.ts +2 -2
  111. package/src/theme/classicDark.ts +2 -2
  112. package/src/transform/maybeGradient.ts +4 -3
  113. package/src/utils/helper.ts +24 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # G2 - Changelog
2
2
 
3
+ ## [5.0.15](https://github.com/antvis/g2/compare/5.0.14...5.0.15) (2023-07-07)
4
+
5
+ ### Bug Fixes
6
+
7
+ - **axis:** axis pos when update ([#5275](https://github.com/antvis/g2/issues/5275)) ([63f337b](https://github.com/antvis/g2/commit/63f337b383f87e92787659cd21b093de2c35dfaa))
8
+ - clear transform when animation finished ([#5277](https://github.com/antvis/g2/issues/5277)) ([db77f1b](https://github.com/antvis/g2/commit/db77f1b99e0892f4c6b1bd9753f5e7908720f4d1))
9
+ - **layout:** valid specified component size ([#5264](https://github.com/antvis/g2/issues/5264)) ([e9edea2](https://github.com/antvis/g2/commit/e9edea2c0a96bfb04805d449002729dbe2205eb5))
10
+ - **legend:** continuous legend set labelOverlap to hdie by default ([#5278](https://github.com/antvis/g2/issues/5278)) ([76698dc](https://github.com/antvis/g2/commit/76698dc2dac49359379b05360793a562126de2cd))
11
+ - **legend:** filter with pages ([#5284](https://github.com/antvis/g2/issues/5284)) ([e712ac4](https://github.com/antvis/g2/commit/e712ac482bfad9b4d611c179d3cfff38b21cd0df))
12
+ - **legend:** update legend item ([#5258](https://github.com/antvis/g2/issues/5258)) ([48873ba](https://github.com/antvis/g2/commit/48873ba1ff5838ad176d0c8fe323a353b1118b93))
13
+ - **slider:** with annotation ([#5280](https://github.com/antvis/g2/issues/5280)) ([9418bdd](https://github.com/antvis/g2/commit/9418bdd8052acd80bd16c62c4cd6c5627571d299))
14
+ - **tooltip:** multi chart when mounting to body ([#5283](https://github.com/antvis/g2/issues/5283)) ([17ed2cb](https://github.com/antvis/g2/commit/17ed2cb3ecacde34fa92b6c85db5973dc2e73b87))
15
+
16
+ ### Features
17
+
18
+ - **interval:** micro interval ([#5260](https://github.com/antvis/g2/issues/5260)) ([5190059](https://github.com/antvis/g2/commit/51900599d807b8bd6d34e32605c8ecda2cf14bfa))
19
+ - **slider:** auto layout ([#5274](https://github.com/antvis/g2/issues/5274)) ([7ff0978](https://github.com/antvis/g2/commit/7ff09788a00b1225c443e007f81f5e998219346d))
20
+
21
+ ## [5.0.14](https://github.com/antvis/g2/compare/5.0.13...5.0.14) (2023-06-28)
22
+
23
+ ### Bug Fixes
24
+
25
+ - **api:** replace deepMix with deepAssign ([#5232](https://github.com/antvis/g2/issues/5232)) ([7bf049c](https://github.com/antvis/g2/commit/7bf049cc4cd00176f916e934f43fd1cd44e682f0))
26
+ - **area:** one missing point ([#5229](https://github.com/antvis/g2/issues/5229)) ([4977031](https://github.com/antvis/g2/commit/4977031ff8a377548ba9233fe073962730ee6075))
27
+ - **axis:** auto padding axis label rotate fail ([#5238](https://github.com/antvis/g2/issues/5238)) ([fc665da](https://github.com/antvis/g2/commit/fc665dad1e56f78a19baa08677b8cb7a3707ef53))
28
+ - **inset:** relative position for text in polar ([#5223](https://github.com/antvis/g2/issues/5223)) ([567717b](https://github.com/antvis/g2/commit/567717be85c851499437856979d180509aef2e71))
29
+ - **layout:** auto inset ignore null bbox ([#5228](https://github.com/antvis/g2/issues/5228)) ([582c494](https://github.com/antvis/g2/commit/582c4943a514cde23320ff959c1cd38ab452efc2))
30
+ - **line:** series gradient ([#5225](https://github.com/antvis/g2/issues/5225)) ([07cc02a](https://github.com/antvis/g2/commit/07cc02aba2f268cc4b6e0a723acdd71dad974c8e))
31
+ - **line:** support missing trail ([#5227](https://github.com/antvis/g2/issues/5227)) ([3eb6b61](https://github.com/antvis/g2/commit/3eb6b6180c4910db7fcafe143dbdf797b37f02db))
32
+
33
+ ### Features
34
+
35
+ - tooltip interaction emit events when body hide ([#5157](https://github.com/antvis/g2/issues/5157)) ([b8491c3](https://github.com/antvis/g2/commit/b8491c33c7736cfe1e0a2c2ee1824e60c727d2cc))
36
+ - **tooltip:** disableNative ([#5236](https://github.com/antvis/g2/issues/5236)) ([70d847f](https://github.com/antvis/g2/commit/70d847fea472e85e2e713b71f75c684f22a2c38d))
37
+
3
38
  ## [5.0.13](https://github.com/antvis/g2/compare/5.0.12...5.0.13) (2023-06-20)
4
39
 
5
40
  ### Bug Fixes