chore(site): bump streamdown from 2.5.0 to 2.6.0 (#28825)

This commit is contained in:
Danielle Maywood authored and GitHub committed 2026-09-02 09:18:31 +01:00
1 parent 560ef00c15
commit 4c495d0eb2
3 files changed
+19 -778

No files matched your search

+1 -1
View File
@@ -102,7 +102,7 @@
"remark-gfm": "4.0.1",
"semver": "7.8.5",
"sonner": "2.0.7",
"streamdown": "2.5.0",
"streamdown": "2.6.0",
"tailwind-merge": "3.6.0",
"tailwindcss-animate": "1.0.7",
"tzdata": "1.0.50",
+11 -775
View File
File diff suppressed because it is too large. Load diff
@@ -18,8 +18,8 @@ interface ResponseProps extends Omit<ComponentPropsWithRef<"div">, "children"> {
children: string;
urlTransform?: UrlTransform;
/** Enable streaming-mode Streamdown with incomplete-markdown
* preprocessing (remend) and useTransition-based render
* scheduling. Pass true only for live-streaming output. */
* preprocessing (remend). Pass true only for live-streaming
* output. */
streaming?: boolean;
}
@@ -295,6 +295,11 @@ export const Response = ({
rehypePlugins={chatRehypePlugins}
mode={streaming ? "streaming" : "static"}
parseIncompleteMarkdown={streaming}
// Streamdown 2.6 caps table height at 300px by
// default, even with controls disabled. Chat tables
// should grow with their content instead of
// scrolling internally.
tableMaxHeight={0}
>
{children}
</Streamdown>