@pixonui/react 0.5.20 → 0.5.22
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 +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1712,7 +1712,13 @@ interface InteractiveCard {
|
|
|
1712
1712
|
};
|
|
1713
1713
|
body: string;
|
|
1714
1714
|
footer?: string;
|
|
1715
|
-
buttons
|
|
1715
|
+
buttons?: InteractiveButton[];
|
|
1716
|
+
nativeFlow?: {
|
|
1717
|
+
buttons: {
|
|
1718
|
+
name: string;
|
|
1719
|
+
buttonParamsJson: string;
|
|
1720
|
+
}[];
|
|
1721
|
+
};
|
|
1716
1722
|
}
|
|
1717
1723
|
interface InteractiveContent {
|
|
1718
1724
|
type: 'button' | 'list' | 'carousel';
|
|
@@ -1863,6 +1869,7 @@ interface MessageListProps extends Omit<React__default.HTMLAttributes<HTMLDivEle
|
|
|
1863
1869
|
onSelect?: (message: Message) => void;
|
|
1864
1870
|
onAction?: (message: Message, action: any) => void;
|
|
1865
1871
|
onImageClick?: (url: string) => void;
|
|
1872
|
+
onTTS?: (message: Message) => void;
|
|
1866
1873
|
onLoadMore?: () => void;
|
|
1867
1874
|
hasMore?: boolean;
|
|
1868
1875
|
isLoadingMore?: boolean;
|
|
@@ -1870,7 +1877,7 @@ interface MessageListProps extends Omit<React__default.HTMLAttributes<HTMLDivEle
|
|
|
1870
1877
|
dateFormat?: string;
|
|
1871
1878
|
groupByDate?: boolean;
|
|
1872
1879
|
}
|
|
1873
|
-
declare function MessageList({ messages, currentUserId, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onImageClick, onLoadMore, hasMore, isLoadingMore, selectedMessages, dateFormat, groupByDate, ...props }: MessageListProps): react_jsx_runtime.JSX.Element;
|
|
1880
|
+
declare function MessageList({ messages, currentUserId, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onImageClick, onTTS, onLoadMore, hasMore, isLoadingMore, selectedMessages, dateFormat, groupByDate, ...props }: MessageListProps): react_jsx_runtime.JSX.Element;
|
|
1874
1881
|
|
|
1875
1882
|
interface MessageBubbleProps {
|
|
1876
1883
|
message: Message;
|
|
@@ -1889,9 +1896,10 @@ interface MessageBubbleProps {
|
|
|
1889
1896
|
onSelect?: () => void;
|
|
1890
1897
|
onAction?: (action: any) => void;
|
|
1891
1898
|
onImageClick?: (url: string) => void;
|
|
1899
|
+
onTTS?: () => void;
|
|
1892
1900
|
isSelected?: boolean;
|
|
1893
1901
|
}
|
|
1894
|
-
declare function MessageBubble({ message, isOwn, showAvatar, showStatus, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onImageClick, isSelected }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
|
|
1902
|
+
declare function MessageBubble({ message, isOwn, showAvatar, showStatus, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onTTS, onImageClick, isSelected }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
|
|
1895
1903
|
|
|
1896
1904
|
interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onSelect' | 'onChange'> {
|
|
1897
1905
|
value?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1712,7 +1712,13 @@ interface InteractiveCard {
|
|
|
1712
1712
|
};
|
|
1713
1713
|
body: string;
|
|
1714
1714
|
footer?: string;
|
|
1715
|
-
buttons
|
|
1715
|
+
buttons?: InteractiveButton[];
|
|
1716
|
+
nativeFlow?: {
|
|
1717
|
+
buttons: {
|
|
1718
|
+
name: string;
|
|
1719
|
+
buttonParamsJson: string;
|
|
1720
|
+
}[];
|
|
1721
|
+
};
|
|
1716
1722
|
}
|
|
1717
1723
|
interface InteractiveContent {
|
|
1718
1724
|
type: 'button' | 'list' | 'carousel';
|
|
@@ -1863,6 +1869,7 @@ interface MessageListProps extends Omit<React__default.HTMLAttributes<HTMLDivEle
|
|
|
1863
1869
|
onSelect?: (message: Message) => void;
|
|
1864
1870
|
onAction?: (message: Message, action: any) => void;
|
|
1865
1871
|
onImageClick?: (url: string) => void;
|
|
1872
|
+
onTTS?: (message: Message) => void;
|
|
1866
1873
|
onLoadMore?: () => void;
|
|
1867
1874
|
hasMore?: boolean;
|
|
1868
1875
|
isLoadingMore?: boolean;
|
|
@@ -1870,7 +1877,7 @@ interface MessageListProps extends Omit<React__default.HTMLAttributes<HTMLDivEle
|
|
|
1870
1877
|
dateFormat?: string;
|
|
1871
1878
|
groupByDate?: boolean;
|
|
1872
1879
|
}
|
|
1873
|
-
declare function MessageList({ messages, currentUserId, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onImageClick, onLoadMore, hasMore, isLoadingMore, selectedMessages, dateFormat, groupByDate, ...props }: MessageListProps): react_jsx_runtime.JSX.Element;
|
|
1880
|
+
declare function MessageList({ messages, currentUserId, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onImageClick, onTTS, onLoadMore, hasMore, isLoadingMore, selectedMessages, dateFormat, groupByDate, ...props }: MessageListProps): react_jsx_runtime.JSX.Element;
|
|
1874
1881
|
|
|
1875
1882
|
interface MessageBubbleProps {
|
|
1876
1883
|
message: Message;
|
|
@@ -1889,9 +1896,10 @@ interface MessageBubbleProps {
|
|
|
1889
1896
|
onSelect?: () => void;
|
|
1890
1897
|
onAction?: (action: any) => void;
|
|
1891
1898
|
onImageClick?: (url: string) => void;
|
|
1899
|
+
onTTS?: () => void;
|
|
1892
1900
|
isSelected?: boolean;
|
|
1893
1901
|
}
|
|
1894
|
-
declare function MessageBubble({ message, isOwn, showAvatar, showStatus, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onImageClick, isSelected }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
|
|
1902
|
+
declare function MessageBubble({ message, isOwn, showAvatar, showStatus, className, onReply, onReact, onDelete, onEdit, onForward, onCopy, onPin, onStar, onSelect, onAction, onTTS, onImageClick, isSelected }: MessageBubbleProps): react_jsx_runtime.JSX.Element;
|
|
1895
1903
|
|
|
1896
1904
|
interface ChatInputProps extends Omit<React__default.HTMLAttributes<HTMLDivElement>, 'onSelect' | 'onChange'> {
|
|
1897
1905
|
value?: string;
|