markstream-vue2 2.0.9 → 2.0.10

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/tailwind.ts +1 -1
  2. package/package.json +3 -3
package/dist/tailwind.ts CHANGED
@@ -1,3 +1,3 @@
1
- export const safeList = `stream-markdown-parser vue-demi admonition is-dark admonition-header [_setup.iconMap[_setup.props.node.kind] admonition-icon admonition-title admonition-toggle show v-show !collapsed admonition-content component copy f9c1d6b9 auto [] checkbox-node checkbox-input checkbox checked code-pre-fallback container code-block-container my-4 rounded-lg border overflow-hidden shadow-sm border-gray-700/30 bg-gray-900 border-gray-200 bg-white is-plain-text ready pending code-block-header flex justify-between items-center code-header-main icon-slot h-4 w-4 flex-shrink-0 code-header-copy code-header-title header-right code-header-actions code-action-btn transition-colors mouseenter focus action-icon none currentColor round m9 click m14 evenodd !isCollapsed code-editor-layer codeEditor code-editor-container code-height-placeholder"] void !stream loading code-loading-placeholder loading-skeleton skeleton-line short sr-only polite status d2-block-container text-gray-100 text-gray-900 d2-block-header px-4 py-2.5 border-b border-gray-400/5 gap-x-2 gap-x-1 rounded-md p-0.5 bg-gray-700 bg-gray-100 mode-btn px-2 py-1 text-xs rounded is-active preview source d2-action-btn p-2 hover:bg-[var(--vscode-editor-selectionBackground)] w-3 h-3 bodyRef d2-block-body d2-source py-4 d2-code d2-error mt-2 d2-render d2-svg pb-3 text-sm font-medium font-mono emoji-node de55dc97 emphasis-node child emphasis footnote-node leading-relaxed border-t border-[var(--footnote-border,#eaecef)] pt-2 flex-1 dl definition-list entry.className entry.key entry.nodes b089ea12 footnote-anchor hover:underline cursor-pointer hard-break structured htmlRef html-block-node html-block-node__placeholder html-block-node__placeholder-bar w-4/5 w-2/3 dynamic node heading-node heading ffb7cf51 footnote-reference footnote-link html-inline-node text innerHTML e6ed4c9f mark highlight-node highlight transition img-switch out-in image image-node__img h-auto transition-opacity duration-200 ease-in-out image-node__img--inline opacity-0 opacity-100 ?? lazy eager async placeholder placeholder-layer placeholder-layer--inline inline-flex justify-center gap-2 rounded-full border-2 border-solid border-current border-t-transparent animate-spin whitespace-nowrap text-gray-500 [_vm._v(_vm._s(_vm.node.raw))])]] error image-node__error image-node__error--inline py-2 text-red-500 is-rendering infographic-block-header bg-gray-800 bg-gray-50 [_vm.$slots["header-left"] [_vm._t("header-left")] my-0 truncate text-gray-400 text-gray-600 [_vm._t("header-center")] px-2.5 bg-gray-600 text-gray-200 text-gray-700 hover:text-gray-200 hover:text-gray-700 m16 [_vm._t("header-right")] opacity-50 cursor-not-allowed m7 p-4 whitespace-pre-wrap text-gray-300 relative absolute top-2 right-2 z-10 backdrop-blur hover:bg-gray-700 hover:bg-gray-200"] in m21 out zoom infographic-preview min-h-[var(--ms-size-diagram-min-height,360px)] transition-all duration-100 block inset-0 overflow-auto text-left cursor-grab infographicContainer w-full text-center min-h-full markstream-vue infographic-dialog fixed z-50 bg-black/70 dialog-panel h-full max-w-full max-h-full shadow-lg top-6 right-6 modalContent bb8681bf inline text-[85%] px-1 py-0.5 bg-[hsl(var(--secondary))] whitespace-normal break-words before:content-[''] after:content-[''] segment.id segment.fading animationend insert-node insert ab1ec9bc list-item pl-1.5 my-2 anchorEl link-node noopener noreferrer link-text link-loading items-baseline gap-1.5 link-text-wrapper leading-[normal] link-loading-indicator df7a5c00 list-node list-disc item index containerEl math-block overflow-x-auto min-h-[40px] math-block__content math-block__fallback math-loading-overlay math-loading-spinner math-inline-wrapper math-inline math-inline--fallback math-inline__loading math-inline__spinner isLoading mermaid-block-header space-x-2 space-x-1 modeContainerRef mermaidContainer transition-[height] duration-150 ease-out mermaidContent markstream-vue2 mermaid-dialog markstream-pre--line-numbers markstream-pre--diff-preview markstream-pre--diff-inline markstream-pre__diff-code no pane.key markstream-pre__diff-pane line.key markstream-pre__diff-line line.empty markstream-pre__diff-rail markstream-pre__diff-number markstream-pre__diff-content markstream-pre__diff-content-inner markstream-pre__line-numbers markstream-pre__line-numbers-text markstream-pre__code textContent strikethrough-node strikethrough paragraph-node strong-node custom-id af3ce037 reference-node bg-[hsl(var(--muted))] px-1.5 mx-0.5 hover:bg-[hsl(var(--secondary))] mouseEnter mouseleave mouseLeave subscript-node subscript-child [_setup.nodeComponents[child.type] child.raw table-node-wrapper tableRef my-8 table-node col border-[var(--table-border,#cbd5e1)] font-semibold p-[calc(4/7*1em)] right text-right cell.align center cell.children table-node__resize-handle columns and pointerdown table-node-fade table-node__loading table-node__spinner e80ddef6 superscript-node superscript-child ef2512b4 hr-node tooltip visible z-[9999] inline-block text-base px-3 shadow-md pointer-events-none tooltip-element text-white border-gray-700 border"] text-node text-node-center vmr-container is common alias note previewCode preview-code plaintext monospace number maxHeight padding tabSize theme themes themeType language languages stream disableFileHeader onThemeChange renderCustomHeader renderHeaderMetadata renderHeaderPrefix object split line-info diff single [markstream-vue2] stream-diffs not blocks will use basic enhanced editor to initialize typeof diffs-container pre[data-file] hidden navigator.clipboard navigator.clipboard.writeText top post string vitesse-dark vitesse-light dark night moon black dracula mocha frappe macchiato palenight ocean poimandres monokai laserwave tokyo slack-dark rose-pine github-dark material-theme one-dark catppuccin-mocha catppuccin-frappe catppuccin-macchiato light latte dawn lotus boolean unified fontSize lineHeight paddingBottom paddingTop resolvedCodeBlockOptions.value.overflow scroll pre-wrap wrap nextOptions.unsafeCSS resize max href name xlink:href markstream-d2-root-svg instance.render instance missing render returned empty window.requestAnimationFrame dt definition-term dd definition-desc smooth markstreamHtmlPolicy safe escape load primary failed fallback openModal element found keydown transform ease fullscreen library message rendered p-4">Failed instanceof error.message infographic-action-btn hover:bg-gray-200 markstreamFade markstreamTextStreamState raw index-key inline-code-stream-delta--a inline-code-stream-delta--b event.clientY pointermove mousemove infinite $$ toggleMode strict loose mermaid configure default abort timed error?.message gantt viewBox width height get [data-mermaid-wrapper] open-modal toggle-mode transitionend retry mermaid-action-btn code[start] hunk !options.preserveBlankKind context removed added markstream-pre__diff-pane--inline original markstream-pre__diff-pane--original modified markstream-pre__diff-pane--modified paragraph custom-html-tags html_block child.type html_inline pointerup pointercancel markstreamStreamVersion text-node-stream-delta--a text-node-stream-delta--b markdown-renderer legacy-nodes-renderer item.renderKey node-slot item.index item.node.type node-content item.node item.node.loading item.indexKey markstream-core copy-code handleArtifactClick markstreamTypewriter legacy-renderer builtinCodeBlockExtraProps.value.showLineNumbers unknown node.type code_block infographic d2 lang d2lang list html-preview-frame__backdrop html-preview-frame html-preview-frame__header html-preview-frame__title html-preview-frame__dot html-preview-frame__label html-preview-frame__close html-preview-frame__iframe no-referrer srcdoc unknown-node htmlPreviewSandbox contains both allow-scripts this only fully trusted content served an isolated en utf-8 viewport content="width=device-width initial-scale=1 e.key containerRef mouseout fade handle-artifact-click item.bindings node-spacer node-placeholder typewriterCursorRef typewriter-cursor c219138d rootRef portal-root code-block-loading code-block-loading__header code-block-loading__icon code-block-loading__actions code-block-loading-pre minHeight mouseover show-tooltips markstreamSmoothStreaming markstreamShowTooltips globalThis.process globalThis.process?.env?.NODE_ENV test reverse too-many-targets console viewportPriority virtualization this.isDark mermaid-preview-area min-h-[360px] peer dependencies are back preformatted enable rendering please install list_item definition_list footnote [data-node-index] math_block [data-node-type="code_block"] [data-node-type="admonition"] [data-node-type="table"] [data-node-type="math_block"] [data-node-type="html_block"] [data-node-type="image"]`
1
+ export const safeList = `stream-markdown-parser vue-demi admonition is-dark admonition-header [_setup.iconMap[_setup.props.node.kind] admonition-icon admonition-title admonition-toggle show v-show !collapsed admonition-content component copy f9c1d6b9 auto [] checkbox-node checkbox-input checkbox checked d2-block-container my-4 rounded-lg border overflow-hidden shadow-sm border-gray-700/30 bg-gray-900 text-gray-100 border-gray-200 bg-white text-gray-900 d2-block-header flex justify-between items-center px-4 py-2.5 border-b border-gray-400/5 gap-x-2 gap-x-1 rounded-md p-0.5 bg-gray-700 bg-gray-100 mode-btn px-2 py-1 text-xs rounded is-active click preview mouseenter focus source d2-action-btn p-2 transition-colors hover:bg-[var(--vscode-editor-selectionBackground)] w-3 h-3 none currentColor round m9 !isCollapsed bodyRef d2-block-body d2-source py-4 d2-code d2-error mt-2 d2-render d2-svg pb-3 text-sm font-medium font-mono code-pre-fallback container code-block-container is-plain-text ready pending code-block-header code-header-main icon-slot h-4 w-4 flex-shrink-0 code-header-copy code-header-title header-right code-header-actions code-action-btn action-icon m14 evenodd code-editor-layer codeEditor code-editor-container code-height-placeholder"] void !stream loading code-loading-placeholder loading-skeleton skeleton-line short sr-only polite status dl definition-list entry.className entry.key entry.nodes b089ea12 emoji-node de55dc97 emphasis-node child emphasis footnote-anchor hover:underline cursor-pointer footnote-node leading-relaxed border-t border-[var(--footnote-border,#eaecef)] pt-2 flex-1 footnote-reference footnote-link hard-break heading-node heading ffb7cf51 structured htmlRef html-block-node html-block-node__placeholder html-block-node__placeholder-bar w-4/5 w-2/3 dynamic node html-inline-node text innerHTML e6ed4c9f transition img-switch out-in image image-node__img h-auto transition-opacity duration-200 ease-in-out image-node__img--inline opacity-0 opacity-100 ?? lazy eager async placeholder placeholder-layer placeholder-layer--inline inline-flex justify-center gap-2 rounded-full border-2 border-solid border-current border-t-transparent animate-spin whitespace-nowrap text-gray-500 [_vm._v(_vm._s(_vm.node.raw))])]] error image-node__error image-node__error--inline py-2 text-red-500 mark highlight-node highlight is-rendering infographic-block-header bg-gray-800 bg-gray-50 [_vm.$slots["header-left"] [_vm._t("header-left")] my-0 truncate text-gray-400 text-gray-600 [_vm._t("header-center")] px-2.5 bg-gray-600 text-gray-200 text-gray-700 hover:text-gray-200 hover:text-gray-700 m16 [_vm._t("header-right")] opacity-50 cursor-not-allowed m7 p-4 whitespace-pre-wrap text-gray-300 relative absolute top-2 right-2 z-10 backdrop-blur hover:bg-gray-700 hover:bg-gray-200"] in m21 out zoom infographic-preview min-h-[var(--ms-size-diagram-min-height,360px)] transition-all duration-100 block inset-0 overflow-auto text-left cursor-grab infographicContainer w-full text-center min-h-full markstream-vue infographic-dialog fixed z-50 bg-black/70 dialog-panel h-full max-w-full max-h-full shadow-lg top-6 right-6 modalContent bb8681bf inline text-[85%] px-1 py-0.5 bg-[hsl(var(--secondary))] whitespace-normal break-words before:content-[''] after:content-[''] segment.id segment.fading animationend insert-node insert ab1ec9bc anchorEl link-node noopener noreferrer link-text link-loading items-baseline gap-1.5 link-text-wrapper leading-[normal] link-loading-indicator df7a5c00 list-item pl-1.5 my-2 containerEl math-block overflow-x-auto min-h-[40px] math-block__content math-block__fallback math-loading-overlay math-loading-spinner list-node list-disc item index math-inline-wrapper math-inline math-inline--fallback math-inline__loading math-inline__spinner isLoading mermaid-block-header space-x-2 space-x-1 modeContainerRef mermaidContainer transition-[height] duration-150 ease-out mermaidContent markstream-vue2 mermaid-dialog paragraph-node markstream-pre--line-numbers markstream-pre--diff-preview markstream-pre--diff-inline markstream-pre__diff-code no pane.key markstream-pre__diff-pane line.key markstream-pre__diff-line line.empty markstream-pre__diff-rail markstream-pre__diff-number markstream-pre__diff-content markstream-pre__diff-content-inner markstream-pre__line-numbers markstream-pre__line-numbers-text markstream-pre__code textContent reference-node bg-[hsl(var(--muted))] px-1.5 mx-0.5 hover:bg-[hsl(var(--secondary))] mouseEnter mouseleave mouseLeave strong-node custom-id af3ce037 subscript-node subscript-child [_setup.nodeComponents[child.type] child.raw strikethrough-node strikethrough superscript-node superscript-child ef2512b4 table-node-wrapper tableRef my-8 table-node col border-[var(--table-border,#cbd5e1)] font-semibold p-[calc(4/7*1em)] right text-right cell.align center cell.children table-node__resize-handle columns and pointerdown table-node-fade table-node__loading table-node__spinner e80ddef6 text-node text-node-center hr-node vmr-container tooltip visible z-[9999] inline-block text-base px-3 shadow-md pointer-events-none tooltip-element text-white border-gray-700 border"] is common alias note number max top navigator.clipboard typeof navigator.clipboard.writeText href name xlink:href markstream-d2-root-svg string not instance.render instance missing object render returned empty window.requestAnimationFrame to previewCode preview-code plaintext monospace maxHeight padding tabSize theme themes themeType language languages stream disableFileHeader onThemeChange renderCustomHeader renderHeaderMetadata renderHeaderPrefix split line-info diff single [markstream-vue2] stream-diffs blocks will use basic enhanced editor initialize diffs-container pre[data-file] hidden post vitesse-dark vitesse-light dark night moon black dracula mocha frappe macchiato palenight ocean poimandres monokai laserwave tokyo slack-dark rose-pine github-dark material-theme one-dark catppuccin-mocha catppuccin-frappe catppuccin-macchiato light latte dawn lotus boolean unified fontSize lineHeight paddingBottom paddingTop resolvedCodeBlockOptions.value.overflow scroll pre-wrap wrap nextOptions.unsafeCSS resize dt definition-term dd definition-desc smooth markstreamHtmlPolicy safe escape load primary failed fallback markstreamFade markstreamTextStreamState raw index-key inline-code-stream-delta--a inline-code-stream-delta--b openModal element found keydown transform ease fullscreen library message rendered p-4">Failed instanceof error.message infographic-action-btn hover:bg-gray-200 event.clientY pointermove mousemove infinite $$ paragraph custom-html-tags html_block child.type html_inline code[start] hunk !options.preserveBlankKind context removed added markstream-pre__diff-pane--inline original markstream-pre__diff-pane--original modified markstream-pre__diff-pane--modified toggleMode strict loose mermaid configure default abort timed error?.message gantt viewBox width height get [data-mermaid-wrapper] open-modal toggle-mode transitionend retry mermaid-action-btn pointerup pointercancel markstreamStreamVersion text-node-stream-delta--a text-node-stream-delta--b markdown-renderer legacy-nodes-renderer item.renderKey node-slot item.index item.node.type node-content item.node item.node.loading item.indexKey html-preview-frame__backdrop html-preview-frame html-preview-frame__header html-preview-frame__title html-preview-frame__dot html-preview-frame__label html-preview-frame__close html-preview-frame__iframe no-referrer srcdoc markstream-core copy-code handleArtifactClick markstreamTypewriter legacy-renderer builtinCodeBlockExtraProps.value.showLineNumbers unknown node.type code_block infographic d2 lang d2lang list unknown-node htmlPreviewSandbox contains both allow-scripts this only fully trusted content served an isolated en utf-8 viewport content="width=device-width initial-scale=1 e.key containerRef mouseout fade handle-artifact-click item.bindings node-spacer node-placeholder typewriterCursorRef typewriter-cursor c219138d rootRef portal-root code-block-loading code-block-loading__header code-block-loading__icon code-block-loading__actions code-block-loading-pre minHeight mouseover show-tooltips markstreamSmoothStreaming markstreamShowTooltips globalThis.process globalThis.process?.env?.NODE_ENV test reverse too-many-targets console viewportPriority virtualization this.isDark mermaid-preview-area min-h-[360px] peer dependencies are back preformatted enable rendering please install list_item definition_list footnote [data-node-index] math_block [data-node-type="code_block"] [data-node-type="admonition"] [data-node-type="table"] [data-node-type="math_block"] [data-node-type="html_block"] [data-node-type="image"]`
2
2
  module.exports = safeList;
3
3
  export default safeList;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "markstream-vue2",
3
3
  "type": "module",
4
- "version": "2.0.9",
4
+ "version": "2.0.10",
5
5
  "description": "Vue 2.6/2.7 streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, Mermaid, KaTeX, stream-diffs powered code blocks, and Vue 2 component rendering.",
6
6
  "author": "Simon He",
7
7
  "license": "MIT",
@@ -135,8 +135,8 @@
135
135
  "dependencies": {
136
136
  "@floating-ui/dom": "^1.8.0",
137
137
  "vue-demi": "^0.14.10",
138
- "markstream-core": "2.0.9",
139
- "stream-markdown-parser": "1.2.15"
138
+ "markstream-core": "2.0.10",
139
+ "stream-markdown-parser": "1.2.16"
140
140
  },
141
141
  "devDependencies": {
142
142
  "@vitejs/plugin-vue2": "^2.3.4",