@antv/g2 5.4.6 → 5.4.8

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 (67) hide show
  1. package/README.md +3 -0
  2. package/README.zh-CN.md +3 -0
  3. package/dist/g2.lite.min.js +13 -62
  4. package/dist/g2.min.js +13 -62
  5. package/esm/component/legendCategory.js +1 -1
  6. package/esm/component/legendCategory.js.map +1 -1
  7. package/esm/component/utils.js +4 -2
  8. package/esm/component/utils.js.map +1 -1
  9. package/esm/interaction/elementHoverScale.d.ts +2 -3
  10. package/esm/interaction/elementHoverScale.js +40 -50
  11. package/esm/interaction/elementHoverScale.js.map +1 -1
  12. package/esm/interaction/scrollbarFilter.js +4 -1
  13. package/esm/interaction/scrollbarFilter.js.map +1 -1
  14. package/esm/interaction/tooltip.js +11 -7
  15. package/esm/interaction/tooltip.js.map +1 -1
  16. package/esm/mark/beeswarm.js +1 -1
  17. package/esm/mark/beeswarm.js.map +1 -1
  18. package/esm/runtime/component.js +70 -7
  19. package/esm/runtime/component.js.map +1 -1
  20. package/esm/shape/interval/funnel.d.ts +1 -1
  21. package/esm/shape/interval/funnel.js +90 -5
  22. package/esm/shape/interval/funnel.js.map +1 -1
  23. package/esm/shape/interval/pyramid.js +23 -1
  24. package/esm/shape/interval/pyramid.js.map +1 -1
  25. package/esm/spec/interaction.d.ts +0 -1
  26. package/esm/transform/filter.js +4 -2
  27. package/esm/transform/filter.js.map +1 -1
  28. package/esm/transform/symmetryY.js +2 -1
  29. package/esm/transform/symmetryY.js.map +1 -1
  30. package/lib/component/legendCategory.js +1 -1
  31. package/lib/component/legendCategory.js.map +1 -1
  32. package/lib/component/utils.js +4 -2
  33. package/lib/component/utils.js.map +1 -1
  34. package/lib/interaction/elementHoverScale.d.ts +2 -3
  35. package/lib/interaction/elementHoverScale.js +40 -50
  36. package/lib/interaction/elementHoverScale.js.map +1 -1
  37. package/lib/interaction/scrollbarFilter.js +4 -1
  38. package/lib/interaction/scrollbarFilter.js.map +1 -1
  39. package/lib/interaction/tooltip.js +10 -6
  40. package/lib/interaction/tooltip.js.map +1 -1
  41. package/lib/mark/beeswarm.js +1 -1
  42. package/lib/mark/beeswarm.js.map +1 -1
  43. package/lib/runtime/component.js +70 -7
  44. package/lib/runtime/component.js.map +1 -1
  45. package/lib/shape/interval/funnel.d.ts +1 -1
  46. package/lib/shape/interval/funnel.js +90 -5
  47. package/lib/shape/interval/funnel.js.map +1 -1
  48. package/lib/shape/interval/pyramid.js +23 -1
  49. package/lib/shape/interval/pyramid.js.map +1 -1
  50. package/lib/spec/interaction.d.ts +0 -1
  51. package/lib/transform/filter.js +4 -2
  52. package/lib/transform/filter.js.map +1 -1
  53. package/lib/transform/symmetryY.js +2 -1
  54. package/lib/transform/symmetryY.js.map +1 -1
  55. package/package.json +1 -2
  56. package/src/component/legendCategory.ts +4 -1
  57. package/src/component/utils.ts +4 -2
  58. package/src/interaction/elementHoverScale.ts +38 -47
  59. package/src/interaction/scrollbarFilter.ts +3 -0
  60. package/src/interaction/tooltip.ts +15 -7
  61. package/src/mark/beeswarm.ts +1 -1
  62. package/src/runtime/component.ts +83 -8
  63. package/src/shape/interval/funnel.ts +137 -5
  64. package/src/shape/interval/pyramid.ts +31 -0
  65. package/src/spec/interaction.ts +0 -1
  66. package/src/transform/filter.ts +6 -2
  67. package/src/transform/symmetryY.ts +6 -2
package/README.md CHANGED
@@ -8,11 +8,14 @@
8
8
 
9
9
  G2 is a visualization grammar for dashboard building, data exploration and storytelling.
10
10
 
11
+ <a href="https://trendshift.io/repositories/4408" target="_blank"><img src="https://trendshift.io/api/badge/repositories/4408" alt="antvis%2FG2 | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
12
+
11
13
  [![Build Status](https://github.com/antvis/G2/actions/workflows/build.yml/badge.svg)](https://github.com/antvis/G2/actions/workflows/build.yml)
12
14
  [![Coverage Status](https://img.shields.io/coveralls/github/antvis/g2/v5.svg)](https://coveralls.io/github/antvis/g2?branch=v5)
13
15
  [![npm Version](https://img.shields.io/npm/v/@antv/g2.svg)](https://www.npmjs.com/package/@antv/g2)
14
16
  [![npm Download](https://img.shields.io/npm/dm/@antv/g2.svg)](https://www.npmjs.com/package/@antv/g2)
15
17
  [![npm License](https://img.shields.io/npm/l/@antv/g2.svg)](https://www.npmjs.com/package/@antv/g2)
18
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/antvis/G2)
16
19
 
17
20
  ![examples](https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*_GfqQoRCqQkAAAAAAAAAAAAADmJ7AQ/fmt.webp)
18
21
 
package/README.zh-CN.md CHANGED
@@ -8,6 +8,8 @@
8
8
 
9
9
  简洁的渐进式可视化语法,用于构建仪表盘、数据探索以及数据讲故事。
10
10
 
11
+ <a href="https://trendshift.io/repositories/4408" target="_blank"><img src="https://trendshift.io/api/badge/repositories/4408" alt="antvis%2FG2 | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
12
+
11
13
  <p align="center">
12
14
  <a href="https://g2.antv.antgroup.com/manual/introduction/what-is-g2">介绍</a> •
13
15
  <a href="https://g2.antv.antgroup.com/examples">案例</a> •
@@ -21,6 +23,7 @@
21
23
  [![npm Version](https://img.shields.io/npm/v/@antv/g2.svg)](https://www.npmjs.com/package/@antv/g2)
22
24
  [![npm Download](https://img.shields.io/npm/dm/@antv/g2.svg)](https://www.npmjs.com/package/@antv/g2)
23
25
  [![npm License](https://img.shields.io/npm/l/@antv/g2.svg)](https://www.npmjs.com/package/@antv/g2)
26
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/antvis/G2)
24
27
 
25
28
  ![examples](https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*_GfqQoRCqQkAAAAAAAAAAAAADmJ7AQ/fmt.webp)
26
29