@aleph-alpha/lib-mcp 2.2.0 → 4.0.0

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "CkAgentMessage": {
3
- "description": "Layout for a single assistant (agent) turn in a conversation. Exposes `icon`, `header`, default content and `footer` slots for full control over each section while keeping consistent spacing and alignment.",
3
+ "description": "Layout for a single assistant (agent) turn in a conversation. Exposes a full-width `header`, default content and `footer` slots for full control over each section while keeping consistent spacing and alignment. The agent icon now lives inside the header (see `CkAgentMessageHeader`), so the `header` slot spans the entire width.",
4
4
  "category": "Messages",
5
5
  "useCases": [
6
6
  "render assistant reply",
@@ -20,16 +20,129 @@
20
20
  "related": [
21
21
  "CkUserMessage",
22
22
  "CkConversation",
23
+ "CkAgentMessageHeader",
23
24
  "CkMarkdownRenderer",
24
- "CkCopyMessageActionButton"
25
+ "CkCopyMessageButton"
26
+ ],
27
+ "props": [
28
+ "bottomSeparator"
25
29
  ],
26
- "props": [],
27
30
  "examples": [
28
31
  "Default",
32
+ "WithActivityHeader",
29
33
  "WithFooterActions",
30
- "WithRichContent",
31
- "WithCustomHeader",
32
- "WithoutIcon"
34
+ "WithoutHeader",
35
+ "WithoutBottomSeparator",
36
+ "WithCitations"
37
+ ],
38
+ "_autoGenerated": true
39
+ },
40
+ "CkAgentMessageHeader": {
41
+ "description": "Full-width header row for an assistant (agent) message. Owns the agent icon, a header text and an optional activity button, and is intended to be passed into the `header` slot of `CkAgentMessage`. It has two visual states, driven purely by whether the `activity` slot is provided: - **with `activity`** — vertical padding and a bottom border separate the header from the message body; - **without `activity`** — a compact icon + text row with no padding or border. Slots: `icon` (leading agent avatar/icon), default (header text, ellipsised on overflow), `activity` (typically a `CkHeaderActivityButton`).",
42
+ "category": "Messages",
43
+ "useCases": [
44
+ "agent message header",
45
+ "assistant turn header",
46
+ "chain-of-thought summary row",
47
+ "activity indicator row"
48
+ ],
49
+ "keywords": [
50
+ "agent",
51
+ "assistant",
52
+ "message",
53
+ "header",
54
+ "icon",
55
+ "activity",
56
+ "conversation"
57
+ ],
58
+ "related": [
59
+ "CkAgentMessage",
60
+ "CkHeaderActivityButton",
61
+ "CkConversation"
62
+ ],
63
+ "props": [],
64
+ "examples": [
65
+ "WithActivityButton",
66
+ "WithoutActivityButton"
67
+ ],
68
+ "_autoGenerated": true
69
+ },
70
+ "CkCitation": {
71
+ "description": "An inline citation marker — the numbered chip rendered in place of a `[n]` reference inside an assistant answer. On hover, or when activated by keyboard (Enter/Space) or click, it reveals a `CkCitationCard` describing the source. The marker shows the bare source number (no brackets). Activating the card's external-link action re-emits `open-source` so the host can open the (possibly auth-proxied) source URL.",
72
+ "category": "Data Display",
73
+ "useCases": [
74
+ "inline citation in assistant reply",
75
+ "numbered source reference",
76
+ "hover to preview the cited file/page"
77
+ ],
78
+ "keywords": [
79
+ "citation",
80
+ "source",
81
+ "reference",
82
+ "inline",
83
+ "marker",
84
+ "footnote",
85
+ "number",
86
+ "hover",
87
+ "popover"
88
+ ],
89
+ "related": [
90
+ "CkCitationCard",
91
+ "CkMarkdownRenderer",
92
+ "CkAgentMessage"
93
+ ],
94
+ "props": [],
95
+ "examples": [
96
+ "Default",
97
+ "Selected",
98
+ "InlineInText",
99
+ "MultiDigitIndex",
100
+ "WithoutLink",
101
+ "LongFileName",
102
+ "WithoutLocation",
103
+ "SourceTypes"
104
+ ],
105
+ "_autoGenerated": true
106
+ },
107
+ "CkCitationCard": {
108
+ "description": "The floating card that describes a single citation source: the source file, the cited excerpt, an optional location (e.g. page), and an optional external-link action. Rendered as the hover/focus content of `CkCitation`, but usable on its own wherever a source preview is needed. Purely presentational and prop-driven. The external-link action is exposed as an `open-source` event rather than a plain link, because the source URL is often auth-proxied and cannot be navigated to directly.",
109
+ "category": "Data Display",
110
+ "useCases": [
111
+ "citation source preview",
112
+ "hover card for an inline reference",
113
+ "show the cited file/page/excerpt"
114
+ ],
115
+ "keywords": [
116
+ "citation",
117
+ "source",
118
+ "card",
119
+ "popover",
120
+ "reference",
121
+ "file",
122
+ "page",
123
+ "excerpt",
124
+ "preview"
125
+ ],
126
+ "related": [
127
+ "CkCitation",
128
+ "CkMarkdownRenderer",
129
+ "CkAgentMessage"
130
+ ],
131
+ "props": [
132
+ "fileName",
133
+ "snippet",
134
+ "locationLabel",
135
+ "url",
136
+ "openSourceLabel"
137
+ ],
138
+ "examples": [
139
+ "Default",
140
+ "WithoutLink",
141
+ "WithoutLocation",
142
+ "MinimalSnippetOnly",
143
+ "LongFileName",
144
+ "LongSnippet",
145
+ "FileTypeVariants"
33
146
  ],
34
147
  "_autoGenerated": true
35
148
  },
@@ -66,7 +179,7 @@
66
179
  ],
