reachat 0.0.1 → 1.0.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.
Files changed (50) hide show
  1. package/README.md +86 -39
  2. package/dist/Chat.d.ts +58 -0
  3. package/dist/ChatContext.d.ts +18 -0
  4. package/dist/ChatInput.d.ts +42 -0
  5. package/dist/Markdown/CodeHighlighter.d.ts +25 -0
  6. package/dist/Markdown/Markdown.d.ts +11 -0
  7. package/dist/Markdown/Table.d.ts +5 -0
  8. package/dist/Markdown/index.d.ts +5 -0
  9. package/dist/Markdown/plugins/index.d.ts +1 -0
  10. package/dist/Markdown/plugins/remarkCve.d.ts +1 -0
  11. package/dist/Markdown/themes/dark.d.ts +501 -0
  12. package/dist/Markdown/themes/index.d.ts +2 -0
  13. package/dist/Markdown/themes/light.d.ts +499 -0
  14. package/dist/SessionMessages/MessageActions.d.ts +45 -0
  15. package/dist/SessionMessages/MessageFile.d.ts +14 -0
  16. package/dist/SessionMessages/MessageFiles.d.ts +11 -0
  17. package/dist/SessionMessages/MessageQuestion.d.ts +9 -0
  18. package/dist/SessionMessages/MessageResponse.d.ts +13 -0
  19. package/dist/SessionMessages/MessageSource.d.ts +10 -0
  20. package/dist/SessionMessages/MessageSources.d.ts +11 -0
  21. package/dist/SessionMessages/SessionEmpty.d.ts +6 -0
  22. package/dist/SessionMessages/SessionMessage.d.ts +15 -0
  23. package/dist/SessionMessages/SessionMessagePanel.d.ts +3 -0
  24. package/dist/SessionMessages/SessionMessages.d.ts +23 -0
  25. package/dist/SessionMessages/SessionMessagesHeader.d.ts +3 -0
  26. package/dist/SessionMessages/index.d.ts +12 -0
  27. package/dist/SessionsList/NewSessionButton.d.ts +10 -0
  28. package/dist/SessionsList/SessionGroups.d.ts +10 -0
  29. package/dist/SessionsList/SessionListItem.d.ts +22 -0
  30. package/dist/SessionsList/SessionsGroup.d.ts +10 -0
  31. package/dist/SessionsList/SessionsList.d.ts +3 -0
  32. package/dist/SessionsList/index.d.ts +5 -0
  33. package/dist/docs.json +1478 -0
  34. package/dist/index.d.ts +4 -5
  35. package/dist/index.js +1866 -3211
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.umd.cjs +1868 -3209
  38. package/dist/index.umd.cjs.map +1 -1
  39. package/dist/theme.d.ts +77 -1
  40. package/dist/types.d.ts +71 -17
  41. package/dist/utils.d.ts +7 -0
  42. package/dist/utils.spec.d.ts +1 -0
  43. package/package.json +38 -23
  44. package/dist/SessionInput.d.ts +0 -22
  45. package/dist/SessionListItem.d.ts +0 -11
  46. package/dist/SessionMessage.d.ts +0 -10
  47. package/dist/SessionMessages.d.ts +0 -9
  48. package/dist/Sessions.d.ts +0 -48
  49. package/dist/SessionsList.d.ts +0 -11
  50. package/dist/useLlm.d.ts +0 -3
