@tracktor/design-system 4.34.0 → 4.36.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 +41 -41
- package/dist/main.js +1807 -1803
- 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/components/ChatParticipantDialog.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, }: 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, }: 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 }: ChatMessageInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ChatMessageInput: ({ onSend, labels, autoFocusKey, isSending, defaultMessage }: ChatMessageInputProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ChatMessageInput;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ChatParticipantDialogProps } from '../types';
|
|
2
|
-
declare const ChatParticipantDialog: ({ open, onClose, onConfirm, onSearch, searchResults, isSearchLoading, avatarSrcResolver, labels, }: ChatParticipantDialogProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const ChatParticipantDialog: ({ open, onClose, onConfirm, onSearch, searchResults, isSearchLoading, isConfirmLoading, avatarSrcResolver, labels, }: ChatParticipantDialogProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default ChatParticipantDialog;
|
|
@@ -89,6 +89,7 @@ export interface ChatConversationDetailProps {
|
|
|
89
89
|
isSending?: boolean;
|
|
90
90
|
formatParticipantName?: (participant: ChatParticipant) => string;
|
|
91
91
|
headerAction?: ReactNode;
|
|
92
|
+
defaultMessage?: string;
|
|
92
93
|
}
|
|
93
94
|
export interface ChatMessageBubbleProps {
|
|
94
95
|
isOwn: boolean;
|
|
@@ -103,6 +104,7 @@ export interface ChatMessageInputProps {
|
|
|
103
104
|
labels?: ChatMessageInputLabels;
|
|
104
105
|
autoFocusKey?: string;
|
|
105
106
|
isSending?: boolean;
|
|
107
|
+
defaultMessage?: string;
|
|
106
108
|
}
|
|
107
109
|
export interface ChatParticipantDialogProps {
|
|
108
110
|
open: boolean;
|
|
@@ -111,6 +113,7 @@ export interface ChatParticipantDialogProps {
|
|
|
111
113
|
onSearch: (query: string) => void;
|
|
112
114
|
searchResults?: ChatSearchUser[];
|
|
113
115
|
isSearchLoading?: boolean;
|
|
116
|
+
isConfirmLoading?: boolean;
|
|
114
117
|
avatarSrcResolver?: (src?: string | null) => string | undefined;
|
|
115
118
|
labels?: ChatParticipantDialogLabels;
|
|
116
119
|
}
|