@aleph-alpha/lib-mcp 4.1.0 → 5.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.
@@ -94,6 +94,7 @@
94
94
  "props": [],
95
95
  "examples": [
96
96
  "Default",
97
+ "States",
97
98
  "Selected",
98
99
  "InlineInText",
99
100
  "MultiDigitIndex",
@@ -132,6 +133,7 @@
132
133
  "fileName",
133
134
  "snippet",
134
135
  "locationLabel",
136
+ "collectionName",
135
137
  "url",
136
138
  "openSourceLabel"
137
139
  ],
@@ -139,6 +141,8 @@
139
141
  "Default",
140
142
  "WithoutLink",
141
143
  "WithoutLocation",
144
+ "WithoutCollection",
145
+ "LongCollectionName",
142
146
  "MinimalSnippetOnly",
143
147
  "LongFileName",
144
148
  "LongSnippet",
@@ -146,6 +150,46 @@
146
150
  ],
147
151
  "_autoGenerated": true
148
152
  },
153
+ "CkCitationLabel": {
154
+ "description": "The bare citation marker — the numbered chip rendered in place of a `[n]` reference, with no popover attached. `CkCitation` composes it as its popover trigger (`as=\"button\"`); use it directly, in its default static `span` form, wherever cited text should keep the marker styling without being interactive (e.g. the response preview in `CkFeedbackDialog`).",
155
+ "category": "Data Display",
156
+ "useCases": [
157
+ "static citation marker",
158
+ "read-only cited answer",
159
+ "popover trigger for CkCitation"
160
+ ],
161
+ "keywords": [
162
+ "citation",
163
+ "source",
164
+ "reference",
165
+ "inline",
166
+ "marker",
167
+ "footnote",
168
+ "number",
169
+ "chip",
170
+ "label"
171
+ ],
172
+ "related": [
173
+ "CkCitation",
174
+ "CkCitationCard",
175
+ "CkMarkdownRenderer",
176
+ "CkFeedbackDialog"
177
+ ],
178
+ "props": [
179
+ "index",
180
+ "selected",
181
+ "as",
182
+ "ariaLabel"
183
+ ],
184
+ "examples": [
185
+ "Default",
186
+ "Selected",
187
+ "AsButton",
188
+ "InlineInText",
189
+ "MultiDigitIndex"
190
+ ],
191
+ "_autoGenerated": true
192
+ },
149
193
  "CkConversationLayout": {
150
194
  "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.",
151
195
  "category": "Layout",
@@ -175,6 +219,7 @@
175
219
  "examples": [
176
220
  "Default",
177
221
  "StreamingSimulation",
222
+ "ScrollToMessage",
178
223
  "Empty"
179
224
  ],
180
225
  "_autoGenerated": true
@@ -355,8 +400,10 @@
355
400
  "open",
356
401
  "sentiment",
357
402
  "responseText",
403
+ "citations",
358
404
  "reasons",
359
405
  "maxFreeTextLength",
406
+ "reasonRequired",
360
407
  "submitting",
361
408
  "disabled",
362
409
  "titlePositive",
@@ -372,7 +419,9 @@
372
419
  "examples": [
373
420
  "Positive",
374
421
  "Negative",
422
+ "WithCitations",
375
423
  "NoResponseColumn",
424
+ "OptionalInput",
376
425
  "Submitting",
377
426
  "LongResponse",
378
427
  "WithFeedbackButton"
@@ -628,7 +677,8 @@
628
677
  "examples": [
629
678
  "Default",
630
679
  "Placeholder",
631
- "Disabled"
680
+ "Disabled",
681
+ "WithSublabels"
632
682
  ],
633
683
  "_autoGenerated": true
634
684
  },
@@ -934,6 +984,7 @@
934
984
  ],
935
985
  "examples": [
936
986
  "Default",
987
+ "SlotAnatomy",
937
988
  "WithIcon",
938
989
  "WithCustomAvatarFallback",
939
990
  "NoIcon",
@@ -942,9 +993,12 @@
942
993
  "WithFooterActions",
943
994
  "WithCustomUserContent",
944
995
  "WithCustomAgentContent",
996
+ "WithCitations",
945
997
  "StreamingSimulation",
946
998
  "WithCustomMarkdownClasses",
999
+ "DefaultCodeBlock",
947
1000
  "WithCustomCodeBlock",
1001
+ "ScrollToMessage",
948
1002
  "Empty"
949
1003
  ],
950
1004
  "_autoGenerated": true
