@farris/x-ui 0.4.3 → 0.4.4

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.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * 将正文中的完整 `$$...$$` 规范化为独立 Markdown 块,同时保护代码区域和转义定界符。
3
+ * 未闭合的流式公式保持原样,待后续 chunk 补全后再参与规范化。
4
+ */
5
+ export declare function normalizeDisplayMathBoundaries(markdown: string): string;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/x-ui",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "可复用的 AI 对话组件",
5
5
  "type": "module",
6
6
  "main": "./farris.x-ui.umd.cjs",
@@ -9,7 +9,9 @@
9
9
  "style": "./index.css",
10
10
  "dependencies": {
11
11
  "@monaco-editor/loader": "^1.4.0",
12
+ "katex": "0.16.44",
12
13
  "markdown-it": "^14.1.0",
14
+ "markdown-it-texmath": "1.0.0",
13
15
  "md-editor-v3": "^6.4.1"
14
16
  },
15
17
  "peerDependencies": {