@optilogic/chat 1.3.2 → 1.3.3
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.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/agent-response/AgentResponse.tsx +27 -2
- package/src/components/agent-response/index.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1345,6 +1345,7 @@ var AgentResponse = React11__namespace.forwardRef(
|
|
|
1345
1345
|
renderMarkdown,
|
|
1346
1346
|
renderThinkingMarkdown,
|
|
1347
1347
|
timelineMaxHeight,
|
|
1348
|
+
classNames,
|
|
1348
1349
|
className,
|
|
1349
1350
|
...props
|
|
1350
1351
|
}, ref) => {
|
|
@@ -1389,7 +1390,7 @@ var AgentResponse = React11__namespace.forwardRef(
|
|
|
1389
1390
|
onMouseLeave: () => setIsHovered(false),
|
|
1390
1391
|
...props,
|
|
1391
1392
|
children: [
|
|
1392
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border border-border rounded-lg overflow-hidden", children: [
|
|
1393
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: core.cn("border border-border rounded-lg overflow-hidden", classNames?.container), children: [
|
|
1393
1394
|
showMetadataRow && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1394
1395
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1395
1396
|
MetadataRow,
|
|
@@ -1435,7 +1436,8 @@ var AgentResponse = React11__namespace.forwardRef(
|
|
|
1435
1436
|
{
|
|
1436
1437
|
className: core.cn(
|
|
1437
1438
|
"bg-muted/50 p-4",
|
|
1438
|
-
showMetadataRow && "border-t border-border"
|
|
1439
|
+
showMetadataRow && "border-t border-border",
|
|
1440
|
+
classNames?.response
|
|
1439
1441
|
),
|
|
1440
1442
|
children: renderMarkdown ? renderMarkdown(state.response) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "whitespace-pre-wrap", children: state.response })
|
|
1441
1443
|
}
|