@apteva/apteva-kit 0.1.96 → 0.1.97

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/dist/index.d.mts CHANGED
@@ -274,6 +274,7 @@ interface ChatProps {
274
274
  onError?: (error: Error) => void;
275
275
  onToolCall?: (toolName: string, toolId: string) => void;
276
276
  onToolResult?: (toolName: string, result?: any) => void;
277
+ variant?: 'default' | 'minimal' | 'terminal';
277
278
  theme?: 'light' | 'dark' | 'auto';
278
279
  placeholder?: string;
279
280
  showHeader?: boolean;
package/dist/index.d.ts CHANGED
@@ -274,6 +274,7 @@ interface ChatProps {
274
274
  onError?: (error: Error) => void;
275
275
  onToolCall?: (toolName: string, toolId: string) => void;
276
276
  onToolResult?: (toolName: string, result?: any) => void;
277
+ variant?: 'default' | 'minimal' | 'terminal';
277
278
  theme?: 'light' | 'dark' | 'auto';
278
279
  placeholder?: string;
279
280
  showHeader?: boolean;
package/dist/index.js CHANGED
@@ -3017,6 +3017,7 @@ var Chat = _react.forwardRef.call(void 0, function Chat2({
3017
3017
  onToolCall,
3018
3018
  onToolResult,
3019
3019
  // UI
3020
+ variant = "default",
3020
3021
  placeholder,
3021
3022
  showHeader = true,
3022
3023
  headerTitle = "Chat",
@@ -3585,7 +3586,7 @@ ${planToExecute}`;
3585
3586
  setCurrentRequestId(null);
3586
3587
  };
3587
3588
  const isCompact = commandVariant === "compact";
3588
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: cn("apteva-chat flex flex-col h-full", className), children: [
3589
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: cn("apteva-chat flex flex-col h-full", variant !== "default" && `apteva-chat-${variant}`, className), children: [
3589
3590
  showHeader && mode === "chat" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "apteva-chat-header px-4 py-3 flex items-center justify-between", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
3590
3591
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "apteva-chat-title", children: headerTitle }),
3591
3592
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: cn(