@botpress/webchat 4.5.1 → 4.5.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.
- package/.turbo/turbo-build.log +5 -5
- package/dist/index.d.ts +4 -2
- package/dist/index.js +2648 -2639
- package/dist/index.umd.cjs +66 -66
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @botpress/webchat@4.5.
|
|
2
|
+
> @botpress/webchat@4.5.2 build /home/runner/work/genisys/genisys/packages/webchat-components
|
|
3
3
|
> vite build
|
|
4
4
|
|
|
5
5
|
[36mvite v5.4.8 [32mbuilding for production...[36m[39m
|
|
@@ -10,12 +10,12 @@ rendering chunks...
|
|
|
10
10
|
[vite:dts] Start generate declaration files...
|
|
11
11
|
computing gzip size...
|
|
12
12
|
[2mdist/[22m[35mstyle.css [39m[1m[2m 56.97 kB[22m[1m[22m[2m │ gzip: 9.47 kB[22m
|
|
13
|
-
[2mdist/[22m[36mindex.js [39m[1m[
|
|
13
|
+
[2mdist/[22m[36mindex.js [39m[1m[33m891.25 kB[39m[22m[2m │ gzip: 235.74 kB[22m
|
|
14
14
|
[vite:dts] Start rollup declaration files...
|
|
15
15
|
Analysis will use the bundled TypeScript version 5.8.2
|
|
16
16
|
*** The target project appears to use TypeScript 5.9.3 which is newer than the bundled compiler engine; consider upgrading API Extractor.
|
|
17
|
-
[vite:dts] Declaration files built in
|
|
17
|
+
[vite:dts] Declaration files built in 20648ms.
|
|
18
18
|
|
|
19
19
|
[2mdist/[22m[35mstyle.css [39m[1m[2m 56.97 kB[22m[1m[22m[2m │ gzip: 9.47 kB[22m
|
|
20
|
-
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m551.
|
|
21
|
-
[32m✓ built in
|
|
20
|
+
[2mdist/[22m[36mindex.umd.cjs [39m[1m[33m551.88 kB[39m[22m[2m │ gzip: 180.62 kB[22m
|
|
21
|
+
[32m✓ built in 26.00s[39m
|
package/dist/index.d.ts
CHANGED
|
@@ -145,7 +145,7 @@ export declare type CarouselBlock = {
|
|
|
145
145
|
blocks: GenericBlock[];
|
|
146
146
|
};
|
|
147
147
|
|
|
148
|
-
export declare const Chat: ({ connected, configuration, isTyping, messages, user, isLoading, renderers, isReadOnly, disableComposer, error, participants, closeWindow, sendMessage, uploadFile, addMessageFeedback, listConversations, restartConversation, clientId, storageKey, soundOn, toggleSound, disableSendButton, conversationId, locale, ...props }: Props) => JSX_2.Element;
|
|
148
|
+
export declare const Chat: ({ connected, configuration, isTyping, messages, user, isLoading, renderers, isReadOnly, disableComposer, error, participants, closeWindow, sendMessage, uploadFile, addMessageFeedback, listConversations, restartConversation, clientId, storageKey, soundOn, toggleSound, disableSendButton, conversationId, locale, isOpen, ...props }: Props) => JSX_2.Element;
|
|
149
149
|
|
|
150
150
|
declare type ChatSoundStore = {
|
|
151
151
|
soundOn: boolean;
|
|
@@ -488,7 +488,7 @@ declare type MessageContextVaue = {
|
|
|
488
488
|
setIsLoading: Dispatch<SetStateAction<string[]>>;
|
|
489
489
|
};
|
|
490
490
|
|
|
491
|
-
export declare const MessageList: MemoExoticComponent<({ className, messages, isTyping, headerMessage, renderers, botAvatar, botDescription, botName, sendMessage, addMessageFeedback, showMarquee, showDateSystemMessage, showMessageStatus, showIncomingMessageAvatar, showOutgoingMessageAvatar, ...props }: ComponentProps<"div"> & MessageListProps) => JSX_2.Element>;
|
|
491
|
+
export declare const MessageList: MemoExoticComponent<({ className, messages, isTyping, headerMessage, renderers, botAvatar, botDescription, botName, sendMessage, addMessageFeedback, showMarquee, showDateSystemMessage, showMessageStatus, showIncomingMessageAvatar, showOutgoingMessageAvatar, isOpen, ...props }: ComponentProps<"div"> & MessageListProps) => JSX_2.Element>;
|
|
492
492
|
|
|
493
493
|
declare type MessageListProps = {
|
|
494
494
|
messages?: RichBlockMessage[];
|
|
@@ -505,6 +505,7 @@ declare type MessageListProps = {
|
|
|
505
505
|
showMessageStatus?: boolean;
|
|
506
506
|
showIncomingMessageAvatar?: boolean;
|
|
507
507
|
showOutgoingMessageAvatar?: boolean;
|
|
508
|
+
isOpen?: boolean;
|
|
508
509
|
};
|
|
509
510
|
|
|
510
511
|
export declare const MessagePreview: ForwardRefExoticComponent_2<Omit<ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & {
|
|
@@ -588,6 +589,7 @@ export declare type Props = {
|
|
|
588
589
|
disableSendButton?: boolean;
|
|
589
590
|
conversationId?: string;
|
|
590
591
|
locale?: Partial<WebchatTranslations>;
|
|
592
|
+
isOpen?: boolean;
|
|
591
593
|
};
|
|
592
594
|
|
|
593
595
|
declare type Props_2 = {
|