@@ -980,7 +1034,8 @@
980
1034
  "showActionOnHover",
981
1035
  "timeFormatter",
982
1036
  "collapsedLimit",
983
- "maxHeight"
1037
+ "maxHeight",
1038
+ "contentClass"
984
1039
  ],
985
1040
  "examples": [
986
1041
  "Default",
@@ -86,7 +86,13 @@
86
86
  "examples": [
87
87
  "Default",
88
88
  "Simple",
89
- "FullWidthContent"
89
+ "FullWidthContent",
90
+ "Accessibility",
91
+ "PointerInteraction",
92
+ "KeyboardNavigation",
93
+ "ScreenReader",
94
+ "ZoomMagnification",
95
+ "MobileBreakpoint"
90
96
  ],
91
97
  "_autoGenerated": true
92
98
  },
@@ -116,10 +122,18 @@
116
122
  "examples": [
117
123
  "Default",
118
124
  "Multiple",
125
+ "States",
119
126
  "WithSlots",
120
127
  "WithBadges",
121
128
  "WithCheckboxes",
122
- "WithExternalItems"
129
+ "WithExternalItems",
130
+ "Virtualized",
131
+ "Accessibility",
132
+ "FilterAndSelect",
133
+ "KeyboardNavigation",
134
+ "ScreenReader",
135
+ "ZoomMagnification",
136
+ "MobileBreakpoint"
123
137
  ],
124
138
  "_autoGenerated": true
125
139
  },
@@ -203,6 +217,45 @@
203
217
  ],
204
218
  "_autoGenerated": true
205
219
  },
220
+ "UiBreadcrumb": {
221
+ "description": "A navigation trail showing the user's location within a site or app hierarchy. Renders as an ordered list inside a labelled `nav` landmark.",
222
+ "category": "Navigation",
223
+ "useCases": [
224
+ "page hierarchy",
225
+ "navigation trail",
226
+ "folder path",
227
+ "wizard location",
228
+ "nested resource path"
229
+ ],
230
+ "keywords": [
231
+ "breadcrumb",
232
+ "navigation",
233
+ "trail",
234
+ "path",
235
+ "hierarchy",
236
+ "crumbs"
237
+ ],
238
+ "related": [
239
+ "UiNavigationMenu",
240
+ "UiTabs"
241
+ ],
242
+ "props": [],
243
+ "examples": [
244
+ "Default",
245
+ "CustomSeparator",
246
+ "Collapsed",
247
+ "WithDropdown",
248
+ "WithCustomLinkComponent",
249
+ "Responsive",
250
+ "KeyboardNavigation",
251
+ "ZoomMagnification",
252
+ "ScreenReader",
253
+ "Accessibility",
254
+ "ResponsiveDesktop",
255
+ "MobileBreakpoint"
256
+ ],
257
+ "_autoGenerated": true
258
+ },
206
259
  "UiButton": {
207
260
  "description": "A clickable button component for triggering actions and submitting forms.",
208
261
  "category": "Actions",
@@ -260,6 +313,46 @@
260
313
  ],
261
314
  "_autoGenerated": true
262
315
  },
316
+ "UiButtonGroup": {
317
+ "description": "Visually joins a set of related actions (and inputs) into a single, connected control. Renders a `role=\"group\"` container and merges the borders and radii of its children so they read as one unit.",
318
+ "category": "Actions",
319
+ "useCases": [
320
+ "toolbar",
321
+ "segmented actions",
322
+ "split button",
323
+ "input with buttons",
324
+ "pagination controls"
325
+ ],
326
+ "keywords": [
327
+ "button group",
328
+ "group",
329
+ "toolbar",
330
+ "segmented",
331
+ "joined",
332
+ "split button",
333
+ "button"
334
+ ],
335
+ "related": [
336
+ "UiButton",
337
+ "UiInput"
338
+ ],
339
+ "props": [
340
+ "orientation"
341
+ ],
342
+ "examples": [
343
+ "Default",
344
+ "Vertical",
345
+ "WithInput",
346
+ "Variants",
347
+ "Sizes",
348
+ "Accessibility",
349
+ "KeyboardNavigation",
350
+ "ScreenReader",
351
+ "ZoomMagnification",
352
+ "MobileBreakpoint"
353
+ ],
354
+ "_autoGenerated": true
355
+ },
263
356
  "UiCalendar": {
264
357
  "description": "A date picker calendar for selecting single or multiple dates. Use for booking forms, event scheduling, or any date selection needs.",
265
358
  "category": "Form Inputs",
@@ -388,7 +481,13 @@
388
481
  "Accessibility",
389
482
  "WithDescription",
390
483
  "Disabled",
391
- "Card"
484
+ "WithField",
485
+ "Indeterminate",
486
+ "ToggleBehavior",
487
+ "KeyboardNavigation",
488
+ "ScreenReader",
489
+ "ZoomMagnification",
490
+ "MobileBreakpoint"
392
491
  ],
