@aleph-alpha/lib-mcp 5.0.0 → 5.2.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.
- package/chat-kit-components-meta.json +96 -0
- package/components-meta.json +76 -13
- package/package.json +1 -1
|
@@ -190,6 +190,56 @@
|
|
|
190
190
|
],
|
|
191
191
|
"_autoGenerated": true
|
|
192
192
|
},
|
|
193
|
+
"CkCodeEditor": {
|
|
194
|
+
"description": "Single-document code editor built on [CodeMirror 6](https://codemirror.net/). Its surface is the one `UiCodeBlock` renders for fenced code inside {@link CkMarkdownRenderer}: the same bordered, rounded panel, the same muted header carrying the language and a copy button, the same monospace metrics, and syntax colours approximating Shiki's `github-light` / `github-dark`. A snippet therefore looks the same whether it is being read in a reply or edited here. Use it wherever a whole document *is* code — a snippet field, a config or template editor, a \"create skill\" form. For prose that merely contains code, use {@link CkMilkdownEditor}, whose fenced blocks share this same theme. Grammars load on demand from CodeMirror's language data, so only the languages actually opened are fetched, and the editor itself loads lazily on mount so importing the component costs nothing until one is shown.",
|
|
195
|
+
"category": "Form Inputs",
|
|
196
|
+
"useCases": [
|
|
197
|
+
"edit a code snippet",
|
|
198
|
+
"config or template editor",
|
|
199
|
+
"code field in a form",
|
|
200
|
+
"review and tweak generated code"
|
|
201
|
+
],
|
|
202
|
+
"keywords": [
|
|
203
|
+
"code",
|
|
204
|
+
"editor",
|
|
205
|
+
"codemirror",
|
|
206
|
+
"syntax highlighting",
|
|
207
|
+
"snippet",
|
|
208
|
+
"v-model",
|
|
209
|
+
"monospace",
|
|
210
|
+
"language"
|
|
211
|
+
],
|
|
212
|
+
"related": [
|
|
213
|
+
"CkMilkdownEditor",
|
|
214
|
+
"CkMarkdownRenderer"
|
|
215
|
+
],
|
|
216
|
+
"props": [
|
|
217
|
+
"modelValue",
|
|
218
|
+
"language",
|
|
219
|
+
"filename",
|
|
220
|
+
"placeholder",
|
|
221
|
+
"readonly",
|
|
222
|
+
"disabled",
|
|
223
|
+
"ariaLabel",
|
|
224
|
+
"showHeader",
|
|
225
|
+
"showCopyButton",
|
|
226
|
+
"showLineNumbers",
|
|
227
|
+
"lineWrapping",
|
|
228
|
+
"maxHeight",
|
|
229
|
+
"autofocus",
|
|
230
|
+
"writeToClipboard"
|
|
231
|
+
],
|
|
232
|
+
"examples": [
|
|
233
|
+
"Default",
|
|
234
|
+
"WithFilename",
|
|
235
|
+
"PlainText",
|
|
236
|
+
"Readonly",
|
|
237
|
+
"WithoutHeader",
|
|
238
|
+
"ScrollingAndWrapping",
|
|
239
|
+
"MatchesTheRenderer"
|
|
240
|
+
],
|
|
241
|
+
"_autoGenerated": true
|
|
242
|
+
},
|
|
193
243
|
"CkConversationLayout": {
|
|
194
244
|
"description": "Scroll-aware container that renders a list of messages with sticky-to-bottom behavior, a shrinking spacer so streaming agent replies don't jitter the viewport, and slots for rendering user/agent messages.",
|
|
195
245
|
"category": "Layout",
|
|
@@ -643,6 +693,52 @@
|
|
|
643
693
|
],
|
|
644
694
|
"_autoGenerated": true
|
|
645
695
|
},
|
|
696
|
+
"CkMilkdownEditor": {
|
|
697
|
+
"description": "Markdown WYSIWYG editor built on [Milkdown Crepe](https://milkdown.dev/docs/guide/using-crepe). Its content is styled with the very same per-tag class map that {@link CkMarkdownRenderer} uses, so a message edited here looks identical to the rendered reply — no visual jump between reading and editing. The feature set is deliberately small and chat-oriented: a floating toolbar (bold, italic, strikethrough, inline code, link), bullet / ordered / task lists, blockquotes, links with a hover tooltip, fenced code blocks with syntax highlighting and a copy button, and an empty-document placeholder. Tables, images, LaTeX, slash menus and drag handles are intentionally not enabled. The editor itself loads lazily on mount, so importing this component does not pull ProseMirror / CodeMirror into the consumer's initial bundle.",
|
|
698
|
+
"category": "Form Inputs",
|
|
699
|
+
"useCases": [
|
|
700
|
+
"edit an assistant reply before sending",
|
|
701
|
+
"compose a rich prompt",
|
|
702
|
+
"edit a saved note in markdown",
|
|
703
|
+
"inline WYSIWYG editing of a user message"
|
|
704
|
+
],
|
|
705
|
+
"keywords": [
|
|
706
|
+
"markdown",
|
|
707
|
+
"editor",
|
|
708
|
+
"wysiwyg",
|
|
709
|
+
"milkdown",
|
|
710
|
+
"crepe",
|
|
711
|
+
"prosemirror",
|
|
712
|
+
"rich text",
|
|
713
|
+
"v-model",
|
|
714
|
+
"compose"
|
|
715
|
+
],
|
|
716
|
+
"related": [
|
|
717
|
+
"CkMarkdownRenderer",
|
|
718
|
+
"CkPromptInput",
|
|
719
|
+
"CkEditableUserMessage"
|
|
720
|
+
],
|
|
721
|
+
"props": [
|
|
722
|
+
"modelValue",
|
|
723
|
+
"placeholder",
|
|
724
|
+
"readonly",
|
|
725
|
+
"disabled",
|
|
726
|
+
"ariaLabel",
|
|
727
|
+
"classes",
|
|
728
|
+
"autofocus",
|
|
729
|
+
"showLineNumbers"
|
|
730
|
+
],
|
|
731
|
+
"examples": [
|
|
732
|
+
"Default",
|
|
733
|
+
"WithInitialContent",
|
|
734
|
+
"Readonly",
|
|
735
|
+
"WithLineNumbers",
|
|
736
|
+
"Disabled",
|
|
737
|
+
"CustomClasses",
|
|
738
|
+
"SideBySideWithRenderer"
|
|
739
|
+
],
|
|
740
|
+
"_autoGenerated": true
|
|
741
|
+
},
|
|
646
742
|
"CkModelSelector": {
|
|
647
743
|
"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.",
|
|
648
744
|
"category": "Actions",
|
package/components-meta.json
CHANGED
|
@@ -57,7 +57,14 @@
|
|
|
57
57
|
"examples": [
|
|
58
58
|
"Default",
|
|
59
59
|
"Destructive",
|
|
60
|
-
"AllVariants"
|
|
60
|
+
"AllVariants",
|
|
61
|
+
"Dismissible",
|
|
62
|
+
"Accessibility",
|
|
63
|
+
"DismissInteraction",
|
|
64
|
+
"KeyboardNavigation",
|
|
65
|
+
"ScreenReader",
|
|
66
|
+
"ZoomMagnification",
|
|
67
|
+
"MobileBreakpoint"
|
|
61
68
|
],
|
|
62
69
|
"_autoGenerated": true
|
|
63
70
|
},
|
|
@@ -527,7 +534,13 @@
|
|
|
527
534
|
"Removable",
|
|
528
535
|
"WithAndWithoutLeadingIcon",
|
|
529
536
|
"Group",
|
|
530
|
-
"FocusOrderInteractive"
|
|
537
|
+
"FocusOrderInteractive",
|
|
538
|
+
"Accessibility",
|
|
539
|
+
"ChipInteraction",
|
|
540
|
+
"KeyboardNavigation",
|
|
541
|
+
"ScreenReader",
|
|
542
|
+
"ZoomMagnification",
|
|
543
|
+
"MobileBreakpoint"
|
|
531
544
|
],
|
|
532
545
|
"_autoGenerated": true
|
|
533
546
|
},
|
|
@@ -646,7 +659,13 @@
|
|
|
646
659
|
"NonModal",
|
|
647
660
|
"WithoutHandle",
|
|
648
661
|
"LongContent",
|
|
649
|
-
"OpenByDefault"
|
|
662
|
+
"OpenByDefault",
|
|
663
|
+
"Accessibility",
|
|
664
|
+
"PointerInteraction",
|
|
665
|
+
"KeyboardNavigation",
|
|
666
|
+
"ScreenReader",
|
|
667
|
+
"ZoomMagnification",
|
|
668
|
+
"MobileBreakpoint"
|
|
650
669
|
],
|
|
651
670
|
"_autoGenerated": true
|
|
652
671
|
},
|
|
@@ -1152,7 +1171,13 @@
|
|
|
1152
1171
|
"WithInput",
|
|
1153
1172
|
"WithCheckbox",
|
|
1154
1173
|
"DisabledState",
|
|
1155
|
-
"RequiredField"
|
|
1174
|
+
"RequiredField",
|
|
1175
|
+
"Accessibility",
|
|
1176
|
+
"LabelActivation",
|
|
1177
|
+
"KeyboardNavigation",
|
|
1178
|
+
"ScreenReader",
|
|
1179
|
+
"ZoomMagnification",
|
|
1180
|
+
"MobileBreakpoint"
|
|
1156
1181
|
],
|
|
1157
1182
|
"_autoGenerated": true
|
|
1158
1183
|
},
|
|
@@ -1552,7 +1577,13 @@
|
|
|
1552
1577
|
"NonModal",
|
|
1553
1578
|
"WithForm",
|
|
1554
1579
|
"LongContent",
|
|
1555
|
-
"OpenByDefault"
|
|
1580
|
+
"OpenByDefault",
|
|
1581
|
+
"Accessibility",
|
|
1582
|
+
"PointerInteraction",
|
|
1583
|
+
"KeyboardNavigation",
|
|
1584
|
+
"ScreenReader",
|
|
1585
|
+
"ZoomMagnification",
|
|
1586
|
+
"MobileBreakpoint"
|
|
1556
1587
|
],
|
|
1557
1588
|
"_autoGenerated": true
|
|
1558
1589
|
},
|
|
@@ -1630,7 +1661,13 @@
|
|
|
1630
1661
|
"Default",
|
|
1631
1662
|
"Range",
|
|
1632
1663
|
"Vertical",
|
|
1633
|
-
"Disabled"
|
|
1664
|
+
"Disabled",
|
|
1665
|
+
"Accessibility",
|
|
1666
|
+
"KeyboardNavigation",
|
|
1667
|
+
"KeyboardRangeNavigation",
|
|
1668
|
+
"ScreenReader",
|
|
1669
|
+
"ZoomMagnification",
|
|
1670
|
+
"MobileBreakpoint"
|
|
1634
1671
|
],
|
|
1635
1672
|
"_autoGenerated": true
|
|
1636
1673
|
},
|
|
@@ -1866,7 +1903,14 @@
|
|
|
1866
1903
|
"Disabled",
|
|
1867
1904
|
"MaxTags",
|
|
1868
1905
|
"EmailInput",
|
|
1869
|
-
"WithListbox"
|
|
1906
|
+
"WithListbox",
|
|
1907
|
+
"Accessibility",
|
|
1908
|
+
"TagInteraction",
|
|
1909
|
+
"KeyboardNavigation",
|
|
1910
|
+
"ScreenReader",
|
|
1911
|
+
"ZoomMagnification",
|
|
1912
|
+
"MobileBreakpoint",
|
|
1913
|
+
"MaxTagsLimit"
|
|
1870
1914
|
],
|
|
1871
1915
|
"_autoGenerated": true
|
|
1872
1916
|
},
|
|
@@ -2284,14 +2328,33 @@
|
|
|
2284
2328
|
"_autoGenerated": true
|
|
2285
2329
|
},
|
|
2286
2330
|
"UiLayout": {
|
|
2287
|
-
"description": "
|
|
2288
|
-
"category": "
|
|
2289
|
-
"useCases": [
|
|
2331
|
+
"description": "Container for the primary content area — the main part of an application layout. It renders the sheet surface (`background/surface/secondary`) and carries the design system's 48px margin on its left and right edges — 32px below the `desktop` breakpoint (1200px), toward the minimum desktop size of 1024px — so pages start from the same inset instead of each carrying its own spacing. Divide the space inside it with a 12-column grid and 24px gutters. Slots: `default` for the page content; `split` for a split view — a border divides the content box into two equal parts, each keeping a 28px margin from the divider and a 6-column grid of its own; and `sidebar` for secondary content — locked to the right edge and sized by `sidebarMode`. In the sidebar view the primary area is the rounded sheet (12px radius) while the sidebar has no surface of its own; both keep 48px margins.",
|
|
2332
|
+
"category": "Layout",
|
|
2333
|
+
"useCases": [
|
|
2334
|
+
"main content area",
|
|
2335
|
+
"page body",
|
|
2336
|
+
"layout grid container",
|
|
2337
|
+
"split view",
|
|
2338
|
+
"secondary sidebar"
|
|
2339
|
+
],
|
|
2290
2340
|
"keywords": [
|
|
2291
|
-
"layout"
|
|
2341
|
+
"layout",
|
|
2342
|
+
"content",
|
|
2343
|
+
"main",
|
|
2344
|
+
"margin",
|
|
2345
|
+
"grid",
|
|
2346
|
+
"page",
|
|
2347
|
+
"split",
|
|
2348
|
+
"sidebar"
|
|
2349
|
+
],
|
|
2350
|
+
"related": [
|
|
2351
|
+
"UiSidebar",
|
|
2352
|
+
"UiTopBar"
|
|
2353
|
+
],
|
|
2354
|
+
"props": [
|
|
2355
|
+
"as",
|
|
2356
|
+
"sidebarMode"
|
|
2292
2357
|
],
|
|
2293
|
-
"related": [],
|
|
2294
|
-
"props": [],
|
|
2295
2358
|
"examples": [
|
|
2296
2359
|
"Default",
|
|
2297
2360
|
"TogglingTheSidebar",
|