@pixonui/react 0.5.12 → 0.5.14
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 +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1879,13 +1879,22 @@ interface MessageBubbleProps {
|
|
|
1879
1879
|
declare function MessageBubble({ message, isOwn, showAvatar, showStatus, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onSelect, isSelected }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
|
|
1880
1880
|
|
|
1881
1881
|
interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onSelect' | 'onChange'> {
|
|
1882
|
+
value?: string;
|
|
1883
|
+
onValueChange?: (value: string) => void;
|
|
1882
1884
|
onSend?: (content: string) => void;
|
|
1883
1885
|
onChange?: (content: string) => void;
|
|
1884
1886
|
onAttach?: () => void;
|
|
1885
1887
|
onMic?: () => void;
|
|
1888
|
+
onVoiceEnd?: (blob: Blob, duration: number) => void;
|
|
1886
1889
|
onEmoji?: () => void;
|
|
1887
1890
|
onGif?: () => void;
|
|
1888
1891
|
onLocation?: () => void;
|
|
1892
|
+
onContact?: () => void;
|
|
1893
|
+
onPoll?: () => void;
|
|
1894
|
+
onPix?: () => void;
|
|
1895
|
+
onCarousel?: () => void;
|
|
1896
|
+
onButtons?: () => void;
|
|
1897
|
+
onList?: () => void;
|
|
1889
1898
|
onCancelReply?: () => void;
|
|
1890
1899
|
placeholder?: string;
|
|
1891
1900
|
users?: User[];
|
|
@@ -1894,7 +1903,7 @@ interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1894
1903
|
maxLength?: number;
|
|
1895
1904
|
disabled?: boolean;
|
|
1896
1905
|
}
|
|
1897
|
-
declare function ChatInput({ onSend, onChange, onAttach, onMic, onEmoji, onGif, onLocation, onCancelReply, placeholder, users, replyingTo, isRecording, maxLength, disabled, className, ...props }: ChatInputProps): react_jsx_runtime.JSX.Element;
|
|
1906
|
+
declare function ChatInput({ value, onValueChange, onSend, onChange, onAttach, onMic, onVoiceEnd, onEmoji, onGif, onLocation, onContact, onPoll, onPix, onCarousel, onButtons, onList, onCancelReply, placeholder, users, replyingTo, isRecording, maxLength, disabled, className, ...props }: ChatInputProps): react_jsx_runtime.JSX.Element;
|
|
1898
1907
|
|
|
1899
1908
|
interface ChatProfileProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1900
1909
|
user: User;
|
package/dist/index.d.ts
CHANGED
|
@@ -1879,13 +1879,22 @@ interface MessageBubbleProps {
|
|
|
1879
1879
|
declare function MessageBubble({ message, isOwn, showAvatar, showStatus, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onSelect, isSelected }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
|
|
1880
1880
|
|
|
1881
1881
|
interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onSelect' | 'onChange'> {
|
|
1882
|
+
value?: string;
|
|
1883
|
+
onValueChange?: (value: string) => void;
|
|
1882
1884
|
onSend?: (content: string) => void;
|
|
1883
1885
|
onChange?: (content: string) => void;
|
|
1884
1886
|
onAttach?: () => void;
|
|
1885
1887
|
onMic?: () => void;
|
|
1888
|
+
onVoiceEnd?: (blob: Blob, duration: number) => void;
|
|
1886
1889
|
onEmoji?: () => void;
|
|
1887
1890
|
onGif?: () => void;
|
|
1888
1891
|
onLocation?: () => void;
|
|
1892
|
+
onContact?: () => void;
|
|
1893
|
+
onPoll?: () => void;
|
|
1894
|
+
onPix?: () => void;
|
|
1895
|
+
onCarousel?: () => void;
|
|
1896
|
+
onButtons?: () => void;
|
|
1897
|
+
onList?: () => void;
|
|
1889
1898
|
onCancelReply?: () => void;
|
|
1890
1899
|
placeholder?: string;
|
|
1891
1900
|
users?: User[];
|
|
@@ -1894,7 +1903,7 @@ interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1894
1903
|
maxLength?: number;
|
|
1895
1904
|
disabled?: boolean;
|
|
1896
1905
|
}
|
|
1897
|
-
declare function ChatInput({ onSend, onChange, onAttach, onMic, onEmoji, onGif, onLocation, onCancelReply, placeholder, users, replyingTo, isRecording, maxLength, disabled, className, ...props }: ChatInputProps): react_jsx_runtime.JSX.Element;
|
|
1906
|
+
declare function ChatInput({ value, onValueChange, onSend, onChange, onAttach, onMic, onVoiceEnd, onEmoji, onGif, onLocation, onContact, onPoll, onPix, onCarousel, onButtons, onList, onCancelReply, placeholder, users, replyingTo, isRecording, maxLength, disabled, className, ...props }: ChatInputProps): react_jsx_runtime.JSX.Element;
|
|
1898
1907
|
|
|
1899
1908
|
interface ChatProfileProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1900
1909
|
user: User;
|