@opentui/core 0.6.8 → 0.8.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.
Files changed (60) hide show
  1. package/NativeScene.d.ts +14 -29
  2. package/Renderable.d.ts +47 -34
  3. package/animation/Timeline.d.ts +9 -0
  4. package/audio.d.ts +1 -0
  5. package/buffer.d.ts +6 -2
  6. package/{chunk-bun-4e5bpeqh.js → chunk-bun-6kxdhkdc.js} +1243 -1034
  7. package/chunk-bun-6kxdhkdc.js.map +70 -0
  8. package/{chunk-bun-ehr9v0n8.js → chunk-bun-x6cz4jyg.js} +514 -84
  9. package/chunk-bun-x6cz4jyg.js.map +35 -0
  10. package/{chunk-node-yyjd8p1g.js → chunk-node-q5ccgbk5.js} +1243 -1034
  11. package/chunk-node-q5ccgbk5.js.map +70 -0
  12. package/{chunk-node-jhq62x0c.js → chunk-node-y0w0hq5m.js} +514 -84
  13. package/chunk-node-y0w0hq5m.js.map +34 -0
  14. package/edit-buffer.d.ts +4 -0
  15. package/index.bun.js +1086 -549
  16. package/index.bun.js.map +15 -13
  17. package/index.d.ts +1 -1
  18. package/index.node.js +1086 -549
  19. package/index.node.js.map +16 -12
  20. package/lib/detect-links.d.ts +2 -0
  21. package/lib/extmarks.d.ts +3 -1
  22. package/lib/parse.keypress-kitty.d.ts +2 -0
  23. package/lib/scroll-chain.d.ts +16 -0
  24. package/lib/stdin-parser-native.d.ts +90 -0
  25. package/lib/stdin-parser.d.ts +2 -0
  26. package/lib/terminal-capability-detection.d.ts +6 -1
  27. package/native-abi.generated.d.ts +700 -7
  28. package/package.json +9 -9
  29. package/renderables/Box.d.ts +2 -2
  30. package/renderables/Code.d.ts +2 -1
  31. package/renderables/Diff.d.ts +2 -2
  32. package/renderables/EditBufferRenderable.d.ts +2 -2
  33. package/renderables/EmbeddedTerminal.d.ts +2 -2
  34. package/renderables/FrameBuffer.d.ts +4 -3
  35. package/renderables/Image.d.ts +2 -2
  36. package/renderables/Markdown.d.ts +2 -2
  37. package/renderables/ScrollBar.d.ts +9 -3
  38. package/renderables/ScrollBox.d.ts +87 -44
  39. package/renderables/ScrollBoxParts.d.ts +165 -0
  40. package/renderables/Slider.d.ts +2 -2
  41. package/renderables/Text.d.ts +2 -2
  42. package/renderables/TextBufferRenderable.d.ts +2 -4
  43. package/renderables/index.d.ts +1 -1
  44. package/renderer-theme-mode.d.ts +1 -6
  45. package/renderer.d.ts +30 -7
  46. package/testing/test-renderer.d.ts +4 -0
  47. package/testing.bun.js +12 -4
  48. package/testing.bun.js.map +3 -3
  49. package/testing.js +12 -4
  50. package/testing.js.map +3 -3
  51. package/types.d.ts +11 -0
  52. package/yoga.bun.js +1 -1
  53. package/yoga.internal.d.ts +3 -3
  54. package/yoga.js +1 -1
  55. package/zig-structs.d.ts +26 -0
  56. package/zig.d.ts +96 -13
  57. package/chunk-bun-4e5bpeqh.js.map +0 -69
  58. package/chunk-bun-ehr9v0n8.js.map +0 -35
  59. package/chunk-node-jhq62x0c.js.map +0 -34
  60. package/chunk-node-yyjd8p1g.js.map +0 -69
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, 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";