@antv/infographic 0.2.15 → 0.2.17

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 (78) hide show
  1. package/README.md +27 -0
  2. package/README.zh-CN.md +27 -0
  3. package/dist/infographic.min.js +130 -129
  4. package/dist/infographic.min.js.map +1 -1
  5. package/esm/constants/service.d.ts +1 -1
  6. package/esm/constants/service.js +1 -1
  7. package/esm/designs/structures/chart-line.js +2 -1
  8. package/esm/designs/structures/sequence-interaction.js +36 -15
  9. package/esm/designs/structures/sequence-timeline.d.ts +1 -0
  10. package/esm/designs/structures/sequence-timeline.js +4 -2
  11. package/esm/exporter/png.js +2 -2
  12. package/esm/exporter/svg.js +176 -2
  13. package/esm/exporter/types.d.ts +10 -0
  14. package/esm/options/parser.js +8 -6
  15. package/esm/options/types.d.ts +3 -3
  16. package/esm/renderer/renderer.js +1 -1
  17. package/esm/resource/loaders/search.js +2 -3
  18. package/esm/runtime/options.js +1 -1
  19. package/esm/syntax/index.js +56 -10
  20. package/esm/syntax/mapper.js +20 -6
  21. package/esm/syntax/parser.js +89 -3
  22. package/esm/syntax/types.d.ts +1 -1
  23. package/esm/templates/built-in.js +2 -2
  24. package/esm/templates/registry.d.ts +1 -0
  25. package/esm/templates/registry.js +6 -0
  26. package/esm/templates/utils.d.ts +1 -0
  27. package/esm/templates/utils.js +63 -0
  28. package/esm/themes/built-in.js +3 -0
  29. package/esm/version.d.ts +1 -1
  30. package/esm/version.js +1 -1
  31. package/lib/constants/service.d.ts +1 -1
  32. package/lib/constants/service.js +1 -1
  33. package/lib/designs/structures/chart-line.js +2 -1
  34. package/lib/designs/structures/sequence-interaction.js +36 -15
  35. package/lib/designs/structures/sequence-timeline.d.ts +1 -0
  36. package/lib/designs/structures/sequence-timeline.js +4 -2
  37. package/lib/exporter/png.js +2 -2
  38. package/lib/exporter/svg.js +176 -2
  39. package/lib/exporter/types.d.ts +10 -0
  40. package/lib/options/parser.js +7 -5
  41. package/lib/options/types.d.ts +3 -3
  42. package/lib/renderer/renderer.js +1 -1
  43. package/lib/resource/loaders/search.js +2 -3
  44. package/lib/runtime/options.js +1 -1
  45. package/lib/syntax/index.js +56 -10
  46. package/lib/syntax/mapper.js +20 -6
  47. package/lib/syntax/parser.js +89 -3
  48. package/lib/syntax/types.d.ts +1 -1
  49. package/lib/templates/built-in.js +2 -2
  50. package/lib/templates/registry.d.ts +1 -0
  51. package/lib/templates/registry.js +7 -0
  52. package/lib/templates/utils.d.ts +1 -0
  53. package/lib/templates/utils.js +66 -0
  54. package/lib/themes/built-in.js +3 -0
  55. package/lib/version.d.ts +1 -1
  56. package/lib/version.js +1 -1
  57. package/package.json +1 -1
  58. package/src/constants/service.ts +1 -1
  59. package/src/designs/structures/chart-line.tsx +3 -1
  60. package/src/designs/structures/sequence-interaction.tsx +92 -46
  61. package/src/designs/structures/sequence-timeline.tsx +18 -15
  62. package/src/exporter/png.ts +3 -2
  63. package/src/exporter/svg.ts +209 -2
  64. package/src/exporter/types.ts +10 -0
  65. package/src/options/parser.ts +7 -6
  66. package/src/options/types.ts +3 -3
  67. package/src/renderer/renderer.ts +1 -1
  68. package/src/resource/loaders/search.ts +2 -2
  69. package/src/runtime/options.ts +1 -1
  70. package/src/syntax/index.ts +71 -10
  71. package/src/syntax/mapper.ts +20 -6
  72. package/src/syntax/parser.ts +111 -3
  73. package/src/syntax/types.ts +1 -0
  74. package/src/templates/built-in.ts +2 -2
  75. package/src/templates/registry.ts +6 -0
  76. package/src/templates/utils.ts +87 -0
  77. package/src/themes/built-in.ts +4 -0
  78. package/src/version.ts +1 -1
package/README.md CHANGED
@@ -152,6 +152,33 @@ rm -f skills.zip
152
152
  $skill-installer install https://github.com/antvis/Infographic/tree/main/skills/infographic-creator
