@xapp/stentor-chat-widget 1.48.0 → 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.
Files changed (2) hide show
  1. package/lib/WidgetEnv.d.ts +13 -0
  2. package/package.json +5 -5
@@ -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.48.0",
7
+ "version": "1.49.5",
8
8
  "description": "Chat Widget channel for stentor",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -23,13 +23,13 @@
23
23
  "mocha": "9.2.2",
24
24
  "sinon": "13.0.2",
25
25
  "sinon-chai": "3.7.0",
26
- "stentor-models": "1.56.56",
26
+ "stentor-models": "1.56.64",
27
27
  "ts-node": "10.9.1",
28
28
  "typescript": "4.7.4"
29
29
  },
30
30
  "dependencies": {
31
- "stentor-constants": "1.56.56",
32
- "stentor-guards": "1.56.56"
31
+ "stentor-constants": "1.56.64",
32
+ "stentor-guards": "1.56.64"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "stentor-models": "1.x"
@@ -38,5 +38,5 @@
38
38
  "build": "tsc -d true -p .",
39
39
  "clean": "rm -rf ./lib/*"
40
40
  },
41
- "gitHead": "374fe9cd0832b56b227237acfa7d82be4a47f366"
41
+ "gitHead": "737dcd08d0a289b006a41825a9016eb4c19f1f2e"
42
42
  }