@elevenlabs/convai-widget-core 0.0.9 → 0.0.12
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/components/Icon.d.ts +2 -0
- package/dist/contexts/server-location.d.ts +1 -2
- package/dist/index.js +1039 -983
- package/dist/types/config.d.ts +3 -0
- package/package.json +2 -2
|
@@ -8,6 +8,7 @@ declare const ICON_MAP: {
|
|
|
8
8
|
check: typeof CheckIcon;
|
|
9
9
|
"chevron-down": typeof ChevronDownIcon;
|
|
10
10
|
"chevron-up": typeof ChevronUpIcon;
|
|
11
|
+
send: typeof SendIcon;
|
|
11
12
|
};
|
|
12
13
|
declare const SIZE_CLASSES: {
|
|
13
14
|
sm: string;
|
|
@@ -28,4 +29,5 @@ declare function MicOffIcon(props: JSX.HTMLAttributes<SVGSVGElement>): JSX.Eleme
|
|
|
28
29
|
declare function ChevronDownIcon(props: JSX.HTMLAttributes<SVGSVGElement>): JSX.Element;
|
|
29
30
|
declare function ChevronUpIcon(props: JSX.HTMLAttributes<SVGSVGElement>): JSX.Element;
|
|
30
31
|
declare function CheckIcon(props: JSX.HTMLAttributes<SVGSVGElement>): JSX.Element;
|
|
32
|
+
declare function SendIcon(props: JSX.HTMLAttributes<SVGSVGElement>): JSX.Element;
|
|
31
33
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReadonlySignal } from "@preact/signals";
|
|
2
2
|
import { ComponentChildren } from "preact";
|
|
3
|
-
|
|
3
|
+
import { Location } from "../types/config";
|
|
4
4
|
interface ServerLocationProviderProps {
|
|
5
5
|
children: ComponentChildren;
|
|
6
6
|
}
|
|
@@ -10,5 +10,4 @@ export declare function useServerLocation(): {
|
|
|
10
10
|
serverUrl: ReadonlySignal<string>;
|
|
11
11
|
webSocketUrl: ReadonlySignal<string>;
|
|
12
12
|
};
|
|
13
|
-
export declare function parseLocation(location?: string): Location;
|
|
14
13
|
export {};
|