@opentui/core 0.5.17 → 0.6.0
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/NativeScene.d.ts +185 -0
- package/NativeSession.d.ts +134 -0
- package/NativeSpanFeed.d.ts +1 -4
- package/README.md +5 -3
- package/Renderable.d.ts +162 -67
- package/animation/Timeline.d.ts +11 -1
- package/assets/typescriptreact/highlights.scm +758 -0
- package/assets/typescriptreact/tree-sitter-tsx.wasm +0 -0
- package/buffer.d.ts +76 -36
- package/chunk-bun-s01c2jyn.js +24914 -0
- package/chunk-bun-s01c2jyn.js.map +69 -0
- package/chunk-bun-tsc14mt5.js +12515 -0
- package/chunk-bun-tsc14mt5.js.map +35 -0
- package/chunk-node-df90qrqc.js +12495 -0
- package/chunk-node-df90qrqc.js.map +34 -0
- package/chunk-node-hjr2tm60.js +24913 -0
- package/chunk-node-hjr2tm60.js.map +69 -0
- package/edit-buffer.d.ts +18 -20
- package/editor-view.d.ts +13 -5
- package/image.d.ts +18 -7
- package/index.bun.js +2387 -2899
- package/index.bun.js.map +20 -22
- package/index.d.ts +6 -2
- package/index.node.js +2387 -2899
- package/index.node.js.map +20 -24
- package/lib/buffer-access.d.ts +6 -0
- package/lib/clipboard.d.ts +0 -9
- package/lib/extmarks.d.ts +4 -1
- package/lib/tree-sitter/parsers-config.d.ts +9 -9
- package/native-abi.generated.d.ts +5496 -0
- package/node-assets.js +6 -2
- package/node-assets.js.map +3 -3
- package/package.json +10 -10
- package/parser.worker.js +14 -2
- package/parser.worker.js.map +3 -3
- package/renderables/ASCIIFont.d.ts +5 -5
- package/renderables/Box.d.ts +8 -8
- package/renderables/Code.d.ts +6 -2
- package/renderables/Diff.d.ts +4 -2
- package/renderables/EditBufferRenderable.d.ts +8 -10
- package/renderables/EmbeddedTerminal.d.ts +4 -2
- package/renderables/FrameBuffer.d.ts +3 -1
- package/renderables/Image.d.ts +3 -1
- package/renderables/Input.d.ts +0 -5
- package/renderables/LineNumberRenderable.d.ts +3 -1
- package/renderables/Markdown.d.ts +5 -2
- package/renderables/ScrollBar.d.ts +7 -1
- package/renderables/ScrollBox.d.ts +4 -6
- package/renderables/Select.d.ts +2 -1
- package/renderables/Slider.d.ts +7 -5
- package/renderables/TabSelect.d.ts +2 -1
- package/renderables/Text.d.ts +5 -4
- package/renderables/TextBufferRenderable.d.ts +10 -9
- package/renderables/TextNode.d.ts +8 -0
- package/renderables/TextTable.d.ts +1 -1
- package/renderables/Textarea.d.ts +1 -1
- package/renderables/index.d.ts +1 -1
- package/renderer.d.ts +90 -67
- package/session-buffer.d.ts +4 -0
- package/syntax-style.d.ts +9 -7
- package/testing/harness.d.ts +33 -0
- package/testing/manual-clock.d.ts +2 -0
- package/testing/test-renderer.d.ts +3 -0
- package/testing/test-streams.d.ts +20 -2
- package/testing.bun.js +60 -49
- package/testing.bun.js.map +6 -6
- package/testing.js +60 -49
- package/testing.js.map +6 -6
- package/tests/native-log-worker-child.d.ts +1 -0
- package/tests/native-symbol-stubs.d.ts +5 -0
- package/tests/yoga-callback-boundary-child.d.ts +1 -0
- package/tests/yoga-default-config-worker-child.d.ts +1 -0
- package/text-buffer-view.d.ts +11 -4
- package/text-buffer.d.ts +24 -9
- package/types.d.ts +4 -4
- package/yoga.bun.js +6 -2
- package/yoga.bun.js.map +1 -1
- package/yoga.d.ts +91 -56
- package/yoga.internal.d.ts +78 -0
- package/yoga.js +6 -2
- package/yoga.js.map +1 -1
- package/zig-structs.d.ts +13 -98
- package/zig.d.ts +1304 -583
- package/chunk-bun-6rvkxs1v.js +0 -18862
- package/chunk-bun-6rvkxs1v.js.map +0 -64
- package/chunk-bun-h3ggawd9.js +0 -10533
- package/chunk-bun-h3ggawd9.js.map +0 -32
- package/chunk-node-kc1sqq2a.js +0 -10532
- package/chunk-node-kc1sqq2a.js.map +0 -32
- package/chunk-node-tfvyz31s.js +0 -18844
- package/chunk-node-tfvyz31s.js.map +0 -63
package/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "./Renderable.js";
|
|
|
2
2
|
export * from "./types.js";
|
|
3
3
|
export * from "./utils.js";
|
|
4
4
|
export * from "./buffer.js";
|
|
5
|
+
export * from "./session-buffer.js";
|
|
5
6
|
export * from "./text-buffer.js";
|
|
6
7
|
export * from "./text-buffer-view.js";
|
|
7
8
|
export * from "./edit-buffer.js";
|
|
@@ -10,20 +11,23 @@ export * from "./syntax-style.js";
|
|
|
10
11
|
export * from "./post/effects.js";
|
|
11
12
|
export * from "./post/filters.js";
|
|
12
13
|
export * from "./post/matrices.js";
|
|
13
|
-
export
|
|
14
|
+
export { Timeline, createTimeline, engine, getTimelineEngine } from "./animation/Timeline.js";
|
|
15
|
+
export type { TimelineOptions, AnimationOptions, JSAnimation, EasingFunctions } from "./animation/Timeline.js";
|
|
14
16
|
export * from "./lib/index.js";
|
|
15
17
|
export * from "./renderer.js";
|
|
16
18
|
export * from "./plugins/types.js";
|
|
17
19
|
export * from "./plugins/registry.js";
|
|
18
20
|
export * from "./plugins/core-slot.js";
|
|
19
21
|
export * from "./NativeSpanFeed.js";
|
|
22
|
+
export * from "./NativeSession.js";
|
|
20
23
|
export * from "./audio.js";
|
|
21
24
|
export type { AudioStreamDemuxOutput, AudioStreamDemuxer, AudioStreamDemuxerFactory } from "./audio-stream/demuxer.js";
|
|
22
25
|
export { createIcyStreamDemuxer } from "./audio-stream/icy/demuxer.js";
|
|
23
26
|
export type { IcyStreamDemuxerOptions } from "./audio-stream/icy/demuxer.js";
|
|
24
27
|
export * from "./image.js";
|
|
25
28
|
export * from "./renderables/index.js";
|
|
26
|
-
export
|
|
29
|
+
export { FFIRenderLib, LogLevel, MAX_LINK_URL_BYTES, NATIVE_BUFFER_TEXT_BYTES_MAX, NATIVE_EDGE_NONE, NATIVE_SESSION_CONTROL_PACKET_BYTES, NativeAudioStreamCloseReason, NativeAudioStreamFormat, NativeAudioStreamState, NativeBorder, NativeClipboardCancelStatus, NativeClipboardCopyStatus, NativeClipboardDestroyStatus, NativeClipboardOperationStatus, NativeClipboardShutdownStatus, NativeClipboardStartStatus, NativeEditCommand, NativeEditEvent, NativeEditHighlightOperation, NativeEditPositionQuery, NativeEditorCommand, NativeEditorPositionQuery, NativeEditorSelectionOperation, NativeEditorStyleMask, NativeError, NativeSceneFrame, NativeSceneHook, NativeScenePaintPhase, NativeSessionPumpStatus, NativeSessionRenderStatus, NativeSessionState, NativeSessionTerminalPhase, NativeStatus, NativeTextViewCommand, resolveRenderLib, setRenderLibPath, } from "./zig.js";
|
|
30
|
+
export type { AllocatorStats, AudioEngineHandle, AudioEngineLib, AudioStreamCreateOptions, BuildOptions, ClipboardOperationHandle, ClipboardServiceHandle, ContextBufferHandle, ContextEditBufferHandle, ContextEditorViewHandle, ContextEmbeddedTerminalHandle, ContextImageHandle, ContextImagePixelsHandle, ContextObjectHandle, ContextSyntaxStyleHandle, ContextTextBufferHandle, ContextTextBufferViewHandle, ContextUnicodeHandle, CursorState, EmbeddedTerminalCursor, EmbeddedTerminalKey, EmbeddedTerminalMouse, ImageHandle, LineInfo, LogicalCursor, MeasureResult, NativeAudioCaptureStats, NativeAudioStreamStats, NativeBufferDraw, NativeBufferGrid, NativeBufferStack, NativeBufferedOutput, NativeContextBufferLease, NativeContextBufferOptions, NativeContextEditBufferOptions, NativeContextHandle, NativeContextImageDraw, NativeContextOptions, NativeDrawingTarget, NativeEditBufferInfo, NativeEditEventName, NativeEditorReplacement, NativeEditorSelection, NativeEditorStyle, NativeEditorViewInfo, NativeEditorViewport, NativeEncodedStyledText, NativeHandle, NativeOutputTicket, NativeRenderStats, NativeSceneArrowOptions, NativeSceneBoxDetails, NativeSceneEditorOptions, NativeSceneFrameOptions, NativeSceneFrameRequest, NativeSceneLayout, NativeScenePaint, NativeScenePaintSlot, NativeScenePaintUpdate, NativeSceneSliderOptions, NativeSceneTextMetrics, NativeSceneTextOptions, NativeSceneTextSelectionOptions, NativeSessionBufferLease, NativeSessionCapabilities, NativeSessionControl, NativeSessionCursorOptions, NativeSessionKittyImageTransportStatus, NativeSessionOptions, NativeSessionPumpResult, NativeSessionRendererOptions, NativeSessionRendererState, NativeSessionSplitControl, NativeSessionTerminalOptions, NativeSpanFeedEventHandler, NativeSplitSnapshot, NativeTextBufferInfo, NativeYogaDirtiedCallback, NativeYogaLayout, NativeYogaMeasureCallback, RenderLib, SceneNodeHandle, SessionBuffer, SessionHandle, VisualCursor, } from "./zig.js";
|
|
27
31
|
export * from "./console.js";
|
|
28
32
|
export { resolveBundledFilePath } from "./platform/runtime.js";
|
|
29
33
|
export * as Yoga from "./yoga.js";
|