153
153
  ```
154
154
 
155
+ ## 🌐 Ecosystem
156
+
157
+ Community projects and products powered by AntV Infographic:
158
+
159
+ - 💼 **Products**
160
+ - [Alma](https://alma.now/) — Desktop AI provider orchestration app with Infographic
161
+ - [Chrome Extension](https://github.com/xicilion/markdown-viewer-extension) — Markdown viewer with Infographic support, export to Word
162
+ - [InfographicAI](https://infographic-ai.tuntun.site/) — Generate PPT slides powered by Infographic
163
+ - [LangChat Slides](https://github.com/TyCoding/langchat-slides) — Next-Gen AI Slide Generator using @antv/infographic
164
+ - [Nowledge Mem](https://mem.nowledge.co/) — AI Memory Bank with Presentation Creator supporting Infographic
165
+ - [WeChat Markdown Editor](https://md.doocs.org/) — Markdown to WeChat article editor with Infographic
166
+ - [Welight](https://waer.ltd/) — WeChat article creation platform with Infographic support
167
+ - [Zojo](https://zojo.ai/infographic) — Generate professional infographics with simple syntax
168
+ - 📦 **Libraries**
169
+ - [astro-koharu](https://github.com/cosZone/astro-koharu) — Anime blog theme (Astro) with Infographic support
170
+ - [docsify-infographic](https://github.com/bulexu/docsify-infographic) — Plugin to render Infographic diagrams in Docsify
171
+ - [feffery-infographic](https://github.com/HogaStack/feffery-infographic) — Create infographics in Python with Plotly Dash
172
+ - [infographic-cli](https://github.com/lyw405/infographic-cli) — CLI tool to generate SVG infographics
173
+ - [infographic-for-react](https://github.com/lyw405/infographic-for-react) — React component wrapper for @antv/infographic
174
+ - [markdown-it-infographic](https://github.com/hcg1023/markdown-it-infographic) — markdown-it plugin for @antv/infographic
175
+ - [markstream-vue](https://github.com/Simon-He95/markstream-vue) — Streaming Markdown rendering for Vue 3 with Infographic
176
+ - [obsidian-infographic](https://github.com/hcg1023/obsidian-infographic) — Obsidian plugin for @antv/infographic
177
+ - [slidev-addon-infographic](https://github.com/fxss5201/slidev-addon-infographic) — @antv/infographic component for Slidev
178
+ - [VSCode Extension](https://github.com/liwx2000/infographic-vscode-extension) — Preview Infographic in VSCode Markdown files
179
+
180
+ > 💡 Have a project using AntV Infographic? Share it in [Issue #99](https://github.com/antvis/Infographic/issues/99)!
181
+
155
182
  ## 💬 Community & Communication
156
183
 
157
184
  - Submit your questions or suggestions on GitHub
package/README.zh-CN.md CHANGED
@@ -152,6 +152,33 @@ rm -f skills.zip
152
152
  $skill-installer install https://github.com/antvis/Infographic/tree/main/skills/infographic-creator
153
153
  ```
154
154
 
155
+ ## 🌐 生态周边
156
+
157
+ 社区基于 AntV Infographic 构建的项目和产品:
158
+
159
+ - 💼 **商业产品**
160
+ - [Alma](https://alma.now/) — 集成信息图的桌面 AI 多模型管理应用
161
+ - [Chrome 插件](https://github.com/xicilion/markdown-viewer-extension) — 支持信息图的 Markdown 查看器,支持导出 Word
162
+ - [InfographicAI](https://infographic-ai.tuntun.site/) — 基于信息图生成 PPT 的在线工具
163
+ - [LangChat Slides](https://github.com/TyCoding/langchat-slides) — 基于 @antv/infographic 的新一代 AI 幻灯片生成器
164
+ - [Nowledge Mem](https://mem.nowledge.co/) — 支持信息图演示创作的 AI 记忆库
165
+ - [微信 Markdown 编辑器](https://md.doocs.org/) — 支持信息图的 Markdown 转微信图文编辑器
166
+ - [Welight](https://waer.ltd/) — 支持信息图的微信公众号创作平台
167
+ - [Zojo](https://zojo.ai/infographic) — 使用简单语法生成专业信息图
168
+ - 📦 **技术库**
169
+ - [astro-koharu](https://github.com/cosZone/astro-koharu) — 支持信息图的 Astro 动漫风格博客主题
170
+ - [docsify-infographic](https://github.com/bulexu/docsify-infographic) — 在 Docsify 中渲染信息图的插件
171
+ - [feffery-infographic](https://github.com/HogaStack/feffery-infographic) — 基于 Plotly Dash 在 Python 中创建信息图
172
+ - [infographic-cli](https://github.com/lyw405/infographic-cli) — 命令行生成 SVG 信息图的 CLI 工具
173
+ - [infographic-for-react](https://github.com/lyw405/infographic-for-react) — @antv/infographic 的 React 组件封装
174
+ - [markdown-it-infographic](https://github.com/hcg1023/markdown-it-infographic) — @antv/infographic 的 markdown-it 插件
175
+ - [markstream-vue](https://github.com/Simon-He95/markstream-vue) — 支持信息图的 Vue 3 流式 Markdown 渲染库
176
+ - [obsidian-infographic](https://github.com/hcg1023/obsidian-infographic) — @antv/infographic 的 Obsidian 插件
177
+ - [slidev-addon-infographic](https://github.com/fxss5201/slidev-addon-infographic) — 适用于 Slidev 的 @antv/infographic 组件
178
+ - [VSCode 插件](https://github.com/liwx2000/infographic-vscode-extension) — 在 VSCode Markdown 文件中预览信息图
179
+
180
+ > 💡 有使用 AntV Infographic 的项目?欢迎在 [Issue #99](https://github.com/antvis/Infographic/issues/99) 中分享!
181
+
155
182
  ## 💬 社区与交流
156
183
 
157
184
  - 在 GitHub 提交你的问题或建议