cometchat-visual-builder-no-code 1.0.10-test3 → 1.0.10-test5

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.
@@ -78,11 +78,11 @@ export interface CometChatSettingsInterface {
78
78
  styles: {
79
79
  buttonBackGround: string;
80
80
  buttonShape: string;
81
- dockedAlignment: string;
82
81
  openIcon: string;
83
82
  closeIcon: string;
84
83
  customJs: string;
85
84
  customCss: string;
85
+ dockedAlignment: string;
86
86
  };
87
87
  };
88
88
  name?: string;
@@ -5,13 +5,13 @@ interface CometChatContextInterface {
5
5
  styleFeatures: CometChatSettingsInterface['style'];
6
6
  layoutFeatures: CometChatSettingsInterface['layout'];
7
7
  noCodeFeatures: CometChatSettingsInterface['noCode'];
8
- builderOrNocodeName: CometChatSettingsInterface['name'];
8
+ variantName: CometChatSettingsInterface['name'];
9
9
  setChatFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['chatFeatures']>>;
10
10
  setCallFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['callFeatures']>>;
11
11
  setStyleFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['style']>>;
12
12
  setLayoutFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['layout']>>;
13
13
  setNoCodeFeatures: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['noCode']>>;
14
- setBuilderOrNocodeName: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['name']>>;
14
+ setVariantName: React.Dispatch<React.SetStateAction<CometChatSettingsInterface['name']>>;
15
15
  }
16
16
  interface CometChatProviderProps {
17
17
  children: ReactNode;
@@ -99,11 +99,11 @@ export interface CometChatSettingsInterface {
99
99
  styles: {
100
100
  buttonBackGround: string;
101
101
  buttonShape: string;
102
- dockedAlignment: string;
103
102
  openIcon: string;
104
103
  closeIcon: string;
105
104
  customJs: string;
106
105
  customCss: string;
106
+ dockedAlignment: string;
107
107
  };
108
108
  };
109
109
  name?: string;
@@ -10,7 +10,7 @@ export declare const buttonShapeOptions: {
10
10
  value: string;
11
11
  label: string;
12
12
  }[];
13
- export declare const dockedAlignOptions: {
13
+ export declare const dockedAlignmentOptions: {
14
14
  value: string;
15
15
  label: string;
16
16
  }[];
@@ -14,6 +14,7 @@ export interface VcbData {
14
14
  chatType?: "user" | "group";
15
15
  defaultChatID?: string;
16
16
  theme?: string;
17
+ dockedAlignment?: "left" | "right";
17
18
  }
18
19
  export declare const vcbData: VcbData;
19
20
  export declare const listeners: Record<string, Function>;
@@ -36,6 +37,7 @@ declare const CometChatApp: {
36
37
  width?: string;
37
38
  chatType?: "user" | "group";
38
39
  defaultChatID?: string;
40
+ dockedAlignment?: "left" | "right";
39
41
  }) => Promise<void>;
40
42
  uiEvent: (eventName: string, callback: Function) => void;
41
43
  callUser: (uid: string) => Promise<void>;
@@ -3,6 +3,7 @@ interface DockedChatViewInterface {
3
3
  children: React.ReactNode;
4
4
  showSidebarOnDesktop?: boolean | undefined;
5
5
  type?: 'user' | 'group';
6
+ dockedAlignment?: 'left' | 'right';
6
7
  }
7
- declare const DockedChatView: ({ children, showSidebarOnDesktop, type }: DockedChatViewInterface) => import("react/jsx-runtime").JSX.Element;
8
+ declare const DockedChatView: ({ children, showSidebarOnDesktop, type, dockedAlignment }: DockedChatViewInterface) => import("react/jsx-runtime").JSX.Element;
8
9
  export default DockedChatView;
@@ -1,8 +1,5 @@
1
1
  /**
2
2
  * Custom React hook to fetch and apply CometChat noCode styles (CSS & JS) dynamically.
3
- *
4
- * @param variantID - The unique nocode vcb ID provided by CometChat.
5
- * @param appId - The unique nocode App ID provided by CometChat.
6
3
  */
7
- declare const useInjectNoCodeStyles: (appId?: string, variantID?: string) => void;
4
+ declare const useInjectNoCodeStyles: () => void;
8
5
  export default useInjectNoCodeStyles;