@illuma-ai/code-sandbox 1.2.1 → 1.3.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.
@@ -1,15 +1,18 @@
1
1
  /**
2
- * Terminal — Display terminal output from Nodepod processes.
2
+ * Terminal — Clean monochrome terminal output panel with minimize toggle.
3
3
  *
4
- * Simple scrolling output panel styled like a terminal.
5
- * Auto-scrolls to the bottom as new output arrives.
4
+ * Uses a simple div-based approach (not xterm.js) to keep the bundle lean.
5
+ * Auto-scrolls to bottom as new output arrives.
6
+ * Minimize/expand state is controlled by the parent via props.
6
7
  */
7
8
  import type { TerminalProps } from "../types";
8
9
  /**
9
- * Terminal component — renders process stdout/stderr in a terminal-style panel.
10
+ * Terminal component — renders process output in a clean monochrome panel.
10
11
  *
11
- * Uses a simple div-based approach (not xterm.js) for the initial version.
12
- * This keeps the bundle small and avoids the xterm peer dependency
13
- * for consumers who don't need full terminal emulation.
12
+ * Features:
13
+ * - Monospace font with proper line spacing
14
+ * - Auto-scroll to bottom on new output
15
+ * - Minimize/expand toggle via chevron in header (parent-controlled)
16
+ * - Modern thin scrollbar matching the sandbox theme
14
17
  */
15
- export declare function Terminal({ output, className }: TerminalProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare function Terminal({ output, className, minimized, onToggleMinimize, }: TerminalProps): import("react/jsx-runtime").JSX.Element;