@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.js CHANGED
@@ -81,7 +81,7 @@ import {
81
81
  registerCorePlugin,
82
82
  resolveCoreSlot,
83
83
  vstyles
84
- } from "./index-7p56py22.js";
84
+ } from "./index-jdn8a604.js";
85
85
  import {
86
86
  ASCIIFontSelectionHelper,
87
87
  ATTRIBUTE_BASE_BITS,
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.91",
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.91",
71
- "@opentui/core-darwin-arm64": "0.1.91",
72
- "@opentui/core-linux-x64": "0.1.91",
73
- "@opentui/core-linux-arm64": "0.1.91",
74
- "@opentui/core-win32-x64": "0.1.91",
75
- "@opentui/core-win32-arm64": "0.1.91"
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
  }
@@ -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>;
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  createRuntimePlugin,
4
4
  runtimeModuleIdForSpecifier
5
- } from "./index-1xpw3v2p.js";
6
- import"./index-7p56py22.js";
5
+ } from "./index-j5fb4966.js";
6
+ import"./index-jdn8a604.js";
7
7
  import"./index-mdxq0qtt.js";
8
8
 
9
9
  // src/runtime-plugin-support.ts
package/runtime-plugin.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  createRuntimePlugin,
4
4
  isCoreRuntimeModuleSpecifier,
5
5
  runtimeModuleIdForSpecifier
6
- } from "./index-1xpw3v2p.js";
7
- import"./index-7p56py22.js";
6
+ } from "./index-j5fb4966.js";
7
+ import"./index-jdn8a604.js";
8
8
  import"./index-mdxq0qtt.js";
9
9
  export {
10
10
  runtimeModuleIdForSpecifier,