@june-ai/june-ui 0.2.3 → 0.2.5

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/dist/index.d.cts CHANGED
@@ -412,7 +412,12 @@ declare const JuneDocumentEditorComponent: _openuidev_react_lang.DefinedComponen
412
412
  type Extendable = Library & {
413
413
  extend: NonNullable<Library["extend"]>;
414
414
  };
415
- /** Returns a library that contains every component of `library` plus DocumentEditor. */
415
+ /**
416
+ * Returns a library that contains every component of `library` plus DocumentEditor.
417
+ * On Zod 4.1+ it also joins Card's children. Zod 3.25 (what the app bundles) has no
418
+ * `util.mergeDefs`, and OpenUI's slot clone calls that, so the slot step is skipped
419
+ * there. The component is still registered and can be rendered.
420
+ */
416
421
  declare function withDocumentEditor(library: Extendable): Required<_openuidev_lang_core.Library<_openuidev_react_lang.ComponentRenderer<any>, _openuidev_lang_core.DefinedAction<any, string>>>;
417
422
 
418
423
  declare const JuneDocumentContext: react.Context<JuneDocumentOptions>;
package/dist/index.d.ts CHANGED
@@ -412,7 +412,12 @@ declare const JuneDocumentEditorComponent: _openuidev_react_lang.DefinedComponen
412
412
  type Extendable = Library & {
413
413
  extend: NonNullable<Library["extend"]>;
414
414
  };
415
- /** Returns a library that contains every component of `library` plus DocumentEditor. */
415
+ /**
416
+ * Returns a library that contains every component of `library` plus DocumentEditor.
417
+ * On Zod 4.1+ it also joins Card's children. Zod 3.25 (what the app bundles) has no
418
+ * `util.mergeDefs`, and OpenUI's slot clone calls that, so the slot step is skipped
419
+ * there. The component is still registered and can be rendered.
420
+ */
416
421
  declare function withDocumentEditor(library: Extendable): Required<_openuidev_lang_core.Library<_openuidev_react_lang.ComponentRenderer<any>, _openuidev_lang_core.DefinedAction<any, string>>>;
417
422
 
418
423
  declare const JuneDocumentContext: react.Context<JuneDocumentOptions>;