@opentui/core 0.1.100 → 0.1.101
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/3d.js +1 -1
- package/{index-nr5q8nyn.js → index-9qfn9g6r.js} +3 -3
- package/{index-86ppjrgv.js → index-ekbq0zm9.js} +2 -2
- package/{index-zkcykvp8.js → index-xsfpee0k.js} +98 -11
- package/{index-zkcykvp8.js.map → index-xsfpee0k.js.map} +4 -4
- package/index.js +2 -2
- package/package.json +7 -7
- package/renderer.d.ts +6 -0
- package/runtime-plugin-support.js +3 -3
- package/runtime-plugin.js +3 -3
- package/testing.js +1 -1
- /package/{index-nr5q8nyn.js.map → index-9qfn9g6r.js.map} +0 -0
- /package/{index-86ppjrgv.js.map → index-ekbq0zm9.js.map} +0 -0
package/index.js
CHANGED
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
registerCorePlugin,
|
|
80
80
|
resolveCoreSlot,
|
|
81
81
|
vstyles
|
|
82
|
-
} from "./index-
|
|
82
|
+
} from "./index-ekbq0zm9.js";
|
|
83
83
|
import {
|
|
84
84
|
ASCIIFontSelectionHelper,
|
|
85
85
|
ATTRIBUTE_BASE_BITS,
|
|
@@ -236,7 +236,7 @@ import {
|
|
|
236
236
|
white,
|
|
237
237
|
wrapWithDelegates,
|
|
238
238
|
yellow
|
|
239
|
-
} from "./index-
|
|
239
|
+
} from "./index-xsfpee0k.js";
|
|
240
240
|
export {
|
|
241
241
|
yellow,
|
|
242
242
|
wrapWithDelegates,
|
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.
|
|
7
|
+
"version": "0.1.101",
|
|
8
8
|
"description": "OpenTUI is a TypeScript library on a native Zig core for building terminal user interfaces (TUIs)",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"bun-webgpu": "0.1.5",
|
|
68
68
|
"planck": "^1.4.2",
|
|
69
69
|
"three": "0.177.0",
|
|
70
|
-
"@opentui/core-darwin-x64": "0.1.
|
|
71
|
-
"@opentui/core-darwin-arm64": "0.1.
|
|
72
|
-
"@opentui/core-linux-x64": "0.1.
|
|
73
|
-
"@opentui/core-linux-arm64": "0.1.
|
|
74
|
-
"@opentui/core-win32-x64": "0.1.
|
|
75
|
-
"@opentui/core-win32-arm64": "0.1.
|
|
70
|
+
"@opentui/core-darwin-x64": "0.1.101",
|
|
71
|
+
"@opentui/core-darwin-arm64": "0.1.101",
|
|
72
|
+
"@opentui/core-linux-x64": "0.1.101",
|
|
73
|
+
"@opentui/core-linux-arm64": "0.1.101",
|
|
74
|
+
"@opentui/core-win32-x64": "0.1.101",
|
|
75
|
+
"@opentui/core-win32-arm64": "0.1.101"
|
|
76
76
|
}
|
|
77
77
|
}
|
package/renderer.d.ts
CHANGED
|
@@ -227,6 +227,10 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
|
|
|
227
227
|
private _paletteDetectionPromise;
|
|
228
228
|
private _onDestroy?;
|
|
229
229
|
private _themeMode;
|
|
230
|
+
private _themeModeSource;
|
|
231
|
+
private _themeFallbackPending;
|
|
232
|
+
private _themeOscForeground;
|
|
233
|
+
private _themeOscBackground;
|
|
230
234
|
private _terminalFocusState;
|
|
231
235
|
private sequenceHandlers;
|
|
232
236
|
private prependedInputHandlers;
|
|
@@ -291,6 +295,7 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
|
|
|
291
295
|
get currentControlState(): string;
|
|
292
296
|
get capabilities(): any | null;
|
|
293
297
|
get themeMode(): ThemeMode | null;
|
|
298
|
+
waitForThemeMode(timeoutMs?: number): Promise<ThemeMode | null>;
|
|
294
299
|
getDebugInputs(): Array<{
|
|
295
300
|
timestamp: string;
|
|
296
301
|
sequence: string;
|
|
@@ -315,6 +320,7 @@ export declare class CliRenderer extends EventEmitter implements RenderContext {
|
|
|
315
320
|
private capabilityHandler;
|
|
316
321
|
private focusHandler;
|
|
317
322
|
private themeModeHandler;
|
|
323
|
+
private applyThemeMode;
|
|
318
324
|
private dispatchSequenceHandlers;
|
|
319
325
|
private drainStdinParser;
|
|
320
326
|
private handleStdinEvent;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createRuntimePlugin,
|
|
4
4
|
runtimeModuleIdForSpecifier
|
|
5
|
-
} from "./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
5
|
+
} from "./index-9qfn9g6r.js";
|
|
6
|
+
import"./index-ekbq0zm9.js";
|
|
7
|
+
import"./index-xsfpee0k.js";
|
|
8
8
|
|
|
9
9
|
// src/runtime-plugin-support.ts
|
|
10
10
|
var {plugin: registerBunPlugin } = globalThis.Bun;
|
package/runtime-plugin.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
createRuntimePlugin,
|
|
4
4
|
isCoreRuntimeModuleSpecifier,
|
|
5
5
|
runtimeModuleIdForSpecifier
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
6
|
+
} from "./index-9qfn9g6r.js";
|
|
7
|
+
import"./index-ekbq0zm9.js";
|
|
8
|
+
import"./index-xsfpee0k.js";
|
|
9
9
|
export {
|
|
10
10
|
runtimeModuleIdForSpecifier,
|
|
11
11
|
isCoreRuntimeModuleSpecifier,
|
package/testing.js
CHANGED
|
File without changes
|
|
File without changes
|