markstream-vue2 0.0.52 → 0.0.53

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 [] 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 ce162b3f 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 fdf24c90 dl definition-list entry.className entry.key entry.nodes b089ea12 checkbox-node checkbox-input checkbox checked emoji-node de55dc97 emphasis-node child emphasis footnote-node leading-relaxed border-t border-[var(--footnote-border,#eaecef)] pt-2 flex-1 footnote-anchor hover:underline cursor-pointer footnote-reference footnote-link heading-node heading ffb7cf51 mark highlight-node highlight hard-break dynamic html-inline-node text innerHTML e6ed4c9f structured htmlRef html-block-node html-block-node__placeholder html-block-node__placeholder-bar w-4/5 w-2/3 node 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 inline text-[85%] px-1 py-0.5 bg-[hsl(var(--secondary))] whitespace-normal break-words max-w-full before:content-[''] after:content-[''] segment.id segment.fading animationend 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-[360px] transition-all duration-100 block inset-0 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-h-full shadow-lg top-6 right-6 modalContent 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 list-item pl-1.5 my-2 list-node list-disc item index codeBlockContent code-block-content rendererTarget code-block-render code-fallback-plain stream 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 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 strong-node custom-id af3ce037 subscript-node subscript-child [_setup.nodeComponents[child.type] child.raw 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 text-left cell.children table-node__resize-handle columns and pointerdown table-node-fade table-node__loading table-node__spinner 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 hr-node is common alias note dt definition-term dd definition-desc markstreamHtmlPolicy safe escape smooth load primary failed fallback markstreamFade markstreamTextStreamState raw boolean index-key inline-code-stream-delta--a inline-code-stream-delta--b number 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 event.clientY pointermove mousemove infinite openModal element found hidden keydown transform ease fullscreen library p-4">Failed instanceof error.message infographic-action-btn hover:bg-gray-200 markstream-core vitesse-dark vitesse-light previewCode lang window.getComputedStyle darkBg display shiki shiki-fallback [MarkdownCodeBlockNode] dispose data-markstream-code-theme plaintext even stale stream-markdown stream-markdown.createShikiStreamRenderer available requires with ignoring using default language register configured retrying without initialize overflow-y"] overflow-x"] touchstart passive preview-code monospace line-info legacy off never background diff single [markstream-vue2] stream-monaco blocks will use basic enhanced editor theme provided themes array mtk1 diffs-container pre[data-file] side-by-side div:first-child markstream-inline-fold-proxy aria-label codicon codicon-unfold event.key mousedown up down post 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 explicit fontSize lineHeight paddingBottom paddingTop tabSize on same nextOptions.unsafeCSS resize $$ markdown-renderer legacy-nodes-renderer item.renderKey node-slot item.index item.node.type node-content item.node item.node.loading item.indexKey paragraph custom-html-tags html_block child.type html_inline markstreamStreamVersion text-node-stream-delta--a text-node-stream-delta--b pointerup pointercancel 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 gantt viewBox width height get [data-mermaid-wrapper] open-modal toggle-mode transitionend retry mermaid-action-btn copy-code handleArtifactClick markstreamTypewriter legacy-renderer langs unknown node.type code_block infographic d2 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 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 unknown-node 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 scroll too-many-targets console viewportPriority virtualization this.isDark mermaid-preview-area 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 = `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 stream-markdown-parser vue-demi 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 ce162b3f emoji-node de55dc97 footnote-node text-sm leading-relaxed border-t border-[var(--footnote-border,#eaecef)] pt-2 flex-1 footnote-anchor hover:underline cursor-pointer 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 px-4 py-2 bg-gray-100 text-red-500 hard-break dl definition-list entry.className entry.key entry.nodes b089ea12 footnote-reference footnote-link mark highlight-node child highlight heading-node heading ffb7cf51 d2-block-container text-gray-100 text-gray-900 d2-block-header py-2.5 border-b border-gray-400/5 gap-x-2 gap-x-1 rounded-md p-0.5 bg-gray-700 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 font-medium font-mono fdf24c90 dynamic html-inline-node text innerHTML e6ed4c9f emphasis-node emphasis structured htmlRef html-block-node html-block-node__placeholder html-block-node__placeholder-bar w-4/5 w-2/3 node inline text-[85%] px-1 py-0.5 bg-[hsl(var(--secondary))] whitespace-normal break-words max-w-full before:content-[''] after:content-[''] segment.id segment.fading animationend 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-[360px] transition-all duration-100 block inset-0 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-h-full shadow-lg top-6 right-6 modalContent insert-node insert ab1ec9bc list-item pl-1.5 my-2 list-node list-disc item index codeBlockContent code-block-content rendererTarget code-block-render code-fallback-plain stream containerEl math-block overflow-x-auto min-h-[40px] math-block__content math-block__fallback math-loading-overlay math-loading-spinner anchorEl link-node noopener noreferrer link-text link-loading items-baseline gap-1.5 link-text-wrapper leading-[normal] link-loading-indicator math-inline-wrapper math-inline math-inline--fallback math-inline__loading math-inline__spinner isLoading 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 mermaid-block-header space-x-2 space-x-1 modeContainerRef mermaidContainer transition-[height] duration-150 ease-out mermaidContent markstream-vue2 mermaid-dialog 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 strong-node custom-id af3ce037 subscript-node subscript-child text-node text-node-center 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"] 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 text-left cell.children table-node__resize-handle columns and pointerdown table-node-fade table-node__loading table-node__spinner vmr-container is common alias note previewCode touchstart object passive boolean preview-code plaintext monospace number line-info legacy off never background diff single [markstream-vue2] stream-monaco not blocks will use basic enhanced editor theme provided themes array to initialize typeof mtk1 diffs-container window.getComputedStyle pre[data-file] side-by-side div:first-child markstream-inline-fold-proxy aria-label codicon codicon-unfold event.key mousedown keydown up down hidden navigator.clipboard navigator.clipboard.writeText top post string name 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 explicit fontSize lineHeight paddingBottom paddingTop tabSize on same nextOptions.unsafeCSS resize smooth markdown-renderer legacy-nodes-renderer item.renderKey node-slot item.index item.node.type node-content item.node item.node.loading item.indexKey load primary failed fallback markstreamHtmlPolicy safe escape dt definition-term dd definition-desc href xlink:href markstream-d2-root-svg instance.render instance missing render returned empty window.requestAnimationFrame markstreamFade markstreamTextStreamState raw index-key inline-code-stream-delta--a inline-code-stream-delta--b openModal element found transform ease fullscreen library 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 markstream-core vitesse-dark vitesse-light lang darkBg display shiki shiki-fallback [MarkdownCodeBlockNode] dispose data-markstream-code-theme even stale stream-markdown stream-markdown.createShikiStreamRenderer available requires with ignoring using default language register configured retrying without overflow-y"] overflow-x"] 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 gantt viewBox width height get [data-mermaid-wrapper] open-modal toggle-mode transitionend retry mermaid-action-btn markstreamStreamVersion text-node-stream-delta--a text-node-stream-delta--b pointerup pointercancel copy-code handleArtifactClick markstreamTypewriter legacy-renderer langs unknown node.type code_block infographic d2 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 containerRef mouseout fade handle-artifact-click item.bindings node-spacer node-placeholder typewriterCursorRef typewriter-cursor 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 rootRef portal-root minHeight mouseover show-tooltips markstreamSmoothStreaming markstreamShowTooltips globalThis.process globalThis.process?.env?.NODE_ENV test reverse scroll too-many-targets console viewportPriority virtualization this.isDark mermaid-preview-area 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": "0.0.52",
4
+ "version": "0.0.53",
5
5
  "description": "Vue 2.6/2.7 streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, Mermaid, KaTeX, Shiki, and Vue 2 component rendering.",
6
6
  "author": "Simon He",
7
7
  "license": "MIT",
@@ -143,8 +143,8 @@
143
143
  "dependencies": {
144
144
  "@floating-ui/dom": "^1.8.0",
145
145
  "vue-demi": "^0.14.10",
146
- "stream-markdown-parser": "1.2.1",
147
- "markstream-core": "1.0.3"
146
+ "markstream-core": "1.0.3",
147
+ "stream-markdown-parser": "1.2.3"
148
148
  },
149
149
  "devDependencies": {
150
150
  "@vitejs/plugin-vue2": "^2.3.4",