@cometchat/chat-uikit-react 4.3.29 → 4.3.31

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.
@@ -60,6 +60,7 @@ type Args = {
60
60
  parentMessageIdPropRef: any;
61
61
  isPartOfCurrentChatForUIEvent: (message: CometChat.BaseMessage) => boolean | undefined;
62
62
  propsText: string | undefined;
63
+ triggerClosePreview?: () => void;
63
64
  };
64
65
  export declare function Hooks(args: Args): void;
65
66
  export {};
@@ -8,6 +8,7 @@ interface ContextMenuProps {
8
8
  ContextMenuStyle: MenuListStyle;
9
9
  onOptionClicked: (option: CometChatActionsIcon | CometChatActionsView) => void;
10
10
  placement: Placement;
11
+ parentClassName?: string;
11
12
  }
12
13
  export declare const CometChatContextMenu: (props: ContextMenuProps) => import("react/jsx-runtime").JSX.Element;
13
14
  export {};
@@ -3,7 +3,7 @@ import { CometChatTheme } from "@cometchat/uikit-resources";
3
3
  import { MenuListStyle } from "@cometchat/uikit-elements";
4
4
  export declare const contextMenuStyle: () => CSSProperties;
5
5
  export declare const topMenuStyle: () => CSSProperties;
6
- export declare const subMenuStyle: (showSubMenu: boolean, theme: CometChatTheme) => CSSProperties;
6
+ export declare const subMenuStyle: (showSubMenu: boolean, theme: CometChatTheme, position?: 'bottom' | 'top') => CSSProperties;
7
7
  export declare const menuItemStyle: () => {
8
8
  background: string;
9
9
  padding: string;
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@cometchat/chat-uikit-react",
3
- "version": "4.3.29",
3
+ "version": "4.3.31",
4
4
  "description": "Ready-to-use Chat UI Components for React(Javascript/Web)",
5
5
  "author": "CometChat",
6
6
  "peerDependencies": {
7
- "@cometchat/chat-sdk-javascript": "^4.0.11",
7
+ "@cometchat/chat-sdk-javascript": "^4.0.12",
8
8
  "@cometchat/uikit-elements": "~4.3.22",
9
- "@cometchat/uikit-resources": "~4.3.18",
9
+ "@cometchat/uikit-resources": "~4.3.19",
10
10
  "@cometchat/uikit-shared": "~4.3.24"
11
11
  },
12
12
  "devDependencies": {