@runtypelabs/ink-components 0.3.2 → 0.3.4

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -31,7 +31,7 @@ interface StreamOutputProps {
31
31
  * Uses the module-level `marked` + `marked-terminal` configuration.
32
32
  */
33
33
  declare function renderMarkdownToTerminal(content: string): string;
34
- declare const StreamOutput: react.NamedExoticComponent<StreamOutputProps>;
34
+ declare const StreamOutput: react.MemoExoticComponent<({ content, isStreaming, enableMarkdown, maxVisibleLines, scrollOffset, }: StreamOutputProps) => react_jsx_runtime.JSX.Element>;
35
35
 
36
36
  interface ErrorDisplayProps {
37
37
  error: Error | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/ink-components",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "Shared Ink (React for CLI) components for the Runtype CLI — spinners, status bars, streaming output, and error displays.",
5
5
  "license": "MIT",
6
6
  "author": "Runtype Labs",
@@ -30,8 +30,8 @@
30
30
  "@types/react": "^19.2.14",
31
31
  "ink-testing-library": "4.0.0",
32
32
  "tsup": "^8.0.2",
33
- "typescript": "^5.3.3",
34
- "vitest": "^4.0.18"
33
+ "typescript": "^6.0.3",
34
+ "vitest": "^4.1.0"
35
35
  },
36
36
  "keywords": [
37
37
  "runtype",
@@ -61,8 +61,8 @@
61
61
  "scripts": {
62
62
  "build": "tsup",
63
63
  "test": "vitest run",
64
- "type-check": "tsc --noEmit",
64
+ "type-check": "tsgo --noEmit",
65
65
  "dev": "tsup --watch",
66
- "typecheck": "tsc --noEmit"
66
+ "typecheck": "tsgo --noEmit"
67
67
  }
68
68
  }