@nlxai/touchpoint-ui 1.0.5-alpha.7 → 1.0.5-alpha.9
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/docs/README.md +17 -17
- package/docs/interfaces/CustomCardProps.md +3 -3
- package/docs/interfaces/CustomCardRowProps.md +3 -3
- package/docs/interfaces/DateInputProps.md +1 -1
- package/docs/interfaces/IconButtonProps.md +5 -5
- package/docs/interfaces/Icons.IconProps.md +2 -2
- package/docs/interfaces/TextButtonProps.md +5 -5
- package/docs/interfaces/Theme.md +25 -25
- package/docs/interfaces/TouchpointConfiguration.md +24 -12
- package/docs/interfaces/TouchpointInstance.md +3 -3
- package/docs/modules/Icons.md +41 -41
- package/lib/components/ErrorMessage.d.ts +4 -0
- package/lib/components/FullscreenVoice.d.ts +14 -3
- package/lib/components/VoiceMini.d.ts +6 -0
- package/lib/components/ui/Loader.d.ts +1 -1
- package/lib/index.js +6404 -6187
- package/lib/index.umd.js +50 -50
- package/lib/types.d.ts +9 -3
- package/lib/voice.d.ts +14 -4
- package/package.json +4 -4
package/docs/README.md
CHANGED
|
@@ -31,7 +31,7 @@ Represents the different types of icon buttons available in the application.
|
|
|
31
31
|
|
|
32
32
|
#### Defined in
|
|
33
33
|
|
|
34
|
-
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:16](https://github.com/nlxai/sdk/blob/
|
|
34
|
+
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:16](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L16)
|
|
35
35
|
|
|
36
36
|
___
|
|
37
37
|
|
|
@@ -43,7 +43,7 @@ Window size configuration
|
|
|
43
43
|
|
|
44
44
|
#### Defined in
|
|
45
45
|
|
|
46
|
-
[packages/touchpoint-ui/src/types.ts:7](https://github.com/nlxai/sdk/blob/
|
|
46
|
+
[packages/touchpoint-ui/src/types.ts:7](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L7)
|
|
47
47
|
|
|
48
48
|
___
|
|
49
49
|
|
|
@@ -55,7 +55,7 @@ Color mode configuration (light/dark modes)
|
|
|
55
55
|
|
|
56
56
|
#### Defined in
|
|
57
57
|
|
|
58
|
-
[packages/touchpoint-ui/src/types.ts:12](https://github.com/nlxai/sdk/blob/
|
|
58
|
+
[packages/touchpoint-ui/src/types.ts:12](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L12)
|
|
59
59
|
|
|
60
60
|
___
|
|
61
61
|
|
|
@@ -74,7 +74,7 @@ See: https://docs.studio.nlx.ai/build/resources/modalities
|
|
|
74
74
|
|
|
75
75
|
#### Defined in
|
|
76
76
|
|
|
77
|
-
[packages/touchpoint-ui/src/types.ts:36](https://github.com/nlxai/sdk/blob/
|
|
77
|
+
[packages/touchpoint-ui/src/types.ts:36](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L36)
|
|
78
78
|
|
|
79
79
|
___
|
|
80
80
|
|
|
@@ -100,7 +100,7 @@ Custom conversation init method. Defaults to sending the welcome intent
|
|
|
100
100
|
|
|
101
101
|
#### Defined in
|
|
102
102
|
|
|
103
|
-
[packages/touchpoint-ui/src/types.ts:169](https://github.com/nlxai/sdk/blob/
|
|
103
|
+
[packages/touchpoint-ui/src/types.ts:169](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L169)
|
|
104
104
|
|
|
105
105
|
## Functions
|
|
106
106
|
|
|
@@ -122,7 +122,7 @@ Custom conversation init method. Defaults to sending the welcome intent
|
|
|
122
122
|
|
|
123
123
|
#### Defined in
|
|
124
124
|
|
|
125
|
-
[packages/touchpoint-ui/src/components/ui/Carousel.tsx:5](https://github.com/nlxai/sdk/blob/
|
|
125
|
+
[packages/touchpoint-ui/src/components/ui/Carousel.tsx:5](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Carousel.tsx#L5)
|
|
126
126
|
|
|
127
127
|
___
|
|
128
128
|
|
|
@@ -143,7 +143,7 @@ ___
|
|
|
143
143
|
|
|
144
144
|
#### Defined in
|
|
145
145
|
|
|
146
|
-
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:25](https://github.com/nlxai/sdk/blob/
|
|
146
|
+
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:25](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L25)
|
|
147
147
|
|
|
148
148
|
___
|
|
149
149
|
|
|
@@ -166,7 +166,7 @@ ___
|
|
|
166
166
|
|
|
167
167
|
#### Defined in
|
|
168
168
|
|
|
169
|
-
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:44](https://github.com/nlxai/sdk/blob/
|
|
169
|
+
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:44](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L44)
|
|
170
170
|
|
|
171
171
|
___
|
|
172
172
|
|
|
@@ -187,7 +187,7 @@ ___
|
|
|
187
187
|
|
|
188
188
|
#### Defined in
|
|
189
189
|
|
|
190
|
-
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:69](https://github.com/nlxai/sdk/blob/
|
|
190
|
+
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:69](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L69)
|
|
191
191
|
|
|
192
192
|
___
|
|
193
193
|
|
|
@@ -208,7 +208,7 @@ ___
|
|
|
208
208
|
|
|
209
209
|
#### Defined in
|
|
210
210
|
|
|
211
|
-
[packages/touchpoint-ui/src/components/ui/DateInput.tsx:25](https://github.com/nlxai/sdk/blob/
|
|
211
|
+
[packages/touchpoint-ui/src/components/ui/DateInput.tsx:25](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/DateInput.tsx#L25)
|
|
212
212
|
|
|
213
213
|
___
|
|
214
214
|
|
|
@@ -229,7 +229,7 @@ ___
|
|
|
229
229
|
|
|
230
230
|
#### Defined in
|
|
231
231
|
|
|
232
|
-
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:67](https://github.com/nlxai/sdk/blob/
|
|
232
|
+
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:67](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L67)
|
|
233
233
|
|
|
234
234
|
___
|
|
235
235
|
|
|
@@ -250,7 +250,7 @@ ___
|
|
|
250
250
|
|
|
251
251
|
#### Defined in
|
|
252
252
|
|
|
253
|
-
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:33](https://github.com/nlxai/sdk/blob/
|
|
253
|
+
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:33](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L33)
|
|
254
254
|
|
|
255
255
|
___
|
|
256
256
|
|
|
@@ -273,7 +273,7 @@ ___
|
|
|
273
273
|
|
|
274
274
|
#### Defined in
|
|
275
275
|
|
|
276
|
-
[packages/touchpoint-ui/src/components/ui/Typography.tsx:5](https://github.com/nlxai/sdk/blob/
|
|
276
|
+
[packages/touchpoint-ui/src/components/ui/Typography.tsx:5](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Typography.tsx#L5)
|
|
277
277
|
|
|
278
278
|
___
|
|
279
279
|
|
|
@@ -295,7 +295,7 @@ ___
|
|
|
295
295
|
|
|
296
296
|
#### Defined in
|
|
297
297
|
|
|
298
|
-
[packages/touchpoint-ui/src/components/ui/Typography.tsx:16](https://github.com/nlxai/sdk/blob/
|
|
298
|
+
[packages/touchpoint-ui/src/components/ui/Typography.tsx:16](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Typography.tsx#L16)
|
|
299
299
|
|
|
300
300
|
___
|
|
301
301
|
|
|
@@ -316,7 +316,7 @@ ___
|
|
|
316
316
|
|
|
317
317
|
#### Defined in
|
|
318
318
|
|
|
319
|
-
[packages/touchpoint-ui/src/index.tsx:33](https://github.com/nlxai/sdk/blob/
|
|
319
|
+
[packages/touchpoint-ui/src/index.tsx:33](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/index.tsx#L33)
|
|
320
320
|
|
|
321
321
|
___
|
|
322
322
|
|
|
@@ -340,7 +340,7 @@ A promise that resolves to a TouchpointInstance
|
|
|
340
340
|
|
|
341
341
|
#### Defined in
|
|
342
342
|
|
|
343
|
-
[packages/touchpoint-ui/src/index.tsx:202](https://github.com/nlxai/sdk/blob/
|
|
343
|
+
[packages/touchpoint-ui/src/index.tsx:202](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/index.tsx#L202)
|
|
344
344
|
|
|
345
345
|
___
|
|
346
346
|
|
|
@@ -364,4 +364,4 @@ ___
|
|
|
364
364
|
|
|
365
365
|
#### Defined in
|
|
366
366
|
|
|
367
|
-
[packages/touchpoint-ui/src/preview.tsx:10](https://github.com/nlxai/sdk/blob/
|
|
367
|
+
[packages/touchpoint-ui/src/preview.tsx:10](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/preview.tsx#L10)
|
|
@@ -12,7 +12,7 @@ Content to be rendered inside the card.
|
|
|
12
12
|
|
|
13
13
|
#### Defined in
|
|
14
14
|
|
|
15
|
-
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:14](https://github.com/nlxai/sdk/blob/
|
|
15
|
+
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:14](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L14)
|
|
16
16
|
|
|
17
17
|
___
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ Whether the card is in a selected state. Used to highlight the card.
|
|
|
24
24
|
|
|
25
25
|
#### Defined in
|
|
26
26
|
|
|
27
|
-
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:18](https://github.com/nlxai/sdk/blob/
|
|
27
|
+
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:18](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L18)
|
|
28
28
|
|
|
29
29
|
___
|
|
30
30
|
|
|
@@ -44,4 +44,4 @@ Handler function for when the card is clicked
|
|
|
44
44
|
|
|
45
45
|
#### Defined in
|
|
46
46
|
|
|
47
|
-
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:22](https://github.com/nlxai/sdk/blob/
|
|
47
|
+
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:22](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L22)
|
|
@@ -12,7 +12,7 @@ Content to be displayed on the left side of the row
|
|
|
12
12
|
|
|
13
13
|
#### Defined in
|
|
14
14
|
|
|
15
|
-
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:58](https://github.com/nlxai/sdk/blob/
|
|
15
|
+
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:58](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L58)
|
|
16
16
|
|
|
17
17
|
___
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ Content to be displayed on the right side of the row
|
|
|
24
24
|
|
|
25
25
|
#### Defined in
|
|
26
26
|
|
|
27
|
-
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:62](https://github.com/nlxai/sdk/blob/
|
|
27
|
+
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:62](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L62)
|
|
28
28
|
|
|
29
29
|
___
|
|
30
30
|
|
|
@@ -36,4 +36,4 @@ Optional icon to be displayed in the center of the row
|
|
|
36
36
|
|
|
37
37
|
#### Defined in
|
|
38
38
|
|
|
39
|
-
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:66](https://github.com/nlxai/sdk/blob/
|
|
39
|
+
[packages/touchpoint-ui/src/components/ui/CustomCard.tsx:66](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/CustomCard.tsx#L66)
|
|
@@ -26,4 +26,4 @@ Handler function called when the date is submitted
|
|
|
26
26
|
|
|
27
27
|
#### Defined in
|
|
28
28
|
|
|
29
|
-
[packages/touchpoint-ui/src/components/ui/DateInput.tsx:16](https://github.com/nlxai/sdk/blob/
|
|
29
|
+
[packages/touchpoint-ui/src/components/ui/DateInput.tsx:16](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/DateInput.tsx#L16)
|
|
@@ -20,7 +20,7 @@ Handler function called when the button is clicked
|
|
|
20
20
|
|
|
21
21
|
#### Defined in
|
|
22
22
|
|
|
23
|
-
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:31](https://github.com/nlxai/sdk/blob/
|
|
23
|
+
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:31](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L31)
|
|
24
24
|
|
|
25
25
|
___
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ Accessible label for the button
|
|
|
32
32
|
|
|
33
33
|
#### Defined in
|
|
34
34
|
|
|
35
|
-
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:35](https://github.com/nlxai/sdk/blob/
|
|
35
|
+
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:35](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L35)
|
|
36
36
|
|
|
37
37
|
___
|
|
38
38
|
|
|
@@ -44,7 +44,7 @@ Additional CSS classes to apply to the button
|
|
|
44
44
|
|
|
45
45
|
#### Defined in
|
|
46
46
|
|
|
47
|
-
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:39](https://github.com/nlxai/sdk/blob/
|
|
47
|
+
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:39](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L39)
|
|
48
48
|
|
|
49
49
|
___
|
|
50
50
|
|
|
@@ -56,7 +56,7 @@ Visual style variant of the button. One of IconButtonType.
|
|
|
56
56
|
|
|
57
57
|
#### Defined in
|
|
58
58
|
|
|
59
|
-
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:43](https://github.com/nlxai/sdk/blob/
|
|
59
|
+
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:43](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L43)
|
|
60
60
|
|
|
61
61
|
___
|
|
62
62
|
|
|
@@ -68,4 +68,4 @@ Icon component to display inside the button
|
|
|
68
68
|
|
|
69
69
|
#### Defined in
|
|
70
70
|
|
|
71
|
-
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:47](https://github.com/nlxai/sdk/blob/
|
|
71
|
+
[packages/touchpoint-ui/src/components/ui/IconButton.tsx:47](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/IconButton.tsx#L47)
|
|
@@ -14,7 +14,7 @@ Additional CSS classes to apply to the icon
|
|
|
14
14
|
|
|
15
15
|
#### Defined in
|
|
16
16
|
|
|
17
|
-
[packages/touchpoint-ui/src/components/ui/Icons.tsx:11](https://github.com/nlxai/sdk/blob/
|
|
17
|
+
[packages/touchpoint-ui/src/components/ui/Icons.tsx:11](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L11)
|
|
18
18
|
|
|
19
19
|
___
|
|
20
20
|
|
|
@@ -26,4 +26,4 @@ Custom size in pixels for the icon
|
|
|
26
26
|
|
|
27
27
|
#### Defined in
|
|
28
28
|
|
|
29
|
-
[packages/touchpoint-ui/src/components/ui/Icons.tsx:15](https://github.com/nlxai/sdk/blob/
|
|
29
|
+
[packages/touchpoint-ui/src/components/ui/Icons.tsx:15](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/Icons.tsx#L15)
|
|
@@ -20,7 +20,7 @@ Handler function called when the button is clicked
|
|
|
20
20
|
|
|
21
21
|
#### Defined in
|
|
22
22
|
|
|
23
|
-
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:13](https://github.com/nlxai/sdk/blob/
|
|
23
|
+
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:13](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L13)
|
|
24
24
|
|
|
25
25
|
___
|
|
26
26
|
|
|
@@ -32,7 +32,7 @@ Text to display on the button
|
|
|
32
32
|
|
|
33
33
|
#### Defined in
|
|
34
34
|
|
|
35
|
-
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:17](https://github.com/nlxai/sdk/blob/
|
|
35
|
+
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:17](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L17)
|
|
36
36
|
|
|
37
37
|
___
|
|
38
38
|
|
|
@@ -44,7 +44,7 @@ Additional CSS classes to apply to the button
|
|
|
44
44
|
|
|
45
45
|
#### Defined in
|
|
46
46
|
|
|
47
|
-
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:21](https://github.com/nlxai/sdk/blob/
|
|
47
|
+
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:21](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L21)
|
|
48
48
|
|
|
49
49
|
___
|
|
50
50
|
|
|
@@ -57,7 +57,7 @@ Default value is "ghost"
|
|
|
57
57
|
|
|
58
58
|
#### Defined in
|
|
59
59
|
|
|
60
|
-
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:26](https://github.com/nlxai/sdk/blob/
|
|
60
|
+
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:26](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L26)
|
|
61
61
|
|
|
62
62
|
___
|
|
63
63
|
|
|
@@ -69,4 +69,4 @@ Icon component to display inside the button.
|
|
|
69
69
|
|
|
70
70
|
#### Defined in
|
|
71
71
|
|
|
72
|
-
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:30](https://github.com/nlxai/sdk/blob/
|
|
72
|
+
[packages/touchpoint-ui/src/components/ui/TextButton.tsx:30](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/components/ui/TextButton.tsx#L30)
|
package/docs/interfaces/Theme.md
CHANGED
|
@@ -12,7 +12,7 @@ Font family
|
|
|
12
12
|
|
|
13
13
|
#### Defined in
|
|
14
14
|
|
|
15
|
-
[packages/touchpoint-ui/src/types.ts:61](https://github.com/nlxai/sdk/blob/
|
|
15
|
+
[packages/touchpoint-ui/src/types.ts:61](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L61)
|
|
16
16
|
|
|
17
17
|
___
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ Primary color with 80% opacity
|
|
|
24
24
|
|
|
25
25
|
#### Defined in
|
|
26
26
|
|
|
27
|
-
[packages/touchpoint-ui/src/types.ts:66](https://github.com/nlxai/sdk/blob/
|
|
27
|
+
[packages/touchpoint-ui/src/types.ts:66](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L66)
|
|
28
28
|
|
|
29
29
|
___
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ Primary color with 60% opacity
|
|
|
36
36
|
|
|
37
37
|
#### Defined in
|
|
38
38
|
|
|
39
|
-
[packages/touchpoint-ui/src/types.ts:70](https://github.com/nlxai/sdk/blob/
|
|
39
|
+
[packages/touchpoint-ui/src/types.ts:70](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L70)
|
|
40
40
|
|
|
41
41
|
___
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ Primary color with 40% opacity
|
|
|
48
48
|
|
|
49
49
|
#### Defined in
|
|
50
50
|
|
|
51
|
-
[packages/touchpoint-ui/src/types.ts:74](https://github.com/nlxai/sdk/blob/
|
|
51
|
+
[packages/touchpoint-ui/src/types.ts:74](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L74)
|
|
52
52
|
|
|
53
53
|
___
|
|
54
54
|
|
|
@@ -60,7 +60,7 @@ Primary color with 20% opacity
|
|
|
60
60
|
|
|
61
61
|
#### Defined in
|
|
62
62
|
|
|
63
|
-
[packages/touchpoint-ui/src/types.ts:78](https://github.com/nlxai/sdk/blob/
|
|
63
|
+
[packages/touchpoint-ui/src/types.ts:78](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L78)
|
|
64
64
|
|
|
65
65
|
___
|
|
66
66
|
|
|
@@ -72,7 +72,7 @@ Primary color with 10% opacity
|
|
|
72
72
|
|
|
73
73
|
#### Defined in
|
|
74
74
|
|
|
75
|
-
[packages/touchpoint-ui/src/types.ts:82](https://github.com/nlxai/sdk/blob/
|
|
75
|
+
[packages/touchpoint-ui/src/types.ts:82](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L82)
|
|
76
76
|
|
|
77
77
|
___
|
|
78
78
|
|
|
@@ -84,7 +84,7 @@ Primary color with 5% opacity
|
|
|
84
84
|
|
|
85
85
|
#### Defined in
|
|
86
86
|
|
|
87
|
-
[packages/touchpoint-ui/src/types.ts:86](https://github.com/nlxai/sdk/blob/
|
|
87
|
+
[packages/touchpoint-ui/src/types.ts:86](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L86)
|
|
88
88
|
|
|
89
89
|
___
|
|
90
90
|
|
|
@@ -96,7 +96,7 @@ Primary color with 1% opacity
|
|
|
96
96
|
|
|
97
97
|
#### Defined in
|
|
98
98
|
|
|
99
|
-
[packages/touchpoint-ui/src/types.ts:90](https://github.com/nlxai/sdk/blob/
|
|
99
|
+
[packages/touchpoint-ui/src/types.ts:90](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L90)
|
|
100
100
|
|
|
101
101
|
___
|
|
102
102
|
|
|
@@ -108,7 +108,7 @@ Secondary color with 80% opacity
|
|
|
108
108
|
|
|
109
109
|
#### Defined in
|
|
110
110
|
|
|
111
|
-
[packages/touchpoint-ui/src/types.ts:95](https://github.com/nlxai/sdk/blob/
|
|
111
|
+
[packages/touchpoint-ui/src/types.ts:95](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L95)
|
|
112
112
|
|
|
113
113
|
___
|
|
114
114
|
|
|
@@ -120,7 +120,7 @@ Secondary color with 60% opacity
|
|
|
120
120
|
|
|
121
121
|
#### Defined in
|
|
122
122
|
|
|
123
|
-
[packages/touchpoint-ui/src/types.ts:99](https://github.com/nlxai/sdk/blob/
|
|
123
|
+
[packages/touchpoint-ui/src/types.ts:99](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L99)
|
|
124
124
|
|
|
125
125
|
___
|
|
126
126
|
|
|
@@ -132,7 +132,7 @@ Secondary color with 40% opacity
|
|
|
132
132
|
|
|
133
133
|
#### Defined in
|
|
134
134
|
|
|
135
|
-
[packages/touchpoint-ui/src/types.ts:103](https://github.com/nlxai/sdk/blob/
|
|
135
|
+
[packages/touchpoint-ui/src/types.ts:103](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L103)
|
|
136
136
|
|
|
137
137
|
___
|
|
138
138
|
|
|
@@ -144,7 +144,7 @@ Secondary color with 20% opacity
|
|
|
144
144
|
|
|
145
145
|
#### Defined in
|
|
146
146
|
|
|
147
|
-
[packages/touchpoint-ui/src/types.ts:107](https://github.com/nlxai/sdk/blob/
|
|
147
|
+
[packages/touchpoint-ui/src/types.ts:107](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L107)
|
|
148
148
|
|
|
149
149
|
___
|
|
150
150
|
|
|
@@ -156,7 +156,7 @@ Secondary color with 10% opacity
|
|
|
156
156
|
|
|
157
157
|
#### Defined in
|
|
158
158
|
|
|
159
|
-
[packages/touchpoint-ui/src/types.ts:111](https://github.com/nlxai/sdk/blob/
|
|
159
|
+
[packages/touchpoint-ui/src/types.ts:111](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L111)
|
|
160
160
|
|
|
161
161
|
___
|
|
162
162
|
|
|
@@ -168,7 +168,7 @@ Secondary color with 5% opacity
|
|
|
168
168
|
|
|
169
169
|
#### Defined in
|
|
170
170
|
|
|
171
|
-
[packages/touchpoint-ui/src/types.ts:115](https://github.com/nlxai/sdk/blob/
|
|
171
|
+
[packages/touchpoint-ui/src/types.ts:115](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L115)
|
|
172
172
|
|
|
173
173
|
___
|
|
174
174
|
|
|
@@ -180,7 +180,7 @@ Secondary color with 1% opacity
|
|
|
180
180
|
|
|
181
181
|
#### Defined in
|
|
182
182
|
|
|
183
|
-
[packages/touchpoint-ui/src/types.ts:119](https://github.com/nlxai/sdk/blob/
|
|
183
|
+
[packages/touchpoint-ui/src/types.ts:119](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L119)
|
|
184
184
|
|
|
185
185
|
___
|
|
186
186
|
|
|
@@ -192,7 +192,7 @@ Accent color used e.g. for prominent buttons, the loader animation as well as se
|
|
|
192
192
|
|
|
193
193
|
#### Defined in
|
|
194
194
|
|
|
195
|
-
[packages/touchpoint-ui/src/types.ts:124](https://github.com/nlxai/sdk/blob/
|
|
195
|
+
[packages/touchpoint-ui/src/types.ts:124](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L124)
|
|
196
196
|
|
|
197
197
|
___
|
|
198
198
|
|
|
@@ -204,7 +204,7 @@ Accent color with 20% opacity
|
|
|
204
204
|
|
|
205
205
|
#### Defined in
|
|
206
206
|
|
|
207
|
-
[packages/touchpoint-ui/src/types.ts:128](https://github.com/nlxai/sdk/blob/
|
|
207
|
+
[packages/touchpoint-ui/src/types.ts:128](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L128)
|
|
208
208
|
|
|
209
209
|
___
|
|
210
210
|
|
|
@@ -216,7 +216,7 @@ The background color of the main Touchpoint interface
|
|
|
216
216
|
|
|
217
217
|
#### Defined in
|
|
218
218
|
|
|
219
|
-
[packages/touchpoint-ui/src/types.ts:132](https://github.com/nlxai/sdk/blob/
|
|
219
|
+
[packages/touchpoint-ui/src/types.ts:132](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L132)
|
|
220
220
|
|
|
221
221
|
___
|
|
222
222
|
|
|
@@ -228,7 +228,7 @@ The color of the overlay covering the visible portion of the website when the To
|
|
|
228
228
|
|
|
229
229
|
#### Defined in
|
|
230
230
|
|
|
231
|
-
[packages/touchpoint-ui/src/types.ts:136](https://github.com/nlxai/sdk/blob/
|
|
231
|
+
[packages/touchpoint-ui/src/types.ts:136](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L136)
|
|
232
232
|
|
|
233
233
|
___
|
|
234
234
|
|
|
@@ -240,7 +240,7 @@ Primary warning color
|
|
|
240
240
|
|
|
241
241
|
#### Defined in
|
|
242
242
|
|
|
243
|
-
[packages/touchpoint-ui/src/types.ts:141](https://github.com/nlxai/sdk/blob/
|
|
243
|
+
[packages/touchpoint-ui/src/types.ts:141](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L141)
|
|
244
244
|
|
|
245
245
|
___
|
|
246
246
|
|
|
@@ -252,7 +252,7 @@ Secondary warning color
|
|
|
252
252
|
|
|
253
253
|
#### Defined in
|
|
254
254
|
|
|
255
|
-
[packages/touchpoint-ui/src/types.ts:145](https://github.com/nlxai/sdk/blob/
|
|
255
|
+
[packages/touchpoint-ui/src/types.ts:145](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L145)
|
|
256
256
|
|
|
257
257
|
___
|
|
258
258
|
|
|
@@ -264,7 +264,7 @@ Primary error color
|
|
|
264
264
|
|
|
265
265
|
#### Defined in
|
|
266
266
|
|
|
267
|
-
[packages/touchpoint-ui/src/types.ts:149](https://github.com/nlxai/sdk/blob/
|
|
267
|
+
[packages/touchpoint-ui/src/types.ts:149](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L149)
|
|
268
268
|
|
|
269
269
|
___
|
|
270
270
|
|
|
@@ -276,7 +276,7 @@ Secondary error color
|
|
|
276
276
|
|
|
277
277
|
#### Defined in
|
|
278
278
|
|
|
279
|
-
[packages/touchpoint-ui/src/types.ts:153](https://github.com/nlxai/sdk/blob/
|
|
279
|
+
[packages/touchpoint-ui/src/types.ts:153](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L153)
|
|
280
280
|
|
|
281
281
|
___
|
|
282
282
|
|
|
@@ -288,7 +288,7 @@ Inner border radius: used for most buttons
|
|
|
288
288
|
|
|
289
289
|
#### Defined in
|
|
290
290
|
|
|
291
|
-
[packages/touchpoint-ui/src/types.ts:158](https://github.com/nlxai/sdk/blob/
|
|
291
|
+
[packages/touchpoint-ui/src/types.ts:158](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L158)
|
|
292
292
|
|
|
293
293
|
___
|
|
294
294
|
|
|
@@ -300,4 +300,4 @@ Outer border radius: generally used for elements that contain buttons that have
|
|
|
300
300
|
|
|
301
301
|
#### Defined in
|
|
302
302
|
|
|
303
|
-
[packages/touchpoint-ui/src/types.ts:162](https://github.com/nlxai/sdk/blob/
|
|
303
|
+
[packages/touchpoint-ui/src/types.ts:162](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L162)
|
|
@@ -12,7 +12,7 @@ Connection information for the @nlxai/chat-core conversation handler
|
|
|
12
12
|
|
|
13
13
|
#### Defined in
|
|
14
14
|
|
|
15
|
-
[packages/touchpoint-ui/src/types.ts:178](https://github.com/nlxai/sdk/blob/
|
|
15
|
+
[packages/touchpoint-ui/src/types.ts:178](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L178)
|
|
16
16
|
|
|
17
17
|
___
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ Optional window size for the chat window, defaults to `half`
|
|
|
24
24
|
|
|
25
25
|
#### Defined in
|
|
26
26
|
|
|
27
|
-
[packages/touchpoint-ui/src/types.ts:182](https://github.com/nlxai/sdk/blob/
|
|
27
|
+
[packages/touchpoint-ui/src/types.ts:182](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L182)
|
|
28
28
|
|
|
29
29
|
___
|
|
30
30
|
|
|
@@ -36,7 +36,7 @@ Optional color mode for the chat window, defaults to `dark`
|
|
|
36
36
|
|
|
37
37
|
#### Defined in
|
|
38
38
|
|
|
39
|
-
[packages/touchpoint-ui/src/types.ts:186](https://github.com/nlxai/sdk/blob/
|
|
39
|
+
[packages/touchpoint-ui/src/types.ts:186](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L186)
|
|
40
40
|
|
|
41
41
|
___
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ URL of icon used to display the brand in the chat header
|
|
|
48
48
|
|
|
49
49
|
#### Defined in
|
|
50
50
|
|
|
51
|
-
[packages/touchpoint-ui/src/types.ts:190](https://github.com/nlxai/sdk/blob/
|
|
51
|
+
[packages/touchpoint-ui/src/types.ts:190](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L190)
|
|
52
52
|
|
|
53
53
|
___
|
|
54
54
|
|
|
@@ -62,7 +62,7 @@ When set to `false`, no launch button is shown at all. When not set or set to `t
|
|
|
62
62
|
|
|
63
63
|
#### Defined in
|
|
64
64
|
|
|
65
|
-
[packages/touchpoint-ui/src/types.ts:196](https://github.com/nlxai/sdk/blob/
|
|
65
|
+
[packages/touchpoint-ui/src/types.ts:196](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L196)
|
|
66
66
|
|
|
67
67
|
___
|
|
68
68
|
|
|
@@ -74,7 +74,7 @@ Specifies whether the user message has bubbles or not
|
|
|
74
74
|
|
|
75
75
|
#### Defined in
|
|
76
76
|
|
|
77
|
-
[packages/touchpoint-ui/src/types.ts:200](https://github.com/nlxai/sdk/blob/
|
|
77
|
+
[packages/touchpoint-ui/src/types.ts:200](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L200)
|
|
78
78
|
|
|
79
79
|
___
|
|
80
80
|
|
|
@@ -86,7 +86,19 @@ Specifies whether the agent message has bubbles or not
|
|
|
86
86
|
|
|
87
87
|
#### Defined in
|
|
88
88
|
|
|
89
|
-
[packages/touchpoint-ui/src/types.ts:204](https://github.com/nlxai/sdk/blob/
|
|
89
|
+
[packages/touchpoint-ui/src/types.ts:204](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L204)
|
|
90
|
+
|
|
91
|
+
___
|
|
92
|
+
|
|
93
|
+
### chatMode
|
|
94
|
+
|
|
95
|
+
• `Optional` **chatMode**: `boolean`
|
|
96
|
+
|
|
97
|
+
Enables chat mode, a classic chat experience with inline loaders and the chat history visible at all times.
|
|
98
|
+
|
|
99
|
+
#### Defined in
|
|
100
|
+
|
|
101
|
+
[packages/touchpoint-ui/src/types.ts:208](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L208)
|
|
90
102
|
|
|
91
103
|
___
|
|
92
104
|
|
|
@@ -98,7 +110,7 @@ Optional theme object to override default theme values
|
|
|
98
110
|
|
|
99
111
|
#### Defined in
|
|
100
112
|
|
|
101
|
-
[packages/touchpoint-ui/src/types.ts:
|
|
113
|
+
[packages/touchpoint-ui/src/types.ts:212](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L212)
|
|
102
114
|
|
|
103
115
|
___
|
|
104
116
|
|
|
@@ -110,7 +122,7 @@ Optional custom modality components to render in Touchpoint
|
|
|
110
122
|
|
|
111
123
|
#### Defined in
|
|
112
124
|
|
|
113
|
-
[packages/touchpoint-ui/src/types.ts:
|
|
125
|
+
[packages/touchpoint-ui/src/types.ts:216](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L216)
|
|
114
126
|
|
|
115
127
|
___
|
|
116
128
|
|
|
@@ -126,16 +138,16 @@ the conversation handler.
|
|
|
126
138
|
|
|
127
139
|
#### Defined in
|
|
128
140
|
|
|
129
|
-
[packages/touchpoint-ui/src/types.ts:
|
|
141
|
+
[packages/touchpoint-ui/src/types.ts:221](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L221)
|
|
130
142
|
|
|
131
143
|
___
|
|
132
144
|
|
|
133
145
|
### input
|
|
134
146
|
|
|
135
|
-
• `Optional` **input**: ``"text"`` \| ``"voice"``
|
|
147
|
+
• `Optional` **input**: ``"text"`` \| ``"voice"`` \| ``"voiceMini"``
|
|
136
148
|
|
|
137
149
|
Controls the ways in which the user can communicate with the application. Defaults to `"text"`
|
|
138
150
|
|
|
139
151
|
#### Defined in
|
|
140
152
|
|
|
141
|
-
[packages/touchpoint-ui/src/types.ts:
|
|
153
|
+
[packages/touchpoint-ui/src/types.ts:225](https://github.com/nlxai/sdk/blob/4ed1b691443f6f0d50583f93b653454e560516a7/packages/touchpoint-ui/src/types.ts#L225)
|