markstream-vue2 2.0.20 → 2.0.21

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 = `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 stream-markdown-parser vue-demi 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 fda42594 emoji-node de55dc97 emphasis-node child emphasis 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 dl definition-list entry.className entry.key entry.nodes b089ea12 footnote-reference footnote-link cursor-pointer footnote-anchor hover:underline footnote-node leading-relaxed border-t border-[var(--footnote-border,#eaecef)] pt-2 flex-1 hard-break 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 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 heading-node heading ffb7cf51 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 pointerdown e6357a0d 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 list-item pl-1.5 my-2 list-node list-disc item index anchorEl link-node noopener noreferrer link-text link-loading items-baseline gap-1.5 link-text-wrapper leading-[normal] link-loading-indicator insert-node insert ab1ec9bc containerEl math-inline-wrapper math-inline math-inline--fallback math-inline__loading math-inline__spinner isLoading math-block overflow-x-auto min-h-[40px] math-block__content math-block__fallback math-loading-overlay math-loading-spinner mermaid-block-header space-x-2 space-x-1 modeContainerRef mermaidContainer transition-[height] duration-150 ease-out mermaidContent markstream-vue2 mermaid-dialog ef899fb0 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 strikethrough-node strikethrough superscript-node superscript-child [_setup.nodeComponents[child.type] child.raw 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 table-node-fade table-node__loading table-node__spinner e80ddef6 subscript-node subscript-child strong-node custom-id af3ce037 hr-node text-node text-node-center tooltip visible z-[9999] inline-block text-base px-3 shadow-md pointer-events-none tooltip-element text-white border-gray-700 border"] vmr-container is common alias note previewCode preview-code markstreamClipboardWriter 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 smooth dt definition-term dd definition-desc markstreamHtmlPolicy safe escape load primary failed fallback max href name xlink:href markstream-d2-root-svg instance.render instance missing render returned empty window.requestAnimationFrame markstream-core openModal element found keydown transform ease fullscreen touch 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 abort timed error?.message default gantt viewBox width height get [data-mermaid-wrapper] open-modal toggle-mode transitionend retry mermaid-action-btn 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 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 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 copy-code handleArtifactClick markstreamTypewriter legacy-renderer builtinCodeBlockExtraProps.value.showLineNumbers unknown node.type code_block infographic d2 lang d2lang list code-block-loading code-block-loading__header code-block-loading__icon code-block-loading__actions code-block-loading-pre containerRef mouseout fade handle-artifact-click item.bindings node-spacer node-placeholder typewriterCursorRef typewriter-cursor minHeight rootRef portal-root 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 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 fda42594 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 dl definition-list entry.className entry.key entry.nodes b089ea12 emphasis-node child emphasis footnote-node leading-relaxed border-t border-[var(--footnote-border,#eaecef)] pt-2 flex-1 footnote-reference footnote-link cursor-pointer footnote-anchor hover:underline 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 mark highlight-node highlight is-rendering error 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 text-gray-500 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 gap-2 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 justify-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 inline-flex modalContent pointerdown e6357a0d 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 rounded-full border-2 border-solid border-current border-t-transparent animate-spin whitespace-nowrap [_vm._v(_vm._s(_vm.node.raw))])]] image-node__error image-node__error--inline py-2 text-red-500 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 anchorEl link-node noopener noreferrer link-text link-loading items-baseline gap-1.5 link-text-wrapper leading-[normal] link-loading-indicator list-item pl-1.5 my-2 insert-node insert ab1ec9bc 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 ef899fb0 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 paragraph-node strikethrough-node strikethrough 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 superscript-node superscript-child ef2512b4 text-node text-node-center 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 table-node-fade table-node__loading table-node__spinner e80ddef6 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"] hr-node is common alias note previewCode preview-code markstreamClipboardWriter 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 dt definition-term dd definition-desc smooth max href name xlink:href markstream-d2-root-svg instance.render instance missing render returned empty window.requestAnimationFrame markstreamHtmlPolicy safe escape load primary failed fallback markstreamFade markstreamTextStreamState raw index-key inline-code-stream-delta--a inline-code-stream-delta--b event.clientY pointermove mousemove infinite markstream-core openModal element found keydown transform ease fullscreen touch library message rendered p-4">Failed instanceof error.message infographic-action-btn hover:bg-gray-200 $$ 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 abort timed error?.message default gantt viewBox width height get [data-mermaid-wrapper] open-modal toggle-mode transitionend retry mermaid-action-btn paragraph custom-html-tags html_block child.type html_inline markstreamStreamVersion text-node-stream-delta--a text-node-stream-delta--b pointerup pointercancel 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 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 code-block-loading code-block-loading__header code-block-loading__icon code-block-loading__actions code-block-loading-pre containerRef mouseout fade handle-artifact-click item.bindings node-spacer node-placeholder typewriterCursorRef typewriter-cursor rootRef portal-root 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.20",
4
+ "version": "2.0.21",
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.20",
139
- "stream-markdown-parser": "1.2.21"
138
+ "markstream-core": "2.0.21",
139
+ "stream-markdown-parser": "1.2.22"
140
140
  },
141
141
  "devDependencies": {
142
142
  "@vitejs/plugin-vue2": "^2.3.4",