@telnyx/ai-chat-widget 2.1.1 → 2.1.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -6
  2. package/package.json +5 -5
package/dist/index.d.ts CHANGED
@@ -1,8 +1,5 @@
1
- import { FC } from 'react';
2
- import { ForwardRefExoticComponent } from 'react';
3
1
  import { JSX as JSX_2 } from 'react/jsx-runtime';
4
2
  import * as React_2 from 'react';
5
- import { RefAttributes } from 'react';
6
3
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
7
4
 
8
5
  declare type BaseProps = {
@@ -99,16 +96,16 @@ declare type MountingProps = {
99
96
  icon?: never;
100
97
  };
101
98
 
102
- export declare const Tooltip: FC<TooltipPrimitive.TooltipProps>;
99
+ export declare const Tooltip: React_2.FC<TooltipPrimitive.TooltipProps>;
103
100
 
104
101
  export declare const TooltipContent: {
105
102
  ({ className, sideOffset, ...props }: React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>): JSX_2.Element;
106
103
  displayName: string;
107
104
  };
108
105
 
109
- export declare const TooltipProvider: FC<TooltipPrimitive.TooltipProviderProps>;
106
+ export declare const TooltipProvider: React_2.FC<TooltipPrimitive.TooltipProviderProps>;
110
107
 
111
- export declare const TooltipTrigger: ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & RefAttributes<HTMLButtonElement>>;
108
+ export declare const TooltipTrigger: React_2.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
112
109
 
113
110
  declare type UserInfo = {
114
111
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telnyx/ai-chat-widget",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "Embeddable AI chat widget",
5
5
  "private": false,
6
6
  "type": "module",
@@ -30,8 +30,8 @@
30
30
  "registry": "https://registry.npmjs.org/"
31
31
  },
32
32
  "peerDependencies": {
33
- "react": "^18 || ^19",
34
- "react-dom": "^18 || ^19"
33
+ "react": "^18",
34
+ "react-dom": "^18"
35
35
  },
36
36
  "dependencies": {
37
37
  "@heroicons/react": "^2.2.0",
@@ -67,8 +67,8 @@
67
67
  "@tailwindcss/cli": "^4.1.4",
68
68
  "@tailwindcss/postcss": "^4.1.12",
69
69
  "@types/node": "^22.15.3",
70
- "@types/react": "^18",
71
- "@types/react-dom": "^18",
70
+ "@types/react": "^18.3.12",
71
+ "@types/react-dom": "^18.3.1",
72
72
  "@vitejs/plugin-react-swc": "^3.9.0",
73
73
  "autoprefixer": "^10.4.21",
74
74
  "esbuild-raw-plugin": "^0.3.1",