@botpress/webchat 1.0.22 → 1.0.24

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.
@@ -799,6 +799,46 @@ export declare const ThemeSchema: z.ZodObject<{
799
799
  className?: string | undefined;
800
800
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
801
801
  }>>;
802
+ newConversation: z.ZodOptional<z.ZodObject<{
803
+ text: z.ZodOptional<z.ZodObject<{
804
+ className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
805
+ style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
806
+ }, "strip", z.ZodTypeAny, {
807
+ className?: string | undefined;
808
+ style?: CSSProperties | undefined;
809
+ }, {
810
+ className?: string | undefined;
811
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
812
+ }>>;
813
+ button: z.ZodOptional<z.ZodObject<{
814
+ className: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
815
+ style: z.ZodEffects<z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>, CSSProperties | undefined, z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ className?: string | undefined;
818
+ style?: CSSProperties | undefined;
819
+ }, {
820
+ className?: string | undefined;
821
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
822
+ }>>;
823
+ }, "strip", z.ZodTypeAny, {
824
+ text?: {
825
+ className?: string | undefined;
826
+ style?: CSSProperties | undefined;
827
+ } | undefined;
828
+ button?: {
829
+ className?: string | undefined;
830
+ style?: CSSProperties | undefined;
831
+ } | undefined;
832
+ }, {
833
+ text?: {
834
+ className?: string | undefined;
835
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
836
+ } | undefined;
837
+ button?: {
838
+ className?: string | undefined;
839
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
840
+ } | undefined;
841
+ }>>;
802
842
  }, "strip", z.ZodTypeAny, {
803
843
  container?: {
804
844
  className?: string | undefined;
@@ -822,6 +862,16 @@ export declare const ThemeSchema: z.ZodObject<{
822
862
  className?: string | undefined;
823
863
  style?: CSSProperties | undefined;
824
864
  } | undefined;
865
+ newConversation?: {
866
+ text?: {
867
+ className?: string | undefined;
868
+ style?: CSSProperties | undefined;
869
+ } | undefined;
870
+ button?: {
871
+ className?: string | undefined;
872
+ style?: CSSProperties | undefined;
873
+ } | undefined;
874
+ } | undefined;
825
875
  }, {
826
876
  container?: {
827
877
  className?: string | undefined;
@@ -845,6 +895,16 @@ export declare const ThemeSchema: z.ZodObject<{
845
895
  className?: string | undefined;
846
896
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
847
897
  } | undefined;
898
+ newConversation?: {
899
+ text?: {
900
+ className?: string | undefined;
901
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
902
+ } | undefined;
903
+ button?: {
904
+ className?: string | undefined;
905
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
906
+ } | undefined;
907
+ } | undefined;
848
908
  }>>;
849
909
  }, "strip", z.ZodTypeAny, {
850
910
  overlay?: {
@@ -878,6 +938,16 @@ export declare const ThemeSchema: z.ZodObject<{
878
938
  className?: string | undefined;
879
939
  style?: CSSProperties | undefined;
880
940
  } | undefined;
941
+ newConversation?: {
942
+ text?: {
943
+ className?: string | undefined;
944
+ style?: CSSProperties | undefined;
945
+ } | undefined;
946
+ button?: {
947
+ className?: string | undefined;
948
+ style?: CSSProperties | undefined;
949
+ } | undefined;
950
+ } | undefined;
881
951
  } | undefined;
882
952
  }, {
883
953
  overlay?: {
@@ -911,6 +981,16 @@ export declare const ThemeSchema: z.ZodObject<{
911
981
  className?: string | undefined;
912
982
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
913
983
  } | undefined;
984
+ newConversation?: {
985
+ text?: {
986
+ className?: string | undefined;
987
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
988
+ } | undefined;
989
+ button?: {
990
+ className?: string | undefined;
991
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
992
+ } | undefined;
993
+ } | undefined;
914
994
  } | undefined;
915
995
  }>>;
916
996
  notification: z.ZodOptional<z.ZodObject<{
@@ -2790,6 +2870,16 @@ export declare const ThemeSchema: z.ZodObject<{
2790
2870
  className?: string | undefined;
2791
2871
  style?: CSSProperties | undefined;
2792
2872
  } | undefined;
2873
+ newConversation?: {
2874
+ text?: {
2875
+ className?: string | undefined;
2876
+ style?: CSSProperties | undefined;
2877
+ } | undefined;
2878
+ button?: {
2879
+ className?: string | undefined;
2880
+ style?: CSSProperties | undefined;
2881
+ } | undefined;
2882
+ } | undefined;
2793
2883
  } | undefined;
2794
2884
  } | undefined;
2795
2885
  notification?: {
@@ -3103,6 +3193,16 @@ export declare const ThemeSchema: z.ZodObject<{
3103
3193
  className?: string | undefined;
3104
3194
  style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
3105
3195
  } | undefined;
3196
+ newConversation?: {
3197
+ text?: {
3198
+ className?: string | undefined;
3199
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
3200
+ } | undefined;
3201
+ button?: {
3202
+ className?: string | undefined;
3203
+ style?: z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
3204
+ } | undefined;
3205
+ } | undefined;
3106
3206
  } | undefined;
3107
3207
  } | undefined;
3108
3208
  notification?: {
@@ -37,6 +37,16 @@ export declare function withBaseTheme(theme: Theme): {
37
37
  className?: string | undefined;
38
38
  style?: import("react").CSSProperties | undefined;
39
39
  } | undefined;
40
+ newConversation?: {
41
+ text?: {
42
+ className?: string | undefined;
43
+ style?: import("react").CSSProperties | undefined;
44
+ } | undefined;
45
+ button?: {
46
+ className?: string | undefined;
47
+ style?: import("react").CSSProperties | undefined;
48
+ } | undefined;
49
+ } | undefined;
40
50
  } | undefined;
41
51
  } | undefined;
42
52
  notification?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botpress/webchat",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.umd.cjs",
@@ -34,6 +34,7 @@
34
34
  "@types/color-convert": "^2.0.1",
35
35
  "@types/lodash": "^4.14.199",
36
36
  "@types/uuid": "^9.0.3",
37
+ "@botpress/chat": "^0.0.1",
37
38
  "classnames": "^2.3.2",
38
39
  "clsx": "^2.0.0",
39
40
  "color-convert": "^2.0.1",