@antv/g2 5.2.11 → 5.2.12

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 (86) hide show
  1. package/README.md +2 -2
  2. package/README.zh-CN.md +2 -2
  3. package/dist/g2.lite.min.js +22 -22
  4. package/dist/g2.min.js +22 -22
  5. package/esm/animation/scaleInY.js +2 -20
  6. package/esm/animation/scaleInY.js.map +1 -1
  7. package/esm/api/runtime.js +2 -0
  8. package/esm/api/runtime.js.map +1 -1
  9. package/esm/component/legendCategory.js +5 -1
  10. package/esm/component/legendCategory.js.map +1 -1
  11. package/esm/data/utils/arc/arc.d.ts +25 -2
  12. package/esm/data/utils/arc/arc.js.map +1 -1
  13. package/esm/data/utils/arc/types.d.ts +27 -2
  14. package/esm/exports.d.ts +2 -0
  15. package/esm/exports.js +2 -0
  16. package/esm/exports.js.map +1 -1
  17. package/esm/interaction/elementSelect.d.ts +1 -0
  18. package/esm/interaction/elementSelect.js +31 -2
  19. package/esm/interaction/elementSelect.js.map +1 -1
  20. package/esm/interaction/event.d.ts +0 -1
  21. package/esm/interaction/event.js +2 -13
  22. package/esm/interaction/event.js.map +1 -1
  23. package/esm/interaction/legendHighlight.js.map +1 -1
  24. package/esm/interaction/tooltip.js +7 -34
  25. package/esm/interaction/tooltip.js.map +1 -1
  26. package/esm/runtime/layout.js +1 -1
  27. package/esm/runtime/layout.js.map +1 -1
  28. package/esm/runtime/transform.d.ts +1 -0
  29. package/esm/runtime/transform.js +2 -1
  30. package/esm/runtime/transform.js.map +1 -1
  31. package/esm/spec/interaction.d.ts +1 -0
  32. package/esm/transform/bin.js.map +1 -1
  33. package/esm/transform/sort.js +19 -51
  34. package/esm/transform/sort.js.map +1 -1
  35. package/esm/utils/helper.d.ts +24 -0
  36. package/esm/utils/helper.js +76 -0
  37. package/esm/utils/helper.js.map +1 -1
  38. package/lib/animation/scaleInY.js +1 -19
  39. package/lib/animation/scaleInY.js.map +1 -1
  40. package/lib/api/runtime.js +2 -0
  41. package/lib/api/runtime.js.map +1 -1
  42. package/lib/component/legendCategory.js +5 -1
  43. package/lib/component/legendCategory.js.map +1 -1
  44. package/lib/data/utils/arc/arc.d.ts +25 -2
  45. package/lib/data/utils/arc/arc.js.map +1 -1
  46. package/lib/data/utils/arc/types.d.ts +27 -2
  47. package/lib/exports.d.ts +2 -0
  48. package/lib/exports.js +7 -1
  49. package/lib/exports.js.map +1 -1
  50. package/lib/interaction/elementSelect.d.ts +1 -0
  51. package/lib/interaction/elementSelect.js +31 -2
  52. package/lib/interaction/elementSelect.js.map +1 -1
  53. package/lib/interaction/event.d.ts +0 -1
  54. package/lib/interaction/event.js +3 -15
  55. package/lib/interaction/event.js.map +1 -1
  56. package/lib/interaction/legendHighlight.js.map +1 -1
  57. package/lib/interaction/tooltip.js +9 -36
  58. package/lib/interaction/tooltip.js.map +1 -1
  59. package/lib/runtime/layout.js.map +1 -1
  60. package/lib/runtime/transform.d.ts +1 -0
  61. package/lib/runtime/transform.js +3 -2
  62. package/lib/runtime/transform.js.map +1 -1
  63. package/lib/spec/interaction.d.ts +1 -0
  64. package/lib/transform/bin.js.map +1 -1
  65. package/lib/transform/sort.js +19 -51
  66. package/lib/transform/sort.js.map +1 -1
  67. package/lib/utils/helper.d.ts +24 -0
  68. package/lib/utils/helper.js +81 -1
  69. package/lib/utils/helper.js.map +1 -1
  70. package/package.json +3 -3
  71. package/src/animation/scaleInY.ts +2 -45
  72. package/src/api/runtime.ts +3 -0
  73. package/src/component/legendCategory.ts +9 -1
  74. package/src/data/utils/arc/arc.ts +5 -5
  75. package/src/data/utils/arc/types.ts +28 -2
  76. package/src/exports.ts +3 -0
  77. package/src/interaction/elementSelect.ts +32 -2
  78. package/src/interaction/event.ts +2 -15
  79. package/src/interaction/legendHighlight.ts +4 -2
  80. package/src/interaction/tooltip.ts +9 -38
  81. package/src/runtime/layout.ts +15 -2
  82. package/src/runtime/transform.ts +4 -1
  83. package/src/spec/interaction.ts +1 -0
  84. package/src/transform/bin.ts +2 -2
  85. package/src/transform/sort.ts +20 -42
  86. package/src/utils/helper.ts +83 -0
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  G2 is a visualization grammar for dashboard building, data exploration and storytelling.
10
10
 
