@blade-hq/agent-react 2610.0.0-beta.74 → 2610.0.0-beta.75
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/README.md +1 -1
- package/dist/components/MarkdownContent.d.ts +15 -0
- package/dist/components/markdown/heal-incomplete.d.ts +7 -0
- package/dist/components/markdown/incremental.d.ts +73 -0
- package/dist/components/markdown/index.d.ts +18 -0
- package/dist/components/markdown/parse.d.ts +19 -0
- package/dist/components/markdown/render.d.ts +79 -0
- package/dist/components/markdown/sanitize.d.ts +50 -0
- package/dist/components/markdown/types.d.ts +53 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +13831 -1667
- package/dist/index.js.map +1 -1
- package/dist/style.css +27 -8
- package/dist/style.full.css +28 -9
- package/package.json +2 -2
- package/public-api.md +79 -2
- package/dist/chunk-IA6J2NTB.js +0 -28232
- package/dist/chunk-IA6J2NTB.js.map +0 -1
- package/dist/highlighted-body-B3W2YXNL-YF4GVJGP.js +0 -28
- package/dist/highlighted-body-B3W2YXNL-YF4GVJGP.js.map +0 -1
- package/dist/mermaid-3ZIDBTTL-QL4YGD6I.js +0 -9
- package/dist/mermaid-3ZIDBTTL-QL4YGD6I.js.map +0 -1
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
Ks,
|
|
4
|
-
Qe,
|
|
5
|
-
R
|
|
6
|
-
} from "./chunk-IA6J2NTB.js";
|
|
7
|
-
import "./chunk-G3PMV62Z.js";
|
|
8
|
-
|
|
9
|
-
// ../../node_modules/.pnpm/streamdown@2.3.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/streamdown/dist/highlighted-body-B3W2YXNL.js
|
|
10
|
-
import { useContext, useState, useEffect } from "react";
|
|
11
|
-
import { jsx } from "react/jsx-runtime";
|
|
12
|
-
var L = ({ code: s, language: t, raw: e, className: n, ...d$1 }) => {
|
|
13
|
-
let { shikiTheme: l } = useContext(R), o = Ks(), [m, i] = useState(e);
|
|
14
|
-
return useEffect(() => {
|
|
15
|
-
if (!o) {
|
|
16
|
-
i(e);
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
let g = o.highlight({ code: s, language: t, themes: l }, (p) => {
|
|
20
|
-
i(p);
|
|
21
|
-
});
|
|
22
|
-
g && i(g);
|
|
23
|
-
}, [s, t, l, o, e]), jsx(Qe, { className: n, language: t, result: m, ...d$1 });
|
|
24
|
-
};
|
|
25
|
-
export {
|
|
26
|
-
L as HighlightedCodeBlockBody
|
|
27
|
-
};
|
|
28
|
-
//# sourceMappingURL=highlighted-body-B3W2YXNL-YF4GVJGP.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../node_modules/.pnpm/streamdown@2.3.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/streamdown/dist/highlighted-body-B3W2YXNL.js"],"sourcesContent":["\"use client\";\nimport {k,d,c}from'./chunk-RLXIAIE6.js';import {useContext,useState,useEffect}from'react';import {jsx}from'react/jsx-runtime';var L=({code:s,language:t,raw:e,className:n,...d$1})=>{let{shikiTheme:l}=useContext(k),o=d(),[m,i]=useState(e);return useEffect(()=>{if(!o){i(e);return}let g=o.highlight({code:s,language:t,themes:l},p=>{i(p);});g&&i(g);},[s,t,l,o,e]),jsx(c,{className:n,language:t,result:m,...d$1})};export{L as HighlightedCodeBlockBody};"],"mappings":";;;;;;;;;AACwC,SAAQ,YAAW,UAAS,iBAAc;AAAQ,SAAQ,WAAQ;AAAoB,IAAI,IAAE,CAAC,EAAC,MAAK,GAAE,UAAS,GAAE,KAAI,GAAE,WAAU,GAAE,GAAG,IAAG,MAAI;AAAC,MAAG,EAAC,YAAW,EAAC,IAAE,WAAW,CAAC,GAAE,IAAE,GAAE,GAAE,CAAC,GAAE,CAAC,IAAE,SAAS,CAAC;AAAE,SAAO,UAAU,MAAI;AAAC,QAAG,CAAC,GAAE;AAAC,QAAE,CAAC;AAAE;AAAA,IAAM;AAAC,QAAI,IAAE,EAAE,UAAU,EAAC,MAAK,GAAE,UAAS,GAAE,QAAO,EAAC,GAAE,OAAG;AAAC,QAAE,CAAC;AAAA,IAAE,CAAC;AAAE,SAAG,EAAE,CAAC;AAAA,EAAE,GAAE,CAAC,GAAE,GAAE,GAAE,GAAE,CAAC,CAAC,GAAE,IAAI,IAAE,EAAC,WAAU,GAAE,UAAS,GAAE,QAAO,GAAE,GAAG,IAAG,CAAC;AAAC;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|