@@ -0,0 +1,501 @@
1
+ export declare const dark: {
2
+ 'code[class*="language-"]': {
3
+ background: string;
4
+ color: string;
5
+ textShadow: string;
6
+ fontFamily: string;
7
+ direction: string;
8
+ textAlign: string;
9
+ whiteSpace: string;
10
+ wordSpacing: string;
11
+ wordBreak: string;
12
+ lineHeight: string;
13
+ MozTabSize: string;
14
+ OTabSize: string;
15
+ tabSize: string;
16
+ WebkitHyphens: string;
17
+ MozHyphens: string;
18
+ msHyphens: string;
19
+ hyphens: string;
20
+ };
21
+ 'pre[class*="language-"]': {
22
+ background: string;
23
+ color: string;
24
+ textShadow: string;
25
+ fontFamily: string;
26
+ direction: string;
27
+ textAlign: string;
28
+ whiteSpace: string;
29
+ wordSpacing: string;
30
+ wordBreak: string;
31
+ lineHeight: string;
32
+ MozTabSize: string;
33
+ OTabSize: string;
34
+ tabSize: string;
35
+ WebkitHyphens: string;
36
+ MozHyphens: string;
37
+ msHyphens: string;
38
+ hyphens: string;
39
+ padding: string;
40
+ margin: string;
41
+ overflow: string;
42
+ borderRadius: string;
43
+ };
44
+ 'code[class*="language-"]::-moz-selection': {
45
+ background: string;
46
+ color: string;
47
+ textShadow: string;
48
+ };
49
+ 'code[class*="language-"] *::-moz-selection': {
50
+ background: string;
51
+ color: string;
52
+ textShadow: string;
53
+ };
54
+ 'pre[class*="language-"] *::-moz-selection': {
55
+ background: string;
56
+ color: string;
57
+ textShadow: string;
58
+ };
59
+ 'code[class*="language-"]::selection': {
60
+ background: string;
61
+ color: string;
62
+ textShadow: string;
63
+ };
64
+ 'code[class*="language-"] *::selection': {
65
+ background: string;
66
+ color: string;
67
+ textShadow: string;
68
+ };
69
+ 'pre[class*="language-"] *::selection': {
70
+ background: string;
71
+ color: string;
72
+ textShadow: string;
73
+ };
74
+ ':not(pre) > code[class*="language-"]': {
75
+ padding: string;
76
+ borderRadius: string;
77
+ whiteSpace: string;
78
+ };
79
+ comment: {
80
+ color: string;
81
+ fontStyle: string;
82
+ };
83
+ prolog: {
84
+ color: string;
85
+ };
86
+ cdata: {
87
+ color: string;
88
+ };
89
+ doctype: {
90
+ color: string;
91
+ };
92
+ punctuation: {
93
+ color: string;
94
+ };
95
+ entity: {
96
+ color: string;
97
+ cursor: string;
98
+ };
99
+ 'attr-name': {
100
+ color: string;
101
+ };
102
+ 'class-name': {
103
+ color: string;
104
+ };
105
+ boolean: {
106
+ color: string;
107
+ };
108
+ constant: {
109
+ color: string;
110
+ };
111
+ number: {
112
+ color: string;
113
+ };
114
+ atrule: {
115
+ color: string;
116
+ };
117
+ keyword: {
118
+ color: string;
119
+ };
120
+ property: {
121
+ color: string;
122
+ };
123
+ tag: {
124
+ color: string;
125
+ };
126
+ symbol: {
127
+ color: string;
128
+ };
129
+ deleted: {
130
+ color: string;
131
+ };
132
+ important: {
133
+ color: string;
134
+ };
135
+ selector: {
136
+ color: string;
137
+ };
138
+ string: {
139
+ color: string;
140
+ };
141
+ char: {
142
+ color: string;
143
+ };
144
+ builtin: {
145
+ color: string;
146
+ };
147
+ inserted: {
148
+ color: string;
149
+ };
150
+ regex: {
151
+ color: string;
152
+ };
153
+ 'attr-value': {
154
+ color: string;
155
+ };
156
+ 'attr-value > .token.punctuation': {
157
+ color: string;
158
+ };
159
+ variable: {
160
+ color: string;
161
+ };
162
+ operator: {
163
+ color: string;
164
+ };
165
+ function: {
166
+ color: string;
167
+ };
168
+ url: {
169
+ color: string;
170
+ };
171
+ 'attr-value > .token.punctuation.attr-equals': {
172
+ color: string;
173
+ };
174
+ 'special-attr > .token.attr-value > .token.value.css': {
175
+ color: string;
176
+ };
177
+ '.language-css .token.selector': {
178
+ color: string;
179
+ };
180
+ '.language-css .token.property': {
181
+ color: string;
182
+ };
183
+ '.language-css .token.function': {
184
+ color: string;
185
+ };
186
+ '.language-css .token.url > .token.function': {
187
+ color: string;
188
+ };
189
+ '.language-css .token.url > .token.string.url': {
190
+ color: string;
191
+ };
192
+ '.language-css .token.important': {
193
+ color: string;
194
+ };
195
+ '.language-css .token.atrule .token.rule': {
196
+ color: string;
197
+ };
198
+ '.language-javascript .token.operator': {
199
+ color: string;
200
+ };
201
+ '.language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation': {
202
+ color: string;
203
+ };
204
+ '.language-json .token.operator': {
205
+ color: string;
206
+ };
207
+ '.language-json .token.null.keyword': {
208
+ color: string;
209
+ };
210
+ '.language-markdown .token.url': {
211
+ color: string;
212
+ };
213
+ '.language-markdown .token.url > .token.operator': {
214
+ color: string;
215
+ };
216
+ '.language-markdown .token.url-reference.url > .token.string': {
217
+ color: string;
218
+ };
219
+ '.language-markdown .token.url > .token.content': {
220
+ color: string;
221
+ };
222
+ '.language-markdown .token.url > .token.url': {
223
+ color: string;
224
+ };
225
+ '.language-markdown .token.url-reference.url': {
226
+ color: string;
227
+ };
228
+ '.language-markdown .token.blockquote.punctuation': {
229
+ color: string;
230
+ fontStyle: string;
231
+ };
232
+ '.language-markdown .token.hr.punctuation': {
233
+ color: string;
234
+ fontStyle: string;
235
+ };
236
+ '.language-markdown .token.code-snippet': {
237
+ color: string;
238
+ };
239
+ '.language-markdown .token.bold .token.content': {
240
+ color: string;
241
+ };
242
+ '.language-markdown .token.italic .token.content': {
243
+ color: string;
244
+ };
245
+ '.language-markdown .token.strike .token.content': {
246
+ color: string;
247
+ };
248
+ '.language-markdown .token.strike .token.punctuation': {
249
+ color: string;
250
+ };
251
+ '.language-markdown .token.list.punctuation': {
252
+ color: string;
253
+ };
254
+ '.language-markdown .token.title.important > .token.punctuation': {
255
+ color: string;
256
+ };
257
+ bold: {
258
+ fontWeight: string;
259
+ };
260
+ italic: {
261
+ fontStyle: string;
262
+ };
263
+ namespace: {
264
+ Opacity: string;
265
+ };
266
+ 'token.tab:not(:empty):before': {
267
+ color: string;
268
+ textShadow: string;
269
+ };
270
+ 'token.cr:before': {
271
+ color: string;
272
+ textShadow: string;
273
+ };
274
+ 'token.lf:before': {
275
+ color: string;
276
+ textShadow: string;
277
+ };
278
+ 'token.space:before': {
279
+ color: string;
280
+ textShadow: string;
281
+ };
282
+ 'div.code-toolbar > .toolbar.toolbar > .toolbar-item': {
283
+ marginRight: string;
284
+ };
285
+ 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button': {
286
+ background: string;
287
+ color: string;
288
+ padding: string;
289
+ borderRadius: string;
290
+ };
291
+ 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a': {
292
+ background: string;
293
+ color: string;
294
+ padding: string;
295
+ borderRadius: string;
296
+ };
297
+ 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span': {
298
+ background: string;
299
+ color: string;
300
+ padding: string;
301
+ borderRadius: string;
302
+ };
303
+ 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover': {
304
+ background: string;
305
+ color: string;
306
+ };
307
+ 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus': {
308
+ background: string;
309
+ color: string;
310
+ };
311
+ 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover': {
312
+ background: string;
313
+ color: string;
314
+ };
315
+ 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus': {
316
+ background: string;
317
+ color: string;
318
+ };
319
+ 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover': {
320
+ background: string;
321
+ color: string;
322
+ };
323
+ 'div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus': {
324
+ background: string;
325
+ color: string;
326
+ };
327
+ '.line-highlight.line-highlight': {
328
+ background: string;
329
+ };
330
+ '.line-highlight.line-highlight:before': {
331
+ background: string;
332
+ color: string;
333
+ padding: string;
334
+ borderRadius: string;
335
+ boxShadow: string;
336
+ };
337
+ '.line-highlight.line-highlight[data-end]:after': {
338
+ background: string;
339
+ color: string;
340
+ padding: string;
341
+ borderRadius: string;
342
+ boxShadow: string;
343
+ };
344
+ 'pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before': {
345
+ backgroundColor: string;
346
+ };
347
+ '.line-numbers.line-numbers .line-numbers-rows': {
348
+ borderRightColor: string;
349
+ };
350
+ '.command-line .command-line-prompt': {
351
+ borderRightColor: string;
352
+ };
353
+ '.line-numbers .line-numbers-rows > span:before': {
354
+ color: string;
355
+ };
356
+ '.command-line .command-line-prompt > span:before': {
357
+ color: string;
358
+ };
359
+ '.rainbow-braces .token.token.punctuation.brace-level-1': {
360
+ color: string;
361
+ };
362
+ '.rainbow-braces .token.token.punctuation.brace-level-5': {
363
+ color: string;
364
+ };
365
+ '.rainbow-braces .token.token.punctuation.brace-level-9': {
366
+ color: string;
367
+ };
368
+ '.rainbow-braces .token.token.punctuation.brace-level-2': {
369
+ color: string;
370
+ };
371
+ '.rainbow-braces .token.token.punctuation.brace-level-6': {
372
+ color: string;
373
+ };
374
+ '.rainbow-braces .token.token.punctuation.brace-level-10': {
375
+ color: string;
376
+ };
377
+ '.rainbow-braces .token.token.punctuation.brace-level-3': {
378
+ color: string;
379
+ };
380
+ '.rainbow-braces .token.token.punctuation.brace-level-7': {
381
+ color: string;
382
+ };
383
+ '.rainbow-braces .token.token.punctuation.brace-level-11': {
384
+ color: string;
385
+ };
386
+ '.rainbow-braces .token.token.punctuation.brace-level-4': {
387
+ color: string;
388
+ };
389
+ '.rainbow-braces .token.token.punctuation.brace-level-8': {
390
+ color: string;
391
+ };
392
+ '.rainbow-braces .token.token.punctuation.brace-level-12': {
393
+ color: string;
394
+ };
395
+ 'pre.diff-highlight > code .token.token.deleted:not(.prefix)': {
396
+ backgroundColor: string;
397
+ };
398
+ 'pre > code.diff-highlight .token.token.deleted:not(.prefix)': {
399
+ backgroundColor: string;
400
+ };
401
+ 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection': {
402
+ backgroundColor: string;
403
+ };
404
+ 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection': {
405
+ backgroundColor: string;
406
+ };
407
+ 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection': {
408
+ backgroundColor: string;
409
+ };
410
+ 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection': {
411
+ backgroundColor: string;
412
+ };
413
+ 'pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection': {
414
+ backgroundColor: string;
415
+ };
416
+ 'pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection': {
417
+ backgroundColor: string;
418
+ };
419
+ 'pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection': {
420
+ backgroundColor: string;
421
+ };
422
+ 'pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection': {
423
+ backgroundColor: string;
424
+ };
425
+ 'pre.diff-highlight > code .token.token.inserted:not(.prefix)': {
426
+ backgroundColor: string;
427
+ };
428
+ 'pre > code.diff-highlight .token.token.inserted:not(.prefix)': {
429
+ backgroundColor: string;
430
+ };
431
+ 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection': {
432
+ backgroundColor: string;
433
+ };
434
+ 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection': {
435
+ backgroundColor: string;
436
+ };
437
+ 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection': {
438
+ backgroundColor: string;
439
+ };
440
+ 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection': {
441
+ backgroundColor: string;
442
+ };
443
+ 'pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection': {
444
+ backgroundColor: string;
445
+ };
446
+ 'pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection': {
447
+ backgroundColor: string;
448
+ };
449
+ 'pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection': {
450
+ backgroundColor: string;
451
+ };
452
+ 'pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection': {
453
+ backgroundColor: string;
454
+ };
455
+ '.prism-previewer.prism-previewer:before': {
456
+ borderColor: string;
457
+ };
458
+ '.prism-previewer-gradient.prism-previewer-gradient div': {
459
+ borderColor: string;
460
+ borderRadius: string;
461
+ };
462
+ '.prism-previewer-color.prism-previewer-color:before': {
463
+ borderRadius: string;
464
+ };
465
+ '.prism-previewer-easing.prism-previewer-easing:before': {
466
+ borderRadius: string;
467
+ };
468
+ '.prism-previewer.prism-previewer:after': {
469
+ borderTopColor: string;
470
+ };
471
+ '.prism-previewer-flipped.prism-previewer-flipped.after': {
472
+ borderBottomColor: string;
473
+ };
474
+ '.prism-previewer-angle.prism-previewer-angle:before': {
475
+ background: string;
476
+ };
477
+ '.prism-previewer-time.prism-previewer-time:before': {
478
+ background: string;
479
+ };
480
+ '.prism-previewer-easing.prism-previewer-easing': {
481
+ background: string;
482
+ };
483
+ '.prism-previewer-angle.prism-previewer-angle circle': {
484
+ stroke: string;
485
+ strokeOpacity: string;
486
+ };
487
+ '.prism-previewer-time.prism-previewer-time circle': {
488
+ stroke: string;
489
+ strokeOpacity: string;
490
+ };
491
+ '.prism-previewer-easing.prism-previewer-easing circle': {
492
+ stroke: string;
493
+ fill: string;
494
+ };
495
+ '.prism-previewer-easing.prism-previewer-easing path': {
496
+ stroke: string;
497
+ };
498
+ '.prism-previewer-easing.prism-previewer-easing line': {
499
+ stroke: string;
500
+ };
501
+ };
@@ -0,0 +1,2 @@
1
+ export * from './dark';
2
+ export * from './light';