@telnyx/ai-chat-widget 2.1.2 → 3.0.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.
- package/dist/index.cjs +40 -48
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +8555 -8904
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +40 -48
- package/dist/index.umd.js.map +1 -1
- package/package.json +6 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JSX
|
|
1
|
+
import { JSX } from 'react/jsx-runtime';
|
|
2
2
|
import * as React_2 from 'react';
|
|
3
3
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
4
4
|
|
|
@@ -47,7 +47,7 @@ declare type BaseProps = {
|
|
|
47
47
|
onHelpAction?: () => void;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
export declare const ChatWidget: ({ endpoint, chatAPIUrl, feedbackAPIUrl, user, onHelpAction, open, setOpen, placeholders, mountPosition, mountDirection, offsetX, offsetY, icon, }: ChatWidgetProps) =>
|
|
50
|
+
export declare const ChatWidget: ({ endpoint, chatAPIUrl, feedbackAPIUrl, user, onHelpAction, open, setOpen, placeholders, mountPosition, mountDirection, offsetX, offsetY, icon, }: ChatWidgetProps) => JSX.Element;
|
|
51
51
|
|
|
52
52
|
declare interface ChatWidgetNoMounting extends BaseProps {
|
|
53
53
|
open?: never;
|
|
@@ -99,7 +99,7 @@ declare type MountingProps = {
|
|
|
99
99
|
export declare const Tooltip: React_2.FC<TooltipPrimitive.TooltipProps>;
|
|
100
100
|
|
|
101
101
|
export declare const TooltipContent: {
|
|
102
|
-
({ className, sideOffset, ...props }: React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>):
|
|
102
|
+
({ className, sideOffset, ...props }: React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>): JSX.Element;
|
|
103
103
|
displayName: string;
|
|
104
104
|
};
|
|
105
105
|
|