@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/CHANGELOG.md +21 -0
- package/dist/chunk-CZE533PM.js +343 -0
- package/dist/{document-engine-C6ILFMRP.js → document-engine-IAY2T6B3.js} +1 -1
- package/dist/index.cjs +1628 -288
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +1430 -255
- package/dist/june.css +436 -118
- package/package.json +6 -1
- package/dist/chunk-HFHRSNIL.js +0 -174
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
|
-
/**
|
|
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
|
-
/**
|
|
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>;
|