@antv/g2 5.0.15 → 5.0.17
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 +24 -0
- package/dist/g2-lite.min.js +3 -3
- package/dist/g2.min.js +3 -3
- package/esm/animation/morphing.js +2 -0
- package/esm/animation/morphing.js.map +1 -1
- package/esm/api/chart.js +5 -1
- package/esm/api/chart.js.map +1 -1
- package/esm/api/mark/types.d.ts +2 -2
- package/esm/component/legendCategory.js +23 -21
- package/esm/component/legendCategory.js.map +1 -1
- package/esm/component/legendContinuous.js +1 -1
- package/esm/component/legendContinuous.js.map +1 -1
- package/esm/component/title.js +2 -4
- package/esm/component/title.js.map +1 -1
- package/esm/component/utils.js +1 -0
- package/esm/component/utils.js.map +1 -1
- package/esm/interaction/event.js +17 -4
- package/esm/interaction/event.js.map +1 -1
- package/esm/mark/point.js +1 -1
- package/esm/mark/point.js.map +1 -1
- package/esm/runtime/component.d.ts +3 -2
- package/esm/runtime/component.js +62 -22
- package/esm/runtime/component.js.map +1 -1
- package/esm/runtime/layout.js +3 -3
- package/esm/runtime/layout.js.map +1 -1
- package/esm/runtime/mark.js +3 -2
- package/esm/runtime/mark.js.map +1 -1
- package/esm/runtime/plot.js +24 -16
- package/esm/runtime/plot.js.map +1 -1
- package/esm/runtime/scale.d.ts +4 -3
- package/esm/runtime/scale.js +48 -14
- package/esm/runtime/scale.js.map +1 -1
- package/esm/runtime/types/common.d.ts +12 -14
- package/esm/runtime/types/theme.d.ts +9 -13
- package/esm/shape/label/position/default.js +7 -2
- package/esm/shape/label/position/default.js.map +1 -1
- package/esm/shape/text/advance.js +5 -2
- package/esm/shape/text/advance.js.map +1 -1
- package/esm/spec/component.d.ts +11 -12
- package/esm/spec/composition.d.ts +1 -1
- package/esm/spec/index.d.ts +2 -1
- package/esm/spec/index.js.map +1 -1
- package/esm/spec/interaction.d.ts +1 -2
- package/esm/spec/mark.d.ts +1 -1
- package/esm/theme/academy.js +11 -32
- package/esm/theme/academy.js.map +1 -1
- package/esm/theme/classic.js +12 -33
- package/esm/theme/classic.js.map +1 -1
- package/esm/theme/classicDark.js +11 -32
- package/esm/theme/classicDark.js.map +1 -1
- package/lib/animation/morphing.js +2 -0
- package/lib/animation/morphing.js.map +1 -1
- package/lib/api/chart.js +5 -1
- package/lib/api/chart.js.map +1 -1
- package/lib/api/mark/types.d.ts +2 -2
- package/lib/component/legendCategory.js +23 -21
- package/lib/component/legendCategory.js.map +1 -1
- package/lib/component/legendContinuous.js +1 -1
- package/lib/component/legendContinuous.js.map +1 -1
- package/lib/component/title.js +2 -4
- package/lib/component/title.js.map +1 -1
- package/lib/component/utils.js +1 -0
- package/lib/component/utils.js.map +1 -1
- package/lib/interaction/event.js +17 -4
- package/lib/interaction/event.js.map +1 -1
- package/lib/mark/point.js +1 -1
- package/lib/mark/point.js.map +1 -1
- package/lib/runtime/component.d.ts +3 -2
- package/lib/runtime/component.js +64 -23
- package/lib/runtime/component.js.map +1 -1
- package/lib/runtime/layout.js +3 -3
- package/lib/runtime/layout.js.map +1 -1
- package/lib/runtime/mark.js +3 -2
- package/lib/runtime/mark.js.map +1 -1
- package/lib/runtime/plot.js +22 -14
- package/lib/runtime/plot.js.map +1 -1
- package/lib/runtime/scale.d.ts +4 -3
- package/lib/runtime/scale.js +49 -14
- package/lib/runtime/scale.js.map +1 -1
- package/lib/runtime/types/common.d.ts +12 -14
- package/lib/runtime/types/theme.d.ts +9 -13
- package/lib/shape/label/position/default.js +7 -2
- package/lib/shape/label/position/default.js.map +1 -1
- package/lib/shape/text/advance.js +5 -2
- package/lib/shape/text/advance.js.map +1 -1
- package/lib/spec/component.d.ts +11 -12
- package/lib/spec/composition.d.ts +1 -1
- package/lib/spec/index.d.ts +2 -1
- package/lib/spec/index.js.map +1 -1
- package/lib/spec/interaction.d.ts +1 -2
- package/lib/spec/mark.d.ts +1 -1
- package/lib/theme/academy.js +11 -32
- package/lib/theme/academy.js.map +1 -1
- package/lib/theme/classic.js +12 -33
- package/lib/theme/classic.js.map +1 -1
- package/lib/theme/classicDark.js +11 -32
- package/lib/theme/classicDark.js.map +1 -1
- package/package.json +9 -6
- package/src/animation/morphing.ts +2 -0
- package/src/api/chart.ts +10 -1
- package/src/api/mark/types.ts +5 -2
- package/src/component/legendCategory.ts +26 -32
- package/src/component/legendContinuous.ts +1 -1
- package/src/component/title.ts +11 -15
- package/src/component/utils.ts +1 -0
- package/src/interaction/event.ts +15 -4
- package/src/mark/point.ts +1 -1
- package/src/runtime/component.ts +76 -29
- package/src/runtime/layout.ts +3 -3
- package/src/runtime/mark.ts +10 -1
- package/src/runtime/plot.ts +34 -27
- package/src/runtime/scale.ts +58 -16
- package/src/runtime/types/common.ts +16 -18
- package/src/runtime/types/theme.ts +13 -17
- package/src/shape/label/position/default.ts +8 -2
- package/src/shape/text/advance.ts +7 -2
- package/src/spec/component.ts +11 -12
- package/src/spec/composition.ts +1 -1
- package/src/spec/index.ts +2 -1
- package/src/spec/interaction.ts +1 -2
- package/src/spec/mark.ts +1 -1
- package/src/theme/academy.ts +12 -32
- package/src/theme/classic.ts +13 -33
- package/src/theme/classicDark.ts +12 -32
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# G2 - Changelog
|
|
2
2
|
|
|
3
|
+
## [5.0.17](https://github.com/antvis/g2/compare/5.0.16...5.0.17) (2023-07-25)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
- **auto:** axis without label ([#5338](https://github.com/antvis/g2/issues/5338)) ([06b73c2](https://github.com/antvis/g2/commit/06b73c2e71a0a406fd3af8f76ff51f2eb3326e12))
|
|
8
|
+
- **chart:** chart.clear preserve some global options ([#5318](https://github.com/antvis/g2/issues/5318)) ([0c4fc99](https://github.com/antvis/g2/commit/0c4fc99cfa54bf56328f4a6eebc3619534414b35))
|
|
9
|
+
- git clone failed on windows due to filename contains character : ([#5330](https://github.com/antvis/g2/issues/5330)) ([682885b](https://github.com/antvis/g2/commit/682885b3d0c643dc1f4f53c7fbfcf75e3a0ad247))
|
|
10
|
+
- **label:** clear invalid labels ([#5310](https://github.com/antvis/g2/issues/5310)) ([0a760b8](https://github.com/antvis/g2/commit/0a760b8ebea9a857d1f3abe1cd6762c8005b1267))
|
|
11
|
+
- **legend:** set actual item size ([#5326](https://github.com/antvis/g2/issues/5326)) ([683d529](https://github.com/antvis/g2/commit/683d529aef66982b6dab4d3035ccbb8268b20afa))
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
- **size:** support ordinal size channel ([#5320](https://github.com/antvis/g2/issues/5320)) ([760eb75](https://github.com/antvis/g2/commit/760eb75d97a746621da35d26d4a7565fec94551b))
|
|
16
|
+
- **title:** auto layout ([#5332](https://github.com/antvis/g2/issues/5332)) ([778cdf3](https://github.com/antvis/g2/commit/778cdf33432c0284f1a6ca1a18536bb8766edb76))
|
|
17
|
+
|
|
18
|
+
## [5.0.16](https://github.com/antvis/g2/compare/5.0.15...5.0.16) (2023-07-12)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- **event:** emit events for extended shape ([#5290](https://github.com/antvis/g2/issues/5290)) ([873bec7](https://github.com/antvis/g2/commit/873bec72f6a75e2c581df24d49afa239b5a5995e))
|
|
23
|
+
- **legend:** category do not update position ([#5304](https://github.com/antvis/g2/issues/5304)) ([95c9950](https://github.com/antvis/g2/commit/95c99507b166c23134dcfd4ed7a2c108bc649b43))
|
|
24
|
+
- **slider:** index scale by scaleKey ([#5291](https://github.com/antvis/g2/issues/5291)) ([50d1fa5](https://github.com/antvis/g2/commit/50d1fa595b94ca16b485e748b64a4aaa6c44eb8a))
|
|
25
|
+
- **update:** set markType for element ([#5293](https://github.com/antvis/g2/issues/5293)) ([6ae86b7](https://github.com/antvis/g2/commit/6ae86b73b67bc0edbba11404dd935258392364cb))
|
|
26
|
+
|
|
3
27
|
## [5.0.15](https://github.com/antvis/g2/compare/5.0.14...5.0.15) (2023-07-07)
|
|
4
28
|
|
|
5
29
|
### Bug Fixes
|