@botpress/webchat 1.3.5 → 1.3.7
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/.turbo/turbo-build.log +10 -8
- package/dist/components/Composer.d.ts +1 -1
- package/dist/components/Header.d.ts +3 -2
- package/dist/contexts/WebchatContext.d.ts +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useAutosizeTextArea.d.ts +1 -0
- package/dist/index-5666ba1d.js +40718 -0
- package/dist/index-ebf49348.js +3240 -0
- package/dist/index.js +37 -46277
- package/dist/index.umd.cjs +189 -237
- package/dist/schemas/init.d.ts +500 -0
- package/dist/schemas/theme.d.ts +224 -0
- package/package.json +2 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/webchat@1.3.
|
|
2
|
+
> @botpress/webchat@1.3.7 build /home/runner/work/echo/echo/packages/webchat-frontend
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
5
|
[36mvite v4.4.11 [32mbuilding for production...[36m[39m
|
|
6
6
|
transforming...
|
|
7
7
|
[1m[33m[plugin:vite:resolve][39m[22m [33mModule "crypto" has been externalized for browser compatibility, imported by "/home/runner/work/echo/echo/packages/webchat-frontend/src/gen/client/errors.ts". See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.[39m
|
|
8
|
-
[1m[33m[plugin:vite:resolve][39m[22m [33mModule "node:http" has been externalized for browser compatibility, imported by "/home/runner/work/echo/echo/node_modules/.pnpm/@botpress+sdk@0.8.
|
|
9
|
-
[1m[33m[plugin:vite:resolve][39m[22m [33mModule "util" has been externalized for browser compatibility, imported by "/home/runner/work/echo/echo/node_modules/.pnpm/@botpress+sdk@0.8.
|
|
8
|
+
[1m[33m[plugin:vite:resolve][39m[22m [33mModule "node:http" has been externalized for browser compatibility, imported by "/home/runner/work/echo/echo/node_modules/.pnpm/@botpress+sdk@0.8.5/node_modules/@botpress/sdk/dist/index.js". See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.[39m
|
|
9
|
+
[1m[33m[plugin:vite:resolve][39m[22m [33mModule "util" has been externalized for browser compatibility, imported by "/home/runner/work/echo/echo/node_modules/.pnpm/@botpress+sdk@0.8.5/node_modules/@botpress/sdk/dist/index.js". See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.[39m
|
|
10
10
|
[1m[33m[plugin:vite:resolve][39m[22m [33mModule "path" has been externalized for browser compatibility, imported by "/home/runner/work/echo/echo/node_modules/.pnpm/@apidevtools+json-schema-ref-parser@11.6.1/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/url.js". See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.[39m
|
|
11
11
|
[1m[33m[plugin:vite:resolve][39m[22m [33mModule "path" has been externalized for browser compatibility, imported by "/home/runner/work/echo/echo/node_modules/.pnpm/@apidevtools+json-schema-ref-parser@11.6.1/node_modules/@apidevtools/json-schema-ref-parser/dist/lib/util/convert-path-to-posix.js". See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.[39m
|
|
12
12
|
[1m[33m[plugin:vite:resolve][39m[22m [33mModule "util" has been externalized for browser compatibility, imported by "/home/runner/work/echo/echo/node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/types.js". See http://vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.[39m
|
|
13
13
|
../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/types.js (1:9) "inspect" is not exported by "__vite-browser-external", imported by "../../node_modules/.pnpm/@jsdevtools+ono@7.1.3/node_modules/@jsdevtools/ono/esm/types.js".
|
|
14
|
-
[32m✓[39m
|
|
14
|
+
[32m✓[39m 2426 modules transformed.
|
|
15
15
|
rendering chunks...
|
|
16
16
|
[32m
|
|
17
17
|
[36m[vite:dts][32m Start generate declaration files...[39m
|
|
18
18
|
computing gzip size...
|
|
19
|
-
[32m[36m[vite:dts][32m Declaration files built in
|
|
19
|
+
[32m[36m[vite:dts][32m Declaration files built in 13327ms.
|
|
20
20
|
[39m
|
|
21
|
-
[2mdist/[22m[36mindex.js
|
|
22
|
-
[2mdist/[22m[36mindex.
|
|
23
|
-
[
|
|
21
|
+
[2mdist/[22m[36mindex.js [39m[1m[2m 1.09 kB[22m[1m[22m[2m │ gzip: 0.52 kB[22m
|
|
22
|
+
[2mdist/[22m[36mindex-ebf49348.js [39m[1m[2m 118.52 kB[22m[1m[22m[2m │ gzip: 31.78 kB[22m
|
|
23
|
+
[2mdist/[22m[36mindex-5666ba1d.js [39m[1m[33m1,296.85 kB[39m[22m[2m │ gzip: 318.15 kB[22m
|
|
24
|
+
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m987.40 kB[39m[22m[2m │ gzip: 291.25 kB[22m
|
|
25
|
+
[32m✓ built in 22.30s[39m
|
|
@@ -2,7 +2,7 @@ import { Theme } from '../types';
|
|
|
2
2
|
import { ComponentProps, FC } from 'react';
|
|
3
3
|
import { type StyleOptions } from '../contexts';
|
|
4
4
|
declare const Composer: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
|
-
declare const ComposerInput: import("react").MemoExoticComponent<(
|
|
5
|
+
declare const ComposerInput: import("react").MemoExoticComponent<(props: ComponentProps<'textarea'>) => import("react/jsx-runtime").JSX.Element>;
|
|
6
6
|
type ComposerButtonStyle = NonNullable<Theme['composer']>['button'];
|
|
7
7
|
type ComposerButtonProps = {
|
|
8
8
|
icon?: FC<StyleOptions>;
|
|
@@ -18,7 +18,8 @@ type DescriptionItemProps = {
|
|
|
18
18
|
icon?: FC<StyleOptions>;
|
|
19
19
|
link?: string;
|
|
20
20
|
};
|
|
21
|
-
declare const
|
|
21
|
+
export declare const Header: () => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
declare const HeaderRoot: import("react").NamedExoticComponent<Omit<HeaderProps, "ref"> & import("react").RefAttributes<HTMLDivElement>> & {
|
|
22
23
|
readonly type: import("react").ForwardRefExoticComponent<Omit<HeaderProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
23
24
|
} & {
|
|
24
25
|
Content: import("react").ForwardRefExoticComponent<Omit<ContentProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -33,4 +34,4 @@ declare const HeaderNamespace: import("react").NamedExoticComponent<Omit<HeaderP
|
|
|
33
34
|
Actions: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
34
35
|
DescriptionItem: ({ icon, title, link, ...props }: DescriptionItemProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
35
36
|
};
|
|
36
|
-
export {
|
|
37
|
+
export { HeaderRoot };
|
|
@@ -15,7 +15,7 @@ export type ModalProps = {
|
|
|
15
15
|
};
|
|
16
16
|
export type ContextVaue = {
|
|
17
17
|
theme: Theme;
|
|
18
|
-
messageContainerRef: RefObject<
|
|
18
|
+
messageContainerRef: RefObject<HTMLDivElement>;
|
|
19
19
|
renderers: Renderers;
|
|
20
20
|
messages: MessageObject[];
|
|
21
21
|
setMessages: React.Dispatch<React.SetStateAction<MessageObject[]>>;
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useAutosizeTextArea: (textAreaRef: HTMLTextAreaElement | null, value: string, maxHeight?: number) => void;
|