67
180
  "_autoGenerated": true
68
181
  },
69
- "CkCopyMessageActionButton": {
182
+ "CkCopyMessageButton": {
70
183
  "description": "Copy-to-clipboard action button for chat messages. Shows a check icon and announces success for assistive technologies, then reverts after a delay.",
71
184
  "category": "Actions",
72
185
  "useCases": [
@@ -85,7 +198,7 @@
85
198
  "feedback"
86
199
  ],
87
200
  "related": [
88
- "CkMessageActionButton",
201
+ "CkMessageButton",
89
202
  "CkAgentMessage",
90
203
  "CkConversation"
91
204
  ],
@@ -103,6 +216,44 @@
103
216
  ],
104
217
  "_autoGenerated": true
105
218
  },
219
+ "CkDropZoneOverlay": {
220
+ "description": "Full-window drag-and-drop overlay. Listens for file drags anywhere on the page, reveals a teleported overlay, validates dropped files against `accept`, `maxFileSizeBytes` and `maxFiles`, and emits the accepted files. Purely presentational and self-contained: it owns its own drag state and has no knowledge of the host app. All limits and copy are configurable, and rejection handling can be delegated to the consumer via the `rejected` event.",
221
+ "category": "Form Inputs",
222
+ "useCases": [
223
+ "page-level file attachment",
224
+ "drag-and-drop upload",
225
+ "chat composer"
226
+ ],
227
+ "keywords": [
228
+ "drag and drop",
229
+ "drop zone",
230
+ "file upload",
231
+ "overlay",
232
+ "attachments",
233
+ "drop",
234
+ "zone"
235
+ ],
236
+ "related": [
237
+ "CkFileItemsList",
238
+ "CkPromptInput"
239
+ ],
240
+ "props": [
241
+ "accept",
242
+ "maxFileSizeBytes",
243
+ "maxFiles",
244
+ "disabled",
245
+ "heading",
246
+ "hint",
247
+ "ariaLabel",
248
+ "showErrors",
249
+ "errorTimeoutMs"
250
+ ],
251
+ "examples": [
252
+ "Default",
253
+ "SingleFile"
254
+ ],
255
+ "_autoGenerated": true
256
+ },
106
257
  "CkFeedbackButton": {
107
258
  "description": "Binary thumbs up / thumbs down feedback control for assistant messages. Fully prop-driven: the host application owns the selection and lock state and decides when (or if) to persist it to a backend. Labels default to those provided by `useChatKitLabels` (which can be translated via `provideChatKitLabels`). The `ariaLabel*` props override the injected labels on a per-instance basis when set.",
108
259
  "category": "Feedback",
@@ -125,8 +276,8 @@
125
276
  "button"
126
277
  ],
