parlant-chat-react 1.0.11 → 1.2.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/dist/components/chat/Chat.d.ts +15 -8
- package/dist/components/chat/Chat.d.ts.map +1 -1
- package/dist/components/chat/hooks/useSessionEvents.d.ts +14 -0
- package/dist/components/chat/hooks/useSessionEvents.d.ts.map +1 -0
- package/dist/components/chat/hooks/useTypingAnimation.d.ts +11 -0
- package/dist/components/chat/hooks/useTypingAnimation.d.ts.map +1 -0
- package/dist/components/chat/message/Message.d.ts.map +1 -1
- package/dist/components/chat/message-list/MessageList.d.ts +2 -1
- package/dist/components/chat/message-list/MessageList.d.ts.map +1 -1
- package/dist/components/chat/types.d.ts +6 -0
- package/dist/components/chat/types.d.ts.map +1 -0
- package/dist/{index-DhSjRAJ_.js → index-CPGE5iqX.js} +11632 -11628
- package/dist/index-CPGE5iqX.js.map +1 -0
- package/dist/{index-DMWGOv2W.js → index-pxz_UL3k.js} +6 -6
- package/dist/{index-DMWGOv2W.js.map → index-pxz_UL3k.js.map} +1 -1
- package/dist/parlant-chat-react.css +1 -10
- package/dist/parlant-chat-react.js +1 -1
- package/dist/parlant-chat-react.umd.cjs +55 -109
- package/dist/parlant-chat-react.umd.cjs.map +1 -1
- package/package.json +3 -3
- package/dist/index-DhSjRAJ_.js.map +0 -1
- package/dist/types/index.d.ts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ee, c as Un, p as te, r as bn, s as de, b as ue, d as pn, e as fr, m as M, f as V, g as mr, h as dr, i as hn, j as v, k as ne, n as Ce, l as Qe, o as Ct, q as Re, t as gr, u as yr, v as It, w as xr } from "./index-
|
|
1
|
+
import { a as ee, c as Un, p as te, r as bn, s as de, b as ue, d as pn, e as fr, m as M, f as V, g as mr, h as dr, i as hn, j as v, k as ne, n as Ce, l as Qe, o as Ct, q as Re, t as gr, u as yr, v as It, w as xr } from "./index-CPGE5iqX.js";
|
|
2
2
|
import { jsxs as kr, jsx as br, Fragment as wr } from "react/jsx-runtime";
|
|
3
3
|
import { useState as Vn, useEffect as Sr } from "react";
|
|
4
4
|
const qn = document.createElement("i");
|
|
@@ -4487,15 +4487,15 @@ function uo(e, n) {
|
|
|
4487
4487
|
}
|
|
4488
4488
|
function so(e, n) {
|
|
4489
4489
|
const t = n.value ? n.value + `
|
|
4490
|
-
` : "", r = {};
|
|
4491
|
-
|
|
4492
|
-
let
|
|
4490
|
+
` : "", r = {}, i = n.lang ? n.lang.split(/\s+/) : [];
|
|
4491
|
+
i.length > 0 && (r.className = ["language-" + i[0]]);
|
|
4492
|
+
let l = {
|
|
4493
4493
|
type: "element",
|
|
4494
4494
|
tagName: "code",
|
|
4495
4495
|
properties: r,
|
|
4496
4496
|
children: [{ type: "text", value: t }]
|
|
4497
4497
|
};
|
|
4498
|
-
return n.meta && (
|
|
4498
|
+
return n.meta && (l.data = { meta: n.meta }), e.patch(n, l), l = e.applyData(n, l), l = { type: "element", tagName: "pre", properties: {}, children: [l] }, e.patch(n, l), l;
|
|
4499
4499
|
}
|
|
4500
4500
|
function co(e, n) {
|
|
4501
4501
|
const t = {
|
|
@@ -6505,4 +6505,4 @@ export {
|
|
|
6505
6505
|
Sa as default,
|
|
6506
6506
|
xa as defaultUrlTransform
|
|
6507
6507
|
};
|
|
6508
|
-
//# sourceMappingURL=index-
|
|
6508
|
+
//# sourceMappingURL=index-pxz_UL3k.js.map
|