393
492
  "_autoGenerated": true
394
493
  },
@@ -472,7 +571,8 @@
472
571
  "WithMaxHeight",
473
572
  "WithoutCopyButton",
474
573
  "PlainText",
475
- "HtmlWithLineNumbers"
574
+ "HtmlWithLineNumbers",
575
+ "Streaming"
476
576
  ],
477
577
  "_autoGenerated": true
478
578
  },
@@ -504,7 +604,13 @@
504
604
  "TitleOnly",
505
605
  "WithMaxWidth",
506
606
  "CustomHeaderSlot",
507
- "WithForm"
607
+ "WithForm",
608
+ "Accessibility",
609
+ "PointerInteraction",
610
+ "KeyboardNavigation",
611
+ "ScreenReader",
612
+ "ZoomMagnification",
613
+ "MobileBreakpoint"
508
614
  ],
509
615
  "_autoGenerated": true
510
616
  },
@@ -581,7 +687,14 @@
581
687
  "WithIconTrigger",
582
688
  "WithSoftToggleTrigger",
583
689
  "WithSoftToggleTriggerAndText",
584
- "WithAvatarTrigger"
690
+ "ItemTypes",
691
+ "WithAvatarTrigger",
692
+ "Accessibility",
693
+ "PointerInteraction",
694
+ "KeyboardNavigation",
695
+ "ScreenReader",
696
+ "ZoomMagnification",
697
+ "MobileBreakpoint"
585
698
  ],
586
699
  "_autoGenerated": true
587
700
  },
@@ -620,6 +733,45 @@
620
733
  ],
621
734
  "_autoGenerated": true
622
735
  },
736
+ "UiFadeMask": {
737
+ "description": "Wraps content and lays a gradient band over its edges, so scrolling or clipped content dissolves into the surface instead of ending on a hard cut. Put a scroll container in the slot and the band stays pinned to the wrapper's top or bottom edge, or to both when content runs off either end. The band is decorative and lets pointer events through, so the wrapped content stays scrollable and clickable underneath it. Its height defaults to 4rem on mobile and 6rem from the medium breakpoint up, and can be retuned per usage with the `--ui-fade-mask-height` custom property.",
738
+ "category": "Layout",
739
+ "useCases": [
740
+ "scroll fade",
741
+ "overflow hint",
742
+ "clipped text fade",
743
+ "scroll edge indicator",
744
+ "sticky header backdrop"
745
+ ],
746
+ "keywords": [
747
+ "fade",
748
+ "mask",
749
+ "gradient",
750
+ "scrim",
751
+ "overlay",
752
+ "scroll",
753
+ "overflow",
754
+ "edge"
755
+ ],
756
+ "related": [
757
+ "UiSeparator",
758
+ "UiSheet"
759
+ ],
760
+ "props": [
761
+ "background",
762
+ "position"
763
+ ],
764
+ "examples": [
765
+ "Default",
766
+ "Direction",
767
+ "BothEdges",
768
+ "OnPrimarySurface",
769
+ "AllVariants",
770
+ "KeyboardNavigation",
771
+ "MobileBreakpoint"
772
+ ],
773
+ "_autoGenerated": true
774
+ },
623
775
  "UiField": {
624
776
  "description": "A form field wrapper that groups label, input, description, and error messages. Provides consistent layout and accessibility for form controls.",
625
777
  "category": "Form Inputs",
@@ -671,7 +823,11 @@
671
823
  "ResponsiveProfileForm",
672
824
  "PaymentMethodForm",
673
825
  "ProfileSettingsForm",
674
- "PersonalInformationForm"
826
+ "PersonalInformationForm",
827
+ "DescriptionCheckboxInteraction",
828
+ "KeyboardNavigation",
829
+ "FormKeyboardFlow",
830
+ "MobileBreakpoint"
675
831
  ],
676
832
  "_autoGenerated": true
677
833
  },
@@ -711,22 +867,11 @@
711
867
  "mediaTone",
712
868
  "mediaIcon"
713
869
  ],
