@getsoren/design-system 4.71.3 → 4.73.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.
@@ -4,7 +4,7 @@ interface ChatConversationDetailHeaderProps {
4
4
  threadId: string;
5
5
  participants?: ChatParticipant[] | null;
6
6
  onDeleteConversation: (threadId: string) => void;
7
- onAddParticipants: (participants: ChatSearchUser[]) => void;
7
+ onAddParticipants: (participants: ChatSearchUser[]) => void | Promise<unknown>;
8
8
  onSearchParticipants?: (query: string) => void;
9
9
  searchResults?: ChatSearchUser[];
10
10
  isSearchingParticipants?: boolean;
@@ -78,7 +78,7 @@ export interface ChatConversationDetailProps {
78
78
  onDeleteConversation: (threadId: string) => void;
79
79
  onNewConversation: () => void;
80
80
  onSendMessage: (threadId: string, body: string) => void;
81
- onAddParticipants: (participants: ChatSearchUser[]) => void;
81
+ onAddParticipants: (participants: ChatSearchUser[]) => void | Promise<unknown>;
82
82
  onSearchParticipants?: (query: string) => void;
83
83
  searchResults?: ChatSearchUser[];
84
84
  isSearchingParticipants?: boolean;
@@ -156,7 +156,7 @@ export interface ChatVoiceRecorderProps {
156
156
  export interface ChatParticipantDialogProps {
157
157
  open: boolean;
158
158
  onClose: () => void;
159
- onConfirm: (participants: ChatSearchUser[]) => void;
159
+ onConfirm: (participants: ChatSearchUser[]) => void | Promise<unknown>;
160
160
  onSearch: (query: string) => void;
161
161
  searchResults?: ChatSearchUser[];
162
162
  isSearchLoading?: boolean;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@getsoren/design-system",
3
3
  "description": "Design System React library",
4
4
  "sideEffects": false,
5
- "version": "4.71.3",
5
+ "version": "4.73.0",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",