@opentui/core 0.1.57 → 0.1.59

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "index.js",
5
5
  "types": "index.d.ts",
6
6
  "type": "module",
7
- "version": "0.1.57",
7
+ "version": "0.1.59",
8
8
  "description": "OpenTUI is a TypeScript library for building terminal user interfaces (TUIs)",
9
9
  "license": "MIT",
10
10
  "repository": {
@@ -56,11 +56,11 @@
56
56
  "bun-webgpu": "0.1.4",
57
57
  "planck": "^1.4.2",
58
58
  "three": "0.177.0",
59
- "@opentui/core-darwin-x64": "0.1.57",
60
- "@opentui/core-darwin-arm64": "0.1.57",
61
- "@opentui/core-linux-x64": "0.1.57",
62
- "@opentui/core-linux-arm64": "0.1.57",
63
- "@opentui/core-win32-x64": "0.1.57",
64
- "@opentui/core-win32-arm64": "0.1.57"
59
+ "@opentui/core-darwin-x64": "0.1.59",
60
+ "@opentui/core-darwin-arm64": "0.1.59",
61
+ "@opentui/core-linux-x64": "0.1.59",
62
+ "@opentui/core-linux-arm64": "0.1.59",
63
+ "@opentui/core-win32-x64": "0.1.59",
64
+ "@opentui/core-win32-arm64": "0.1.59"
65
65
  }
66
66
  }
@@ -6,6 +6,7 @@ import type { TreeSitterClient } from "../lib/tree-sitter";
6
6
  export interface DiffRenderableOptions extends RenderableOptions<DiffRenderable> {
7
7
  diff?: string;
8
8
  view?: "unified" | "split";
9
+ fg?: string | RGBA;
9
10
  filetype?: string;
10
11
  syntaxStyle?: SyntaxStyle;
11
12
  wrapMode?: "word" | "char" | "none";
@@ -32,6 +33,7 @@ export declare class DiffRenderable extends Renderable {
32
33
  private _view;
33
34
  private _parsedDiff;
34
35
  private _parseError;
36
+ private _fg?;
35
37
  private _filetype?;
36
38
  private _syntaxStyle?;
37
39
  private _wrapMode?;
@@ -124,4 +126,6 @@ export declare class DiffRenderable extends Renderable {
124
126
  set selectionFg(value: string | RGBA | undefined);
125
127
  get conceal(): boolean;
126
128
  set conceal(value: boolean);
129
+ get fg(): RGBA | undefined;
130
+ set fg(value: string | RGBA | undefined);
127
131
  }