127
278
  "related": [
128
- "CkMessageActionButton",
129
- "CkCopyMessageActionButton",
279
+ "CkMessageButton",
280
+ "CkCopyMessageButton",
130
281
  "CkAgentMessage",
131
282
  "CkConversation"
132
283
  ],
@@ -149,7 +300,7 @@
149
300
  "_autoGenerated": true
150
301
  },
151
302
  "CkFeedbackDialog": {
152
- "description": "Modal dialog for collecting qualitative feedback on an assistant response. Opened after a binary thumbs-up / thumbs-down click (see `CkFeedbackButton`), it lets the user pick a single reason code and add an optional free-text comment, then submit both alongside the original sentiment. One reason per submission: the backend (feedback-kit) stores a single `reason` enum per response, so the dialog is single-select by design. Fully prop-driven: the host application owns `open`, the list of reasons to show (fetched from `GET /feedback/config`), the response text to display, and the submission handler. The component only manages transient form state (the selected reason and free-text value) until the user submits or cancels. capture a free-text comment, drive a two-step rating flow rating, comment CkConversation, UiDialog, UiToggleGroup",
303
+ "description": "Modal dialog for collecting qualitative feedback on an assistant response. Opened after a binary thumbs-up / thumbs-down click (see `CkFeedbackButton`), it lets the user pick one or more reason codes and add an optional free-text comment, then submit them alongside the original sentiment. Multiple reasons per submission: the backend (feedback-kit) stores a list of reason codes per response (each becomes its own categorical score), so the chips are multi-select. Fully prop-driven: the host application owns `open`, the list of reasons to show (fetched from `GET /feedback/config`), the response text to display, and the submission handler. The component only manages transient form state (the selected reasons and free-text value) until the user submits or cancels. capture a free-text comment, drive a two-step rating flow rating, comment CkConversation, UiDialog, UiToggleGroup",
153
304
  "category": "Feedback",
154
305
  "useCases": [
155
306
  "collect qualitative feedback",
@@ -165,7 +316,7 @@
165
316
  ],
166
317
  "related": [
167
318
  "CkFeedbackButton",
168
- "CkMessageActionButton",
319
+ "CkMessageButton",
169
320
  "CkAgentMessage"
170
321
  ],
171
322
  "props": [
@@ -191,12 +342,13 @@
191
342
  "Negative",
192
343
  "NoResponseColumn",
193
344
  "Submitting",
345
+ "LongResponse",
194
346
  "WithFeedbackButton"
195
347
  ],
196
348
  "_autoGenerated": true
197
349
  },
