mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-04 08:38:57 +01:00
Header and composer float over the thread, like the ChatGPT and Claude apps: words scroll under both and fade, header buttons are frosted pills (ck-glass), the composer is a see-through pill. The scroller is padded by the measured heights (--ck-top-inset / --ck-bottom-inset), so the last answer rests above the composer. useStickToBottom now stays pinned through size changes (a growing composer, insets measured after paint). The user's bubble is neutral (--ck-bubble), not the accent. Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE Co-authored-by: Claude <noreply@anthropic.com>
18 lines
915 B
JavaScript
18 lines
915 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 } 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
|