11
- [![Build Status](https://github.com/antvis/g2/workflows/build/badge.svg?branch=v5)](https://github.com/antvis//actions)
11
+ [![Build Status](https://github.com/antvis/G2/actions/workflows/build.yml/badge.svg)](https://github.com/antvis/G2/actions/workflows/build.yml)
12
12
  [![Coverage Status](https://img.shields.io/coveralls/github/antvis/g2/v5.svg)](https://coveralls.io/github/antvis/g2?branch=v5)
13
13
  [![npm Version](https://img.shields.io/npm/v/@antv/g2.svg)](https://www.npmjs.com/package/@antv/g2)
14
14
  [![npm Download](https://img.shields.io/npm/dm/@antv/g2.svg)](https://www.npmjs.com/package/@antv/g2)
@@ -22,7 +22,7 @@ G2 is named after Leland Wilkinson’s book _The Grammar of Graphics_ and was pr
22
22
 
23
23
  - [Introduction](https://g2.antv.antgroup.com/manual/introduction/what-is-g2) - a brief overview and G2's motivations
24
24
  - [Examples](https://g2.antv.antgroup.com/examples) - a large number of demos to learn from and copy-paste
25
- - [Tutorials](https://g2.antv.antgroup.com/manual/introduction/getting-started) - interactive case-driven guides of G2's core concepts
25
+ - [Tutorials](https://g2.antv.antgroup.com/manual/quick-start) - interactive case-driven guides of G2's core concepts
26
26
  - [API Reference](https://g2.antv.antgroup.com/api/overview) - complete documentation for all visualization components
27
27
  - [Editor](https://editor.antv.antgroup.com/) - an intelligent generation tool based on AntV. It utilizes AI to reduce the development cost of data visualization, and can quickly generate visual charts through natural language.
28
28
 
package/README.zh-CN.md CHANGED
@@ -11,12 +11,12 @@
11
11
  <p align="center">
12
12
  <a href="https://g2.antv.antgroup.com/manual/introduction/what-is-g2">介绍</a> •
13
13
  <a href="https://g2.antv.antgroup.com/examples">案例</a> •
14
- <a href="https://g2.antv.antgroup.com/manual/introduction/getting-started">教程</a> •
14
+ <a href="https://g2.antv.antgroup.com/manual/quick-start">教程</a> •
15
15
  <a href="https://g2.antv.antgroup.com/api/overview">API</a> •
16
16
  <a href="https://editor.antv.antgroup.com/">Editor</a>
17
17
  </p>
18
18
 
19
- [![Build Status](https://github.com/antvis/g2/workflows/build/badge.svg?branch=v5)](https://github.com/antvis//actions)
19
+ [![Build Status](https://github.com/antvis/G2/actions/workflows/build.yml/badge.svg)](https://github.com/antvis/G2/actions/workflows/build.yml)
20
20
  [![Coverage Status](https://img.shields.io/coveralls/github/antvis/g2/v5.svg)](https://coveralls.io/github/antvis/g2?branch=v5)
21
21
  [![npm Version](https://img.shields.io/npm/v/@antv/g2.svg)](https://www.npmjs.com/package/@antv/g2)
22
22
  [![npm Download](https://img.shields.io/npm/dm/@antv/g2.svg)](https://www.npmjs.com/package/@antv/g2)