@xapp/stentor-chat-widget 1.81.5 → 1.82.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 +6 -0
- package/package.json +5 -5
package/lib/WidgetEnv.d.ts
CHANGED
|
@@ -330,6 +330,12 @@ export interface WidgetMenuConfig {
|
|
|
330
330
|
export interface WidgetInputConfig {
|
|
331
331
|
readonly placeholder?: string;
|
|
332
332
|
readonly tabIndex?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Maximum number of characters allowed in the input field.
|
|
335
|
+
* When set, a character counter will be displayed showing current/max characters.
|
|
336
|
+
* Users will be prevented from typing beyond this limit.
|
|
337
|
+
*/
|
|
338
|
+
readonly maxLength?: number;
|
|
333
339
|
}
|
|
334
340
|
export interface WidgetMenuItemConfig {
|
|
335
341
|
readonly label: string;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.82.1",
|
|
8
8
|
"description": "Chat Widget channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"mocha": "9.2.2",
|
|
25
25
|
"sinon": "13.0.2",
|
|
26
26
|
"sinon-chai": "3.7.0",
|
|
27
|
-
"stentor-models": "1.
|
|
27
|
+
"stentor-models": "1.67.0",
|
|
28
28
|
"ts-node": "10.9.2",
|
|
29
29
|
"typescript": "5.9.3"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"stentor-constants": "1.
|
|
33
|
-
"stentor-guards": "1.
|
|
32
|
+
"stentor-constants": "1.67.0",
|
|
33
|
+
"stentor-guards": "1.67.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"react": "^18.0.0 || ^19.0.0",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"build": "tsc -d true -p .",
|
|
41
41
|
"clean": "rm -rf ./lib/*"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "568eaf1518bfe2aa4dc0f8f14effd0616c2cb63a"
|
|
44
44
|
}
|