@g9tm/lynxcontrols-chat 2.3.0 → 2.4.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.
@@ -0,0 +1,1041 @@
1
+ {
2
+ "catalogVersion": 1,
3
+ "package": "@g9tm/lynxcontrols-chat",
4
+ "version": "2.4.1",
5
+ "generatedBy": "node scripts/check-docs.mjs --write",
6
+ "components": [
7
+ {
8
+ "id": "chat.chat.G9ChatComposer",
9
+ "export": "G9ChatComposer",
10
+ "from": "@g9tm/lynxcontrols-chat",
11
+ "kind": "component",
12
+ "family": "chat",
13
+ "summary": "The message box: a growing text area (up to 5 lines), attach and emoji at the start, send at the end — send only when there is text; Enter on a hardware keyboard sends, Shift+Enter breaks the line.",
14
+ "since": null,
15
+ "props": [
16
+ {
17
+ "name": "attachLabel",
18
+ "type": {
19
+ "kind": "string"
20
+ },
21
+ "required": false,
22
+ "serializable": true,
23
+ "role": "content"
24
+ },
25
+ {
26
+ "name": "disabled",
27
+ "type": {
28
+ "kind": "boolean"
29
+ },
30
+ "required": false,
31
+ "serializable": true,
32
+ "role": "state"
33
+ },
34
+ {
35
+ "name": "id",
36
+ "type": {
37
+ "kind": "string"
38
+ },
39
+ "required": false,
40
+ "serializable": true,
41
+ "role": "identity"
42
+ },
43
+ {
44
+ "name": "onAttach",
45
+ "type": {
46
+ "kind": "event",
47
+ "payload": null
48
+ },
49
+ "required": false,
50
+ "serializable": false,
51
+ "role": "event"
52
+ },
53
+ {
54
+ "name": "onChange",
55
+ "type": {
56
+ "kind": "event",
57
+ "payload": "text: string"
58
+ },
59
+ "required": false,
60
+ "serializable": false,
61
+ "role": "event"
62
+ },
63
+ {
64
+ "name": "onEmoji",
65
+ "type": {
66
+ "kind": "event",
67
+ "payload": null
68
+ },
69
+ "required": false,
70
+ "serializable": false,
71
+ "role": "event"
72
+ },
73
+ {
74
+ "name": "onSend",
75
+ "type": {
76
+ "kind": "event",
77
+ "payload": "text: string"
78
+ },
79
+ "required": true,
80
+ "serializable": false,
81
+ "role": "event"
82
+ },
83
+ {
84
+ "name": "placeholder",
85
+ "type": {
86
+ "kind": "string"
87
+ },
88
+ "required": true,
89
+ "serializable": true,
90
+ "role": "content"
91
+ },
92
+ {
93
+ "name": "sendLabel",
94
+ "type": {
95
+ "kind": "string"
96
+ },
97
+ "required": false,
98
+ "serializable": true,
99
+ "role": "content"
100
+ },
101
+ {
102
+ "name": "value",
103
+ "type": {
104
+ "kind": "string"
105
+ },
106
+ "required": false,
107
+ "serializable": true,
108
+ "role": "state",
109
+ "doc": "Text typed so far is kept by the composer; `value` / `onChange` make it controlled (a draft saved per chat)."
110
+ }
111
+ ],
112
+ "anchor": null,
113
+ "accessibility": {
114
+ "labelFrom": [
115
+ "placeholder"
116
+ ],
117
+ "labelRequired": false
118
+ },
119
+ "targets": {
120
+ "android": "unmeasured",
121
+ "ios": "unmeasured",
122
+ "windows": "unmeasured",
123
+ "macos": "unmeasured",
124
+ "web": "verified"
125
+ },
126
+ "evidence": {
127
+ "ledger": [
128
+ "N-125"
129
+ ]
130
+ },
131
+ "tokens": [
132
+ "Divider",
133
+ "Error",
134
+ "Info",
135
+ "OnPrimaryContainer",
136
+ "OverlayLight",
137
+ "Primary",
138
+ "PrimaryContainer",
139
+ "Surface",
140
+ "SurfaceContainer",
141
+ "SurfaceContainerHigh",
142
+ "Tertiary",
143
+ "TextPrimary",
144
+ "TextSecondary",
145
+ "TextTertiary"
146
+ ],
147
+ "example": {
148
+ "line": "<G9ChatComposer onSend={() => {}} placeholder=\"placeholder\" />",
149
+ "from": "generated"
150
+ }
151
+ },
152
+ {
153
+ "id": "chat.chat.G9ChatThread",
154
+ "export": "G9ChatThread",
155
+ "from": "@g9tm/lynxcontrols-chat",
156
+ "kind": "component",
157
+ "family": "chat",
158
+ "summary": "A conversation on the recycler: starts at the newest message, day dividers sticky, rows rendered as they come into view (deferred list items), older pages asked for near the top.",
159
+ "since": null,
160
+ "props": [
161
+ {
162
+ "name": "className",
163
+ "type": {
164
+ "kind": "string"
165
+ },
166
+ "required": false,
167
+ "serializable": true,
168
+ "role": "appearance"
169
+ },
170
+ {
171
+ "name": "dayLabel",
172
+ "type": {
173
+ "kind": "event",
174
+ "payload": "dayStartMs: number",
175
+ "returns": "string"
176
+ },
177
+ "required": false,
178
+ "serializable": false,
179
+ "role": "event"
180
+ },
181
+ {
182
+ "name": "id",
183
+ "type": {
184
+ "kind": "string"
185
+ },
186
+ "required": false,
187
+ "serializable": true,
188
+ "role": "identity"
189
+ },
190
+ {
191
+ "name": "me",
192
+ "type": {
193
+ "kind": "string"
194
+ },
195
+ "required": true,
196
+ "serializable": true,
197
+ "role": "behaviour"
198
+ },
199
+ {
200
+ "name": "messages",
201
+ "type": {
202
+ "kind": "array",
203
+ "items": {
204
+ "kind": "object",
205
+ "fields": [
206
+ {
207
+ "name": "id",
208
+ "required": true,
209
+ "type": {
210
+ "kind": "string"
211
+ },
212
+ "serializable": true
213
+ },
214
+ {
215
+ "name": "from",
216
+ "required": true,
217
+ "type": {
218
+ "kind": "string"
219
+ },
220
+ "serializable": true
221
+ },
222
+ {
223
+ "name": "at",
224
+ "required": true,
225
+ "type": {
226
+ "kind": "number"
227
+ },
228
+ "serializable": true
229
+ },
230
+ {
231
+ "name": "text",
232
+ "required": false,
233
+ "type": {
234
+ "kind": "string"
235
+ },
236
+ "serializable": true
237
+ },
238
+ {
239
+ "name": "kind",
240
+ "required": false,
241
+ "type": {
242
+ "kind": "enum",
243
+ "values": [
244
+ "text",
245
+ "image",
246
+ "system",
247
+ "voice",
248
+ "file"
249
+ ]
250
+ },
251
+ "serializable": true
252
+ },
253
+ {
254
+ "name": "status",
255
+ "required": false,
256
+ "type": {
257
+ "kind": "enum",
258
+ "values": [
259
+ "sending",
260
+ "sent",
261
+ "delivered",
262
+ "read",
263
+ "failed"
264
+ ]
265
+ },
266
+ "serializable": true
267
+ },
268
+ {
269
+ "name": "replyTo",
270
+ "required": false,
271
+ "type": {
272
+ "kind": "unknown",
273
+ "text": "{ readonly from: string; readonly text: string; }"
274
+ },
275
+ "serializable": false
276
+ }
277
+ ]
278
+ }
279
+ },
280
+ "required": true,
281
+ "serializable": false,
282
+ "role": "behaviour"
283
+ },
284
+ {
285
+ "name": "names",
286
+ "type": {
287
+ "kind": "object",
288
+ "map": {
289
+ "kind": "string"
290
+ }
291
+ },
292
+ "required": false,
293
+ "serializable": true,
294
+ "role": "behaviour",
295
+ "doc": "Names for group chats (shown above a run from someone else)."
296
+ },
297
+ {
298
+ "name": "onLoadOlder",
299
+ "type": {
300
+ "kind": "event",
301
+ "payload": null
302
+ },
303
+ "required": false,
304
+ "serializable": false,
305
+ "role": "event",
306
+ "doc": "Older messages: called when the top is near."
307
+ },
308
+ {
309
+ "name": "onLongPress",
310
+ "type": {
311
+ "kind": "event",
312
+ "payload": "message: G9Message"
313
+ },
314
+ "required": false,
315
+ "serializable": false,
316
+ "role": "event"
317
+ },
318
+ {
319
+ "name": "onRetry",
320
+ "type": {
321
+ "kind": "event",
322
+ "payload": "message: G9Message"
323
+ },
324
+ "required": false,
325
+ "serializable": false,
326
+ "role": "event"
327
+ },
328
+ {
329
+ "name": "renderAttachment",
330
+ "type": {
331
+ "kind": "render",
332
+ "receives": [
333
+ {
334
+ "name": "message",
335
+ "type": "G9Message"
336
+ }
337
+ ],
338
+ "returns": "ReactNode"
339
+ },
340
+ "required": false,
341
+ "serializable": false,
342
+ "role": "slot"
343
+ },
344
+ {
345
+ "name": "typing",
346
+ "type": {
347
+ "kind": "boolean"
348
+ },
349
+ "required": false,
350
+ "serializable": true,
351
+ "role": "behaviour",
352
+ "doc": "Shown under the last message (the other side typing)."
353
+ }
354
+ ],
355
+ "anchor": null,
356
+ "accessibility": {
357
+ "labelFrom": [],
358
+ "labelRequired": false
359
+ },
360
+ "targets": {
361
+ "android": "unmeasured",
362
+ "ios": "unmeasured",
363
+ "windows": "unmeasured",
364
+ "macos": "unmeasured",
365
+ "web": "verified"
366
+ },
367
+ "evidence": {
368
+ "ledger": [
369
+ "N-125"
370
+ ]
371
+ },
372
+ "tokens": [
373
+ "Divider",
374
+ "Error",
375
+ "Info",
376
+ "OnPrimaryContainer",
377
+ "OverlayLight",
378
+ "Primary",
379
+ "PrimaryContainer",
380
+ "Surface",
381
+ "SurfaceContainer",
382
+ "SurfaceContainerHigh",
383
+ "Tertiary",
384
+ "TextPrimary",
385
+ "TextSecondary",
386
+ "TextTertiary"
387
+ ],
388
+ "example": {
389
+ "line": "<G9ChatThread me=\"me\" messages={messages} />",
390
+ "from": "generated"
391
+ }
392
+ },
393
+ {
394
+ "id": "chat.chat.G9ConversationRow",
395
+ "export": "G9ConversationRow",
396
+ "from": "@g9tm/lynxcontrols-chat",
397
+ "kind": "component",
398
+ "family": "chat",
399
+ "summary": "A conversation in the inbox: avatar (with presence), name, the last message or «typing…», its time, unread count.",
400
+ "since": null,
401
+ "props": [
402
+ {
403
+ "name": "at",
404
+ "type": {
405
+ "kind": "number"
406
+ },
407
+ "required": true,
408
+ "serializable": true,
409
+ "role": "behaviour"
410
+ },
411
+ {
412
+ "name": "avatar",
413
+ "type": {
414
+ "kind": "string"
415
+ },
416
+ "required": false,
417
+ "serializable": true,
418
+ "role": "behaviour"
419
+ },
420
+ {
421
+ "name": "id",
422
+ "type": {
423
+ "kind": "string"
424
+ },
425
+ "required": false,
426
+ "serializable": true,
427
+ "role": "identity"
428
+ },
429
+ {
430
+ "name": "muted",
431
+ "type": {
432
+ "kind": "boolean"
433
+ },
434
+ "required": false,
435
+ "serializable": true,
436
+ "role": "behaviour"
437
+ },
438
+ {
439
+ "name": "name",
440
+ "type": {
441
+ "kind": "string"
442
+ },
443
+ "required": true,
444
+ "serializable": true,
445
+ "role": "behaviour"
446
+ },
447
+ {
448
+ "name": "online",
449
+ "type": {
450
+ "kind": "boolean"
451
+ },
452
+ "required": false,
453
+ "serializable": true,
454
+ "role": "behaviour"
455
+ },
456
+ {
457
+ "name": "onPress",
458
+ "type": {
459
+ "kind": "event",
460
+ "payload": null
461
+ },
462
+ "required": false,
463
+ "serializable": false,
464
+ "role": "event"
465
+ },
466
+ {
467
+ "name": "preview",
468
+ "type": {
469
+ "kind": "string"
470
+ },
471
+ "required": true,
472
+ "serializable": true,
473
+ "role": "behaviour"
474
+ },
475
+ {
476
+ "name": "typing",
477
+ "type": {
478
+ "kind": "boolean"
479
+ },
480
+ "required": false,
481
+ "serializable": true,
482
+ "role": "behaviour"
483
+ },
484
+ {
485
+ "name": "typingText",
486
+ "type": {
487
+ "kind": "string"
488
+ },
489
+ "required": false,
490
+ "serializable": true,
491
+ "role": "content"
492
+ },
493
+ {
494
+ "name": "unread",
495
+ "type": {
496
+ "kind": "number"
497
+ },
498
+ "required": false,
499
+ "serializable": true,
500
+ "role": "behaviour"
501
+ }
502
+ ],
503
+ "anchor": null,
504
+ "accessibility": {
505
+ "labelFrom": [],
506
+ "labelRequired": false
507
+ },
508
+ "targets": {
509
+ "android": "unmeasured",
510
+ "ios": "unmeasured",
511
+ "windows": "unmeasured",
512
+ "macos": "unmeasured",
513
+ "web": "verified"
514
+ },
515
+ "evidence": {
516
+ "ledger": [
517
+ "N-125"
518
+ ]
519
+ },
520
+ "tokens": [
521
+ "Divider",
522
+ "Error",
523
+ "Info",
524
+ "OnPrimaryContainer",
525
+ "OverlayLight",
526
+ "Primary",
527
+ "PrimaryContainer",
528
+ "Surface",
529
+ "SurfaceContainer",
530
+ "SurfaceContainerHigh",
531
+ "Tertiary",
532
+ "TextPrimary",
533
+ "TextSecondary",
534
+ "TextTertiary"
535
+ ],
536
+ "example": {
537
+ "line": "<G9ConversationRow at={1} name=\"name\" preview=\"preview\" />",
538
+ "from": "generated"
539
+ }
540
+ },
541
+ {
542
+ "id": "chat.chat.G9EmojiPicker",
543
+ "export": "G9EmojiPicker",
544
+ "from": "@g9tm/lynxcontrols-chat",
545
+ "kind": "component",
546
+ "family": "chat",
547
+ "summary": "Emoji by category: tabs over a grid of 44 dp targets.",
548
+ "since": null,
549
+ "props": [
550
+ {
551
+ "name": "columns",
552
+ "type": {
553
+ "kind": "number"
554
+ },
555
+ "required": false,
556
+ "serializable": true,
557
+ "role": "behaviour"
558
+ },
559
+ {
560
+ "name": "id",
561
+ "type": {
562
+ "kind": "string"
563
+ },
564
+ "required": false,
565
+ "serializable": true,
566
+ "role": "identity"
567
+ },
568
+ {
569
+ "name": "labels",
570
+ "type": {
571
+ "kind": "object",
572
+ "map": {
573
+ "kind": "string"
574
+ }
575
+ },
576
+ "required": false,
577
+ "serializable": true,
578
+ "role": "behaviour",
579
+ "doc": "Tab labels per category (default the first emoji of each)."
580
+ },
581
+ {
582
+ "name": "onPick",
583
+ "type": {
584
+ "kind": "event",
585
+ "payload": "emoji: string"
586
+ },
587
+ "required": true,
588
+ "serializable": false,
589
+ "role": "event"
590
+ },
591
+ {
592
+ "name": "sets",
593
+ "type": {
594
+ "kind": "object",
595
+ "map": {
596
+ "kind": "array",
597
+ "items": {
598
+ "kind": "string"
599
+ }
600
+ }
601
+ },
602
+ "required": false,
603
+ "serializable": true,
604
+ "role": "behaviour",
605
+ "doc": "Category → emoji (default {@link g9EmojiSets})."
606
+ }
607
+ ],
608
+ "anchor": null,
609
+ "accessibility": {
610
+ "labelFrom": [],
611
+ "labelRequired": false
612
+ },
613
+ "targets": {
614
+ "android": "unmeasured",
615
+ "ios": "unmeasured",
616
+ "windows": "unmeasured",
617
+ "macos": "unmeasured",
618
+ "web": "verified"
619
+ },
620
+ "evidence": {
621
+ "ledger": [
622
+ "N-125"
623
+ ]
624
+ },
625
+ "tokens": [
626
+ "Divider",
627
+ "Error",
628
+ "Info",
629
+ "OnPrimaryContainer",
630
+ "OverlayLight",
631
+ "Primary",
632
+ "PrimaryContainer",
633
+ "Surface",
634
+ "SurfaceContainer",
635
+ "SurfaceContainerHigh",
636
+ "Tertiary",
637
+ "TextPrimary",
638
+ "TextSecondary",
639
+ "TextTertiary"
640
+ ],
641
+ "example": {
642
+ "line": "<G9EmojiPicker onPick={() => {}} />",
643
+ "from": "generated"
644
+ }
645
+ },
646
+ {
647
+ "id": "chat.chat.G9MessageBubble",
648
+ "export": "G9MessageBubble",
649
+ "from": "@g9tm/lynxcontrols-chat",
650
+ "kind": "component",
651
+ "family": "chat",
652
+ "summary": "One message: mine on the end side in the primary container colour, theirs on the start side on the surface; the corner toward the sender is tightened inside a run (first/middle/last), the time and the status ticks under the last bubble of a run.",
653
+ "since": null,
654
+ "props": [
655
+ {
656
+ "name": "attachment",
657
+ "type": {
658
+ "kind": "slot",
659
+ "accepts": "any"
660
+ },
661
+ "required": false,
662
+ "serializable": false,
663
+ "role": "slot",
664
+ "doc": "What the bubble carries under the text (an image, a voice note): the app draws it."
665
+ },
666
+ {
667
+ "name": "message",
668
+ "type": {
669
+ "kind": "object",
670
+ "fields": [
671
+ {
672
+ "name": "id",
673
+ "required": true,
674
+ "type": {
675
+ "kind": "string"
676
+ },
677
+ "serializable": true
678
+ },
679
+ {
680
+ "name": "from",
681
+ "required": true,
682
+ "type": {
683
+ "kind": "string"
684
+ },
685
+ "serializable": true
686
+ },
687
+ {
688
+ "name": "at",
689
+ "required": true,
690
+ "type": {
691
+ "kind": "number"
692
+ },
693
+ "serializable": true
694
+ },
695
+ {
696
+ "name": "text",
697
+ "required": false,
698
+ "type": {
699
+ "kind": "string"
700
+ },
701
+ "serializable": true
702
+ },
703
+ {
704
+ "name": "kind",
705
+ "required": false,
706
+ "type": {
707
+ "kind": "enum",
708
+ "values": [
709
+ "text",
710
+ "image",
711
+ "system",
712
+ "voice",
713
+ "file"
714
+ ]
715
+ },
716
+ "serializable": true
717
+ },
718
+ {
719
+ "name": "status",
720
+ "required": false,
721
+ "type": {
722
+ "kind": "enum",
723
+ "values": [
724
+ "sending",
725
+ "sent",
726
+ "delivered",
727
+ "read",
728
+ "failed"
729
+ ]
730
+ },
731
+ "serializable": true
732
+ },
733
+ {
734
+ "name": "replyTo",
735
+ "required": false,
736
+ "type": {
737
+ "kind": "object",
738
+ "fields": [
739
+ {
740
+ "name": "from",
741
+ "required": true,
742
+ "type": {
743
+ "kind": "string"
744
+ },
745
+ "serializable": true
746
+ },
747
+ {
748
+ "name": "text",
749
+ "required": true,
750
+ "type": {
751
+ "kind": "string"
752
+ },
753
+ "serializable": true
754
+ }
755
+ ]
756
+ },
757
+ "serializable": true
758
+ }
759
+ ]
760
+ },
761
+ "required": true,
762
+ "serializable": true,
763
+ "role": "content"
764
+ },
765
+ {
766
+ "name": "mine",
767
+ "type": {
768
+ "kind": "boolean"
769
+ },
770
+ "required": true,
771
+ "serializable": true,
772
+ "role": "behaviour"
773
+ },
774
+ {
775
+ "name": "onLongPress",
776
+ "type": {
777
+ "kind": "event",
778
+ "payload": "message: G9Message"
779
+ },
780
+ "required": false,
781
+ "serializable": false,
782
+ "role": "event"
783
+ },
784
+ {
785
+ "name": "onRetry",
786
+ "type": {
787
+ "kind": "event",
788
+ "payload": "message: G9Message"
789
+ },
790
+ "required": false,
791
+ "serializable": false,
792
+ "role": "event"
793
+ },
794
+ {
795
+ "name": "position",
796
+ "type": {
797
+ "kind": "enum",
798
+ "values": [
799
+ "single",
800
+ "last",
801
+ "first",
802
+ "middle"
803
+ ]
804
+ },
805
+ "required": false,
806
+ "serializable": true,
807
+ "role": "behaviour"
808
+ },
809
+ {
810
+ "name": "senderName",
811
+ "type": {
812
+ "kind": "string"
813
+ },
814
+ "required": false,
815
+ "serializable": true,
816
+ "role": "behaviour",
817
+ "doc": "The sender's name above a run of someone else's bubbles (group chats)."
818
+ },
819
+ {
820
+ "name": "showTime",
821
+ "type": {
822
+ "kind": "boolean"
823
+ },
824
+ "required": false,
825
+ "serializable": true,
826
+ "role": "behaviour"
827
+ }
828
+ ],
829
+ "anchor": null,
830
+ "accessibility": {
831
+ "labelFrom": [],
832
+ "labelRequired": false
833
+ },
834
+ "targets": {
835
+ "android": "unmeasured",
836
+ "ios": "unmeasured",
837
+ "windows": "unmeasured",
838
+ "macos": "unmeasured",
839
+ "web": "verified"
840
+ },
841
+ "evidence": {
842
+ "ledger": [
843
+ "N-125"
844
+ ]
845
+ },
846
+ "tokens": [
847
+ "Divider",
848
+ "Error",
849
+ "Info",
850
+ "OnPrimaryContainer",
851
+ "OverlayLight",
852
+ "Primary",
853
+ "PrimaryContainer",
854
+ "Surface",
855
+ "SurfaceContainer",
856
+ "SurfaceContainerHigh",
857
+ "Tertiary",
858
+ "TextPrimary",
859
+ "TextSecondary",
860
+ "TextTertiary"
861
+ ],
862
+ "example": {
863
+ "line": "<G9MessageBubble message={message} mine />",
864
+ "from": "generated"
865
+ }
866
+ },
867
+ {
868
+ "id": "chat.chat.G9TypingDots",
869
+ "export": "G9TypingDots",
870
+ "from": "@g9tm/lynxcontrols-chat",
871
+ "kind": "component",
872
+ "family": "chat",
873
+ "summary": "Three dots that rise in turn (CSS animation: nothing runs in script).",
874
+ "since": null,
875
+ "props": [
876
+ {
877
+ "name": "label",
878
+ "type": {
879
+ "kind": "string"
880
+ },
881
+ "required": false,
882
+ "serializable": true,
883
+ "role": "content"
884
+ }
885
+ ],
886
+ "anchor": null,
887
+ "accessibility": {
888
+ "labelFrom": [
889
+ "label"
890
+ ],
891
+ "labelRequired": false
892
+ },
893
+ "targets": {
894
+ "android": "unmeasured",
895
+ "ios": "unmeasured",
896
+ "windows": "unmeasured",
897
+ "macos": "unmeasured",
898
+ "web": "verified"
899
+ },
900
+ "evidence": {
901
+ "ledger": [
902
+ "N-125"
903
+ ]
904
+ },
905
+ "tokens": [
906
+ "Divider",
907
+ "Error",
908
+ "Info",
909
+ "OnPrimaryContainer",
910
+ "OverlayLight",
911
+ "Primary",
912
+ "PrimaryContainer",
913
+ "Surface",
914
+ "SurfaceContainer",
915
+ "SurfaceContainerHigh",
916
+ "Tertiary",
917
+ "TextPrimary",
918
+ "TextSecondary",
919
+ "TextTertiary"
920
+ ],
921
+ "example": {
922
+ "line": "<G9TypingDots />",
923
+ "from": "generated"
924
+ }
925
+ }
926
+ ],
927
+ "exports": [
928
+ {
929
+ "id": "chat.model.G9BubblePosition",
930
+ "export": "G9BubblePosition",
931
+ "from": "@g9tm/lynxcontrols-chat/model",
932
+ "kind": "type",
933
+ "signature": "G9BubblePosition",
934
+ "summary": "Where a bubble sits in its run: the corners and the avatar follow it."
935
+ },
936
+ {
937
+ "id": "chat.chat.G9ChatComposerProps",
938
+ "export": "G9ChatComposerProps",
939
+ "from": "@g9tm/lynxcontrols-chat",
940
+ "kind": "interface",
941
+ "signature": "G9ChatComposerProps",
942
+ "summary": "Props of `G9ChatComposer`."
943
+ },
944
+ {
945
+ "id": "chat.chat.G9ChatThreadProps",
946
+ "export": "G9ChatThreadProps",
947
+ "from": "@g9tm/lynxcontrols-chat",
948
+ "kind": "interface",
949
+ "signature": "G9ChatThreadProps",
950
+ "summary": "Props of `G9ChatThread`."
951
+ },
952
+ {
953
+ "id": "chat.chat.G9ConversationRowProps",
954
+ "export": "G9ConversationRowProps",
955
+ "from": "@g9tm/lynxcontrols-chat",
956
+ "kind": "interface",
957
+ "signature": "G9ConversationRowProps",
958
+ "summary": "Props of `G9ConversationRow`."
959
+ },
960
+ {
961
+ "id": "chat.chat.G9EmojiPickerProps",
962
+ "export": "G9EmojiPickerProps",
963
+ "from": "@g9tm/lynxcontrols-chat",
964
+ "kind": "interface",
965
+ "signature": "G9EmojiPickerProps",
966
+ "summary": "Props of `G9EmojiPicker`."
967
+ },
968
+ {
969
+ "id": "chat.model.g9EmojiSets",
970
+ "export": "g9EmojiSets",
971
+ "from": "@g9tm/lynxcontrols-chat/model",
972
+ "kind": "constant",
973
+ "signature": "Readonly<Record<string, readonly string[]>>",
974
+ "summary": "Emoji by category for `G9EmojiPicker` (a compact set; an app can pass its own)."
975
+ },
976
+ {
977
+ "id": "chat.model.G9Message",
978
+ "export": "G9Message",
979
+ "from": "@g9tm/lynxcontrols-chat/model",
980
+ "kind": "interface",
981
+ "signature": "G9Message",
982
+ "summary": "One message."
983
+ },
984
+ {
985
+ "id": "chat.chat.G9MessageBubbleProps",
986
+ "export": "G9MessageBubbleProps",
987
+ "from": "@g9tm/lynxcontrols-chat",
988
+ "kind": "interface",
989
+ "signature": "G9MessageBubbleProps",
990
+ "summary": "Props of `G9MessageBubble`."
991
+ },
992
+ {
993
+ "id": "chat.model.G9MessageStatus",
994
+ "export": "G9MessageStatus",
995
+ "from": "@g9tm/lynxcontrols-chat/model",
996
+ "kind": "type",
997
+ "signature": "G9MessageStatus",
998
+ "summary": "Where a message of the current user is: sending, sent (✓), delivered (✓✓), read (blue ✓✓) or failed (retry)."
999
+ },
1000
+ {
1001
+ "id": "chat.model.G9ThreadOptions",
1002
+ "export": "G9ThreadOptions",
1003
+ "from": "@g9tm/lynxcontrols-chat/model",
1004
+ "kind": "interface",
1005
+ "signature": "G9ThreadOptions",
1006
+ "summary": "How `threadRows` groups messages: whose they are, when a run breaks, and how days are labelled."
1007
+ },
1008
+ {
1009
+ "id": "chat.model.G9ThreadRow",
1010
+ "export": "G9ThreadRow",
1011
+ "from": "@g9tm/lynxcontrols-chat/model",
1012
+ "kind": "type",
1013
+ "signature": "G9ThreadRow",
1014
+ "summary": "One row of a thread as `threadRows` lays it out: a day divider, a message in its run, or a system line."
1015
+ },
1016
+ {
1017
+ "id": "chat.model.previewText",
1018
+ "export": "previewText",
1019
+ "from": "@g9tm/lynxcontrols-chat/model",
1020
+ "kind": "function",
1021
+ "signature": "(m: G9Message | undefined, words: { readonly image: string; readonly voice: string; readonly file: string; }): string",
1022
+ "summary": "A conversation's preview line: the last message, or what it was («🖼 Photo», «🎤 Voice»)."
1023
+ },
1024
+ {
1025
+ "id": "chat.model.statusGlyph",
1026
+ "export": "statusGlyph",
1027
+ "from": "@g9tm/lynxcontrols-chat/model",
1028
+ "kind": "function",
1029
+ "signature": "(status: G9MessageStatus | undefined): { readonly text: string; readonly read: boolean; } | null",
1030
+ "summary": "The status ticks: one for sent, two for delivered, two coloured for read, a clock while sending, ! when failed."
1031
+ },
1032
+ {
1033
+ "id": "chat.model.threadRows",
1034
+ "export": "threadRows",
1035
+ "from": "@g9tm/lynxcontrols-chat/model",
1036
+ "kind": "function",
1037
+ "signature": "(messages: readonly G9Message[], options: G9ThreadOptions): G9ThreadRow[]",
1038
+ "summary": "The thread's rows in order (oldest first), with day dividers and bubble runs."
1039
+ }
1040
+ ]
1041
+ }