@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @botpress/webchat@4.5.1 build /home/runner/work/genisys/genisys/packages/webchat-components
2
+ > @botpress/webchat@4.5.2 build /home/runner/work/genisys/genisys/packages/webchat-components
3
3
  > vite build
4
4
 
5
5
  vite v5.4.8 building for production...
@@ -10,12 +10,12 @@ rendering chunks...
10
10
  [vite:dts] Start generate declaration files...
11
11
  computing gzip size...
12
12
  dist/style.css  56.97 kB │ gzip: 9.47 kB
13
- dist/index.js 890.92 kB │ gzip: 235.63 kB
13
+ dist/index.js 891.25 kB │ gzip: 235.74 kB
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 20212ms.
17
+ [vite:dts] Declaration files built in 20648ms.
18
18
 
19
19
  dist/style.css  56.97 kB │ gzip: 9.47 kB
20
- dist/index.umd.cjs 551.64 kB │ gzip: 180.55 kB
21
- ✓ built in 25.58s
20
+ dist/index.umd.cjs 551.88 kB │ gzip: 180.62 kB
21
+ ✓ built in 26.00s
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 = {