@nlxai/touchpoint-ui 1.2.5 → 1.2.6
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/.eslintrc.cjs +1 -1
- package/README.md +8 -0
- package/lib/components/FullscreenVoice.d.ts +1 -4
- package/lib/index.js +2568 -2568
- package/lib/index.umd.js +38 -38
- package/lib/interface.d.ts +4 -0
- package/package.json +5 -6
- package/docs/@nlxai/namespaces/Icons.md +0 -377
- package/docs/@nlxai/namespaces/React/README.md +0 -221390
- package/docs/@nlxai/namespaces/React/namespaces/JSX.md +0 -3050
- package/docs/README.md +0 -1394
package/lib/interface.d.ts
CHANGED
|
@@ -462,6 +462,10 @@ export interface BidirectionalCustomCommand {
|
|
|
462
462
|
* Should follow the JSONSchema specification.
|
|
463
463
|
*/
|
|
464
464
|
schema?: any;
|
|
465
|
+
/**
|
|
466
|
+
* Any additional input data that the LLM should have.
|
|
467
|
+
*/
|
|
468
|
+
input?: any;
|
|
465
469
|
/**
|
|
466
470
|
* A handler that will be called with an argument matching the schema when the command is invoked.
|
|
467
471
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nlxai/touchpoint-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "Web UI for Touchpoint",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"design-system": "vite --mode design-system",
|
|
15
15
|
"build": "tsc && vite build",
|
|
16
16
|
"docs": "rm -rf docs/ && typedoc && concat-md --decrease-title-levels --dir-name-as-title docs/ > docs/index.md",
|
|
17
|
-
"lint:check": "eslint src/ --ext .ts,.tsx,.js,.jsx --max-warnings 0
|
|
17
|
+
"lint:check": "eslint src/ --ext .ts,.tsx,.js,.jsx --max-warnings 0",
|
|
18
18
|
"prepublish": "npm run build",
|
|
19
19
|
"lint": "eslint src/ --ext .ts,.tsx,.js,.jsx --fix",
|
|
20
20
|
"format": "git ls-files | grep -E '\\.(js|jsx|ts|tsx|css|html)$' | xargs prettier --write",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@base-ui/react": "^1.1.0",
|
|
31
|
-
"@nlxai/core": "^1.2.
|
|
31
|
+
"@nlxai/core": "^1.2.6",
|
|
32
32
|
"@react-hookz/web": "^25.0.1",
|
|
33
33
|
"@react-input/mask": "^2.0.4",
|
|
34
34
|
"@rive-app/webgl2": "^2.31.5",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"react-textarea-autosize": "^8.5.6"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@
|
|
49
|
+
"@nlxai/eslint-config": "*",
|
|
50
50
|
"@rollup/plugin-replace": "^6.0.2",
|
|
51
51
|
"@tailwindcss/vite": "^4.1.16",
|
|
52
52
|
"@testing-library/react": "^16.3.1",
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
"@vitejs/plugin-react": "^4.2.1",
|
|
60
60
|
"@vitest/ui": "^3.2.4",
|
|
61
61
|
"dom-accessibility-api": "^0.7.0",
|
|
62
|
-
"eslint-config-nlx": "*",
|
|
63
62
|
"jsdom": "^27.0.1",
|
|
64
63
|
"tailwindcss": "^4.1.16",
|
|
65
64
|
"typedoc": "^0.28.14",
|
|
@@ -73,5 +72,5 @@
|
|
|
73
72
|
"publishConfig": {
|
|
74
73
|
"access": "public"
|
|
75
74
|
},
|
|
76
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "fb9a0b00ca2184fb69ffd1e11e8f55d30fe1d85e"
|
|
77
76
|
}
|
|
@@ -1,377 +0,0 @@
|
|
|
1
|
-
## Variables
|
|
2
|
-
|
|
3
|
-
### Action
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
const Action: Icon;
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
### Touchpoint
|
|
12
|
-
|
|
13
|
-
```ts
|
|
14
|
-
const Touchpoint: Icon;
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
---
|
|
18
|
-
|
|
19
|
-
### AssistantOld
|
|
20
|
-
|
|
21
|
-
```ts
|
|
22
|
-
const AssistantOld: Icon;
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
### Add
|
|
28
|
-
|
|
29
|
-
```ts
|
|
30
|
-
const Add: Icon;
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
---
|
|
34
|
-
|
|
35
|
-
### ArrowDown
|
|
36
|
-
|
|
37
|
-
```ts
|
|
38
|
-
const ArrowDown: Icon;
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
---
|
|
42
|
-
|
|
43
|
-
### ArrowLeft
|
|
44
|
-
|
|
45
|
-
```ts
|
|
46
|
-
const ArrowLeft: Icon;
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
### ArrowRight
|
|
52
|
-
|
|
53
|
-
```ts
|
|
54
|
-
const ArrowRight: Icon;
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
### ArrowUp
|
|
60
|
-
|
|
61
|
-
```ts
|
|
62
|
-
const ArrowUp: Icon;
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
### ArrowForward
|
|
68
|
-
|
|
69
|
-
```ts
|
|
70
|
-
const ArrowForward: Icon;
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
---
|
|
74
|
-
|
|
75
|
-
### Attachment
|
|
76
|
-
|
|
77
|
-
```ts
|
|
78
|
-
const Attachment: Icon;
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
### BotMessage
|
|
84
|
-
|
|
85
|
-
```ts
|
|
86
|
-
const BotMessage: Icon;
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
---
|
|
90
|
-
|
|
91
|
-
### Camera
|
|
92
|
-
|
|
93
|
-
```ts
|
|
94
|
-
const Camera: Icon;
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
### Check
|
|
100
|
-
|
|
101
|
-
```ts
|
|
102
|
-
const Check: Icon;
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
### Close
|
|
108
|
-
|
|
109
|
-
```ts
|
|
110
|
-
const Close: Icon;
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
---
|
|
114
|
-
|
|
115
|
-
### Copy
|
|
116
|
-
|
|
117
|
-
```ts
|
|
118
|
-
const Copy: Icon;
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
---
|
|
122
|
-
|
|
123
|
-
### Date
|
|
124
|
-
|
|
125
|
-
```ts
|
|
126
|
-
const Date: Icon;
|
|
127
|
-
```
|
|
128
|
-
|
|
129
|
-
---
|
|
130
|
-
|
|
131
|
-
### Delete
|
|
132
|
-
|
|
133
|
-
```ts
|
|
134
|
-
const Delete: Icon;
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
### Edit
|
|
140
|
-
|
|
141
|
-
```ts
|
|
142
|
-
const Edit: Icon;
|
|
143
|
-
```
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
### Escalate
|
|
148
|
-
|
|
149
|
-
```ts
|
|
150
|
-
const Escalate: Icon;
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
---
|
|
154
|
-
|
|
155
|
-
### Error
|
|
156
|
-
|
|
157
|
-
```ts
|
|
158
|
-
const Error: Icon;
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
---
|
|
162
|
-
|
|
163
|
-
### FullScreen
|
|
164
|
-
|
|
165
|
-
```ts
|
|
166
|
-
const FullScreen: Icon;
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
### Mic
|
|
172
|
-
|
|
173
|
-
```ts
|
|
174
|
-
const Mic: Icon;
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
---
|
|
178
|
-
|
|
179
|
-
### MicOff
|
|
180
|
-
|
|
181
|
-
```ts
|
|
182
|
-
const MicOff: Icon;
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
---
|
|
186
|
-
|
|
187
|
-
### Location
|
|
188
|
-
|
|
189
|
-
```ts
|
|
190
|
-
const Location: Icon;
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
---
|
|
194
|
-
|
|
195
|
-
### Volume
|
|
196
|
-
|
|
197
|
-
```ts
|
|
198
|
-
const Volume: Icon;
|
|
199
|
-
```
|
|
200
|
-
|
|
201
|
-
---
|
|
202
|
-
|
|
203
|
-
### VolumeOff
|
|
204
|
-
|
|
205
|
-
```ts
|
|
206
|
-
const VolumeOff: Icon;
|
|
207
|
-
```
|
|
208
|
-
|
|
209
|
-
---
|
|
210
|
-
|
|
211
|
-
### Translate
|
|
212
|
-
|
|
213
|
-
```ts
|
|
214
|
-
const Translate: Icon;
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
---
|
|
218
|
-
|
|
219
|
-
### OpenInNew
|
|
220
|
-
|
|
221
|
-
```ts
|
|
222
|
-
const OpenInNew: Icon;
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
---
|
|
226
|
-
|
|
227
|
-
### Play
|
|
228
|
-
|
|
229
|
-
```ts
|
|
230
|
-
const Play: Icon;
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
---
|
|
234
|
-
|
|
235
|
-
### Preview
|
|
236
|
-
|
|
237
|
-
```ts
|
|
238
|
-
const Preview: Icon;
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
---
|
|
242
|
-
|
|
243
|
-
### Reorder
|
|
244
|
-
|
|
245
|
-
```ts
|
|
246
|
-
const Reorder: Icon;
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
---
|
|
250
|
-
|
|
251
|
-
### Restart
|
|
252
|
-
|
|
253
|
-
```ts
|
|
254
|
-
const Restart: Icon;
|
|
255
|
-
```
|
|
256
|
-
|
|
257
|
-
---
|
|
258
|
-
|
|
259
|
-
### Settings
|
|
260
|
-
|
|
261
|
-
```ts
|
|
262
|
-
const Settings: Icon;
|
|
263
|
-
```
|
|
264
|
-
|
|
265
|
-
---
|
|
266
|
-
|
|
267
|
-
### Search
|
|
268
|
-
|
|
269
|
-
```ts
|
|
270
|
-
const Search: Icon;
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
---
|
|
274
|
-
|
|
275
|
-
### Share
|
|
276
|
-
|
|
277
|
-
```ts
|
|
278
|
-
const Share: Icon;
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
---
|
|
282
|
-
|
|
283
|
-
### Warning
|
|
284
|
-
|
|
285
|
-
```ts
|
|
286
|
-
const Warning: Icon;
|
|
287
|
-
```
|
|
288
|
-
|
|
289
|
-
---
|
|
290
|
-
|
|
291
|
-
### ThumbDown
|
|
292
|
-
|
|
293
|
-
```ts
|
|
294
|
-
const ThumbDown: Icon;
|
|
295
|
-
```
|
|
296
|
-
|
|
297
|
-
---
|
|
298
|
-
|
|
299
|
-
### ThumbUp
|
|
300
|
-
|
|
301
|
-
```ts
|
|
302
|
-
const ThumbUp: Icon;
|
|
303
|
-
```
|
|
304
|
-
|
|
305
|
-
---
|
|
306
|
-
|
|
307
|
-
### Time
|
|
308
|
-
|
|
309
|
-
```ts
|
|
310
|
-
const Time: Icon;
|
|
311
|
-
```
|
|
312
|
-
|
|
313
|
-
---
|
|
314
|
-
|
|
315
|
-
### Undo
|
|
316
|
-
|
|
317
|
-
```ts
|
|
318
|
-
const Undo: Icon;
|
|
319
|
-
```
|
|
320
|
-
|
|
321
|
-
---
|
|
322
|
-
|
|
323
|
-
### Refresh
|
|
324
|
-
|
|
325
|
-
```ts
|
|
326
|
-
const Refresh: Icon;
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
---
|
|
330
|
-
|
|
331
|
-
### Help
|
|
332
|
-
|
|
333
|
-
```ts
|
|
334
|
-
const Help: Icon;
|
|
335
|
-
```
|
|
336
|
-
|
|
337
|
-
---
|
|
338
|
-
|
|
339
|
-
### OpenLink
|
|
340
|
-
|
|
341
|
-
```ts
|
|
342
|
-
const OpenLink: Icon;
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
## Interfaces
|
|
346
|
-
|
|
347
|
-
### IconProps
|
|
348
|
-
|
|
349
|
-
Props for icon components
|
|
350
|
-
|
|
351
|
-
#### Properties
|
|
352
|
-
|
|
353
|
-
##### className?
|
|
354
|
-
|
|
355
|
-
```ts
|
|
356
|
-
optional className: string;
|
|
357
|
-
```
|
|
358
|
-
|
|
359
|
-
Additional CSS classes to apply to the icon
|
|
360
|
-
|
|
361
|
-
##### size?
|
|
362
|
-
|
|
363
|
-
```ts
|
|
364
|
-
optional size: number;
|
|
365
|
-
```
|
|
366
|
-
|
|
367
|
-
Custom size in pixels for the icon
|
|
368
|
-
|
|
369
|
-
## Type Aliases
|
|
370
|
-
|
|
371
|
-
### Icon
|
|
372
|
-
|
|
373
|
-
```ts
|
|
374
|
-
type Icon = FC<IconProps>;
|
|
375
|
-
```
|
|
376
|
-
|
|
377
|
-
Type definition for an icon component
|