714
- "examples": [
715
- "Default",
716
- "DefaultWithProgress",
717
- "DefaultSuccess",
718
- "DefaultError",
719
- "SmallWithProgress",
720
- "SmallSuccess",
721
- "SmallError",
722
- "NonRemovable",
723
- "Disabled",
724
- "AllVariants"
725
- ],
870
+ "examples": [],
726
871
  "_autoGenerated": true
727
872
  },
728
873
  "UiFileType": {
729
- "description": "Round 32×32 badge that visualises a file type with a tone + icon. Mirrors the Figma `Filetype` component (`AA26 / File Upload / Filetype`, node id `26438:42144`): - `Type=Text` (`pdf` / `doc` / `docx` / `txt` / `rtf`) → `accent-pink` + `file` - `Type=Markdown` (`html` / `htm` / `md` / `mdx`) → `accent-soft` + `code-xml` - `Type=Tabular` (`csv` / `tsv` / `xls` / `xlsx`) → `accent-yellow` + `table-2` - everything else → `default` + `file`",
874
+ "description": "Round 32×32 badge that visualises a file type with a tone + icon. Mirrors the Figma `Filetype` component (`AA26 / File Upload / Filetype`, node id `26438:42144`): - `Type=Text` (`pdf` / `doc` / `docx` / `txt` / `rtf`) → `accent-pink` + `file` - `Type=Markdown` (`html` / `htm` / `md` / `mdx`) → `accent-soft` + `code-xml` - `Type=Tabular` (`csv` / `tsv` / `xls` / `xlsx`) → `accent-yellow` + `table-2` - `Type=Media` (`mp4` / `mov` / `webm` / `mkv` / …) → `accent-orange` + `image-play` - everything else → `default` + `file`",
730
875
  "category": "Data Display",
731
876
  "useCases": [
732
877
  "file-type indicator",
@@ -795,20 +940,22 @@
795
940
  "_autoGenerated": true
796
941
  },
797
942
  "UiIcon": {
798
- "description": "An icon component using Lucide icons. Use for visual indicators, button decorations, or standalone meaningful graphics.",
943
+ "description": "An icon component using Lucide icons, or a tree-shakable brand icon imported from `@aleph-alpha/ui-library/icons`. Use for visual indicators, button decorations, or standalone meaningful graphics.",
799
944
  "category": "Data Display",
800
945
  "useCases": [
801
946
  "visual indicator",
802
947
  "button icon",
803
948
  "status icon",
804
- "decorative graphic"
949
+ "decorative graphic",
950
+ "country flag"
805
951
  ],
806
952
  "keywords": [
807
953
  "icon",
808
954
  "symbol",
809
955
  "graphic",
810
956
  "lucide",
811
- "svg"
957
+ "svg",
958
+ "flag"
812
959
  ],
813
960
  "related": [
814
961
  "UiButton"
@@ -822,7 +969,11 @@
822
969
  "examples": [
823
970
  "Default",
824
971
  "Sizes",
825
- "IconLibrary"
972
+ "IconLibrary",
973
+ "Flags",
974
+ "Social",
975
+ "Payment",
976
+ "Crypto"
826
977
  ],
827
978
  "_autoGenerated": true
828
979
  },
@@ -870,7 +1021,12 @@
870
1021
  "WithLabel",
871
1022
  "Disabled",
872
1023
  "WithButton",
873
- "File"
1024
+ "File",
1025
+ "TextEntry",
1026
+ "FileUpload",
1027
+ "DesignNotes",
1028
+ "Accessibility",
1029
+ "MobileBreakpoint"
874
1030
  ],
875
1031
  "_autoGenerated": true
876
1032
  },
@@ -922,7 +1078,10 @@
922
1078
  "Media",
923
1079
  "Group",
924
1080
  "AsLink",
925
- "AllVariants"
1081
+ "KeyboardNavigation",
1082
+ "ListSemantics",
1083
+ "AllVariants",
1084
+ "MobileBreakpoint"
926
1085
  ],
927
1086
  "_autoGenerated": true
928
1087
  },
@@ -1034,9 +1193,20 @@
1034
1193
  "Multiple",
1035
1194
  "WithFilter",
1036
1195
  "WithGroups",
1196
+ "Scrollable",
1197
+ "Virtualized",
1198
+ "EmptyState",
1037
1199
  "Disabled",
1038
1200
  "HighlightOnHover",
1039
- "WithDisabledItems"
1201
+ "WithDisabledItems",
1202
+ "Accessibility",
1203
+ "SingleSelection",
1204
+ "MultipleSelection",
1205
+ "Filtering",
1206
+ "KeyboardNavigation",
1207
+ "ScreenReader",
1208
+ "ZoomMagnification",
1209
+ "MobileBreakpoint"
1040
1210
  ],
