@helpway/react 0.3.0 → 0.3.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/index.d.ts +2 -2
- package/dist/index.js +635 -395
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
- package/src/themed/styles.css +190 -38
package/dist/index.d.ts
CHANGED
|
@@ -167,6 +167,7 @@ declare function useComposer(conversationId: string | null): {
|
|
|
167
167
|
removeAttachment: (id: string) => void;
|
|
168
168
|
sendError: string | null;
|
|
169
169
|
clearSendError: () => void;
|
|
170
|
+
emailGateConvId: string | null;
|
|
170
171
|
};
|
|
171
172
|
|
|
172
173
|
/**
|
|
@@ -223,11 +224,10 @@ interface MessageBubbleProps {
|
|
|
223
224
|
text: string;
|
|
224
225
|
sender: "visitor" | "team" | "ai";
|
|
225
226
|
senderName?: string;
|
|
226
|
-
time: string;
|
|
227
227
|
parts?: TimelineItemPart[] | null;
|
|
228
228
|
}
|
|
229
229
|
/** Single message bubble — Intercom-style, renders text + image/file parts */
|
|
230
|
-
declare function MessageBubble({ text, sender, senderName,
|
|
230
|
+
declare function MessageBubble({ text, sender, senderName, parts }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
|
|
231
231
|
|
|
232
232
|
interface MessageListProps {
|
|
233
233
|
items: TimelineItem[];
|