parlant-chat-react 1.0.0 → 1.0.1

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/App.d.ts CHANGED
@@ -41,6 +41,6 @@ export interface ChatProps {
41
41
  }) => ReactElement;
42
42
  };
43
43
  }
44
- declare const Chatbot: ({ server, titleFn, agentId, sessionId, agentName, agentAvatar, onPopupButtonClick, agentOpeningMessage, chatDescription, float, popupButton, components, sendIcon, classNames }: ChatProps) => JSX.Element;
45
- export default Chatbot;
44
+ declare const Chatbox: ({ server, titleFn, agentId, sessionId, agentName, agentAvatar, onPopupButtonClick, agentOpeningMessage, chatDescription, float, popupButton, components, sendIcon, classNames }: ChatProps) => JSX.Element;
45
+ export default Chatbox;
46
46
  //# sourceMappingURL=App.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChatFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/footer/ChatFooter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAKjC,UAAU,eAAe;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA4CD,QAAA,MAAM,UAAU,4BAA6B,eAAe,KAAG,GAAG,CAAC,OA6BlE,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"ChatFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/footer/ChatFooter.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAKjC,UAAU,eAAe;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA6CD,QAAA,MAAM,UAAU,4BAA6B,eAAe,KAAG,GAAG,CAAC,OA6BlE,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -5,8 +5,9 @@ interface MessageProps {
5
5
  agentName?: string;
6
6
  agentAvatar?: JSX.Element;
7
7
  isSameSourceAsPrevious?: boolean;
8
+ isNextSourceSame?: boolean;
8
9
  className?: string;
9
10
  }
10
- declare const Message: ({ message, agentName, agentAvatar, className, isSameSourceAsPrevious }: MessageProps) => JSX.Element;
11
+ declare const Message: ({ message, agentName, agentAvatar, className, isSameSourceAsPrevious, isNextSourceSame }: MessageProps) => JSX.Element;
11
12
  export default Message;
12
13
  //# sourceMappingURL=Message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAsI/B,UAAU,YAAY;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC1B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,OAAO,2EAA0E,YAAY,KAAG,GAAG,CAAC,OAyCzG,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/message/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,wBAAwB,CAAC;AAC7D,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAkJ/B,UAAU,YAAY;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC1B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,QAAA,MAAM,OAAO,6FAA4F,YAAY,KAAG,GAAG,CAAC,OAyC3H,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/message-list/MessageList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,OAAO,MAAM,mCAAmC,CAAC;AAKxD,UAAU,gBAAgB;IACxB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE;QACX,eAAe,CAAC,EAAE,OAAO,OAAO,CAAC;QACjC,YAAY,CAAC,EAAE,OAAO,OAAO,CAAC;KAC/B,CAAC;IACF,UAAU,CAAC,EAAE;QACX,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA4ED,QAAA,MAAM,WAAW,yGASd,gBAAgB,KAAG,GAAG,CAAC,OA6DzB,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/message-list/MessageList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,OAAO,MAAM,mCAAmC,CAAC;AAKxD,UAAU,gBAAgB;IACxB,QAAQ,EAAE,gBAAgB,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE;QACX,eAAe,CAAC,EAAE,OAAO,OAAO,CAAC;QACjC,YAAY,CAAC,EAAE,OAAO,OAAO,CAAC;KAC/B,CAAC;IACF,UAAU,CAAC,EAAE;QACX,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,eAAe,CAAC,EAAE,MAAM,CAAC;QACzB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,eAAe,CAAC,EAAE,MAAM,CAAC;KAC1B,CAAC;IACF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AA4ED,QAAA,MAAM,WAAW,yGASd,gBAAgB,KAAG,GAAG,CAAC,OA8DzB,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -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-DyClDvPO.js";
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-FfCgMu11.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");
@@ -6505,4 +6505,4 @@ export {
6505
6505
  Sa as default,
6506
6506
  xa as defaultUrlTransform
6507
6507
  };
6508
- //# sourceMappingURL=index-Dx2Omwgo.js.map
6508
+ //# sourceMappingURL=index-B6RvMoSl.js.map