1041
1211
  "_autoGenerated": true
1042
1212
  },
@@ -1105,7 +1275,13 @@
1105
1275
  "Controlled",
1106
1276
  "Positions",
1107
1277
  "Alignments",
1108
- "OpenByDefault"
1278
+ "OpenByDefault",
1279
+ "Accessibility",
1280
+ "PointerInteraction",
1281
+ "KeyboardNavigation",
1282
+ "ScreenReader",
1283
+ "ZoomMagnification",
1284
+ "MobileBreakpoint"
1109
1285
  ],
1110
1286
  "_autoGenerated": true
1111
1287
  },
@@ -1164,7 +1340,14 @@
1164
1340
  "Default",
1165
1341
  "Disabled",
1166
1342
  "HorizontalOrientation",
1167
- "AsChild"
1343
+ "AsChild",
1344
+ "WithField",
1345
+ "Accessibility",
1346
+ "SelectionBehavior",
1347
+ "KeyboardNavigation",
1348
+ "ScreenReader",
1349
+ "ZoomMagnification",
1350
+ "MobileBreakpoint"
1168
1351
  ],
1169
1352
  "_autoGenerated": true
1170
1353
  },
@@ -1289,9 +1472,17 @@
1289
1472
  "WithDisabledItems",
1290
1473
  "WithIcons",
1291
1474
  "Disabled",
1475
+ "States",
1292
1476
  "Multiple",
1293
1477
  "MultipleWithDefaultValue",
1294
- "WithDefaultValue"
1478
+ "WithDefaultValue",
1479
+ "Virtualized",
1480
+ "Accessibility",
1481
+ "OpenSelectClose",
1482
+ "KeyboardNavigation",
1483
+ "ScreenReader",
1484
+ "ZoomMagnification",
1485
+ "MobileBreakpoint"
1295
1486
  ],
1296
1487
  "_autoGenerated": true
1297
1488
  },
@@ -1564,7 +1755,16 @@
1564
1755
  "props": [],
1565
1756
  "examples": [
1566
1757
  "Default",
1567
- "Disabled"
1758
+ "Checked",
1759
+ "Disabled",
1760
+ "AllSizes",
1761
+ "WithField",
1762
+ "Accessibility",
1763
+ "ToggleBehavior",
1764
+ "KeyboardNavigation",
1765
+ "ScreenReader",
1766
+ "ZoomMagnification",
1767
+ "MobileBreakpoint"
1568
1768
  ],
1569
1769
  "_autoGenerated": true
1570
1770
  },
@@ -1626,7 +1826,13 @@
1626
1826
  "WithDisabledTab",
1627
1827
  "Vertical",
1628
1828
  "ManualActivation",
1629
- "Controlled"
1829
+ "Controlled",
1830
+ "Accessibility",
1831
+ "SelectionBehavior",
1832
+ "KeyboardNavigation",
1833
+ "ScreenReader",
1834
+ "ZoomMagnification",
1835
+ "MobileBreakpoint"
1630
1836
  ],
1631
1837
  "_autoGenerated": true
1632
1838
  },
@@ -1694,7 +1900,15 @@
1694
1900
  ],
1695
1901
  "examples": [
1696
1902
  "Default",
1697
- "Disabled"
1903
+ "WithLabel",
1904
+ "States",
1905
+ "Disabled",
1906
+ "Accessibility",
1907
+ "KeyboardNavigation",
1908
+ "ScreenReader",
1909
+ "TextEntry",
1910
+ "ZoomMagnification",
1911
+ "MobileBreakpoint"
1698
1912
  ],
1699
1913
  "_autoGenerated": true
1700
1914
  },
@@ -1732,13 +1946,21 @@
1732
1946
  ],
1733
1947
  "examples": [
1734
1948
  "Default",
1949
+ "Pressed",
1735
1950
  "Outline",
1736
1951
  "Soft",
1952
+ "IconOnly",
1737
1953
  "WithText",
1738
1954
  "Small",
1739
1955
  "Large",
1740
1956
  "Disabled",
1741
- "AllStates"
1957
+ "AllStates",
1958
+ "Accessibility",
1959
+ "ToggleBehavior",
1960
+ "KeyboardNavigation",
1961
+ "ScreenReader",
1962
+ "ZoomMagnification",
1963
+ "MobileBreakpoint"
1742
1964
  ],
