mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-04 12:07:33 +01:00
* feat(messenger): delivered, read and when; delete for me or for everyone; edit history (0.39.0) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 * fix(sheet): a close the app caused never shuts the next sheet; tests wait for it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 * test(messenger): say what the page looked like when the actions sheet did not open Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 * fix(sheet): a late close event never shuts a sheet that is open again Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019MDtmsmMXvM981mcszxEA6 --------- Co-authored-by: Claude <noreply@anthropic.com>
28 lines
1.5 KiB
JavaScript
28 lines
1.5 KiB
JavaScript
/**
|
|
* @bitbaum/chatkit/messenger — people talking to people, and to the agents
|
|
* among them.
|
|
*
|
|
* import { Messenger } from "@bitbaum/chatkit/messenger";
|
|
* import "@bitbaum/chatkit/styles/messenger.css";
|
|
*
|
|
* <Messenger viewer={{ id: user.id }} transport={transport} agents={[cat]} />
|
|
*
|
|
* `Messenger` is the whole screen; `useMessenger`, `ConversationList` and
|
|
* `MessageThread` are the parts, for an app with its own arrangement. The
|
|
* shapes (`MessengerTransport` and friends) and every decision that needs no
|
|
* DOM are re-exported from the framework-free half. The rules — who may read,
|
|
* what is unread, what may be attached — are `@bitbaum/threadkit`'s.
|
|
*/
|
|
export { Messenger } from "./MessengerScreen.js";
|
|
export { VoiceBar, VoiceRecorder, useVoiceRecording, VOICE_MESSAGE_MAX_MS, VOICE_MESSAGE_MIN_MS, canRecordVoice, voiceFileName, voiceMimeType, } from "./VoiceRecorder.js";
|
|
export { useMessenger } from "./use-messenger.js";
|
|
export { ConversationList } from "./ConversationList.js";
|
|
export { MessageThread } from "./MessageThread.js";
|
|
export { MessageInfo, receiptTime } from "./MessageInfo.js";
|
|
export { MessageAttachments, MediaViewer, MessengerAvatar, VoiceNote, VOICE_SPEEDS, } from "./MessageAttachments.js";
|
|
export { useUploads, DEFAULT_UPLOAD_OPTIONS } from "./use-uploads.js";
|
|
export { DEFAULT_MESSENGER_LABELS, messengerLabels } from "./messenger-labels.js";
|
|
export * from "../messenger.js";
|
|
export * from "../messenger-state.js";
|
|
export * from "../thread-rules.js";
|
|
//# sourceMappingURL=messenger.js.map
|