@tracktor/design-system 4.37.0 → 4.39.0
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/main.cjs +39 -39
- package/dist/main.js +1203 -1193
- package/dist/src/components/DataDisplay/Chat/components/ChatConversationDetail.d.ts +1 -1
- package/dist/src/components/DataDisplay/Chat/components/ChatMessageInput.d.ts +1 -1
- package/dist/src/components/DataDisplay/Chat/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ChatConversationDetailProps } from '../types';
|
|
2
|
-
declare const ChatConversationDetail: ({ threadId, participants, isLoading, messages, currentUserId, onDeleteConversation, onNewConversation, onSendMessage, onAddParticipants, onSearchParticipants, searchResults, isSearchingParticipants, avatarSrcResolver, renderAfterBubble, labels, formatDayLabel, isSending, formatParticipantName, headerAction, defaultMessage, onAddParticipantDialogOpenChange, }: ChatConversationDetailProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ChatConversationDetail: ({ threadId, participants, isLoading, messages, currentUserId, onDeleteConversation, onNewConversation, onSendMessage, onAddParticipants, onSearchParticipants, searchResults, isSearchingParticipants, avatarSrcResolver, renderAfterBubble, labels, formatDayLabel, isSending, formatParticipantName, headerAction, defaultMessage, onAddParticipantDialogOpenChange, messageMaxLength, }: ChatConversationDetailProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ChatConversationDetail;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ChatMessageInputProps } from '../types';
|
|
2
|
-
declare const ChatMessageInput: ({ onSend, labels, autoFocusKey, isSending, defaultMessage }: ChatMessageInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ChatMessageInput: ({ onSend, labels, autoFocusKey, isSending, defaultMessage, maxLength }: ChatMessageInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ChatMessageInput;
|
|
@@ -91,6 +91,7 @@ export interface ChatConversationDetailProps {
|
|
|
91
91
|
headerAction?: ReactNode;
|
|
92
92
|
defaultMessage?: string;
|
|
93
93
|
onAddParticipantDialogOpenChange?: (open: boolean) => void;
|
|
94
|
+
messageMaxLength?: number;
|
|
94
95
|
}
|
|
95
96
|
export interface ChatMessageBubbleProps {
|
|
96
97
|
isOwn: boolean;
|
|
@@ -106,6 +107,7 @@ export interface ChatMessageInputProps {
|
|
|
106
107
|
autoFocusKey?: string;
|
|
107
108
|
isSending?: boolean;
|
|
108
109
|
defaultMessage?: string;
|
|
110
|
+
maxLength?: number;
|
|
109
111
|
}
|
|
110
112
|
export interface ChatParticipantDialogProps {
|
|
111
113
|
open: boolean;
|