1743
1965
  "_autoGenerated": true
1744
1966
  },
@@ -1772,13 +1994,20 @@
1772
1994
  "Default",
1773
1995
  "Outline",
1774
1996
  "Single",
1997
+ "Multiple",
1775
1998
  "Small",
1776
1999
  "Large",
1777
2000
  "Disabled",
1778
2001
  "WithText",
1779
2002
  "ViewToggle",
1780
2003
  "IndividualDisabled",
1781
- "AllStates"
2004
+ "AllStates",
2005
+ "Accessibility",
2006
+ "SelectionBehavior",
2007
+ "KeyboardNavigation",
2008
+ "ScreenReader",
2009
+ "ZoomMagnification",
2010
+ "MobileBreakpoint"
1782
2011
  ],
1783
2012
  "_autoGenerated": true
1784
2013
  },
@@ -1823,7 +2052,13 @@
1823
2052
  "AllSides",
1824
2053
  "UseCases",
1825
2054
  "WithText",
1826
- "CustomOffset"
2055
+ "CustomOffset",
2056
+ "Accessibility",
2057
+ "PointerInteraction",
2058
+ "KeyboardNavigation",
2059
+ "ScreenReader",
2060
+ "ZoomMagnification",
2061
+ "MobileBreakpoint"
1827
2062
  ],
1828
2063
  "_autoGenerated": true
1829
2064
  },
@@ -1870,7 +2105,13 @@
1870
2105
  "WithRowActions",
1871
2106
  "WithCellFormatting",
1872
2107
  "WithRowClick",
1873
- "WithFilterMenu"
2108
+ "WithFilterMenu",
2109
+ "Accessibility",
2110
+ "KeyboardNavigation",
2111
+ "RowSelectionInteraction",
2112
+ "ScreenReader",
2113
+ "ZoomMagnification",
2114
+ "MobileBreakpoint"
1874
2115
  ],
1875
2116
  "_autoGenerated": true
1876
2117
  },
@@ -1975,7 +2216,14 @@
1975
2216
  "CustomMaxSizeLabel",
1976
2217
  "AnyTypeNoFooter",
1977
2218
  "Disabled",
1978
- "CustomLabels"
2219
+ "CustomLabels",
2220
+ "Accessibility",
2221
+ "KeyboardNavigation",
2222
+ "DisabledGuards",
2223
+ "ScreenReader",
2224
+ "ZoomMagnification",
2225
+ "MobileBreakpoint",
2226
+ "DialogIntegration"
1979
2227
  ],
1980
2228
  "_autoGenerated": true
1981
2229
  },
@@ -2018,12 +2266,37 @@
2018
2266
  ],
2019
2267
  "examples": [
2020
2268
  "ShowModes",
2269
+ "Examples",
2021
2270
  "IconOnlyWithTooltip",
2022
2271
  "ButtonWithText",
2023
2272
  "Orientation",
2024
2273
  "ItemTypes",
2025
2274
  "AllStates",
2026
- "Composable"
2275
+ "Composable",
2276
+ "Accessibility",
2277
+ "FocusTriggerKeyboard",
2278
+ "HoverTriggerKeyboard",
2279
+ "ClickTriggerKeyboard",
2280
+ "ToolbarKeyboard",
2281
+ "ZoomMagnification",
2282
+ "MobileBreakpoint"
2283
+ ],
2284
+ "_autoGenerated": true
2285
+ },
2286
+ "UiLayout": {
2287
+ "description": "UiLayout component",
2288
+ "category": "Uncategorized",
2289
+ "useCases": [],
2290
+ "keywords": [
2291
+ "layout"
2292
+ ],
2293
+ "related": [],
2294
+ "props": [],
2295
+ "examples": [
2296
+ "Default",
2297
+ "TogglingTheSidebar",
2298
+ "ScrollingContent",
2299
+ "ZoomMagnification"
2027
2300
  ],
2028
2301
  "_autoGenerated": true
2029
2302
  },
@@ -2043,6 +2316,30 @@
2043
2316
  "examples": [],
2044
2317
  "_autoGenerated": true
2045
2318
  },
