@duskmoon-dev/components 0.5.7 → 0.6.1
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 +111 -4
- package/dist/chunk-kg46s2vk.js +238 -0
- package/dist/chunk-rd10x4gc.js +733 -0
- package/dist/components/chat/Chat.types.d.ts +15 -0
- package/dist/components/chat/ChatAuthoritativeQueue.d.ts +4 -0
- package/dist/components/chat/ChatSessionComposer.d.ts +4 -0
- package/dist/components/chat/ChatSessionComposer.types.d.ts +46 -0
- package/dist/components/chat/ComposerAttachment.types.d.ts +80 -0
- package/dist/components/chat/ComposerDraft.types.d.ts +89 -0
- package/dist/components/chat/ComposerProvider.types.d.ts +70 -0
- package/dist/components/chat/ComposerQueue.types.d.ts +64 -0
- package/dist/components/chat/ComposerSession.types.d.ts +78 -0
- package/dist/components/chat/ComposerSettings.d.ts +4 -0
- package/dist/components/chat/composer/CompletionList.d.ts +15 -0
- package/dist/components/chat/composer/ComposerShell.d.ts +23 -4
- package/dist/components/chat/composer/DraftLifecycle.d.ts +19 -0
- package/dist/components/chat/composer/EditorAdapter.types.d.ts +36 -0
- package/dist/components/chat/composer/PlainEditor.d.ts +2 -0
- package/dist/components/chat/composer/PlainSemanticEditor.d.ts +6 -0
- package/dist/components/chat/composer/PreservedDraft.d.ts +7 -0
- package/dist/components/chat/composer/SemanticComposer.d.ts +10 -0
- package/dist/components/chat/composer/attachments.d.ts +4 -0
- package/dist/components/chat/composer/document.d.ts +3 -1
- package/dist/components/chat/composer/drafts.d.ts +2 -0
- package/dist/components/chat/composer/providers.d.ts +40 -0
- package/dist/components/chat/composer/session.d.ts +30 -0
- package/dist/components/chat/composer/useComposerAttachments.d.ts +3 -0
- package/dist/components/chat/composer/useComposerDraft.d.ts +3 -0
- package/dist/components/chat/composer/useComposerProviders.d.ts +7 -0
- package/dist/components/chat/composer/useComposerSession.d.ts +16 -0
- package/dist/components/chat/index.d.ts +17 -0
- package/dist/components/chat/index.js +4765 -1286
- package/dist/components/chat/rich/LexicalEditor.d.ts +10 -0
- package/dist/components/chat/rich/RichChatComposer.d.ts +4 -0
- package/dist/components/chat/rich/index.d.ts +2 -0
- package/dist/components/chat/rich/index.js +3478 -0
- package/dist/components/chat/rich/nodes.d.ts +49 -0
- package/dist/generated/version.d.ts +1 -1
- package/dist/index.js +11994 -8740
- package/dist/infrastructure.js +1 -1
- package/dist/styles.css +180 -2
- package/package.json +27 -6
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ComposerEditorAdapterProps, ComposerEditorHandle } from "../composer/EditorAdapter.types";
|
|
3
|
+
export declare const COMPOSER_CLIPBOARD_TYPE = "application/x-duskmoon-composer+json";
|
|
4
|
+
/**
|
|
5
|
+
* Vanilla Lexical adapter. Same-origin/revision echoes retain history/selection;
|
|
6
|
+
* explicit replace/restore/scope/clear values reset history. No Lexical data is
|
|
7
|
+
* exported through onChange or placed in portable drafts.
|
|
8
|
+
*/
|
|
9
|
+
declare const LexicalEditor: React.ForwardRefExoticComponent<ComposerEditorAdapterProps & React.RefAttributes<ComposerEditorHandle>>;
|
|
10
|
+
export default LexicalEditor;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { ComposerEditorHandle } from "../composer/EditorAdapter.types";
|
|
3
|
+
/** Optional subpath only; legacy/root imports never initialize the editor runtime. */
|
|
4
|
+
export declare const RichChatComposer: React.ForwardRefExoticComponent<import("..").ChatSessionComposerProps & React.RefAttributes<ComposerEditorHandle>>;
|