@natoe/colab 0.1.0 → 0.1.2
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.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +401 -530
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +230 -363
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -701,7 +701,8 @@ declare function MessageBubble({ message, isOwn, participants, currentUserId, sh
|
|
|
701
701
|
|
|
702
702
|
interface MessageInputProps {
|
|
703
703
|
onSendText: (body: string) => Promise<void>;
|
|
704
|
-
|
|
704
|
+
/** @deprecated MIC DISABLED — kept in the prop signature for backward compat. */
|
|
705
|
+
onSendAudio?: (blob: Blob, duration: number) => Promise<void>;
|
|
705
706
|
onSendFile: (file: File) => Promise<void>;
|
|
706
707
|
onTyping: (isTyping: boolean) => void;
|
|
707
708
|
/** When set, shows a ReplyPreview above the input */
|
|
@@ -712,7 +713,7 @@ interface MessageInputProps {
|
|
|
712
713
|
placeholder?: string;
|
|
713
714
|
className?: string;
|
|
714
715
|
}
|
|
715
|
-
declare function MessageInput({ onSendText,
|
|
716
|
+
declare function MessageInput({ onSendText, onSendFile, onTyping, replyTo, onCancelReply, disabled, placeholder, className, }: MessageInputProps): react_jsx_runtime.JSX.Element;
|
|
716
717
|
|
|
717
718
|
interface MessageActionsMenuProps {
|
|
718
719
|
message: Message;
|
package/dist/index.d.ts
CHANGED
|
@@ -701,7 +701,8 @@ declare function MessageBubble({ message, isOwn, participants, currentUserId, sh
|
|
|
701
701
|
|
|
702
702
|
interface MessageInputProps {
|
|
703
703
|
onSendText: (body: string) => Promise<void>;
|
|
704
|
-
|
|
704
|
+
/** @deprecated MIC DISABLED — kept in the prop signature for backward compat. */
|
|
705
|
+
onSendAudio?: (blob: Blob, duration: number) => Promise<void>;
|
|
705
706
|
onSendFile: (file: File) => Promise<void>;
|
|
706
707
|
onTyping: (isTyping: boolean) => void;
|
|
707
708
|
/** When set, shows a ReplyPreview above the input */
|
|
@@ -712,7 +713,7 @@ interface MessageInputProps {
|
|
|
712
713
|
placeholder?: string;
|
|
713
714
|
className?: string;
|
|
714
715
|
}
|
|
715
|
-
declare function MessageInput({ onSendText,
|
|
716
|
+
declare function MessageInput({ onSendText, onSendFile, onTyping, replyTo, onCancelReply, disabled, placeholder, className, }: MessageInputProps): react_jsx_runtime.JSX.Element;
|
|
716
717
|
|
|
717
718
|
interface MessageActionsMenuProps {
|
|
718
719
|
message: Message;
|