Skip to content

Commit

Permalink
updated to version 4.3.19
Browse files Browse the repository at this point in the history
  • Loading branch information
swayam-cometchat committed Aug 22, 2024
1 parent 95f3e2b commit 9c91626
Show file tree
Hide file tree
Showing 11 changed files with 67 additions and 39 deletions.
7 changes: 4 additions & 3 deletions dist/assets/message-delivered.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions dist/assets/message-read.svg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 23 additions & 10 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -932,17 +932,10 @@ interface ICallButtonsBaseProps {
onVoiceCallClick?: () => void;
onVideoCallClick?: () => void;
onError?: (error: CometChat.CometChatException) => void;
}
interface ICallButtonsUserProps extends ICallButtonsBaseProps {
user: CometChat.User;
group?: CometChat.Group | null;
}
interface ICallButtonsGroupProps extends ICallButtonsBaseProps {
user?: CometChat.User | null;
group: CometChat.Group;
group?: CometChat.Group | null;
}
type ICallButtonsProps = ICallButtonsUserProps | ICallButtonsGroupProps;
declare const CometChatCallButtons: (props: ICallButtonsProps) => react_jsx_runtime.JSX.Element;
declare const CometChatCallButtons: (props: ICallButtonsBaseProps) => react_jsx_runtime.JSX.Element;

