@kitn.ai/ui 0.15.1 → 0.17.0
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/README.md +37 -13
- package/bin/mcp.js +22 -0
- package/dist/bash-InADTalH.js +6 -1
- package/dist/components/artifact.d.ts +58 -0
- package/dist/components/attachments.d.ts +67 -0
- package/dist/components/card-fallback.d.ts +10 -0
- package/dist/components/card-renderer.d.ts +13 -0
- package/dist/components/card.d.ts +28 -0
- package/dist/components/chain-of-thought.d.ts +29 -0
- package/dist/components/chat-container.d.ts +19 -0
- package/dist/components/chat-scope-picker.d.ts +9 -0
- package/dist/components/chat-thread.d.ts +91 -0
- package/dist/components/checkpoint.d.ts +20 -0
- package/dist/components/choice-card.d.ts +78 -0
- package/dist/components/code-block.d.ts +16 -0
- package/dist/components/confirm-card.d.ts +57 -0
- package/dist/components/context.d.ts +65 -0
- package/dist/components/conversation-item.d.ts +8 -0
- package/dist/components/conversation-list.d.ts +11 -0
- package/dist/components/dismissed-stub.d.ts +22 -0
- package/dist/components/embed.d.ts +21 -0
- package/dist/components/empty.d.ts +43 -0
- package/dist/components/feedback-bar.d.ts +45 -0
- package/dist/components/file-tree.d.ts +57 -0
- package/dist/components/file-upload.d.ts +16 -0
- package/dist/components/form-widgets.d.ts +31 -0
- package/dist/components/form.d.ts +103 -0
- package/dist/components/image.d.ts +12 -0
- package/dist/components/link-preview.d.ts +23 -0
- package/dist/components/loader.d.ts +60 -0
- package/dist/components/markdown.d.ts +8 -0
- package/dist/components/message-skills.d.ts +15 -0
- package/dist/components/message.d.ts +111 -0
- package/dist/components/model-switcher.d.ts +8 -0
- package/dist/components/prompt-input.d.ts +38 -0
- package/dist/components/prompt-suggestion.d.ts +13 -0
- package/dist/components/reasoning.d.ts +20 -0
- package/dist/components/response-compare-types.d.ts +66 -0
- package/dist/components/response-compare.d.ts +51 -0
- package/dist/components/response-stream.d.ts +14 -0
- package/dist/components/scroll-button.d.ts +7 -0
- package/dist/components/slash-command.d.ts +15 -0
- package/dist/components/source.d.ts +23 -0
- package/dist/components/tasks-card.d.ts +72 -0
- package/dist/components/text-shimmer.d.ts +9 -0
- package/dist/components/thinking-bar.d.ts +10 -0
- package/dist/components/toast.d.ts +48 -0
- package/dist/components/tool.d.ts +16 -0
- package/dist/components/use-card-resolution.d.ts +16 -0
- package/dist/components/voice-input.d.ts +7 -0
- package/dist/core-AYMC6_lb.js +5874 -12
- package/dist/css-M7EaDHN_.js +6 -1
- package/dist/custom-elements.json +260 -11
- package/dist/elements/artifact.d.ts +1 -0
- package/dist/elements/artifact.js +1 -0
- package/dist/elements/attachments.d.ts +1 -0
- package/dist/elements/attachments.js +1 -0
- package/dist/elements/autoloader.d.ts +2 -0
- package/dist/elements/autoloader.js +1 -0
- package/dist/elements/card.d.ts +1 -0
- package/dist/elements/card.js +1 -0
- package/dist/elements/cards.d.ts +1 -0
- package/dist/elements/cards.js +1 -0
- package/dist/elements/chain-of-thought.d.ts +1 -0
- package/dist/elements/chain-of-thought.js +1 -0
- package/dist/elements/chat-scope-picker.d.ts +1 -0
- package/dist/elements/chat-scope-picker.js +1 -0
- package/dist/elements/chat-workspace.d.ts +1 -0
- package/dist/elements/chat-workspace.js +1 -0
- package/dist/elements/chat.d.ts +1 -0
- package/dist/elements/chat.js +1 -0
- package/dist/elements/checkpoint.d.ts +1 -0
- package/dist/elements/checkpoint.js +1 -0
- package/dist/elements/choice.d.ts +1 -0
- package/dist/elements/choice.js +1 -0
- package/dist/elements/chunks/Icon-D_Zmwmwh.js +1 -0
- package/dist/elements/chunks/action-icons-PVfIvcuG.js +1 -0
- package/dist/elements/chunks/attachments-Dp6vqtrc.js +1 -0
- package/dist/elements/chunks/bash-InADTalH.js +1 -0
- package/dist/elements/chunks/button-CKyYD9G4.js +1 -0
- package/dist/elements/chunks/card-Cjho-PYk.js +1 -0
- package/dist/elements/chunks/card-routing-C986KuUA.js +1 -0
- package/dist/elements/chunks/chat-thread-RT808iPf.js +1 -0
- package/dist/elements/chunks/check-CDYaMYrM.js +1 -0
- package/dist/elements/chunks/chevron-down-3SBiq8HF.js +1 -0
- package/dist/elements/chunks/chevron-right-k2UFlIVK.js +1 -0
- package/dist/elements/chunks/cn-Dogu6PbV.js +1 -0
- package/dist/elements/chunks/code-block-BYUmfFSd.js +1 -0
- package/dist/elements/chunks/collapsible-BiNwdOn6.js +1 -0
- package/dist/elements/chunks/context-18g6oi4J.js +1 -0
- package/dist/elements/chunks/conversation-list-D9Y0NVdo.js +1 -0
- package/dist/elements/chunks/core-AYMC6_lb.js +12 -0
- package/dist/elements/chunks/css-M7EaDHN_.js +1 -0
- package/dist/elements/chunks/default-input-CSAoYYMd.js +1 -0
- package/dist/elements/chunks/download-D8K0Je8r.js +1 -0
- package/dist/elements/chunks/dropdown-bUs2iTia.js +1 -0
- package/dist/elements/chunks/engine-javascript-vq0WuIJl.js +141 -0
- package/dist/elements/chunks/external-link-6mA0wxab.js +1 -0
- package/dist/elements/chunks/file-text-DnaYk3Dm.js +1 -0
- package/dist/elements/chunks/file-tree-CgtRLlxK.js +1 -0
- package/dist/elements/chunks/github-dark-dimmed-DUshB20C.js +1 -0
- package/dist/elements/chunks/github-light-JYsPkUQd.js +1 -0
- package/dist/elements/chunks/hover-card-CIGw62gP.js +1 -0
- package/dist/elements/chunks/html-CPZ3oZQ7.js +1 -0
- package/dist/elements/chunks/index-CTBEJeo6.js +1 -0
- package/dist/elements/chunks/javascript-C25yR2R2.js +1 -0
- package/dist/elements/chunks/json-DxJze_jm.js +1 -0
- package/dist/elements/chunks/link-BlGSeoPy.js +1 -0
- package/dist/elements/chunks/loader-DvhR4qa0.js +1 -0
- package/dist/elements/chunks/markdown-CMTGx9r8.js +64 -0
- package/dist/elements/chunks/message-CDZwXjhL.js +1 -0
- package/dist/elements/chunks/message-feedback-CYx81QiA.js +1 -0
- package/dist/elements/chunks/model-switcher-O_tUhoOT.js +1 -0
- package/dist/elements/chunks/overlay-DydXYMQW.js +1 -0
- package/dist/elements/chunks/prompt-suggestion-ldlWV5kd.js +1 -0
- package/dist/elements/chunks/reasoning-2PUnHlmr.js +1 -0
- package/dist/elements/chunks/resizable-B5WNbSeb.js +1 -0
- package/dist/elements/chunks/star-t9tI-P0q.js +1 -0
- package/dist/elements/chunks/store-C6rIooZz.js +1 -0
- package/dist/elements/chunks/svelte--5p79yCD.js +1 -0
- package/dist/elements/chunks/text-shimmer-uh9V_KUh.js +1 -0
- package/dist/elements/chunks/textarea-3nm6Ia9U.js +1 -0
- package/dist/elements/chunks/thumbs-up-BBtguGld.js +1 -0
- package/dist/elements/chunks/toast-store-D8cL3fWl.js +1 -0
- package/dist/elements/chunks/tool-GJ3vwp1U.js +1 -0
- package/dist/elements/chunks/tooltip-DwKAz4XR.js +1 -0
- package/dist/elements/chunks/triangle-alert-Ct1zt2JL.js +1 -0
- package/dist/elements/chunks/tsx-B8rCNbgL.js +1 -0
- package/dist/elements/chunks/typescript-RycA9KXf.js +1 -0
- package/dist/elements/chunks/use-card-resolution-D-_0Alzy.js +1 -0
- package/dist/elements/chunks/video-mVYiM99-.js +1 -0
- package/dist/elements/chunks/vue-BmIZj4XD.js +1 -0
- package/dist/elements/chunks/x-CzxL27Ch.js +1 -0
- package/dist/elements/code-block.d.ts +1 -0
- package/dist/elements/code-block.js +1 -0
- package/dist/elements/compare.d.ts +1 -0
- package/dist/elements/compare.js +1 -0
- package/dist/elements/confirm-card.d.ts +1 -0
- package/dist/elements/confirm-card.js +1 -0
- package/dist/elements/context-meter.d.ts +1 -0
- package/dist/elements/context-meter.js +1 -0
- package/dist/elements/conversation-list.d.ts +1 -0
- package/dist/elements/conversation-list.js +1 -0
- package/dist/elements/embed.d.ts +1 -0
- package/dist/elements/embed.js +1 -0
- package/dist/elements/empty.d.ts +1 -0
- package/dist/elements/empty.js +1 -0
- package/dist/elements/feedback-bar.d.ts +1 -0
- package/dist/elements/feedback-bar.js +1 -0
- package/dist/elements/file-tree.d.ts +1 -0
- package/dist/elements/file-tree.js +1 -0
- package/dist/elements/file-upload.d.ts +1 -0
- package/dist/elements/file-upload.js +1 -0
- package/dist/elements/form.d.ts +1 -0
- package/dist/elements/form.js +1 -0
- package/dist/elements/image.d.ts +1 -0
- package/dist/elements/image.js +1 -0
- package/dist/elements/link-preview.d.ts +1 -0
- package/dist/elements/link-preview.js +1 -0
- package/dist/elements/loader.d.ts +1 -0
- package/dist/elements/loader.js +1 -0
- package/dist/elements/markdown.d.ts +1 -0
- package/dist/elements/markdown.js +1 -0
- package/dist/elements/message-skills.d.ts +1 -0
- package/dist/elements/message-skills.js +1 -0
- package/dist/elements/message.d.ts +1 -0
- package/dist/elements/message.js +1 -0
- package/dist/elements/model-switcher.d.ts +1 -0
- package/dist/elements/model-switcher.js +1 -0
- package/dist/elements/popover.d.ts +1 -0
- package/dist/elements/popover.js +1 -0
- package/dist/elements/prompt-input.d.ts +1 -0
- package/dist/elements/prompt-input.js +1 -0
- package/dist/elements/prompt-suggestions.d.ts +1 -0
- package/dist/elements/prompt-suggestions.js +1 -0
- package/dist/elements/reasoning.d.ts +1 -0
- package/dist/elements/reasoning.js +1 -0
- package/dist/elements/resizable.d.ts +1 -0
- package/dist/elements/resizable.js +1 -0
- package/dist/elements/response-stream.d.ts +1 -0
- package/dist/elements/response-stream.js +14 -0
- package/dist/elements/scroll-button.d.ts +1 -0
- package/dist/elements/scroll-button.js +1 -0
- package/dist/elements/source.d.ts +1 -0
- package/dist/elements/source.js +1 -0
- package/dist/elements/switch.d.ts +1 -0
- package/dist/elements/switch.js +1 -0
- package/dist/elements/tasks.d.ts +1 -0
- package/dist/elements/tasks.js +1 -0
- package/dist/elements/text-shimmer.d.ts +1 -0
- package/dist/elements/text-shimmer.js +1 -0
- package/dist/elements/thinking-bar.d.ts +1 -0
- package/dist/elements/thinking-bar.js +1 -0
- package/dist/elements/toast.d.ts +1 -0
- package/dist/elements/toast.js +1 -0
- package/dist/elements/tool.d.ts +1 -0
- package/dist/elements/tool.js +1 -0
- package/dist/elements/voice-input.d.ts +1 -0
- package/dist/elements/voice-input.js +1 -0
- package/dist/elements.d.ts +768 -0
- package/dist/engine-javascript-vq0WuIJl.js +2516 -14
- package/dist/github-dark-dimmed-DUshB20C.js +4 -1
- package/dist/github-light-JYsPkUQd.js +4 -1
- package/dist/html-CPZ3oZQ7.js +10 -1
- package/dist/index.d.ts +124 -2
- package/dist/index.js +15593 -0
- package/dist/javascript-C25yR2R2.js +6 -1
- package/dist/json-DxJze_jm.js +6 -1
- package/dist/kitn-chat.es.js +1 -77
- package/dist/llms/llms-full.txt +57 -12
- package/dist/llms/llms.txt +3 -3
- package/dist/mcp.es.js +2296 -0
- package/dist/primitives/card-contract.d.ts +119 -0
- package/dist/primitives/card-host.d.ts +12 -0
- package/dist/primitives/card-recovery.d.ts +55 -0
- package/dist/primitives/card-registry.d.ts +17 -0
- package/dist/primitives/card-resolution.d.ts +8 -0
- package/dist/primitives/card-routing.d.ts +12 -0
- package/dist/primitives/card-validate.d.ts +25 -0
- package/dist/primitives/chat-config.d.ts +31 -0
- package/dist/primitives/controllable.d.ts +13 -0
- package/dist/primitives/embed-providers.d.ts +65 -0
- package/dist/primitives/highlighter.d.ts +23 -0
- package/dist/primitives/link-preview.d.ts +47 -0
- package/dist/primitives/message-feedback.d.ts +35 -0
- package/dist/primitives/pdf-preview.d.ts +50 -0
- package/dist/primitives/toast-store.d.ts +88 -0
- package/dist/primitives/use-auto-resize.d.ts +8 -0
- package/dist/primitives/use-resize-observer.d.ts +1 -0
- package/dist/primitives/use-stick-to-bottom.d.ts +5 -0
- package/dist/primitives/use-text-stream.d.ts +19 -0
- package/dist/primitives/use-voice-recorder.d.ts +9 -0
- package/dist/react/index.d.ts +1198 -0
- package/dist/react/runtime.d.ts +15 -0
- package/dist/react.js +275 -0
- package/dist/register-JyTglR6m.js +1 -0
- package/dist/register-impl-C6wlSsts.js +77 -0
- package/dist/remote/host-embed.d.ts +33 -0
- package/dist/remote/index.d.ts +2 -0
- package/dist/remote/origin.d.ts +5 -0
- package/dist/remote/provider-runtime.d.ts +27 -0
- package/dist/remote/provider.d.ts +2 -0
- package/dist/remote/validate.d.ts +4 -0
- package/dist/remote/version.d.ts +4 -0
- package/dist/remote/wire.d.ts +53 -0
- package/dist/schemas/choice.schema.json +5 -0
- package/dist/schemas/tasks.schema.json +5 -0
- package/dist/svelte--5p79yCD.js +15 -1
- package/dist/tsx-B8rCNbgL.js +6 -1
- package/dist/types.d.ts +42 -0
- package/dist/typescript-RycA9KXf.js +6 -1
- package/dist/ui/action-icons.d.ts +11 -0
- package/dist/ui/avatar.d.ts +8 -0
- package/dist/ui/badge.d.ts +9 -0
- package/dist/ui/button.d.ts +10 -0
- package/dist/ui/collapsible.d.ts +27 -0
- package/dist/ui/dropdown.d.ts +20 -0
- package/dist/ui/hover-card.d.ts +28 -0
- package/dist/ui/overlay.d.ts +67 -0
- package/dist/ui/popover.d.ts +32 -0
- package/dist/ui/resizable.d.ts +76 -0
- package/dist/ui/scroll-area.d.ts +5 -0
- package/dist/ui/separator.d.ts +5 -0
- package/dist/ui/skeleton.d.ts +5 -0
- package/dist/ui/switch.d.ts +19 -0
- package/dist/ui/textarea.d.ts +6 -0
- package/dist/ui/tooltip.d.ts +9 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/vue-BmIZj4XD.js +33 -1
- package/frameworks/react/index.tsx +67 -11
- package/frameworks/react/runtime.tsx +16 -2
- package/llms-full.txt +57 -12
- package/llms.txt +3 -3
- package/package.json +36 -14
- package/src/agent-tooling/archetypes.ts +46 -0
- package/src/agent-tooling/integrations/cloudflare.ts +88 -0
- package/src/agent-tooling/integrations/langgraph.ts +60 -0
- package/src/agent-tooling/integrations/mastra.ts +27 -0
- package/src/agent-tooling/integrations/mock.ts +34 -0
- package/src/agent-tooling/integrations/ollama.ts +47 -0
- package/src/agent-tooling/integrations/openrouter.ts +26 -0
- package/src/agent-tooling/integrations/pi.ts +40 -0
- package/src/agent-tooling/integrations/pydantic-ai.ts +52 -0
- package/src/agent-tooling/integrations/vercel-ai-sdk.ts +44 -0
- package/src/agent-tooling/mcp/manifest.ts +128 -0
- package/src/agent-tooling/mcp/server.ts +59 -0
- package/src/agent-tooling/mcp/stdio.ts +18 -0
- package/src/agent-tooling/mcp/tools/debug.ts +489 -0
- package/src/agent-tooling/mcp/tools/reference.ts +132 -0
- package/src/agent-tooling/mcp/tools/scaffold.ts +1759 -0
- package/src/agent-tooling/mcp/tools/theme.ts +340 -0
- package/src/agent-tooling/mcp/tools/types.ts +14 -0
- package/src/agent-tooling/registry.ts +41 -0
- package/src/agent-tooling/types.ts +30 -0
- package/src/components/chat-thread.tsx +27 -35
- package/src/components/choice-card.tsx +33 -4
- package/src/components/component-meta.json +250 -26
- package/src/components/confirm-card.tsx +15 -1
- package/src/components/dismissed-stub.tsx +80 -0
- package/src/components/form.tsx +21 -3
- package/src/components/message.tsx +151 -10
- package/src/components/response-compare-types.ts +127 -0
- package/src/components/response-compare.tsx +431 -0
- package/src/components/tasks-card.tsx +33 -3
- package/src/components/toast.tsx +398 -0
- package/src/components/use-card-resolution.ts +24 -8
- package/src/elements/autoloader.ts +89 -0
- package/src/elements/chat-types.ts +7 -0
- package/src/elements/chat-workspace.tsx +4 -2
- package/src/elements/chat.tsx +4 -2
- package/src/elements/compare.tsx +88 -0
- package/src/elements/compiled.css +1 -1
- package/src/elements/define.tsx +7 -1
- package/src/elements/element-manifest.json +182 -0
- package/src/elements/element-meta.json +191 -68
- package/src/elements/element-types.d.ts +43 -6
- package/src/elements/framework-usage.json +25 -0
- package/src/elements/message.tsx +27 -45
- package/src/elements/register-impl.ts +58 -0
- package/src/elements/register.ts +26 -51
- package/src/elements/remote.tsx +4 -0
- package/src/elements/styles.css +19 -0
- package/src/elements/toast.tsx +74 -0
- package/src/index.ts +30 -0
- package/src/primitives/card-contract.ts +14 -5
- package/src/primitives/card-recovery.ts +149 -0
- package/src/primitives/card-routing.ts +3 -0
- package/src/primitives/card-schemas/choice.schema.json +5 -0
- package/src/primitives/card-schemas/tasks.schema.json +5 -0
- package/src/primitives/message-feedback.ts +123 -0
- package/src/primitives/toast-store.ts +235 -0
- package/src/ui/tooltip.tsx +8 -2
- package/theme.css +4 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,124 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export
|
|
1
|
+
export type { ModelOption, SearchFilters, ConversationScope, ConversationSummary, ConversationGroup } from './types';
|
|
2
|
+
export { cn } from './utils/cn';
|
|
3
|
+
export { useAutoResize } from './primitives/use-auto-resize';
|
|
4
|
+
export { useStickToBottom } from './primitives/use-stick-to-bottom';
|
|
5
|
+
export { useTextStream } from './primitives/use-text-stream';
|
|
6
|
+
export type { UseTextStreamOptions, TextStreamSegment } from './primitives/use-text-stream';
|
|
7
|
+
export { useVoiceRecorder } from './primitives/use-voice-recorder';
|
|
8
|
+
export type { UseVoiceRecorderOptions } from './primitives/use-voice-recorder';
|
|
9
|
+
export { ChatConfig, useChatConfig, proseClass, textClass } from './primitives/chat-config';
|
|
10
|
+
export type { ChatConfigValue, ProseSize, ChatConfigProps } from './primitives/chat-config';
|
|
11
|
+
export { configureCodeHighlighting, isCodeHighlightingEnabled } from './primitives/highlighter';
|
|
12
|
+
export type { CodeHighlightingOptions } from './primitives/highlighter';
|
|
13
|
+
export { configurePdfPreview, isPdfPreviewEnabled } from './primitives/pdf-preview';
|
|
14
|
+
export type { PdfPreviewOptions } from './primitives/pdf-preview';
|
|
15
|
+
export { toast, configureToasts, ensureMounted as ensureToastRegion, getToasts } from './primitives/toast-store';
|
|
16
|
+
export type { ToastItem, ToastVariant, ToastAction, ToastOptions, ToastHandle, ToastFn, ToastConfig, } from './primitives/toast-store';
|
|
17
|
+
export { Toast, ToastRegion } from './components/toast';
|
|
18
|
+
export type { ToastRegionProps, ToastDismissReason, ToastPosition, } from './components/toast';
|
|
19
|
+
export { CARD_CONTRACT_VERSION } from './primitives/card-contract';
|
|
20
|
+
export type { CardEnvelope, CardContext, CardEvent, CardEventKind, CardResolution, CardHost, CardPolicy, } from './primitives/card-contract';
|
|
21
|
+
export { applyResolution, resolutionFromEvent } from './primitives/card-resolution';
|
|
22
|
+
export { CardProvider, useCardHost } from './primitives/card-host';
|
|
23
|
+
export type { CardProviderProps } from './primitives/card-host';
|
|
24
|
+
export { CARD_EVENT_NAME, emitCardEvent, routeCardEvent, listenForCardEvents } from './primitives/card-routing';
|
|
25
|
+
export { dismissRecovery, defaultIsReopenable } from './primitives/card-recovery';
|
|
26
|
+
export type { RecoveryToast, ReopenEnv, DismissRecoveryOptions, } from './primitives/card-recovery';
|
|
27
|
+
export { validateAgainstSchema } from './primitives/card-validate';
|
|
28
|
+
export type { JsonSchema, ValidationResult } from './primitives/card-validate';
|
|
29
|
+
export { mountRemoteCard } from './remote/host-embed';
|
|
30
|
+
export type { MountRemoteCardOptions, RemoteCardHandle } from './remote/host-embed';
|
|
31
|
+
export { CardRenderer, renderCard } from './components/card-renderer';
|
|
32
|
+
export type { CardRendererProps } from './components/card-renderer';
|
|
33
|
+
export { CardFallback } from './components/card-fallback';
|
|
34
|
+
export type { CardFallbackProps } from './components/card-fallback';
|
|
35
|
+
export { BUILTIN_CARD_TAGS, BUILTIN_CARD_COMPONENTS, mergeCardTags, mergeCardComponents, } from './primitives/card-registry';
|
|
36
|
+
export type { CardComponent, CardComponentMap, CardTagMap } from './primitives/card-registry';
|
|
37
|
+
export { Card } from './components/card';
|
|
38
|
+
export type { CardProps } from './components/card';
|
|
39
|
+
export { DismissedStub, stubIntent } from './components/dismissed-stub';
|
|
40
|
+
export type { DismissedStubProps, DismissedCardType } from './components/dismissed-stub';
|
|
41
|
+
export { Form, validateForm, buildResult, widgetFor, orderedKeys, coerceValue } from './components/form';
|
|
42
|
+
export type { FormProps, FormField, FormDefinition, FormCardEnvelope, FormValidation, WidgetKind, } from './components/form';
|
|
43
|
+
export { ConfirmCard, CONFIRM_CARD_TYPE, buttonVariantForStyle, normalizeActions, defaultActionId, } from './components/confirm-card';
|
|
44
|
+
export type { ConfirmCardProps, ConfirmAction, ConfirmActionStyle, ConfirmTone, ConfirmCardData, ConfirmCardEnvelope, } from './components/confirm-card';
|
|
45
|
+
export { TasksCard, TASKS_CARD_TYPE, normalizeTasks, initialSelected, selectedInOrder, toggleableIds, selectAllState, showSelectAll, canConfirm, isMaxReached, confirmReason, } from './components/tasks-card';
|
|
46
|
+
export type { TasksCardProps, TasksTask, TasksCardData, TasksCardResult, TasksCardEnvelope, SelectAllState, } from './components/tasks-card';
|
|
47
|
+
export { ChoiceCard, CHOICE_CARD_TYPE, OTHER_ACTION, normalizeOptions, resolveOtherConfig, nextEnabledIndex, firstEnabledIndex, } from './components/choice-card';
|
|
48
|
+
export type { ChoiceCardProps, ChoiceOption, ChoiceOptionMedia, ChoiceAllowOther, ChoiceCardData, ChoiceCardEnvelope, } from './components/choice-card';
|
|
49
|
+
export { LinkPreview } from './components/link-preview';
|
|
50
|
+
export type { LinkPreviewProps } from './components/link-preview';
|
|
51
|
+
export { Embed } from './components/embed';
|
|
52
|
+
export type { EmbedProps } from './components/embed';
|
|
53
|
+
export { configureLinkPreview, resolveLinkMetadata, hasLinkPreviewFetcher, LINK_PREVIEW_TYPE, } from './primitives/link-preview';
|
|
54
|
+
export type { LinkPreviewData, LinkPreviewEnvelope, LinkMetadataFetcher } from './primitives/link-preview';
|
|
55
|
+
export { resolveEmbed, parseYouTubeId, parseVimeoId, configureEmbedAllowlist, isGenericOriginAllowed, EMBED_CARD_TYPE, } from './primitives/embed-providers';
|
|
56
|
+
export type { EmbedCardData, EmbedCardEnvelope, EmbedProvider, ResolvedEmbed } from './primitives/embed-providers';
|
|
57
|
+
export { Button, buttonVariants } from './ui/button';
|
|
58
|
+
export type { ButtonProps } from './ui/button';
|
|
59
|
+
export { Avatar } from './ui/avatar';
|
|
60
|
+
export type { AvatarProps } from './ui/avatar';
|
|
61
|
+
export { Tooltip } from './ui/tooltip';
|
|
62
|
+
export { HoverCard } from './ui/hover-card';
|
|
63
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './ui/collapsible';
|
|
64
|
+
export { ScrollArea } from './ui/scroll-area';
|
|
65
|
+
export { Dropdown, DropdownTrigger, DropdownContent, DropdownItem } from './ui/dropdown';
|
|
66
|
+
export { Textarea } from './ui/textarea';
|
|
67
|
+
export type { TextareaProps } from './ui/textarea';
|
|
68
|
+
export { Badge } from './ui/badge';
|
|
69
|
+
export type { BadgeProps } from './ui/badge';
|
|
70
|
+
export { Separator } from './ui/separator';
|
|
71
|
+
export { ResizablePanelGroup, ResizablePanel, ResizableHandle, Resizable, normalizeSize, resolveToPx } from './ui/resizable';
|
|
72
|
+
export type { ResizablePanelGroupProps, ResizablePanelProps, ResizableHandleProps, ResizableProps, SizeValue } from './ui/resizable';
|
|
73
|
+
export { Skeleton } from './ui/skeleton';
|
|
74
|
+
export { FileTree, buildFileTree } from './components/file-tree';
|
|
75
|
+
export type { FileTreeProps, FileTreeFile, FileTreeNode, FileTreeFolderNode, FileTreeFileNode, } from './components/file-tree';
|
|
76
|
+
export { Artifact } from './components/artifact';
|
|
77
|
+
export type { ArtifactProps, ArtifactFile, ArtifactTab } from './components/artifact';
|
|
78
|
+
export { ChatContainer, ChatContainerRoot, ChatContainerContent, ChatContainerScrollAnchor, useChatContainer, } from './components/chat-container';
|
|
79
|
+
export { Message, MessageAvatar, MessageContent, MessageActions, MessageAction, MessageCopyButton } from './components/message';
|
|
80
|
+
export type { MessageCopyButtonProps } from './components/message';
|
|
81
|
+
export { ResponseCompare, useResolved } from './components/response-compare';
|
|
82
|
+
export type { ResponseCompareProps, CompareLayout, ResolvedController } from './components/response-compare';
|
|
83
|
+
export { normalizeCandidates, buildSelection, isAnyStreaming, } from './components/response-compare';
|
|
84
|
+
export type { CompareCandidate, ComparePair, CompareCollapse, ResponseCompareData, CompareSelection, } from './components/response-compare';
|
|
85
|
+
export { MessageSkills } from './components/message-skills';
|
|
86
|
+
export type { Skill as MessageSkill } from './components/message-skills';
|
|
87
|
+
export { PromptInput, PromptInputTextarea, PromptInputActions, PromptInputAction, usePromptInput, } from './components/prompt-input';
|
|
88
|
+
export { SlashCommand } from './components/slash-command';
|
|
89
|
+
export type { SlashCommandItem, SlashCommandProps } from './components/slash-command';
|
|
90
|
+
export { ResponseStream } from './components/response-stream';
|
|
91
|
+
export { Markdown } from './components/markdown';
|
|
92
|
+
export { CodeBlock, CodeBlockCode, CodeBlockGroup } from './components/code-block';
|
|
93
|
+
export { Loader } from './components/loader';
|
|
94
|
+
export type { LoaderVariant, LoaderSize, LoaderProps } from './components/loader';
|
|
95
|
+
export { CircularLoader, ClassicLoader, PulseLoader, PulseDotLoader, DotsLoader, TypingLoader, WaveLoader, BarsLoader, TerminalLoader, TextBlinkLoader, TextShimmerLoader, TextDotsLoader, } from './components/loader';
|
|
96
|
+
export { FeedbackBar, type FeedbackValue, type FeedbackDetail } from './components/feedback-bar';
|
|
97
|
+
export { ChainOfThought, ChainOfThoughtStep, ChainOfThoughtTrigger, ChainOfThoughtContent, ChainOfThoughtItem, } from './components/chain-of-thought';
|
|
98
|
+
export { Source, SourceTrigger, SourceContent, SourceList } from './components/source';
|
|
99
|
+
export { PromptSuggestion } from './components/prompt-suggestion';
|
|
100
|
+
export { Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent, emptyMediaVariants, } from './components/empty';
|
|
101
|
+
export type { EmptyProps, EmptyHeaderProps, EmptyMediaProps, EmptyTitleProps, EmptyDescriptionProps, EmptyContentProps, } from './components/empty';
|
|
102
|
+
export { ScrollButton } from './components/scroll-button';
|
|
103
|
+
export { TextShimmer } from './components/text-shimmer';
|
|
104
|
+
export { Checkpoint, CheckpointIcon, CheckpointTrigger } from './components/checkpoint';
|
|
105
|
+
export type { CheckpointProps, CheckpointIconProps, CheckpointTriggerProps } from './components/checkpoint';
|
|
106
|
+
export { Context, ContextTrigger, ContextContent, ContextContentHeader, ContextContentBody, ContextContentFooter, ContextInputUsage, ContextOutputUsage, ContextReasoningUsage, ContextCacheUsage, } from './components/context';
|
|
107
|
+
export type { ContextProps, ContextTriggerProps, ContextContentProps, ContextContentHeaderProps, ContextContentBodyProps, ContextContentFooterProps, ContextUsageRowProps, } from './components/context';
|
|
108
|
+
export { VoiceInput } from './components/voice-input';
|
|
109
|
+
export { ConversationList } from './components/conversation-list';
|
|
110
|
+
export { ConversationItem } from './components/conversation-item';
|
|
111
|
+
export { ModelSwitcher } from './components/model-switcher';
|
|
112
|
+
export { ChatScopePicker } from './components/chat-scope-picker';
|
|
113
|
+
export { Tool } from './components/tool';
|
|
114
|
+
export type { ToolPart, ToolProps } from './components/tool';
|
|
115
|
+
export { ThinkingBar } from './components/thinking-bar';
|
|
116
|
+
export type { ThinkingBarProps } from './components/thinking-bar';
|
|
117
|
+
export { Reasoning, ReasoningTrigger, ReasoningContent } from './components/reasoning';
|
|
118
|
+
export type { ReasoningProps, ReasoningTriggerProps, ReasoningContentProps } from './components/reasoning';
|
|
119
|
+
export { Image } from './components/image';
|
|
120
|
+
export type { ImageProps, GeneratedImageLike } from './components/image';
|
|
121
|
+
export { FileUpload, FileUploadTrigger, FileUploadContent } from './components/file-upload';
|
|
122
|
+
export type { FileUploadProps, FileUploadTriggerProps, FileUploadContentProps } from './components/file-upload';
|
|
123
|
+
export { Attachments, Attachment, AttachmentPreview, AttachmentInfo, AttachmentRemove, AttachmentHoverCard, AttachmentHoverCardTrigger, AttachmentHoverCardContent, AttachmentEmpty, getMediaCategory, getAttachmentLabel, useAttachmentsContext, useAttachmentContext, } from './components/attachments';
|
|
124
|
+
export type { AttachmentData, AttachmentMediaCategory, AttachmentVariant, AttachmentsProps, AttachmentProps, AttachmentPreviewProps, AttachmentInfoProps, AttachmentRemoveProps, AttachmentEmptyProps, AttachmentHoverCardProps, AttachmentHoverCardTriggerProps, AttachmentHoverCardContentProps, } from './components/attachments';
|