2319
+ "UiProfileCard": {
2320
+ "description": "UiProfileCard component",
2321
+ "category": "Uncategorized",
2322
+ "useCases": [],
2323
+ "keywords": [
2324
+ "profile",
2325
+ "card"
2326
+ ],
2327
+ "related": [],
2328
+ "props": [],
2329
+ "examples": [
2330
+ "Default",
2331
+ "WithItemIcons",
2332
+ "WithSubmenus",
2333
+ "LanguagePicker",
2334
+ "Accessibility",
2335
+ "WithAvatarTrigger",
2336
+ "PointerInteraction",
2337
+ "KeyboardNavigation",
2338
+ "ZoomMagnification",
2339
+ "MobileBreakpoint"
2340
+ ],
2341
+ "_autoGenerated": true
2342
+ },
2046
2343
  "UiSidebar": {
2047
2344
  "description": "Pattern wrapper props for the application sidebar shell. Same API as the underlying core `Sidebar` component.",
2048
2345
  "category": "Patterns",
@@ -2061,9 +2358,59 @@
2061
2358
  "props": [],
2062
2359
  "examples": [
2063
2360
  "Default",
2361
+ "ControlledOpenState",
2064
2362
  "Resizable",
2065
- "Inset",
2066
- "RightSide"
2363
+ "RightSide",
2364
+ "KeyboardNavigation",
2365
+ "ZoomMagnification",
2366
+ "ScreenReader",
2367
+ "MobileBreakpoint"
2368
+ ],
2369
+ "_autoGenerated": true
2370
+ },
2371
+ "UiTopBar": {
2372
+ "description": "Application top bar shell. Owns the padded bar, its leading gutter and trailing region, and the mobile/desktop mode — the controls themselves are passed in as slots, each with a `mobile-` counterpart. The default slot wraps the whole layout so it can be replaced outright.",
2373
+ "category": "Patterns",
2374
+ "useCases": [
2375
+ "app shell header",
2376
+ "dashboard top bar",
2377
+ "workspace chrome",
2378
+ "banner landmark"
2379
+ ],
2380
+ "keywords": [
2381
+ "topbar",
2382
+ "top bar",
2383
+ "header",
2384
+ "banner",
2385
+ "app shell",
2386
+ "chrome",
2387
+ "layout",
2388
+ "responsive",
2389
+ "top",
2390
+ "bar"
2391
+ ],
2392
+ "related": [
2393
+ "UiSidebar",
2394
+ "UiSidebarTrigger",
2395
+ "UiFloatActionItems",
2396
+ "UiAvatar"
2397
+ ],
2398
+ "props": [
2399
+ "leadingWidth",
2400
+ "ariaLabel"
2401
+ ],
2402
+ "examples": [
2403
+ "Desktop",
2404
+ "Mobile",
2405
+ "SlotVisibility",
2406
+ "Accessibility",
2407
+ "KeyboardFocusOrder",
2408
+ "ProfileCard",
2409
+ "DefaultSlotWrapper",
2410
+ "SlotVisibilityToggles",
2411
+ "ZoomMagnification",
2412
+ "MobileBreakpoint",
2413
+ "MobileMenuToggle"
2067
2414
  ],
2068
2415
  "_autoGenerated": true
2069
2416
  },
package/dist/cli.js CHANGED
@@ -6,7 +6,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __commonJS = (cb, mod) => function __require() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ try {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ } catch (e) {
12
+ throw mod = 0, e;
13
+ }
10
14
  };
11
15
  var __export = (target, all) => {
12
16
  for (var name in all)
@@ -10779,7 +10783,7 @@ ZodNaN.create = (params) => {
10779
10783
  ...processCreateParams(params)
10780
10784
  });
10781
10785
  };
