randmarcomps 1.180.0 → 1.182.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.
@@ -130,7 +130,7 @@ export declare const CardHeader: React_2.ForwardRefExoticComponent<React_2.HTMLA
130
130
  export declare const CardTitle: React_2.ForwardRefExoticComponent<React_2.HTMLAttributes<HTMLDivElement> & React_2.RefAttributes<HTMLDivElement>>;
131
131
 
132
132
  declare interface ChatContextType {
133
- sendMessage: (chatId: number, message: string) => boolean;
133
+ sendMessage: (chatId: number, message?: string) => boolean;
134
134
  chatRef: default_2.RefObject<ChatLayoutHandle | null>;
135
135
  }
136
136
 
@@ -298,7 +298,7 @@ declare interface LayoutProps {
298
298
  withRandmarAssistant?: boolean;
299
299
  chatUserName?: string;
300
300
  chatApiKey?: string;
301
- chatRef?: React.Ref<ChatLayoutHandle>;
301
+ chatRef?: React.Ref<ChatLayoutHandle | null>;
302
302
  }
303
303
 
304
304
  export declare function ManufacturerCard({ manufacturer, link, linkNewTab, actions, mainAction, loading, }: ManufacturerCardProps): JSX.Element;
@@ -332,7 +332,7 @@ declare interface ManufacturerReorderingCardProps {
332
332
 
333
333
  declare type MaskType = "phone" | "postal-code-ca" | "zip-code-us";
334
334
 
335
- export declare const Navbar: default_2.ForwardRefExoticComponent<NavbarProps & default_2.RefAttributes<ChatLayoutHandle>>;
335
+ export declare const Navbar: default_2.ForwardRefExoticComponent<NavbarProps & default_2.RefAttributes<ChatLayoutHandle | null>>;
336
336
 
337
337
  export declare interface NavbarProps {
338
338
  routes: NavRoute[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "randmarcomps",
3
3
  "private": false,
4
- "version": "1.180.0",
4
+ "version": "1.182.0",
5
5
  "description": "The UI library enabling speed and consistency in Randmar frontends.",
6
6
  "type": "module",
7
7
  "files": [