@opentui/core 0.0.0-20260604-5b641b77 → 0.0.0-20260604-29fa4a8a
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/NativeSpanFeed.d.ts +4 -0
- package/Renderable.d.ts +1 -7
- package/buffer.d.ts +0 -1
- package/index-52jnbjwg.js +25742 -0
- package/index-52jnbjwg.js.map +84 -0
- package/index.d.ts +1 -1
- package/index.js +11130 -119
- package/index.js.map +29 -3
- package/lib/selection.d.ts +2 -1
- package/lib/singleton.d.ts +1 -0
- package/lib/tree-sitter/client.d.ts +8 -1
- package/lib/tree-sitter/index.d.ts +1 -0
- package/lib/tree-sitter/types.d.ts +104 -1
- package/lib/tree-sitter/update-assets.js +8 -6
- package/lib/tree-sitter/update-assets.js.map +3 -3
- package/lib/yoga.options.d.ts +1 -1
- package/package.json +25 -37
- package/parser.worker.js +396 -78
- package/parser.worker.js.map +8 -7
- package/platform/ffi.d.ts +6 -3
- package/platform/test.d.ts +12 -0
- package/platform/worker.d.ts +26 -4
- package/renderables/Box.d.ts +0 -4
- package/renderables/Code.d.ts +1 -12
- package/renderables/Diff.d.ts +0 -5
- package/renderables/Markdown.d.ts +1 -11
- package/runtime-plugin-support-configure.js +36 -19
- package/runtime-plugin-support-configure.js.map +1 -9
- package/runtime-plugin-support-configure.node.js +15 -0
- package/runtime-plugin-support.js +4 -20
- package/runtime-plugin-support.js.map +1 -10
- package/runtime-plugin-support.node.js +15 -0
- package/runtime-plugin.js +473 -17
- package/runtime-plugin.js.map +1 -9
- package/runtime-plugin.node.js +15 -0
- package/testing/bun-test-node.d.ts +87 -0
- package/testing/mock-tree-sitter-client.d.ts +4 -0
- package/testing.js +16 -12
- package/testing.js.map +3 -3
- package/zig.d.ts +2 -61
- package/index-3h2m3m95.js +0 -15343
- package/index-3h2m3m95.js.map +0 -57
- package/index-4mkbecg2.js +0 -11671
- package/index-4mkbecg2.js.map +0 -35
- package/index-ax4q52m8.js +0 -9951
- package/index-ax4q52m8.js.map +0 -33
- package/index-p2qd2k4t.js +0 -421
- package/index-p2qd2k4t.js.map +0 -10
- package/index-ypxh3d9y.js +0 -44
- package/index-ypxh3d9y.js.map +0 -10
- package/tests/yoga-upstream/tools/MeasureCounter.d.ts +0 -16
- package/tests/yoga-upstream/tools/utils.d.ts +0 -11
- package/yoga.d.ts +0 -439
- package/yoga.js +0 -194
- package/yoga.js.map +0 -9
package/NativeSpanFeed.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ export declare class NativeSpanFeed {
|
|
|
27
27
|
private inCallback;
|
|
28
28
|
private closeQueued;
|
|
29
29
|
private idleResolvers;
|
|
30
|
+
private pendingHandlerError;
|
|
31
|
+
private pendingHandlerErrorQueued;
|
|
30
32
|
private constructor();
|
|
31
33
|
private ensureDrainBuffer;
|
|
32
34
|
onData(handler: DataHandler): () => void;
|
|
@@ -42,6 +44,8 @@ export declare class NativeSpanFeed {
|
|
|
42
44
|
idle(): Promise<void>;
|
|
43
45
|
private handleEvent;
|
|
44
46
|
private decrementRefcount;
|
|
47
|
+
private queuePendingHandlerError;
|
|
48
|
+
private throwPendingHandlerError;
|
|
45
49
|
private drainOnce;
|
|
46
50
|
drainAll(): void;
|
|
47
51
|
}
|
package/Renderable.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from "events";
|
|
2
|
-
import { type Node as YogaNode } from "
|
|
2
|
+
import { type Node as YogaNode } from "yoga-layout";
|
|
3
3
|
import { OptimizedBuffer } from "./buffer.js";
|
|
4
4
|
import type { KeyEvent, PasteEvent } from "./lib/KeyHandler.js";
|
|
5
5
|
import type { Selection } from "./lib/selection.js";
|
|
@@ -275,7 +275,6 @@ export declare abstract class Renderable extends BaseRenderable {
|
|
|
275
275
|
render(buffer: OptimizedBuffer, deltaTime: number): void;
|
|
276
276
|
protected _hasVisibleChildFilter(): boolean;
|
|
277
277
|
protected _getVisibleChildren(): number[];
|
|
278
|
-
canReuseRenderCommandList(): boolean;
|
|
279
278
|
protected onUpdate(deltaTime: number): void;
|
|
280
279
|
protected getScissorRect(): {
|
|
281
280
|
x: number;
|
|
@@ -337,15 +336,10 @@ interface RenderCommandPopOpacity extends RenderCommandBase {
|
|
|
337
336
|
export type RenderCommand = RenderCommandPushScissorRect | RenderCommandPopScissorRect | RenderCommandRender | RenderCommandPushOpacity | RenderCommandPopOpacity;
|
|
338
337
|
export declare class RootRenderable extends Renderable {
|
|
339
338
|
private renderList;
|
|
340
|
-
private appliedLayoutGeneration;
|
|
341
|
-
private appliedRenderListRevision;
|
|
342
|
-
private renderListReusable;
|
|
343
339
|
constructor(ctx: RenderContext);
|
|
344
340
|
render(buffer: OptimizedBuffer, deltaTime: number): void;
|
|
345
341
|
protected propagateLiveCount(delta: number): void;
|
|
346
342
|
calculateLayout(): void;
|
|
347
|
-
private syncExternalLayoutGeneration;
|
|
348
|
-
private canReuseCurrentRenderList;
|
|
349
343
|
resize(width: number, height: number): void;
|
|
350
344
|
}
|
|
351
345
|
export {};
|
package/buffer.d.ts
CHANGED