198
350
  "CkFileItemsList": {
199
- "description": "Horizontal list of file attachments; collapses to a popover once the count exceeds `maxInline`.",
351
+ "description": "Horizontal list of file attachments. Renders as many items inline as fit the available width — each kept between `minItemWidth` and `maxItemWidth` wide — and collapses into a popover once they no longer fit.",
200
352
  "category": "Form Inputs",
201
353
  "useCases": [
202
354
  "user message attachments",
@@ -219,11 +371,13 @@
219
371
  ],
220
372
  "props": [
221
373
  "files",
222
- "maxInline",
374
+ "minItemWidth",
375
+ "maxItemWidth",
223
376
  "size",
224
377
  "isRemovable",
225
378
  "removeLabel",
226
379
  "disabled",
380
+ "showStatus",
227
381
  "triggerLabel",
228
382
  "triggerAriaLabel",
229
383
  "listLabel",
@@ -232,9 +386,48 @@
232
386
  "examples": [
233
387
  "Inline",
234
388
  "Collapsed",
389
+ "UploadStatus",
235
390
  "Removable",
236
391
  "CustomItem",
237
392
  "Clickable",
393
+ "Disabled",
394
+ "Responsive"
395
+ ],
396
+ "_autoGenerated": true
397
+ },
398
+ "CkHeaderActivityButton": {
399
+ "description": "Compact, ghost-styled button shown on the right of an agent message header (see `CkAgentMessageHeader`). Renders a short label followed by a trailing icon (an arrow by default) and emits a generic `click` event — it performs no action of its own, leaving the consumer to decide what happens (e.g. open an activity / chain-of-thought panel).",
400
+ "category": "Actions",
401
+ "useCases": [
402
+ "agent message header action",
403
+ "open activity panel",
404
+ "chain-of-thought summary toggle",
405
+ "tool/source indicator"
406
+ ],
407
+ "keywords": [
408
+ "header",
409
+ "activity",
410
+ "action",
411
+ "button",
412
+ "ghost",
413
+ "arrow",
414
+ "agent",
415
+ "message"
416
+ ],
417
+ "related": [
418
+ "CkAgentMessageHeader",
419
+ "CkAgentMessage",
420
+ "CkConversation",
421
+ "CkMessageButton"
422
+ ],
423
+ "props": [
424
+ "disabled",
425
+ "ariaLabel",
426
+ "icon"
427
+ ],
428
+ "examples": [
429
+ "Default",
430
+ "WithoutIcon",
238
431
  "Disabled"
239
432
  ],
240
433
  "_autoGenerated": true
@@ -320,7 +513,8 @@
320
513
  "props": [
321
514
  "content",
322
515
  "classes",
323
- "plugins"
516
+ "plugins",
517
+ "citations"
324
518
  ],
325
519
  "examples": [
326
520
  "Default",
@@ -329,11 +523,14 @@
329
523
  "ComplexMarkdown",
330
524
  "WithCustomClasses",
331
525
  "GfmFeatures",
332
- "WithCustomPlugin"
526
+ "MathExpressions",
527
+ "WithCustomPlugin",
528
+ "WithCitations",
529
+ "WithUnsupportedAndCodeMarkers"
333
530
  ],
334
531
  "_autoGenerated": true
335
532
  },
336
- "CkMessageActionButton": {
533
+ "CkMessageButton": {
337
534
  "description": "Small icon-only action button used in the footer of chat messages. Acts as a ghost-styled wrapper around `UiButton` with consistent chat-kit tokens.",
338
535
  "category": "Actions",
339
536
  "useCases": [
@@ -352,7 +549,7 @@
352
549
  "button"
353
550
  ],
354
551
  "related": [
355
- "CkCopyMessageActionButton",
552
+ "CkCopyMessageButton",
356
553
  "CkAgentMessage",
357
554
  "CkConversation"
358
555
  ],
@@ -365,52 +562,53 @@
365
562
  ],
366
563
  "_autoGenerated": true
367
564
  },
368
- "CkPromptActionButton": {
369
- "description": "Icon-only call-to-action button styled for the chat prompt area (brand color). Typically used as the \"send\" button inside a prompt input toolbar, but works for any primary prompt-level action.",
565
+ "CkModelSelector": {
566
+ "description": "Compact dropdown for choosing the active model, sized to sit inline in a prompt field next to the send button. Controlled component: pass the available `models` and the `selectedModelId`, and react to `update:selectedModelId` (so it works with `v-model:selected-model-id`). Purely presentational — fetching the list and persisting the choice are the consumer's responsibility.",
370
567
  "category": "Actions",
371
568
  "useCases": [
372
- "send message button",
373
- "submit prompt",
374
- "primary chat action",
375
- "loading send button",
376
- "disabled send button"
569
+ "select model",
570
+ "choose LLM",
571
+ "model picker in prompt field",
572
+ "switch model mid-conversation"
377
573
  ],
378
574
  "keywords": [
575
+ "model",
576
+ "selector",
577
+ "picker",
578
+ "dropdown",
579
+ "llm",
379
580
  "prompt",
380
- "send",
381
- "action",
382
- "button",
383
- "icon",
384
- "submit",
385
- "loading",
386
- "brand"
581
+ "choose",
582
+ "switch"
387
583
  ],
388
584
  "related": [
389
585
  "CkPromptInput",
390
- "CkInput",
391
- "CkMessageActionButton"
586
+ "CkPromptSendButton"
392
587
  ],
393
588
  "props": [
394
- "ariaLabel",
589
+ "models",
590
+ "selectedModelId",
395
591
  "disabled",
396
- "loading",
397
- "type"
592
+ "side",
593
+ "align",
594
+ "sideOffset"
398
595
  ],
399
596
  "examples": [
400
597
  "Default",
401
- "Disabled",
402
- "Loading"
598
+ "Placeholder",
599
+ "Disabled"
403
600
  ],
404
601
  "_autoGenerated": true
405
602
  },
406
603
  "CkPromptInput": {
407
- "description": "Low-level prompt input: a single auto-growing textarea with left/right toolbar slots, a footer slot, and keyboard submission (Enter to submit, Shift+Enter for newline). Use when you need full control over the prompt layout; for a turnkey chat input use `CkInput` instead.",
604
+ "description": "Low-level prompt input: an auto-growing textarea (1–6 lines, then internal scroll) with `toolbar-top` / `toolbar-left` / `toolbar-right` / `footer` slots and keyboard submission (Enter to submit, Shift+Enter for newline). The form layout adapts between a compact single-row variant (large 3xl radius) and a stacked multi-row variant (2xl radius) automatically — driven by content height and whether `toolbar-top` is filled. Compose it with `CkPromptSendButton`, `CkPromptStopButton`, and `CkPromptInputDisclaimer` to build a complete chat input.",
408
605
  "category": "Form Inputs",
409
606
  "useCases": [
410
607
  "raw chat prompt textarea",
411
608
  "custom prompt toolbar",
412
- "auto-growing textarea",
413
- "compose box",
609
+ "auto-growing compose box",
610
+ "file-attachment chip row",
611
+ "multi-line chat input",
414
612
  "keyboard submit"
415
613
  ],
416
614
  "keywords": [
@@ -418,27 +616,36 @@
418
616
  "input",
419
617
  "textarea",
420
618
  "chat",
421
- "auto-grow",
422
619
  "compose",
423
620
  "submit",
424
- "v-model"
621
+ "v-model",
622
+ "auto-grow",
623
+ "multi-line",
624
+ "toolbar"
425
625
  ],
426
626
  "related": [
427
- "CkInput",
428
- "CkPromptActionButton",
429
- "CkPromptInputDisclaimer"
627
+ "CkPromptSendButton",
628
+ "CkPromptStopButton",
629
+ "CkPromptMenuButton",
630
+ "CkPromptInputDisclaimer",
631
+ "CkFileItemsList"
430
632
  ],
431
633
  "props": [
432
634
  "modelValue",
433
635
  "placeholder",
434
636
  "disabled",
435
- "maxHeight",
436
637
  "ariaLabel"
437
638
  ],
438
639
  "examples": [
439
640
  "Default",
440
641
  "WithToolbarSlots",
441
642
  "WithFooterSlot",
643
+ "WithFooterControls",
644
+ "WithToolbarTopSlot",
645
+ "WithUploadAndModelSelection",
646
+ "WithMultiLineContent",
647
+ "WithCollapsedFileChips",
648
+ "WithUploadAndModelSelectionStreaming",
442
649
  "Disabled"
443
650
  ],
444
651
  "_autoGenerated": true
@@ -462,8 +669,8 @@
462
669
  "input"
463
670
  ],
464
671
  "related": [
465
- "CkInput",
466
- "CkPromptInput"
672
+ "CkPromptInput",
673
+ "CkPromptSendButton"
467
674
  ],
468
675
  "props": [
469
676
  "text"
@@ -475,8 +682,84 @@
475
682
  ],
476
683
  "_autoGenerated": true
477
684
  },
685
+ "CkPromptMenuButton": {
686
+ "description": "Icon-only menu trigger styled for the chat prompt area (ghost variant, pill-shaped). Sits in `CkPromptInput`'s `toolbar-left` slot as the entry point to a dropdown of prompt actions — attach files, attach folders, toggle tools, switch length, etc. Defaults to a `plus` icon when the slot is empty; pass any icon to override.",
687
+ "category": "Actions",
688
+ "useCases": [
689
+ "open prompt menu",
690
+ "attach files",
691
+ "add resources",
692
+ "toggle tools",
693
+ "prompt input toolbar"
694
+ ],
695
+ "keywords": [
696
+ "prompt",
697
+ "menu",
698
+ "plus",
699
+ "add",
700
+ "button",
701
+ "icon",
702
+ "ghost",
703
+ "dropdown trigger",
704
+ "tools"
705
+ ],
706
+ "related": [
707
+ "CkPromptInput",
708
+ "CkPromptSendButton",
709
+ "CkPromptStopButton",
710
+ "CkDropZoneOverlay",
711
+ "CkFileItemsList"
712
+ ],
713
+ "props": [
714
+ "ariaLabel",
715
+ "disabled",
716
+ "type"
717
+ ],
718
+ "examples": [
719
+ "Default",
720
+ "Disabled"
721
+ ],
722
+ "_autoGenerated": true
723
+ },
724
+ "CkPromptSendButton": {
725
+ "description": "Icon-only send button styled for the chat prompt area (brand color, pill shape). Sits in `CkPromptInput`'s `toolbar-right` slot as the submit trigger. Shows a spinner via `loading` while the previous request is in flight; pair with `CkPromptStopButton` to expose an abort control.",
726
+ "category": "Actions",
727
+ "useCases": [
728
+ "send message button",
729
+ "submit prompt",
730
+ "primary chat send action",
731
+ "loading send button",
732
+ "disabled send button"
733
+ ],
734
+ "keywords": [
735
+ "prompt",
736
+ "send",
737
+ "submit",
738
+ "button",
739
+ "icon",
740
+ "loading",
741
+ "brand"
742
+ ],
743
+ "related": [
744
+ "CkPromptInput",
745
+ "CkPromptStopButton",
746
+ "CkSendIcon"
747
+ ],
748
+ "props": [
749
+ "ariaLabel",
750
+ "disabled",
751
+ "loading",
752
+ "type"
753
+ ],
754
+ "examples": [
755
+ "Default",
756
+ "Disabled",
757
+ "Loading"
758
+ ],
759
+ "_autoGenerated": true
760
+ },
478
761
  "CkPromptStopButton": {
479
- "description": "Icon-only button used to stop an in-flight assistant generation. Shares the brand styling of `CkPromptActionButton` but is intended to replace it in the prompt toolbar while a response is streaming.",
762
+ "description": "Icon-only button used to stop an in-flight assistant generation. Visually de-emphasized counterpart to `CkPromptSendButton` — uses UiButton's `secondary` variant (muted background) per Figma spec, so the user's eye doesn't read it as a primary call-to-action. Swap it in for `CkPromptSendButton` in the prompt toolbar while a response is streaming.",
480
763
  "category": "Actions",
481
764
  "useCases": [
482
765
  "stop assistant generation",
@@ -489,15 +772,16 @@
489
772
  "cancel",
490
773
  "abort",
491
774
  "prompt",
492
- "action",
493
775
  "button",
494
776
  "icon",
495
- "streaming"
777
+ "streaming",
778
+ "secondary"
496
779
  ],
497
780
  "related": [
498
- "CkPromptActionButton",
781
+ "CkPromptSendButton",
782
+ "CkPromptMenuButton",
499
783
  "CkPromptInput",
500
- "CkInput"
784
+ "CkStopIcon"
501
785
  ],
502
786
  "props": [
503
787
  "ariaLabel",
@@ -509,35 +793,73 @@
509
793
  ],
510
794
  "_autoGenerated": true
511
795
  },
796
+ "CkRegenerateMessageButton": {
797
+ "description": "Regenerate action button for chat messages. Lets the user request a new response for an assistant message. Renders an icon-only button with an accessible label and tooltip.",
798
+ "category": "Actions",
799
+ "useCases": [
800
+ "regenerate assistant reply",
801
+ "retry message",
802
+ "request new response",
803
+ "chat message action"
804
+ ],
805
+ "keywords": [
806
+ "regenerate",
807
+ "retry",
808
+ "repeat",
809
+ "action",
810
+ "message",
811
+ "button",
812
+ "icon"
813
+ ],
814
+ "related": [
815
+ "CkMessageButton",
816
+ "CkCopyMessageButton",
817
+ "CkAgentMessage",
818
+ "CkConversation"
819
+ ],
820
+ "props": [
821
+ "disabled",
822
+ "ariaLabel"
823
+ ],
824
+ "examples": [
825
+ "Default",
826
+ "Disabled"
827
+ ],
828
+ "_autoGenerated": true
829
+ },
512
830
  "CkUserMessage": {
513
- "description": "Bubble layout for a single user turn in a conversation. Renders the message text on the right side with a tokenized background and max-width; supports a default slot for custom inline content.",
831
+ "description": "Layout for a single user turn in a conversation. Renders the message text right-aligned in the muted on-surface color with a max-width; supports a default slot for custom inline content. When `collapsedLines` is set, long messages are clamped with a fade and a \"Show more\" / \"Show less\" toggle.",
514
832
  "category": "Messages",
515
833
  "useCases": [
516
- "render user message bubble",
834
+ "render user message",
517
835
  "conversation turn from user",
518
836
  "chat input preview",
519
- "right-aligned message"
837
+ "right-aligned message",
838
+ "collapsible long message"
520
839
  ],
521
840
  "keywords": [
522
841
  "user",
523
842
  "message",
524
- "bubble",
525
843
  "chat",
526
844
  "conversation",
527
- "turn"
845
+ "turn",
846
+ "collapse",
847
+ "show more"
528
848
  ],
529
849
  "related": [
530
850
  "CkAgentMessage",
531
851
  "CkConversation"
532
852
  ],
533
853
  "props": [
534
- "message"
854
+ "message",
855
+ "collapsedLines"
535
856
  ],
536
857
  "examples": [
537
858
  "Default",
538
859
  "LongMessage",
539
860
  "MultilineMessage",
540
- "WithSlotContent"
861
+ "WithSlotContent",
862
+ "Collapsible"
541
863
  ],
542
864
  "_autoGenerated": true
543
865
  },
@@ -567,8 +889,8 @@
567
889
  "CkAgentMessage",
568
890
  "CkUserMessage",
569
891
  "CkMarkdownRenderer",
570
- "CkCopyMessageActionButton",
571
- "CkInput"
892
+ "CkCopyMessageButton",
893
+ "CkPromptInput"
572
894
  ],