interface IIncomingCallProps {
call?: any;
Expand Down Expand Up @@ -1596,6 +1589,11 @@ interface IConversationsProps {
* @defaultValue `SelectionMode.none`
*/
selectionMode?: SelectionMode;
/**
* @deprecated
*
* This property is deprecated as of version 4.3.19 due to newer property 'hideReceipt'. It will be removed in subsequent versions.
*/
/**
* Disable receipt status
*
Expand All @@ -1605,6 +1603,15 @@ interface IConversationsProps {
* @defaultValue `false`
*/
disableReceipt?: boolean;
/**
* hide receipt status
*
* @remarks
* If set to true, the receipt status of the message won't be displayed
*
* @defaultValue `false`
*/
hideReceipt?: boolean;
/**
* List of actions available on mouse over on the default list item component
*/
Expand Down Expand Up @@ -2653,7 +2660,13 @@ interface IMessageListProps {
emptyStateView?: any;
errorStateView?: any;
loadingStateView?: any;
/**
* @deprecated
*
* This property is deprecated as of version 4.3.19 due to newer property 'hideReceipt'. It will be removed in subsequent versions.
*/
disableReceipt?: boolean;
hideReceipt?: boolean;
disableSoundForMessages?: boolean;
customSoundForMessages?: string;
readIcon?: string;
Expand Down Expand Up @@ -3141,7 +3154,7 @@ interface ContactsProps {
hideSubmitButton?: boolean;
selectionLimit?: number;
tabVisibility?: TabsVisibility;
contactsStyle: ContactsStyle;
contactsStyle?: ContactsStyle;
selectionMode?: SelectionMode;
}
declare const CometChatContacts: (props: ContactsProps) => react_jsx_runtime.JSX.Element;
Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

11 changes: 2 additions & 9 deletions dist/types/Calling/CometChatCallButtons/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,8 @@ interface ICallButtonsBaseProps {
onVoiceCallClick?: () => void;
onVideoCallClick?: () => void;
onError?: (error: CometChat.CometChatException) => void;
}
interface ICallButtonsUserProps extends ICallButtonsBaseProps {
user: CometChat.User;
group?: CometChat.Group | null;
}
interface ICallButtonsGroupProps extends ICallButtonsBaseProps {
user?: CometChat.User | null;
group: CometChat.Group;
group?: CometChat.Group | null;
}
type ICallButtonsProps = ICallButtonsUserProps | ICallButtonsGroupProps;
declare const CometChatCallButtons: (props: ICallButtonsProps) => import("react/jsx-runtime").JSX.Element;
declare const CometChatCallButtons: (props: ICallButtonsBaseProps) => import("react/jsx-runtime").JSX.Element;
export { CometChatCallButtons };
2 changes: 1 addition & 1 deletion dist/types/CometChatContacts/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface ContactsProps {
hideSubmitButton?: boolean;
selectionLimit?: number;
tabVisibility?: TabsVisibility;
contactsStyle: ContactsStyle;
contactsStyle?: ContactsStyle;
selectionMode?: SelectionMode;
}
declare const CometChatContacts: (props: ContactsProps) => import("react/jsx-runtime").JSX.Element;
Expand Down
14 changes: 7 additions & 7 deletions dist/types/CometChatContacts/style.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ type ButtonStyle = CSSProperties & {
type HeaderStyle = CSSProperties;
type WrapperStyle = CSSProperties;
type ContentStyle = CSSProperties;
export declare function closeBtnStyle(contactsStyle: ContactsStyle, theme: CometChatTheme): ButtonStyle;
export declare function closeBtnStyle(theme: CometChatTheme, contactsStyle?: ContactsStyle): ButtonStyle;
export declare function submitBtnWrapperStyle(): CSSProperties;
export declare function submitBtnStyle(contactsStyle: ContactsStyle | null, theme: CometChatTheme): any;
export declare function contactsHeaderStyle(contactsStyle: ContactsStyle, theme: CometChatTheme): HeaderStyle;
export declare function contactsWrapperStyle(contactsStyle: ContactsStyle, theme: CometChatTheme): WrapperStyle;
export declare function getContactsStyle(contactsStyle: ContactsStyle, theme: CometChatTheme): CSSProperties;
export declare function submitBtnStyle(theme: CometChatTheme, contactsStyle?: ContactsStyle | null): any;
export declare function contactsHeaderStyle(theme: CometChatTheme, contactsStyle?: ContactsStyle): HeaderStyle;
export declare function contactsWrapperStyle(theme: CometChatTheme, contactsStyle?: ContactsStyle): WrapperStyle;
export declare function getContactsStyle(theme: CometChatTheme, contactsStyle?: ContactsStyle): CSSProperties;
export declare function contactsContentStyle(): ContentStyle;
export declare function getTabsStyle(contactsStyle: ContactsStyle, theme: CometChatTheme): TabsStyle;
export declare const getTabItemStyling: (contactsStyle: ContactsStyle, theme: CometChatTheme, tabVisibility: TabsVisibility | undefined, isActive: boolean) => TabItemStyle;
export declare function getTabsStyle(theme: CometChatTheme, contactsStyle?: ContactsStyle): TabsStyle;
export declare const getTabItemStyling: (theme: CometChatTheme, tabVisibility: TabsVisibility | undefined, isActive: boolean, contactsStyle?: ContactsStyle) => TabItemStyle;
export {};
14 changes: 14 additions & 0 deletions dist/types/CometChatConversations/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ interface IConversationsProps {
* @defaultValue `SelectionMode.none`
*/
selectionMode?: SelectionMode;
/**
* @deprecated
*
* This property is deprecated as of version 4.3.19 due to newer property 'hideReceipt'. It will be removed in subsequent versions.
*/
/**
* Disable receipt status
*
Expand All @@ -79,6 +84,15 @@ interface IConversationsProps {
* @defaultValue `false`
*/
disableReceipt?: boolean;
/**
* hide receipt status
*
* @remarks
* If set to true, the receipt status of the message won't be displayed
*
* @defaultValue `false`
*/
hideReceipt?: boolean;
/**
* List of actions available on mouse over on the default list item component
*/
Expand Down
6 changes: 6 additions & 0 deletions dist/types/CometChatMessageList/CometChatMessageList.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@ interface IMessageListProps {
emptyStateView?: any;
errorStateView?: any;
loadingStateView?: any;
/**
* @deprecated
*
* This property is deprecated as of version 4.3.19 due to newer property 'hideReceipt'. It will be removed in subsequent versions.
*/
disableReceipt?: boolean;
hideReceipt?: boolean;
disableSoundForMessages?: boolean;
customSoundForMessages?: string;
readIcon?: string;
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@cometchat/chat-uikit-react",
"version": "4.3.18",
"version": "4.3.19",
"description": "Ready-to-use Chat UI Components for React(Javascript/Web)",
"author": "CometChat",
"peerDependencies": {
"@cometchat/chat-sdk-javascript": "^4.0.9",
"@cometchat/uikit-elements": "^4.3.14",
"@cometchat/uikit-elements": "^4.3.15",
"@cometchat/uikit-resources": "^4.3.11",
"@cometchat/uikit-shared": "^4.3.16"
"@cometchat/uikit-shared": "^4.3.17"
},
"devDependencies": {
"@babel/cli": "^7.17.0",
Expand Down

0 comments on commit 9c91626

Please sign in to comment.