@june-ai/june-ui 0.2.4 → 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
@@ -413,9 +413,10 @@ type Extendable = Library & {
413
413
  extend: NonNullable<Library["extend"]>;
414
414
  };
415
415
  /**
416
- * Returns a library that contains every component of `library` plus DocumentEditor,
417
- * and allows DocumentEditor inside Card (Stack already accepts any child).
418
- * The library must include Card, which both OpenUI libraries do.
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.
419
420
  */
420
421
  declare function withDocumentEditor(library: Extendable): Required<_openuidev_lang_core.Library<_openuidev_react_lang.ComponentRenderer<any>, _openuidev_lang_core.DefinedAction<any, string>>>;
421
422
 
package/dist/index.d.ts CHANGED
@@ -413,9 +413,10 @@ type Extendable = Library & {
413
413
  extend: NonNullable<Library["extend"]>;
414
414
  };
415
415
  /**
416
- * Returns a library that contains every component of `library` plus DocumentEditor,
417
- * and allows DocumentEditor inside Card (Stack already accepts any child).
418
- * The library must include Card, which both OpenUI libraries do.
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.
419
420
  */
420
421
  declare function withDocumentEditor(library: Extendable): Required<_openuidev_lang_core.Library<_openuidev_react_lang.ComponentRenderer<any>, _openuidev_lang_core.DefinedAction<any, string>>>;
421
422