@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.
- package/CHANGELOG.md +35 -0
- package/dist/g2-lite.min.js +3 -3
- package/dist/g2.min.js +3 -3
- package/esm/animation/morphing.js +1 -2
- package/esm/animation/morphing.js.map +1 -1
- package/esm/api/utils.js +2 -2
- package/esm/api/utils.js.map +1 -1
- package/esm/component/slider.js +16 -4
- package/esm/component/slider.js.map +1 -1
- package/esm/composition/facetRect.js +1 -1
- package/esm/composition/facetRect.js.map +1 -1
- package/esm/interaction/brushFilter.js +3 -2
- package/esm/interaction/brushFilter.js.map +1 -1
- package/esm/interaction/legendFilter.js +4 -1
- package/esm/interaction/legendFilter.js.map +1 -1
- package/esm/interaction/sliderFilter.js +28 -20
- package/esm/interaction/sliderFilter.js.map +1 -1
- package/esm/interaction/tooltip.d.ts +2 -2
- package/esm/interaction/tooltip.js +48 -36
- package/esm/interaction/tooltip.js.map +1 -1
- package/esm/mark/line.js +1 -1
- package/esm/mark/line.js.map +1 -1
- package/esm/mark/utils.js +3 -3
- package/esm/mark/utils.js.map +1 -1
- package/esm/runtime/component.d.ts +1 -1
- package/esm/runtime/component.js +42 -24
- package/esm/runtime/component.js.map +1 -1
- package/esm/runtime/layout.js +39 -10
- package/esm/runtime/layout.js.map +1 -1
- package/esm/runtime/plot.js +7 -2
- package/esm/runtime/plot.js.map +1 -1
- package/esm/shape/area/curve.js +1 -1
- package/esm/shape/area/curve.js.map +1 -1
- package/esm/shape/line/trail.js +4 -1
- package/esm/shape/line/trail.js.map +1 -1
- package/esm/spec/mark.d.ts +1 -0
- package/esm/theme/academy.js +2 -2
- package/esm/theme/academy.js.map +1 -1
- package/esm/theme/classic.js +2 -2
- package/esm/theme/classic.js.map +1 -1
- package/esm/theme/classicDark.js +2 -2
- package/esm/theme/classicDark.js.map +1 -1
- package/esm/transform/maybeGradient.js +3 -2
- package/esm/transform/maybeGradient.js.map +1 -1
- package/esm/utils/helper.d.ts +1 -0
- package/esm/utils/helper.js +15 -1
- package/esm/utils/helper.js.map +1 -1
- package/lib/animation/morphing.js +1 -2
- package/lib/animation/morphing.js.map +1 -1
- package/lib/api/utils.js +2 -2
- package/lib/api/utils.js.map +1 -1
- package/lib/component/slider.js +16 -4
- package/lib/component/slider.js.map +1 -1
- package/lib/composition/facetRect.js +1 -1
- package/lib/composition/facetRect.js.map +1 -1
- package/lib/interaction/brushFilter.js +3 -2
- package/lib/interaction/brushFilter.js.map +1 -1
- package/lib/interaction/legendFilter.js +4 -1
- package/lib/interaction/legendFilter.js.map +1 -1
- package/lib/interaction/sliderFilter.js +28 -20
- package/lib/interaction/sliderFilter.js.map +1 -1
- package/lib/interaction/tooltip.d.ts +2 -2
- package/lib/interaction/tooltip.js +48 -36
- package/lib/interaction/tooltip.js.map +1 -1
- package/lib/mark/line.js +1 -1
- package/lib/mark/line.js.map +1 -1
- package/lib/mark/utils.js +3 -3
- package/lib/mark/utils.js.map +1 -1
- package/lib/runtime/component.d.ts +1 -1
- package/lib/runtime/component.js +42 -24
- package/lib/runtime/component.js.map +1 -1
- package/lib/runtime/layout.js +38 -9
- package/lib/runtime/layout.js.map +1 -1
- package/lib/runtime/plot.js +6 -1
- package/lib/runtime/plot.js.map +1 -1
- package/lib/shape/area/curve.js +1 -1
- package/lib/shape/area/curve.js.map +1 -1
- package/lib/shape/line/trail.js +4 -1
- package/lib/shape/line/trail.js.map +1 -1
- package/lib/spec/mark.d.ts +1 -0
- package/lib/theme/academy.js +2 -2
- package/lib/theme/academy.js.map +1 -1
- package/lib/theme/classic.js +2 -2
- package/lib/theme/classic.js.map +1 -1
- package/lib/theme/classicDark.js +2 -2
- package/lib/theme/classicDark.js.map +1 -1
- package/lib/transform/maybeGradient.js +3 -2
- package/lib/transform/maybeGradient.js.map +1 -1
- package/lib/utils/helper.d.ts +1 -0
- package/lib/utils/helper.js +16 -1
- package/lib/utils/helper.js.map +1 -1
- package/package.json +1 -1
- package/src/animation/morphing.ts +1 -2
- package/src/api/utils.ts +2 -2
- package/src/component/slider.ts +22 -6
- package/src/composition/facetRect.ts +1 -1
- package/src/interaction/brushFilter.ts +3 -2
- package/src/interaction/legendFilter.ts +4 -1
- package/src/interaction/sliderFilter.ts +14 -6
- package/src/interaction/tooltip.ts +52 -34
- package/src/mark/line.ts +1 -1
- package/src/mark/utils.ts +3 -3
- package/src/runtime/component.ts +59 -31
- package/src/runtime/layout.ts +48 -22
- package/src/runtime/plot.ts +8 -2
- package/src/shape/area/curve.ts +1 -1
- package/src/shape/line/trail.ts +3 -1
- package/src/spec/mark.ts +1 -0
- package/src/theme/academy.ts +2 -2
- package/src/theme/classic.ts +2 -2
- package/src/theme/classicDark.ts +2 -2
- package/src/transform/maybeGradient.ts +4 -3
- 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
|