@xapp/stentor-chat-widget 1.49.3 → 1.49.5
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 +13 -0
- package/package.json +2 -2
package/lib/WidgetEnv.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ export interface WidgetEnv extends WidgetEnvDeprecated {
|
|
|
90
90
|
*
|
|
91
91
|
*/
|
|
92
92
|
readonly cta?: CtaConfig;
|
|
93
|
+
readonly chatButton?: WidgetChatButtonConfig;
|
|
93
94
|
readonly header?: WidgetHeaderConfig;
|
|
94
95
|
readonly footer?: WidgetFooterConfig;
|
|
95
96
|
readonly menu?: WidgetMenuConfig;
|
|
@@ -144,11 +145,15 @@ export interface WidgetHeaderStatusConfig {
|
|
|
144
145
|
}
|
|
145
146
|
export interface WidgetHeaderActionsConfig {
|
|
146
147
|
readonly refresh?: boolean;
|
|
148
|
+
readonly refreshTabIndex?: string;
|
|
147
149
|
readonly minimize?: boolean;
|
|
150
|
+
readonly minimizeTabIndex?: string;
|
|
148
151
|
readonly cancel?: boolean;
|
|
152
|
+
readonly cancelTabIndex?: string;
|
|
149
153
|
}
|
|
150
154
|
export interface WidgetFooterConfig {
|
|
151
155
|
readonly branding?: WidgetBrandingConfig;
|
|
156
|
+
readonly clearButton?: WidgetClearButtonConfig;
|
|
152
157
|
readonly sendButton?: WidgetSendButtonConfig;
|
|
153
158
|
}
|
|
154
159
|
export interface WidgetBrandingConfig {
|
|
@@ -161,6 +166,7 @@ export interface WidgetMenuConfig {
|
|
|
161
166
|
}
|
|
162
167
|
export interface WidgetInputConfig {
|
|
163
168
|
readonly placeholder?: string;
|
|
169
|
+
readonly tabIndex?: string;
|
|
164
170
|
}
|
|
165
171
|
export interface WidgetMenuItemConfig {
|
|
166
172
|
readonly label: string;
|
|
@@ -182,4 +188,11 @@ export interface WidgetTypingStatusConfig {
|
|
|
182
188
|
}
|
|
183
189
|
export interface WidgetSendButtonConfig {
|
|
184
190
|
readonly icon?: string;
|
|
191
|
+
readonly tabIndex?: string;
|
|
192
|
+
}
|
|
193
|
+
export interface WidgetChatButtonConfig {
|
|
194
|
+
readonly tabIndex?: string;
|
|
195
|
+
}
|
|
196
|
+
export interface WidgetClearButtonConfig {
|
|
197
|
+
readonly tabIndex?: string;
|
|
185
198
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.49.
|
|
7
|
+
"version": "1.49.5",
|
|
8
8
|
"description": "Chat Widget channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"build": "tsc -d true -p .",
|
|
39
39
|
"clean": "rm -rf ./lib/*"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "737dcd08d0a289b006a41825a9016eb4c19f1f2e"
|
|
42
42
|
}
|