markstream-angular 2.0.0 → 2.0.1
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.
package/dist/index.css
CHANGED
|
@@ -1505,7 +1505,15 @@ body > div[id^="dmermaid-"] {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
|
|
1507
1507
|
.markstream-angular .infographic-render {
|
|
1508
|
+
position: relative;
|
|
1508
1509
|
width: 100%;
|
|
1509
1510
|
min-height: 320px;
|
|
1510
1511
|
overflow: auto;
|
|
1511
1512
|
}
|
|
1513
|
+
|
|
1514
|
+
.markstream-angular .infographic-pending-source {
|
|
1515
|
+
position: absolute;
|
|
1516
|
+
inset: 0;
|
|
1517
|
+
overflow: auto;
|
|
1518
|
+
margin: 0;
|
|
1519
|
+
}
|
package/dist/index.d.ts
CHANGED
|
@@ -38,7 +38,6 @@ interface CodeBlockOptions {
|
|
|
38
38
|
disableLineNumbers?: boolean;
|
|
39
39
|
overflow?: 'scroll' | 'wrap';
|
|
40
40
|
disableVirtualizationBuffers?: boolean;
|
|
41
|
-
preferredHighlighter?: 'shiki-js' | 'shiki-wasm';
|
|
42
41
|
useCSSClasses?: boolean;
|
|
43
42
|
useTokenTransformer?: boolean;
|
|
44
43
|
tokenizeMaxLineLength?: number;
|
|
@@ -613,6 +612,7 @@ declare class InfographicBlockNodeComponent implements AfterViewInit, OnChanges,
|
|
|
613
612
|
private viewReady;
|
|
614
613
|
private destroyed;
|
|
615
614
|
private renderToken;
|
|
615
|
+
private renderScheduled;
|
|
616
616
|
private copyTimer;
|
|
617
617
|
private infographicInstance;
|
|
618
618
|
get mergedProps(): {
|
|
@@ -658,6 +658,7 @@ declare class InfographicBlockNodeComponent implements AfterViewInit, OnChanges,
|
|
|
658
658
|
toggleCollapsed(): void;
|
|
659
659
|
adjustZoom(delta: number): void;
|
|
660
660
|
resetZoom(): void;
|
|
661
|
+
private scheduleInfographicRender;
|
|
661
662
|
private renderInfographic;
|
|
662
663
|
private destroyInfographic;
|
|
663
664
|
private syncModalPreview;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "markstream-angular",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.1",
|
|
5
5
|
"description": "Angular 20+ standalone streaming Markdown renderer for AI chat, LLM token streams, SSE/WebSocket output, incomplete Markdown, Mermaid, KaTeX, stream-diffs powered code blocks, and safe Angular component rendering.",
|
|
6
6
|
"author": "Simon He",
|
|
7
7
|
"license": "MIT",
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
96
|
"@floating-ui/dom": "^1.8.0",
|
|
97
|
-
"markstream-core": "2.0.
|
|
98
|
-
"stream-markdown-parser": "1.2.
|
|
97
|
+
"markstream-core": "2.0.1",
|
|
98
|
+
"stream-markdown-parser": "1.2.9"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@angular/common": "^20.3.26",
|