mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-04 08:38:57 +01:00
* feat(markdown): answers that read like the ChatGPT app's (0.9.0) Tables (sideways scroll on a phone, never a broken page), headings with their level, nested and task lists, rules, web images. A list of named things — every item opening with a bold lead — renders as cards: a badge (the number, or the emoji the lead opens with), the name, the body. The sources an answer cites are listed once under it as chips, from the citations map; renderCitation lets an app keep its own source sheet. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE * feat(markdown): renderSources slot for an app's own sources row Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE --------- Co-authored-by: Claude <noreply@anthropic.com>
18 lines
938 B
JavaScript
18 lines
938 B
JavaScript
/**
|
|
* @bitbaum/chatkit/react — the chat every product uses.
|
|
*
|
|
* import { Composer, ChatThread, ChatStarters } from "@bitbaum/chatkit/react";
|
|
* import "@bitbaum/chatkit/styles.css";
|
|
*
|
|
* Behaviour is fixed here and identical everywhere; the look follows the
|
|
* app's tokens through `--ck-*` variables (see styles.css).
|
|
*/
|
|
export { Composer, DEFAULT_COMPOSER_LABELS } from "./Composer.js";
|
|
export { ChatThread, ChatMessage, ChatReplies, ChatStarters, DEFAULT_THREAD_LABELS, } from "./Thread.js";
|
|
export { ChatScreen } from "./Screen.js";
|
|
export { Markdown, defaultRenderLink, defaultRenderCitation } from "./Markdown.js";
|
|
export { useDictation } from "./use-dictation.js";
|
|
export { AttachMenu, DEFAULT_ATTACH_MENU_LABELS } from "./AttachMenu.js";
|
|
export { useAttachments } from "./use-attachments.js";
|
|
export { useClipboard, useStickToBottom, useViewportHeight, useAutoGrow } from "./hooks.js";
|
|
//# sourceMappingURL=index.js.map
|