@tracktor/design-system 4.35.0 → 4.37.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 +35 -35
- package/dist/main.js +914 -910
- 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/ChatParticipantDialog.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, }: 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, }: 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 { 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;
|
|
@@ -90,6 +90,7 @@ export interface ChatConversationDetailProps {
|
|
|
90
90
|
formatParticipantName?: (participant: ChatParticipant) => string;
|
|
91
91
|
headerAction?: ReactNode;
|
|
92
92
|
defaultMessage?: string;
|
|
93
|
+
onAddParticipantDialogOpenChange?: (open: boolean) => void;
|
|
93
94
|
}
|
|
94
95
|
export interface ChatMessageBubbleProps {
|
|
95
96
|
isOwn: boolean;
|
|
@@ -113,6 +114,7 @@ export interface ChatParticipantDialogProps {
|
|
|
113
114
|
onSearch: (query: string) => void;
|
|
114
115
|
searchResults?: ChatSearchUser[];
|
|
115
116
|
isSearchLoading?: boolean;
|
|
117
|
+
isConfirmLoading?: boolean;
|
|
116
118
|
avatarSrcResolver?: (src?: string | null) => string | undefined;
|
|
117
119
|
labels?: ChatParticipantDialogLabels;
|
|
118
120
|
}
|