@botpress/webchat 2.5.1 → 2.6.1

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@2.5.1 build /home/runner/work/genisys/genisys/packages/webchat-components
2
+ > @botpress/webchat@2.6.1 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,13 +10,13 @@ rendering chunks...
10
10
 
11
11
  [vite:dts] Start generate declaration files...
12
12
  computing gzip size...
13
- dist/style.css  36.14 kB │ gzip: 6.88 kB
14
- dist/index.js 1,128.23 kB │ gzip: 291.34 kB
13
+ dist/style.css  40.03 kB │ gzip: 7.37 kB
14
+ dist/index.js 1,132.84 kB │ gzip: 292.32 kB
15
15
  [vite:dts] Start rollup declaration files...
16
16
  Analysis will use the bundled TypeScript version 5.4.2
17
17
  *** The target project appears to use TypeScript 5.6.2 which is newer than the bundled compiler engine; consider upgrading API Extractor.
18
- [vite:dts] Declaration files built in 30555ms.
18
+ [vite:dts] Declaration files built in 29683ms.
19
19
 
20
- dist/style.css  36.14 kB │ gzip: 6.88 kB
21
- dist/index.umd.cjs 768.32 kB │ gzip: 240.89 kB
22
- ✓ built in 38.25s
20
+ dist/style.css  40.03 kB │ gzip: 7.37 kB
21
+ dist/index.umd.cjs 771.48 kB │ gzip: 241.47 kB
22
+ ✓ built in 38.55s
package/dist/index.d.ts CHANGED
@@ -9765,7 +9765,7 @@ export declare type Props = {
9765
9765
  clientId?: string;
9766
9766
  closeWindow?: () => void;
9767
9767
  restartConversation?: () => void;
9768
- user: {
9768
+ user?: {
9769
9769
  id: string;
9770
9770
  } & Record<string, unknown>;
9771
9771
  sendMessage?: (payload: IntegrationMessage['payload']) => void;
@@ -13964,12 +13964,18 @@ export declare const webchatClasses: {
13964
13964
  readonly heading3: {
13965
13965
  readonly className: "bpMessageBlocksTextHeading3";
13966
13966
  };
13967
+ readonly heading4: {
13968
+ readonly className: "bpMessageBlocksTextHeading4";
13969
+ };
13967
13970
  readonly unorderedList: {
13968
13971
  readonly className: "bpMessageBlocksTextUnorderedList";
13969
13972
  };
13970
13973
  readonly orderedList: {
13971
13974
  readonly className: "bpMessageBlocksTextOrderedList";
13972
13975
  };
13976
+ readonly listItem: {
13977
+ readonly className: "bpMessageBlocksTextListItem";
13978
+ };
13973
13979
  readonly link: {
13974
13980
  readonly className: "bpMessageBlocksTextLink";
13975
13981
  };
@@ -13982,17 +13988,47 @@ export declare const webchatClasses: {
13982
13988
  readonly text: {
13983
13989
  readonly className: "bpMessageBlocksTextText";
13984
13990
  };
13991
+ readonly image: {
13992
+ readonly className: "bpMessageBlocksTextImage";
13993
+ };
13985
13994
  readonly horizontalRule: {
13986
13995
  readonly className: "bpMessageBlocksTextHorizontalRule";
13987
13996
  };
13988
- readonly listItem: {
13989
- readonly className: "bpMessageBlocksTextListItem";
13990
- };
13991
13997
  readonly lineBreak: {
13992
13998
  readonly className: "bpMessageBlocksTextLineBreak";
13993
13999
  };
13994
- readonly pre: {
13995
- readonly className: "bpMessageBlocksTextPre";
14000
+ readonly input: {
14001
+ readonly className: "bpMessageBlocksTextInput";
14002
+ };
14003
+ readonly codeBlockContainer: {
14004
+ readonly className: "bpMessageBlocksTextCodeBlockContainer";
14005
+ };
14006
+ readonly codeBlockTitle: {
14007
+ readonly className: "bpMessageBlocksTextCodeBlockTitle";
14008
+ };
14009
+ readonly codeBlockCopyIcon: {
14010
+ readonly className: "bpMessageBlocksTextCodeBlockCopyIcon";
14011
+ };
14012
+ readonly codeBlock: {
14013
+ readonly className: "bpMessageBlocksTextCodeBlock";
14014
+ };
14015
+ readonly code: {
14016
+ readonly className: "bpMessageBlocksTextCode";
14017
+ };
14018
+ readonly tableContainer: {
14019
+ readonly className: "bpMessageBlocksTextTableContainer";
14020
+ };
14021
+ readonly table: {
14022
+ readonly className: "bpMessageBlocksTextTable";
14023
+ };
14024
+ readonly tableHeader: {
14025
+ readonly className: "bpMessageBlocksTextTableHeader";
14026
+ };
14027
+ readonly tableData: {
14028
+ readonly className: "bpMessageBlocksTextTableData";
14029
+ };
14030
+ readonly tableRow: {
14031
+ readonly className: "bpMessageBlocksTextTableRow";
13996
14032
  };
13997
14033
  };
13998
14034
  readonly audio: {