@antv/infographic 0.2.1 → 0.2.2
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/README.md +3 -1
- package/README.zh-CN.md +3 -1
- package/dist/infographic.min.js +81 -81
- package/dist/infographic.min.js.map +1 -1
- package/esm/exporter/font.js +14 -12
- package/esm/renderer/fonts/loader.js +18 -9
- package/esm/renderer/fonts/registry.js +9 -6
- package/esm/utils/font.d.ts +1 -0
- package/esm/utils/font.js +87 -8
- package/esm/utils/measure-text.js +89 -9
- package/lib/exporter/font.js +13 -11
- package/lib/renderer/fonts/loader.js +17 -8
- package/lib/renderer/fonts/registry.js +8 -5
- package/lib/utils/font.d.ts +1 -0
- package/lib/utils/font.js +88 -8
- package/lib/utils/measure-text.js +89 -9
- package/package.json +2 -1
- package/src/exporter/font.ts +15 -10
- package/src/renderer/fonts/loader.ts +17 -8
- package/src/renderer/fonts/registry.ts +12 -5
- package/src/utils/font.ts +95 -5
- package/src/utils/measure-text.ts +108 -11
- package/src/designs/items/prompt.md +0 -900
- package/src/designs/structures/prompt.md +0 -1049
package/README.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
🦋 An Infographic Generation and Rendering Framework, bring words to life!
|
|
8
8
|
|
|
9
|
+
<a href="https://trendshift.io/repositories/15838" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15838" alt="antvis%2FInfographic | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
|
10
|
+
|
|
9
11
|
[](https://www.npmjs.com/package/@antv/infographic)
|
|
10
12
|
[](https://github.com/antvis/infographic/actions)
|
|
11
13
|

|
|
@@ -29,7 +31,7 @@
|
|
|
29
31
|
<a href="https://infographic.antv.vision/learn">
|
|
30
32
|
<img src="https://img.shields.io/badge/Docs-722ED1?style=for-the-badge" alt="Docs" />
|
|
31
33
|
</a>
|
|
32
|
-
<a href="https://infographic.antv.vision/
|
|
34
|
+
<a href="https://infographic.antv.vision/gallery">
|
|
33
35
|
<img src="https://img.shields.io/badge/Gallery-13C2C2?style=for-the-badge" alt="Gallery" />
|
|
34
36
|
</a>
|
|
35
37
|
<a href="./prompt.md">
|
package/README.zh-CN.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
🦋 新一代信息图可视化引擎,让文字信息栩栩如生!
|
|
8
8
|
|
|
9
|
+
<a href="https://trendshift.io/repositories/15838" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15838" alt="antvis%2FInfographic | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
|
10
|
+
|
|
9
11
|
[](https://www.npmjs.com/package/@antv/infographic)
|
|
10
12
|
[](https://github.com/antvis/infographic/actions)
|
|
11
13
|

|
|
@@ -29,7 +31,7 @@
|
|
|
29
31
|
<a href="https://infographic.antv.vision/learn">
|
|
30
32
|
<img src="https://img.shields.io/badge/%E6%96%87%E6%A1%A3-722ED1?style=for-the-badge" alt="文档" />
|
|
31
33
|
</a>
|
|
32
|
-
<a href="https://infographic.antv.vision/
|
|
34
|
+
<a href="https://infographic.antv.vision/gallery">
|
|
33
35
|
<img src="https://img.shields.io/badge/%E7%A4%BA%E4%BE%8B-13C2C2?style=for-the-badge" alt="示例" />
|
|
34
36
|
</a>
|
|
35
37
|
<a href="./prompt.zh-CN.md">
|