@nlxai/touchpoint-ui 1.2.4-alpha.1 → 1.2.4-alpha.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.
- package/README.md +3 -1
- package/docs/@nlxai/namespaces/Icons.md +377 -0
- package/docs/@nlxai/namespaces/React/README.md +221390 -0
- package/docs/@nlxai/namespaces/React/namespaces/JSX.md +3050 -0
- package/docs/README.md +1143 -268
- package/lib/components/Messages.d.ts +1 -0
- package/lib/index.js +6024 -5994
- package/lib/index.umd.js +53 -53
- package/package.json +3 -3
- package/docs/.nojekyll +0 -1
- package/docs/interfaces/BidirectionalContext.md +0 -51
- package/docs/interfaces/BidirectionalCustomCommand.md +0 -79
- package/docs/interfaces/ChoiceMessage.md +0 -39
- package/docs/interfaces/CustomCardProps.md +0 -83
- package/docs/interfaces/CustomCardRowProps.md +0 -39
- package/docs/interfaces/DateInputProps.md +0 -41
- package/docs/interfaces/IconButtonProps.md +0 -71
- package/docs/interfaces/Icons.IconProps.md +0 -29
- package/docs/interfaces/InputField.md +0 -27
- package/docs/interfaces/InteractiveElementInfo.md +0 -21
- package/docs/interfaces/PageForms.md +0 -27
- package/docs/interfaces/PageState.md +0 -39
- package/docs/interfaces/TextButtonProps.md +0 -72
- package/docs/interfaces/Theme.md +0 -303
- package/docs/interfaces/TouchpointConfiguration.md +0 -209
- package/docs/interfaces/TouchpointInstance.md +0 -121
- package/docs/modules/Icons.md +0 -878
package/README.md
CHANGED
|
@@ -646,6 +646,7 @@ const CustomCardRow: FC<{
|
|
|
646
646
|
left: ReactNode;
|
|
647
647
|
right: ReactNode;
|
|
648
648
|
icon?: Icon;
|
|
649
|
+
className?: string;
|
|
649
650
|
}>;
|
|
650
651
|
```
|
|
651
652
|
|
|
@@ -718,7 +719,7 @@ Represents the different types of icon buttons available in the application.
|
|
|
718
719
|
|
|
719
720
|
```ts
|
|
720
721
|
const IconButton: FC<{
|
|
721
|
-
onClick?:
|
|
722
|
+
onClick?: MouseEventHandler<HTMLButtonElement>;
|
|
722
723
|
label: string;
|
|
723
724
|
className?: string;
|
|
724
725
|
type: IconButtonType;
|
|
@@ -861,6 +862,7 @@ type CustomModalityComponent<Data> = ComponentType<{
|
|
|
861
862
|
data: Data;
|
|
862
863
|
conversationHandler: ConversationHandler;
|
|
863
864
|
className?: string;
|
|
865
|
+
renderedAsOverlay?: boolean;
|
|
864
866
|
}>;
|
|
865
867
|
```
|
|
866
868
|
|
|
@@ -0,0 +1,377 @@
|
|
|
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
|