UNPKG

@kitn.ai/chat

Version:

Framework-agnostic, Shadow-DOM web components for building AI chat interfaces — works in React, Vue, Angular, Svelte, or plain HTML. Authored in SolidJS.

57 lines (55 loc) 1.8 kB
// Single entry that registers all kitn custom elements. Importing this file // (or the built bundle) defines the elements as a side effect. import './conversation-list'; import './prompt-input'; import './chat'; import './chat-workspace'; // Composable leaf elements (spike — see docs/handoff + examples/composable) import './thinking-bar'; import './model-switcher'; import './attachments'; // Phase 1 — message-rendering core import './message'; import './markdown'; import './code-block'; import './reasoning'; import './tool'; // Phase 2 — header / meta import './context-meter'; import './feedback-bar'; import './chat-scope-picker'; // Phase 3 — input ecosystem // (NB: SlashCommand is context-bound to PromptInput — it observes the input // value via usePromptInput() — so it is NOT a standalone element. It will fold // into <kc-prompt-input> as a `slash-commands` property in a later pass.) import './prompt-suggestions'; import './file-upload'; import './voice-input'; // Phase 4 — indicators & leaves import './loader'; import './text-shimmer'; import './image'; import './checkpoint'; import './message-skills'; import './source'; import './response-stream'; import './empty'; import './chain-of-thought'; import './resizable'; import './file-tree'; import './artifact'; import './scroll-button'; import './popover'; import './switch'; // Generative-UI cards (Card Contract) import './card'; import './form'; import './link-preview'; import './embed'; import './confirm-card'; import './tasks'; import './choice'; import './cards'; export type { ChatMessage, ChatMessageAction } from './chat-types'; export { configureCodeHighlighting, isCodeHighlightingEnabled } from '../primitives/highlighter'; export type { CodeHighlightingOptions } from '../primitives/highlighter';