10782
- var BRAND = Symbol("zod_brand");
10786
+ var BRAND = /* @__PURE__ */ Symbol("zod_brand");
10783
10787
  var ZodBranded = class extends ZodType {
10784
10788
  _parse(input) {
10785
10789
  const { ctx } = this._processInputParams(input);
@@ -11039,7 +11043,6 @@ function $constructor(name, initializer3, params) {
11039
11043
  Object.defineProperty(_, "name", { value: name });
11040
11044
  return _;
11041
11045
  }
11042
- var $brand = Symbol("zod_brand");
11043
11046
  var $ZodAsyncError = class extends Error {
11044
11047
  constructor() {
11045
11048
  super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
@@ -13543,8 +13546,6 @@ function en_default2() {
13543
13546
  }
13544
13547
 
13545
13548
  // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.js
13546
- var $output = Symbol("ZodOutput");
13547
- var $input = Symbol("ZodInput");
13548
13549
  var $ZodRegistry = class {
13549
13550
  constructor() {
13550
13551
  this._map = /* @__PURE__ */ new Map();
@@ -17207,7 +17208,7 @@ function isTerminal(status) {
17207
17208
  }
17208
17209
 
17209
17210
  // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Options.js
17210
- var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
17211
+ var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
17211
17212
  var defaultOptions = {
17212
17213
  name: void 0,
17213
17214
  $refStrategy: "root",
@@ -20177,7 +20178,7 @@ var Server = class extends Protocol {
20177
20178
  };
20178
20179
 
20179
20180
  // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
20180
- var COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
20181
+ var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
20181
20182
  function isCompletable(schema) {
20182
20183
  return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
20183
20184
  }
package/dist/server.js CHANGED
@@ -5,7 +5,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __getProtoOf = Object.getPrototypeOf;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __commonJS = (cb, mod) => function __require() {
8
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
8
+ try {
9
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ } catch (e) {
11
+ throw mod = 0, e;
12
+ }
9
13
  };
10
14
  var __export = (target, all) => {
11
15
  for (var name in all)
@@ -10625,7 +10629,7 @@ ZodNaN.create = (params) => {
10625
10629
  ...processCreateParams(params)
10626
10630
  });
10627
10631
  };
10628
- var BRAND = Symbol("zod_brand");
10632
+ var BRAND = /* @__PURE__ */ Symbol("zod_brand");
10629
10633
  var ZodBranded = class extends ZodType {
10630
10634
  _parse(input) {
10631
10635
  const { ctx } = this._processInputParams(input);
@@ -10885,7 +10889,6 @@ function $constructor(name, initializer3, params) {
10885
10889
  Object.defineProperty(_, "name", { value: name });
10886
10890
  return _;
10887
10891
  }
10888
- var $brand = Symbol("zod_brand");
10889
10892
  var $ZodAsyncError = class extends Error {
10890
10893
  constructor() {
10891
10894
  super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
@@ -13389,8 +13392,6 @@ function en_default2() {
13389
13392
  }
13390
13393
 
13391
13394
  // ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.js
13392
- var $output = Symbol("ZodOutput");
13393
- var $input = Symbol("ZodInput");
13394
13395
  var $ZodRegistry = class {
13395
13396
  constructor() {
13396
13397
  this._map = /* @__PURE__ */ new Map();
@@ -17053,7 +17054,7 @@ function isTerminal(status) {
17053
17054
  }
17054
17055
 
17055
17056
  // ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@3.25.76/node_modules/zod-to-json-schema/dist/esm/Options.js
17056
- var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
17057
+ var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
17057
17058
  var defaultOptions = {
17058
17059
  name: void 0,
17059
17060
  $refStrategy: "root",
@@ -20023,7 +20024,7 @@ var Server = class extends Protocol {
20023
20024
  };
20024
20025
 
20025
20026
  // ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
20026
- var COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
20027
+ var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
20027
20028
  function isCompletable(schema) {
20028
20029
  return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
20029
20030
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aleph-alpha/lib-mcp",
3
- "version": "4.1.0",
3
+ "version": "5.0.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/server.js",
@@ -23,26 +23,27 @@
23
23
  "description": "MCP Server for UI Library and ChatKit component discovery tools.",
24
24
  "author": "Aleph Alpha GmbH",
25
25
  "engines": {
26
- "node": ">=20.19.0"
26
+ "node": ">=22.13.0"
27
27
  },
28
28
  "dependencies": {
29
29
  "@modelcontextprotocol/sdk": "^1.0.0",
30
30
  "zod": "^3.24.0"
31
31
  },
32
32
  "devDependencies": {
33
- "esbuild": "^0.24.0",
33
+ "esbuild": "^0.28.1",
34
34
  "typescript": "^5.2.2",
35
35
  "vitest": "^3.2.6",
36
- "@aleph-alpha/tsconfig-frontend": "0.7.0"
36
+ "@aleph-alpha/tsconfig-frontend": "0.7.3"
37
37
  },
38
38
  "peerDependencies": {
39
- "@aleph-alpha/ui-library": "5.4.0",
40
- "@aleph-alpha/chat-kit": "5.3.0"
39
+ "@aleph-alpha/ui-library": "~5.3.0",
40
+ "@aleph-alpha/chat-kit": "~5.4.0"
41
41
  },
42
42
  "homepage": "https://docs.aleph-alpha.com",
43
43
  "scripts": {
44
44
  "build": "node scripts/build.cjs",
45
45
  "generate:component-meta": "pnpm build && node dist/scripts/generate-component-meta.js",
46
- "test": "vitest --run"
46
+ "test": "vitest --run",
47
+ "typecheck": "tsc --noEmit"
47
48
  }
48
49
  }