@antv/g2 4.1.26 → 4.1.30
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 +27 -0
- package/dist/g2.min.js +31 -3
- package/dist/g2.min.js.map +1 -1
- package/esm/chart/controller/annotation.d.ts +3 -8
- package/esm/chart/controller/annotation.js +24 -35
- package/esm/chart/controller/annotation.js.map +1 -1
- package/esm/chart/controller/tooltip.js +5 -0
- package/esm/chart/controller/tooltip.js.map +1 -1
- package/esm/chart/layout/constraint/bounds.d.ts +32 -0
- package/esm/chart/layout/constraint/bounds.js +30 -0
- package/esm/chart/layout/constraint/bounds.js.map +1 -0
- package/esm/chart/layout/constraint/constraint.d.ts +31 -0
- package/esm/chart/layout/constraint/constraint.js +81 -0
- package/esm/chart/layout/constraint/constraint.js.map +1 -0
- package/esm/chart/layout/constraint/gauss.d.ts +11 -0
- package/esm/chart/layout/constraint/gauss.js +63 -0
- package/esm/chart/layout/constraint/gauss.js.map +1 -0
- package/esm/chart/layout/constraint/index.d.ts +5 -0
- package/esm/chart/layout/constraint/index.js +30 -0
- package/esm/chart/layout/constraint/index.js.map +1 -0
- package/esm/chart/layout/constraint/solver.d.ts +40 -0
- package/esm/chart/layout/constraint/solver.js +77 -0
- package/esm/chart/layout/constraint/solver.js.map +1 -0
- package/esm/chart/layout/constraint/types.d.ts +21 -0
- package/esm/chart/layout/constraint/types.js +13 -0
- package/esm/chart/layout/constraint/types.js.map +1 -0
- package/esm/chart/layout/constraint/variable.d.ts +24 -0
- package/esm/chart/layout/constraint/variable.js +28 -0
- package/esm/chart/layout/constraint/variable.js.map +1 -0
- package/esm/chart/view.js +1 -0
- package/esm/chart/view.js.map +1 -1
- package/esm/core.d.ts +1 -1
- package/esm/core.js +1 -1
- package/esm/core.js.map +1 -1
- package/esm/geometry/base.d.ts +1 -7
- package/esm/geometry/base.js +70 -58
- package/esm/geometry/base.js.map +1 -1
- package/esm/geometry/element/index.js +1 -1
- package/esm/geometry/element/index.js.map +1 -1
- package/esm/geometry/heatmap.d.ts +1 -1
- package/esm/geometry/heatmap.js +11 -9
- package/esm/geometry/heatmap.js.map +1 -1
- package/esm/geometry/path.d.ts +1 -2
- package/esm/geometry/path.js +46 -20
- package/esm/geometry/path.js.map +1 -1
- package/esm/geometry/util/diff.d.ts +11 -0
- package/esm/geometry/util/diff.js +30 -0
- package/esm/geometry/util/diff.js.map +1 -0
- package/esm/theme/style-sheet/dark.js +1 -1
- package/esm/theme/style-sheet/dark.js.map +1 -1
- package/esm/theme/style-sheet/light.js +1 -1
- package/esm/theme/style-sheet/light.js.map +1 -1
- package/lib/chart/controller/annotation.d.ts +3 -8
- package/lib/chart/controller/annotation.js +24 -35
- package/lib/chart/controller/annotation.js.map +1 -1
- package/lib/chart/controller/tooltip.js +5 -0
- package/lib/chart/controller/tooltip.js.map +1 -1
- package/lib/chart/layout/constraint/bounds.d.ts +32 -0
- package/lib/chart/layout/constraint/bounds.js +33 -0
- package/lib/chart/layout/constraint/bounds.js.map +1 -0
- package/lib/chart/layout/constraint/constraint.d.ts +31 -0
- package/lib/chart/layout/constraint/constraint.js +84 -0
- package/lib/chart/layout/constraint/constraint.js.map +1 -0
- package/lib/chart/layout/constraint/gauss.d.ts +11 -0
- package/lib/chart/layout/constraint/gauss.js +68 -0
- package/lib/chart/layout/constraint/gauss.js.map +1 -0
- package/lib/chart/layout/constraint/index.d.ts +5 -0
- package/lib/chart/layout/constraint/index.js +38 -0
- package/lib/chart/layout/constraint/index.js.map +1 -0
- package/lib/chart/layout/constraint/solver.d.ts +40 -0
- package/lib/chart/layout/constraint/solver.js +80 -0
- package/lib/chart/layout/constraint/solver.js.map +1 -0
- package/lib/chart/layout/constraint/types.d.ts +21 -0
- package/lib/chart/layout/constraint/types.js +16 -0
- package/lib/chart/layout/constraint/types.js.map +1 -0
- package/lib/chart/layout/constraint/variable.d.ts +24 -0
- package/lib/chart/layout/constraint/variable.js +31 -0
- package/lib/chart/layout/constraint/variable.js.map +1 -0
- package/lib/chart/view.js +1 -0
- package/lib/chart/view.js.map +1 -1
- package/lib/core.d.ts +1 -1
- package/lib/core.js +1 -1
- package/lib/core.js.map +1 -1
- package/lib/geometry/base.d.ts +1 -7
- package/lib/geometry/base.js +70 -58
- package/lib/geometry/base.js.map +1 -1
- package/lib/geometry/element/index.js +1 -1
- package/lib/geometry/element/index.js.map +1 -1
- package/lib/geometry/heatmap.d.ts +1 -1
- package/lib/geometry/heatmap.js +11 -9
- package/lib/geometry/heatmap.js.map +1 -1
- package/lib/geometry/path.d.ts +1 -2
- package/lib/geometry/path.js +46 -20
- package/lib/geometry/path.js.map +1 -1
- package/lib/geometry/util/diff.d.ts +11 -0
- package/lib/geometry/util/diff.js +34 -0
- package/lib/geometry/util/diff.js.map +1 -0
- package/lib/theme/style-sheet/dark.js +1 -1
- package/lib/theme/style-sheet/dark.js.map +1 -1
- package/lib/theme/style-sheet/light.js +1 -1
- package/lib/theme/style-sheet/light.js.map +1 -1
- package/package.json +5 -4
- package/src/chart/controller/annotation.ts +27 -31
- package/src/chart/controller/tooltip.ts +6 -0
- package/src/chart/layout/constraint/bounds.ts +52 -0
- package/src/chart/layout/constraint/constraint.ts +98 -0
- package/src/chart/layout/constraint/gauss.ts +71 -0
- package/src/chart/layout/constraint/index.ts +30 -0
- package/src/chart/layout/constraint/solver.ts +98 -0
- package/src/chart/layout/constraint/types.ts +29 -0
- package/src/chart/layout/constraint/variable.ts +33 -0
- package/src/chart/view.ts +1 -0
- package/src/core.ts +1 -1
- package/src/geometry/base.ts +67 -56
- package/src/geometry/element/index.ts +1 -1
- package/src/geometry/heatmap.ts +12 -11
- package/src/geometry/path.ts +48 -22
- package/src/geometry/util/diff.ts +29 -0
- package/src/theme/style-sheet/dark.ts +1 -1
- package/src/theme/style-sheet/light.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
#### 4.1.30 (2021-09-28)
|
|
2
|
+
|
|
3
|
+
##### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **state-style:** 修复存在状态时,动画丢失 ([2619645a](https://github.com/antvis/g2/commit/2619645a1162c97f66af0d8949ca1ba03e398e03))
|
|
6
|
+
|
|
7
|
+
#### 4.1.29 (2021-09-26)
|
|
8
|
+
|
|
9
|
+
##### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **custom-content:** 修复 custom-content undefined 无法变回 tooltip 模版的问题 ([#3644](https://github.com/antvis/g2/pull/3644)) ([2790c349](https://github.com/antvis/g2/commit/2790c34907653c172136fef0124691f3bea3d863))
|
|
12
|
+
|
|
13
|
+
#### 4.1.28 (2021-09-24)
|
|
14
|
+
|
|
15
|
+
##### New Features
|
|
16
|
+
|
|
17
|
+
* **geometry:** refactor and rename createElements ([#3626](https://github.com/antvis/g2/pull/3626)) ([5dadea97](https://github.com/antvis/g2/commit/5dadea973f0915ebb446f037b9816b7c88a99cd3))
|
|
18
|
+
* constraint layout solver ([#3622](https://github.com/antvis/g2/pull/3622)) ([576cf07d](https://github.com/antvis/g2/commit/576cf07dbbd4a70ca6a01e609459ce1ff94cab80))
|
|
19
|
+
|
|
20
|
+
##### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* crash on safari 15 when fillText with unicode ([#3640](https://github.com/antvis/g2/pull/3640)) ([0516f6e3](https://github.com/antvis/g2/commit/0516f6e3370df221bd52c6c987b8916da59979be))
|
|
23
|
+
|
|
24
|
+
##### Reverts
|
|
25
|
+
|
|
26
|
+
* annotation position 相关的 ([#3637](https://github.com/antvis/g2/pull/3637)) ([1109e3fd](https://github.com/antvis/g2/commit/1109e3fd7e8a455ba8c75f260c36162c5a15f869))
|
|
27
|
+
|
|
1
28
|
#### 4.1.26 (2021-09-15)
|
|
2
29
|
|
|
3
30
|
##### Documentation Changes
|