@pixonui/react 0.5.12 → 0.5.13
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 +9 -1
- package/dist/index.d.ts +9 -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,6 +1879,8 @@ 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;
|
|
@@ -1886,6 +1888,12 @@ interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1886
1888
|
onEmoji?: () => void;
|
|
1887
1889
|
onGif?: () => void;
|
|
1888
1890
|
onLocation?: () => void;
|
|
1891
|
+
onContact?: () => void;
|
|
1892
|
+
onPoll?: () => void;
|
|
1893
|
+
onPix?: () => void;
|
|
1894
|
+
onCarousel?: () => void;
|
|
1895
|
+
onButtons?: () => void;
|
|
1896
|
+
onList?: () => void;
|
|
1889
1897
|
onCancelReply?: () => void;
|
|
1890
1898
|
placeholder?: string;
|
|
1891
1899
|
users?: User[];
|
|
@@ -1894,7 +1902,7 @@ interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1894
1902
|
maxLength?: number;
|
|
1895
1903
|
disabled?: boolean;
|
|
1896
1904
|
}
|
|
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;
|
|
1905
|
+
declare function ChatInput({ value, onValueChange, onSend, onChange, onAttach, onMic, 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
1906
|
|
|
1899
1907
|
interface ChatProfileProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1900
1908
|
user: User;
|
package/dist/index.d.ts
CHANGED
|
@@ -1879,6 +1879,8 @@ 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;
|
|
@@ -1886,6 +1888,12 @@ interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1886
1888
|
onEmoji?: () => void;
|
|
1887
1889
|
onGif?: () => void;
|
|
1888
1890
|
onLocation?: () => void;
|
|
1891
|
+
onContact?: () => void;
|
|
1892
|
+
onPoll?: () => void;
|
|
1893
|
+
onPix?: () => void;
|
|
1894
|
+
onCarousel?: () => void;
|
|
1895
|
+
onButtons?: () => void;
|
|
1896
|
+
onList?: () => void;
|
|
1889
1897
|
onCancelReply?: () => void;
|
|
1890
1898
|
placeholder?: string;
|
|
1891
1899
|
users?: User[];
|
|
@@ -1894,7 +1902,7 @@ interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1894
1902
|
maxLength?: number;
|
|
1895
1903
|
disabled?: boolean;
|
|
1896
1904
|
}
|
|
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;
|
|
1905
|
+
declare function ChatInput({ value, onValueChange, onSend, onChange, onAttach, onMic, 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
1906
|
|
|
1899
1907
|
interface ChatProfileProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
1900
1908
|
user: User;
|