573
895
  "props": [
574
896
  "messages",
@@ -622,61 +944,19 @@
622
944
  "hrefResolver",
623
945
  "activeId",
624
946
  "showAction",
625
- "showActionOnHover"
947
+ "showActionOnHover",
948
+ "timeFormatter",
949
+ "collapsedLimit",
950
+ "maxHeight"
626
951
  ],
627
952
  "examples": [
628
953
  "Default",
629
954
  "WithoutActions",
630
955
  "RouterLinkIntegration",
631
- "WithCustomItem"
632
- ],
633
- "_autoGenerated": true
634
- },
635
- "CkInput": {
636
- "description": "Drop-in chat input: combines `CkPromptInput`, a `CkPromptActionButton` send button, and a `CkPromptInputDisclaimer`. Supports `v-model`, loading and disabled states, and slots to customize the toolbar and footer.",
637
- "category": "Form Inputs",
638
- "useCases": [
639
- "chat compose input",
640
- "prompt box with send button",
641
- "llm input with disclaimer",
642
- "quick-start chat input",
643
- "turnkey chat input"
644
- ],
645
- "keywords": [
646
- "input",
647
- "prompt",
648
- "chat",
649
- "send",
650
- "compose",
651
- "disclaimer",
652
- "loading",
653
- "v-model",
654
- "textarea"
655
- ],
656
- "related": [
657
- "CkPromptInput",
658
- "CkPromptActionButton",
659
- "CkPromptInputDisclaimer",
660
- "CkConversation"
661
- ],
662
- "props": [
663
- "modelValue",
664
- "placeholder",
665
- "disabled",
666
- "loading",
667
- "maxHeight",
668
- "ariaLabel",
669
- "stopAriaLabel",
670
- "disclaimer"
671
- ],
672
- "examples": [
673
- "Default",
674
- "WithModeToggle",
675
- "FullExample",
676
- "Disabled",
677
- "Loading",
678
- "WithLongText",
679
- "MobileWidth"
956
+ "WithCustomItem",
957
+ "WithoutTime",
958
+ "CollapsedWithShowAll",
959
+ "NoCollapse"
680
960
  ],
681
961
  "_autoGenerated": true
682
962
  }