@tracktor/design-system 4.36.0 → 4.38.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 +40 -40
- package/dist/main.js +1852 -1839
- package/dist/src/components/DataDisplay/Chat/components/ChatConversationDetail.d.ts +1 -1
- package/dist/src/components/DataDisplay/Chat/components/ChatConversationDetailHeader.d.ts +2 -1
- package/dist/src/components/DataDisplay/Chat/components/ChatMessageInput.d.ts +1 -1
- package/dist/src/components/DataDisplay/Chat/types.d.ts +3 -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, }: 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;
|
|
@@ -12,6 +12,7 @@ interface ChatConversationDetailHeaderProps {
|
|
|
12
12
|
labels?: ChatConversationDetailLabels;
|
|
13
13
|
formatParticipantName?: (participant: ChatParticipant) => string;
|
|
14
14
|
headerAction?: ReactNode;
|
|
15
|
+
onAddParticipantDialogOpenChange?: (open: boolean) => void;
|
|
15
16
|
}
|
|
16
|
-
declare const ChatConversationDetailHeader: ({ threadId, participants, onDeleteConversation, onAddParticipants, onSearchParticipants, searchResults, isSearchingParticipants, avatarSrcResolver, labels, formatParticipantName, headerAction, }: ChatConversationDetailHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
17
|
+
declare const ChatConversationDetailHeader: ({ threadId, participants, onDeleteConversation, onAddParticipants, onSearchParticipants, searchResults, isSearchingParticipants, avatarSrcResolver, labels, formatParticipantName, headerAction, onAddParticipantDialogOpenChange, }: ChatConversationDetailHeaderProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
17
18
|
export default ChatConversationDetailHeader;
|
|
@@ -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;
|
|
@@ -90,6 +90,8 @@ export interface ChatConversationDetailProps {
|
|
|
90
90
|
formatParticipantName?: (participant: ChatParticipant) => string;
|
|
91
91
|
headerAction?: ReactNode;
|
|
92
92
|
defaultMessage?: string;
|
|
93
|
+
onAddParticipantDialogOpenChange?: (open: boolean) => void;
|
|
94
|
+
messageMaxLength?: number;
|
|
93
95
|
}
|
|
94
96
|
export interface ChatMessageBubbleProps {
|
|
95
97
|
isOwn: boolean;
|
|
@@ -105,6 +107,7 @@ export interface ChatMessageInputProps {
|
|
|
105
107
|
autoFocusKey?: string;
|
|
106
108
|
isSending?: boolean;
|
|
107
109
|
defaultMessage?: string;
|
|
110
|
+
maxLength?: number;
|
|
108
111
|
}
|
|
109
112
|
export interface ChatParticipantDialogProps {
|
|
110
113
|
open: boolean;
|