@june-ai/june-ui 0.2.9 → 0.2.11

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/README.md CHANGED
@@ -645,6 +645,7 @@ Any other prop of OpenUI's `Renderer` is forwarded and typed from your installed
645
645
  | `onError` | `(errors: unknown[]) => void` | — | Raw OpenUI errors (`[]` when cleared). |
646
646
  | `onJuneError` | `(error: JuneError) => void` | — | Structured errors. |
647
647
  | `documents` | `JuneDocumentOptions` | — | Document store and callbacks. Memoize. |
648
+ | `documentEditor` | `DocumentEditorConfig` | `{ presentation: "inline" }` | Where Edit opens the editor. `"side-panel"` uses `width` (for example `"65%"`). A document's `presentation` argument wins. |
648
649
  | `onResponseChange` | `(response, info) => void` | — | Program rewritten with user document edits. |
649
650
  | `responseChangeDelay` | `number` | `300` | Debounce in ms. |
650
651
  | `loadingFallback` | `ReactNode` | `null` | Streaming, nothing to draw yet. |