@xapp/stentor-chat-widget 1.41.3 → 1.42.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.
- package/lib/WidgetEnv.d.ts +8 -0
- package/lib/WidgetTheme.d.ts +4 -0
- package/package.json +3 -3
package/lib/WidgetEnv.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ export interface WidgetEnv extends WidgetEnvDeprecated {
|
|
|
84
84
|
readonly theme?: WidgetTheme;
|
|
85
85
|
readonly cta?: CtaConfig;
|
|
86
86
|
readonly header?: WidgetHeaderConfig;
|
|
87
|
+
readonly footer?: WidgetFooterConfig;
|
|
87
88
|
readonly menu?: WidgetMenuConfig;
|
|
88
89
|
readonly input?: WidgetInputConfig;
|
|
89
90
|
/**
|
|
@@ -136,6 +137,13 @@ export interface WidgetHeaderActionsConfig {
|
|
|
136
137
|
readonly minimize?: boolean;
|
|
137
138
|
readonly cancel?: boolean;
|
|
138
139
|
}
|
|
140
|
+
export interface WidgetFooterConfig {
|
|
141
|
+
readonly branding?: WidgetBrandingConfig;
|
|
142
|
+
}
|
|
143
|
+
export interface WidgetBrandingConfig {
|
|
144
|
+
readonly enabled?: boolean;
|
|
145
|
+
readonly text?: string;
|
|
146
|
+
}
|
|
139
147
|
export interface WidgetMenuConfig {
|
|
140
148
|
readonly items: readonly WidgetMenuItemConfig[];
|
|
141
149
|
}
|
package/lib/WidgetTheme.d.ts
CHANGED
|
@@ -92,6 +92,7 @@ export interface WidgetContentTheme {
|
|
|
92
92
|
export interface WidgetFooterTheme {
|
|
93
93
|
readonly background?: WidgetBackgroundTheme;
|
|
94
94
|
readonly border?: WidgetBorderTheme;
|
|
95
|
+
readonly branding?: WidgetBrandingTheme;
|
|
95
96
|
}
|
|
96
97
|
export interface WidgetButtonTheme {
|
|
97
98
|
readonly color?: string;
|
|
@@ -120,3 +121,6 @@ export interface WidgetCarouselTheme {
|
|
|
120
121
|
readonly subtitle?: WidgetTextTheme;
|
|
121
122
|
readonly button?: WidgetButtonTheme;
|
|
122
123
|
}
|
|
124
|
+
export interface WidgetBrandingTheme {
|
|
125
|
+
readonly text?: WidgetTextTheme;
|
|
126
|
+
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.42.1",
|
|
8
8
|
"description": "Chat Widget channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"sinon": "13.0.2",
|
|
25
25
|
"sinon-chai": "3.7.0",
|
|
26
26
|
"stentor-models": "1.55.41",
|
|
27
|
-
"ts-node": "10.
|
|
27
|
+
"ts-node": "10.8.0",
|
|
28
28
|
"typescript": "4.6.4"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"build": "tsc -d true -p .",
|
|
39
39
|
"clean": "rm -rf ./lib/*"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "4df0cacad498049e7b8b2ea5aa4cae2f8b444910"
|
|
42
42
|
}
|