@telnyx/ai-chat-widget 2.1.0 → 2.1.1

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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,8 @@
1
- import { JSX } from 'react/jsx-runtime';
1
+ import { FC } from 'react';
2
+ import { ForwardRefExoticComponent } from 'react';
3
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
2
4
  import * as React_2 from 'react';
5
+ import { RefAttributes } from 'react';
3
6
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
7
 
5
8
  declare type BaseProps = {
@@ -47,7 +50,7 @@ declare type BaseProps = {
47
50
  onHelpAction?: () => void;
48
51
  };
49
52
 
50
- export declare const ChatWidget: ({ endpoint, chatAPIUrl, feedbackAPIUrl, user, onHelpAction, open, setOpen, placeholders, mountPosition, mountDirection, offsetX, offsetY, icon, }: ChatWidgetProps) => JSX.Element;
53
+ export declare const ChatWidget: ({ endpoint, chatAPIUrl, feedbackAPIUrl, user, onHelpAction, open, setOpen, placeholders, mountPosition, mountDirection, offsetX, offsetY, icon, }: ChatWidgetProps) => JSX_2.Element;
51
54
 
52
55
  declare interface ChatWidgetNoMounting extends BaseProps {
53
56
  open?: never;
@@ -96,16 +99,16 @@ declare type MountingProps = {
96
99
  icon?: never;
97
100
  };
98
101
 
99
- export declare const Tooltip: React_2.FC<TooltipPrimitive.TooltipProps>;
102
+ export declare const Tooltip: FC<TooltipPrimitive.TooltipProps>;
100
103
 
101
104
  export declare const TooltipContent: {
102
- ({ className, sideOffset, ...props }: React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>): JSX.Element;
105
+ ({ className, sideOffset, ...props }: React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>): JSX_2.Element;
103
106
  displayName: string;
104
107
  };
105
108
 
106
- export declare const TooltipProvider: React_2.FC<TooltipPrimitive.TooltipProviderProps>;
109
+ export declare const TooltipProvider: FC<TooltipPrimitive.TooltipProviderProps>;
107
110
 
108
- export declare const TooltipTrigger: React_2.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
111
+ export declare const TooltipTrigger: ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & RefAttributes<HTMLButtonElement>>;
109
112
 
110
113
  declare type UserInfo = {
111
114
  /**