vue-stream-markdown 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +7 -7
package/dist/index.d.ts CHANGED
@@ -221,8 +221,8 @@ declare const UI: {
221
221
  onLoad?: ((event: Event) => any) | undefined;
222
222
  }>, {
223
223
  preview: boolean;
224
- margin: number;
225
224
  controls: ControlsConfig;
225
+ margin: number;
226
226
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
227
227
  readonly Modal: {
228
228
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<UIModalProps & {
@@ -800,12 +800,12 @@ declare const __VLS_export: import("vue").DefineComponent<StreamMarkdownProps, S
800
800
  }, string, import("vue").PublicProps, Readonly<StreamMarkdownProps> & Readonly<{
801
801
  onCopied?: ((content: string) => any) | undefined;
802
802
  }>, {
803
- nodeRenderers: Partial<Record<"delete" | "text" | "blockquote" | "break" | "code" | "definition" | "emphasis" | "footnoteDefinition" | "footnoteReference" | "heading" | "html" | "image" | "imageReference" | "inlineCode" | "link" | "linkReference" | "list" | "listItem" | "paragraph" | "strong" | "table" | "tableCell" | "tableRow" | "thematicBreak" | "yaml" | "inlineMath" | "math", import("vue").Component>>;
804
803
  controls: ControlsConfig;
805
- content: string;
806
804
  previewers: PreviewerConfig;
807
805
  isDark: boolean;
808
806
  mode: "static" | "streaming";
807
+ content: string;
808
+ nodeRenderers: Partial<Record<"blockquote" | "break" | "code" | "definition" | "delete" | "emphasis" | "footnoteDefinition" | "footnoteReference" | "heading" | "html" | "image" | "imageReference" | "inlineCode" | "link" | "linkReference" | "list" | "listItem" | "paragraph" | "strong" | "table" | "tableCell" | "tableRow" | "text" | "thematicBreak" | "yaml" | "inlineMath" | "math", import("vue").Component>>;
809
809
  icons: Partial<Icons>;
810
810
  enableAnimate: boolean;
811
811
  animation: import("@stream-markdown/core").AnimationType;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-stream-markdown",
3
3
  "type": "module",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "description": "Streaming markdown output, Useful for text streams like LLM outputs.",
6
6
  "author": "jinghaihan",
7
7
  "license": "MIT",
@@ -60,12 +60,12 @@
60
60
  "dependencies": {
61
61
  "@floating-ui/dom": "^1.8.0",
62
62
  "@vueuse/core": "^14.3.0",
63
- "@markmend/ast": "1.0.1",
64
- "@stream-markdown/code": "1.0.1",
65
- "@markmend/core": "1.0.1",
66
- "@stream-markdown/math": "1.0.1",
67
- "@stream-markdown/mermaid": "1.0.1",
68
- "@stream-markdown/core": "1.0.1"
63
+ "@stream-markdown/core": "1.0.2",
64
+ "@markmend/core": "1.0.2",
65
+ "@markmend/ast": "1.0.2",
66
+ "@stream-markdown/mermaid": "1.0.2",
67
+ "@stream-markdown/code": "1.0.2",
68
+ "@stream-markdown/math": "1.0.2"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@antfu/utils": "^9.3.0",