@xapp/stentor-chat-widget 1.44.0 → 1.45.0

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.
@@ -78,6 +78,10 @@ export interface WidgetEnv extends WidgetEnvDeprecated {
78
78
  * The session will restart if the specified time has elapsed since the last message. Default value is 24h.
79
79
  */
80
80
  readonly sessionExpiration?: string;
81
+ /**
82
+ * Optional, for configuration typing status.
83
+ */
84
+ readonly typingStatus?: WidgetTypingStatusConfig;
81
85
  /**
82
86
  * Theme for the widget
83
87
  */
@@ -125,6 +129,8 @@ export interface WidgetUrlPolicy {
125
129
  }
126
130
  export interface WidgetHeaderConfig {
127
131
  readonly status?: WidgetHeaderStatusConfig;
132
+ readonly subtitle?: WidgetHeaderSubtitleConfig;
133
+ readonly alignTextCenter?: boolean;
128
134
  readonly actions?: WidgetHeaderActionsConfig;
129
135
  }
130
136
  export interface WidgetHeaderStatusConfig {
@@ -154,3 +160,10 @@ export interface WidgetInputConfig {
154
160
  export interface WidgetMenuItemConfig {
155
161
  readonly label: string;
156
162
  }
163
+ export interface WidgetHeaderSubtitleConfig {
164
+ readonly enabled?: boolean;
165
+ readonly text?: string;
166
+ }
167
+ export interface WidgetTypingStatusConfig {
168
+ readonly textTypingStatusEnabled?: boolean;
169
+ }
@@ -18,6 +18,8 @@ export interface WidgetTheme {
18
18
  readonly footer?: WidgetFooterTheme;
19
19
  /** Widget messages styling */
20
20
  readonly messages?: WidgetMessagesTheme;
21
+ /** Widget textTypingStatus styling */
22
+ readonly textTypingStatus?: WidgetTextTypingStatusTheme;
21
23
  /** Widget sendButton styling */
22
24
  readonly sendButton?: WidgetButtonTheme;
23
25
  /** Widget menu styling */
@@ -88,6 +90,7 @@ export interface WidgetMessagesTheme {
88
90
  export interface WidgetHeaderTheme {
89
91
  readonly background?: WidgetBackgroundTheme;
90
92
  readonly text?: WidgetTextTheme;
93
+ readonly subtitle?: WidgetTextTheme;
91
94
  readonly border?: WidgetBorderTheme;
92
95
  }
93
96
  export interface WidgetContentTheme {
@@ -128,3 +131,6 @@ export interface WidgetCarouselTheme {
128
131
  export interface WidgetBrandingTheme {
129
132
  readonly text?: WidgetTextTheme;
130
133
  }
134
+ export interface WidgetTextTypingStatusTheme {
135
+ readonly text?: WidgetTextTheme;
136
+ }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.44.0",
7
+ "version": "1.45.0",
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": "802d8780b6e367028965aed0376cd770613a0bb2"
41
+ "gitHead": "04276d7a6ca585cff4c5d97fdd4ced00699dec6d"
42
42
  }