@stream-mdx/react 0.3.0 → 0.5.0
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/CHANGELOG.md +14 -4
- package/README.md +65 -14
- package/dist/components/bottom-stick-scroll-area.cjs +344 -0
- package/dist/components/bottom-stick-scroll-area.d.cts +36 -0
- package/dist/components/bottom-stick-scroll-area.d.ts +36 -0
- package/dist/components/bottom-stick-scroll-area.mjs +320 -0
- package/dist/components/index.cjs +511 -176
- package/dist/components/index.d.cts +3 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.mjs +358 -26
- package/dist/{index-D7px9jug.d.cts → index-BVhp_pcF.d.ts} +4 -1
- package/dist/{index-D7px9jug.d.ts → index-EaeouYp2.d.cts} +4 -1
- package/dist/index.cjs +2146 -1145
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.mjs +3835 -2836
- package/dist/mdx-client.cjs +1 -1
- package/dist/mdx-client.mjs +1 -1
- package/dist/mdx-coordinator.cjs +28 -7
- package/dist/mdx-coordinator.d.cts +2 -2
- package/dist/mdx-coordinator.d.ts +2 -2
- package/dist/mdx-coordinator.mjs +28 -7
- package/dist/renderer/node-views.cjs +273 -24
- package/dist/renderer/node-views.d.cts +3 -1
- package/dist/renderer/node-views.d.ts +3 -1
- package/dist/renderer/node-views.mjs +274 -25
- package/dist/renderer/patch-batching.cjs +2 -0
- package/dist/renderer/patch-batching.d.cts +1 -1
- package/dist/renderer/patch-batching.d.ts +1 -1
- package/dist/renderer/patch-batching.mjs +2 -1
- package/dist/renderer/patch-commit-scheduler.cjs +82 -30
- package/dist/renderer/patch-commit-scheduler.d.cts +15 -3
- package/dist/renderer/patch-commit-scheduler.d.ts +15 -3
- package/dist/renderer/patch-commit-scheduler.mjs +84 -30
- package/dist/renderer/store.cjs +382 -36
- package/dist/renderer/store.d.cts +3 -0
- package/dist/renderer/store.d.ts +3 -0
- package/dist/renderer/store.mjs +382 -36
- package/dist/renderer.cjs +3386 -2727
- package/dist/renderer.d.cts +15 -12
- package/dist/renderer.d.ts +15 -12
- package/dist/renderer.mjs +3410 -2751
- package/dist/server.cjs +4842 -0
- package/dist/server.d.cts +254 -0
- package/dist/server.d.ts +254 -0
- package/dist/server.mjs +4824 -0
- package/dist/{streaming-markdown-Dp1IDgMT.d.ts → streaming-markdown-CEI9eDZm.d.ts} +3 -1
- package/dist/{streaming-markdown-DSC4L0xR.d.cts → streaming-markdown-DRisClXb.d.cts} +3 -1
- package/dist/streaming-markdown.cjs +3476 -2794
- package/dist/streaming-markdown.d.cts +4 -2
- package/dist/streaming-markdown.d.ts +4 -2
- package/dist/streaming-markdown.mjs +3436 -2754
- package/dist/utils/inline-html.d.cts +3 -1
- package/dist/utils/inline-html.d.ts +3 -1
- package/package.json +19 -3
- package/shadcn/README.md +28 -0
- package/shadcn/bottom-stick-scroll-area.tsx +358 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PatchMetrics, FormatAnticipationConfig, CodeHighlightingMode, Block } from '@stream-mdx/core';
|
|
3
|
-
import { L as LinkSafetyModalProps, B as BlockComponents, T as TableElements, H as HtmlElements,
|
|
3
|
+
import { L as LinkSafetyModalProps, B as BlockComponents, T as TableElements, H as HtmlElements, a as InlineComponents } from './index-BVhp_pcF.js';
|
|
4
4
|
import { AdaptiveBudgetState, PatchFlushResult } from './renderer/patch-commit-scheduler.js';
|
|
5
5
|
import { RendererStore } from './renderer/store.js';
|
|
6
6
|
|
|
@@ -55,6 +55,8 @@ interface StreamingSchedulerOptions {
|
|
|
55
55
|
urgentQueueThreshold?: number;
|
|
56
56
|
batch?: "rAF" | "microtask" | "timeout";
|
|
57
57
|
historyLimit?: number;
|
|
58
|
+
startupMicrotaskFlushes?: number;
|
|
59
|
+
adaptiveBudgeting?: boolean;
|
|
58
60
|
adaptiveSwitch?: boolean;
|
|
59
61
|
adaptiveQueueThreshold?: number;
|
|
60
62
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PatchMetrics, FormatAnticipationConfig, CodeHighlightingMode, Block } from '@stream-mdx/core';
|
|
3
|
-
import { L as LinkSafetyModalProps, B as BlockComponents, T as TableElements, H as HtmlElements,
|
|
3
|
+
import { L as LinkSafetyModalProps, B as BlockComponents, T as TableElements, H as HtmlElements, a as InlineComponents } from './index-EaeouYp2.cjs';
|
|
4
4
|
import { AdaptiveBudgetState, PatchFlushResult } from './renderer/patch-commit-scheduler.cjs';
|
|
5
5
|
import { RendererStore } from './renderer/store.cjs';
|
|
6
6
|
|
|
@@ -55,6 +55,8 @@ interface StreamingSchedulerOptions {
|
|
|
55
55
|
urgentQueueThreshold?: number;
|
|
56
56
|
batch?: "rAF" | "microtask" | "timeout";
|
|
57
57
|
historyLimit?: number;
|
|
58
|
+
startupMicrotaskFlushes?: number;
|
|
59
|
+
adaptiveBudgeting?: boolean;
|
|
58
60
|
adaptiveSwitch?: boolean;
|
|
59
61
|
adaptiveQueueThreshold?: number;
|
|
60
62
|
}
|