@antv/infographic 0.2.4 → 0.2.5
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 +2 -2
- package/README.zh-CN.md +2 -2
- package/dist/infographic.min.js +74 -64
- package/dist/infographic.min.js.map +1 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.js +2 -2
- package/esm/utils/is-browser.d.ts +1 -0
- package/esm/utils/is-browser.js +68 -0
- package/esm/utils/measure-text.d.ts +1 -0
- package/esm/utils/measure-text.js +9 -7
- package/lib/index.d.ts +2 -2
- package/lib/index.js +4 -3
- package/lib/utils/is-browser.d.ts +1 -0
- package/lib/utils/is-browser.js +71 -0
- package/lib/utils/measure-text.d.ts +1 -0
- package/lib/utils/measure-text.js +11 -7
- package/package.json +1 -1
- package/src/index.ts +2 -3
- package/src/utils/is-browser.ts +79 -0
- package/src/utils/measure-text.ts +11 -7
package/README.md
CHANGED
|
@@ -126,8 +126,8 @@ AntV Infographic provides skills to integrate with AI agents:
|
|
|
126
126
|
```bash
|
|
127
127
|
set -e
|
|
128
128
|
|
|
129
|
-
VERSION=0.2.4 # Replace
|
|
130
|
-
BASE_URL=https://github.com/antvis/Infographic/
|
|
129
|
+
VERSION=0.2.4 # Replace with the latest tag, e.g. 0.2.4
|
|
130
|
+
BASE_URL=https://github.com/antvis/Infographic/releases/download
|
|
131
131
|
mkdir -p .claude/skills
|
|
132
132
|
|
|
133
133
|
curl -L --fail -o skills.zip "$BASE_URL/$VERSION/skills.zip"
|
package/README.zh-CN.md
CHANGED
|
@@ -126,8 +126,8 @@ AntV Infographic 提供了多项能力,便于与 AI 大模型集成:
|
|
|
126
126
|
```bash
|
|
127
127
|
set -e
|
|
128
128
|
|
|
129
|
-
VERSION=0.2.4 #
|
|
130
|
-
BASE_URL=https://github.com/antvis/Infographic/
|
|
129
|
+
VERSION=0.2.4 # 替换为最新版本号,例如 0.2.4
|
|
130
|
+
BASE_URL=https://github.com/antvis/Infographic/releases/download
|
|
131
131
|
mkdir -p .claude/skills
|
|
132
132
|
|
|
133
133
|
curl -L --fail -o skills.zip "$BASE_URL/$VERSION/skills.zip"
|