@opentui/core 0.7.0 → 0.8.1

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.
Files changed (54) hide show
  1. package/NativeScene.d.ts +18 -4
  2. package/NativeSession.d.ts +22 -2
  3. package/Renderable.d.ts +20 -2
  4. package/animation/Timeline.d.ts +9 -0
  5. package/buffer.d.ts +8 -2
  6. package/{chunk-bun-zevtbcf6.js → chunk-bun-ved2tpxm.js} +834 -320
  7. package/chunk-bun-ved2tpxm.js.map +70 -0
  8. package/{chunk-bun-qkpm62w1.js → chunk-bun-wdetc10w.js} +483 -29
  9. package/chunk-bun-wdetc10w.js.map +35 -0
  10. package/{chunk-node-mzgnr3sw.js → chunk-node-m8mjyx7h.js} +483 -29
  11. package/chunk-node-m8mjyx7h.js.map +34 -0
  12. package/{chunk-node-7bcmqh18.js → chunk-node-tpjmjvn7.js} +834 -320
  13. package/chunk-node-tpjmjvn7.js.map +70 -0
  14. package/edit-buffer.d.ts +4 -0
  15. package/index.bun.js +1453 -859
  16. package/index.bun.js.map +15 -13
  17. package/index.d.ts +1 -1
  18. package/index.node.js +1453 -859
  19. package/index.node.js.map +16 -12
  20. package/lib/extmarks.d.ts +3 -1
  21. package/lib/stdin-parser-native.d.ts +2 -0
  22. package/lib/stdin-parser.d.ts +2 -0
  23. package/lib/terminal-capability-detection.d.ts +6 -1
  24. package/native-abi.generated.d.ts +478 -6
  25. package/package.json +9 -9
  26. package/renderables/FrameBuffer.d.ts +1 -0
  27. package/renderables/Image.d.ts +13 -1
  28. package/renderables/LineNumberRenderable.d.ts +1 -1
  29. package/renderables/Markdown.d.ts +1 -1
  30. package/renderables/ScrollBar.d.ts +6 -0
  31. package/renderables/ScrollBox.d.ts +84 -44
  32. package/renderables/ScrollBoxParts.d.ts +165 -0
  33. package/renderables/Select.d.ts +0 -2
  34. package/renderables/TabSelect.d.ts +0 -3
  35. package/renderables/TextTable.d.ts +1 -8
  36. package/renderables/Video.d.ts +126 -0
  37. package/renderables/index.d.ts +2 -1
  38. package/renderer-theme-mode.d.ts +1 -6
  39. package/renderer.d.ts +44 -5
  40. package/testing/test-renderer.d.ts +2 -0
  41. package/testing.bun.js +7 -6
  42. package/testing.bun.js.map +3 -3
  43. package/testing.js +7 -6
  44. package/testing.js.map +3 -3
  45. package/types.d.ts +11 -0
  46. package/yoga.bun.js +1 -1
  47. package/yoga.internal.d.ts +3 -3
  48. package/yoga.js +1 -1
  49. package/zig-structs.d.ts +1 -0
  50. package/zig.d.ts +132 -10
  51. package/chunk-bun-qkpm62w1.js.map +0 -35
  52. package/chunk-bun-zevtbcf6.js.map +0 -70
  53. package/chunk-node-7bcmqh18.js.map +0 -70
  54. package/chunk-node-mzgnr3sw.js.map +0 -34
package/index.d.ts CHANGED
@@ -27,7 +27,7 @@ export type { IcyStreamDemuxerOptions } from "./audio-stream/icy/demuxer.js";
27
27
  export * from "./image.js";
28
28
  export * from "./renderables/index.js";
29
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";
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, SynchronizedOutput, NativeSpanFeedEventHandler, NativeSplitSnapshot, NativeTextBufferInfo, NativeVideoInfo, NativeVideoState, NativeYogaDirtiedCallback, NativeYogaLayout, NativeYogaMeasureCallback, RenderLib, SceneNodeHandle, SessionBuffer, SessionHandle, VisualCursor, } from "./zig.js";
31
31
  export * from "./console.js";
32
32
  export { resolveBundledFilePath } from "./platform/runtime.js";
33
33
  export * as Yoga from "./yoga.js";