@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.
@@ -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;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tracktor/design-system",
3
3
  "description": "Tracktor Design System",
4
4
  "sideEffects": false,
5
- "version": "4.36.0",
5
+ "version": "4.38.0",
6
6
  "license": "ISC",
7
7
  "type": "module",
8
8
  "types": "./dist/src/main.d.ts",