@opentui/core 0.1.91 → 0.1.92
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/{index-1xpw3v2p.js → index-j5fb4966.js} +2 -2
- package/{index-7p56py22.js → index-jdn8a604.js} +23 -2
- package/{index-7p56py22.js.map → index-jdn8a604.js.map} +3 -3
- package/index.js +1 -1
- package/package.json +7 -7
- package/plugins/registry.d.ts +4 -0
- package/runtime-plugin-support.js +2 -2
- package/runtime-plugin.js +2 -2
- /package/{index-1xpw3v2p.js.map → index-j5fb4966.js.map} +0 -0
package/index.js
CHANGED
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.92",
|
|
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.92",
|
|
71
|
+
"@opentui/core-darwin-arm64": "0.1.92",
|
|
72
|
+
"@opentui/core-linux-x64": "0.1.92",
|
|
73
|
+
"@opentui/core-linux-arm64": "0.1.92",
|
|
74
|
+
"@opentui/core-win32-x64": "0.1.92",
|
|
75
|
+
"@opentui/core-win32-arm64": "0.1.92"
|
|
76
76
|
}
|
|
77
77
|
}
|
package/plugins/registry.d.ts
CHANGED
|
@@ -12,6 +12,8 @@ export declare class SlotRegistry<TNode, TSlots extends object, TContext extends
|
|
|
12
12
|
private errorListeners;
|
|
13
13
|
private pluginErrors;
|
|
14
14
|
private registrationOrder;
|
|
15
|
+
private batchDepth;
|
|
16
|
+
private batchedNotify;
|
|
15
17
|
private rendererInstance;
|
|
16
18
|
private hostContext;
|
|
17
19
|
private options;
|
|
@@ -25,6 +27,7 @@ export declare class SlotRegistry<TNode, TSlots extends object, TContext extends
|
|
|
25
27
|
clear(): void;
|
|
26
28
|
subscribe(listener: () => void): () => void;
|
|
27
29
|
onPluginError(listener: (event: PluginErrorEvent) => void): () => void;
|
|
30
|
+
batch<T>(run: () => T): T;
|
|
28
31
|
getPluginErrors(): readonly PluginErrorEvent[];
|
|
29
32
|
clearPluginErrors(): void;
|
|
30
33
|
reportPluginError(report: PluginErrorReport): PluginErrorEvent;
|
|
@@ -34,5 +37,6 @@ export declare class SlotRegistry<TNode, TSlots extends object, TContext extends
|
|
|
34
37
|
private syncPluginSortMetadata;
|
|
35
38
|
private invalidateSortedPluginsCache;
|
|
36
39
|
private notifyListeners;
|
|
40
|
+
private flushListeners;
|
|
37
41
|
}
|
|
38
42
|
export declare function createSlotRegistry<TNode, TSlots extends object, TContext extends PluginContext = PluginContext>(renderer: CliRenderer, key: string, context: TContext, options?: SlotRegistryOptions): SlotRegistry<TNode, TSlots, TContext>;
|
package/runtime-plugin.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
createRuntimePlugin,
|
|
4
4
|
isCoreRuntimeModuleSpecifier,
|
|
5
5
|
runtimeModuleIdForSpecifier
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
6
|
+
} from "./index-j5fb4966.js";
|
|
7
|
+
import"./index-jdn8a604.js";
|
|
8
8
|
import"./index-mdxq0qtt.js";
|
|
9
9
|
export {
|
|
10
10
|
runtimeModuleIdForSpecifier,
|
|
File without changes
|