@aleph-alpha/lib-mcp 1.2.0 → 1.3.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.
Files changed (2) hide show
  1. package/components-meta.json +394 -148
  2. package/package.json +2 -2
@@ -1,148 +1,4 @@
1
1
  {
2
- "UiCompositionPlaceholder": {
3
- "description": "Placeholder for composition components (internal development use).",
4
- "category": "Compositions",
5
- "useCases": [
6
- "development placeholder"
7
- ],
8
- "keywords": [
9
- "placeholder",
10
- "composition",
11
- "internal"
12
- ],
13
- "related": [],
14
- "props": [],
15
- "examples": [],
16
- "_autoGenerated": true
17
- },
18
- "UiDataTable": {
19
- "description": "A feature-rich data table with sorting, filtering, and pagination. Use for displaying and managing large datasets with interactive features.",
20
- "category": "Layout",
21
- "useCases": [
22
- "data grid",
23
- "admin table",
24
- "user list",
25
- "product catalog",
26
- "reports"
27
- ],
28
- "keywords": [
29
- "datatable",
30
- "grid",
31
- "sorting",
32
- "filtering",
33
- "pagination",
34
- "data",
35
- "list",
36
- "table"
37
- ],
38
- "related": [
39
- "UiTable"
40
- ],
41
- "props": [],
42
- "examples": [
43
- "Basic",
44
- "WithSorting",
45
- "WithPagination",
46
- "WithToolbar",
47
- "WithGlobalFilter",
48
- "WithRowSelection",
49
- "FullExample",
50
- "WithCustomEmptyText",
51
- "WithCustomEmptySlot",
52
- "WithColumnHeader",
53
- "WithPageSizeSelector",
54
- "WithMinHeightSmallDataset",
55
- "WithRowActions",
56
- "WithCellFormatting"
57
- ],
58
- "_autoGenerated": true
59
- },
60
- "UiDatePicker": {
61
- "description": "A date picker combining a button trigger with a popover calendar. Provides an accessible way to select dates or date ranges.",
62
- "category": "Form Inputs",
63
- "useCases": [
64
- "date selection",
65
- "booking form",
66
- "event picker",
67
- "schedule",
68
- "deadline"
69
- ],
70
- "keywords": [
71
- "date",
72
- "picker",
73
- "calendar",
74
- "datepicker",
75
- "range",
76
- "schedule"
77
- ],
78
- "related": [
79
- "UiCalendar",
80
- "UiPopover"
81
- ],
82
- "props": [
83
- "class",
84
- "open",
85
- "mode",
86
- "modelValue",
87
- "defaultValue",
88
- "placeholder",
89
- "minValue",
90
- "maxValue",
91
- "disabled",
92
- "readonly",
93
- "locale",
94
- "weekStartsOn",
95
- "numberOfMonths",
96
- "weekdayFormat",
97
- "fixedWeeks",
98
- "layout",
99
- "preventDeselect",
100
- "calendarLabel",
101
- "isDateDisabled",
102
- "isDateUnavailable",
103
- "dateFormat",
104
- "closeOnSelect",
105
- "pagedNavigation",
106
- "ariaLabel",
107
- "rangeSeparator"
108
- ],
109
- "examples": [
110
- "Default",
111
- "WithPreselectedDate",
112
- "WithMonthYearDropdowns",
113
- "WithDateRange",
114
- "DisabledWeekends",
115
- "GermanLocale",
116
- "Disabled",
117
- "CustomWidth",
118
- "KeepOpenOnSelect",
119
- "TwoMonthsView",
120
- "FormExample",
121
- "RangeMode",
122
- "RangeTwoMonths",
123
- "RangeWithConstraints",
124
- "RangePreselected",
125
- "RangeFormExample",
126
- "RangeKeepOpen"
127
- ],
128
- "_autoGenerated": true
129
- },
130
- "UiPlaceholder": {
131
- "description": "Placeholder for foundation components (internal development use).",
132
- "category": "Foundations",
133
- "useCases": [
134
- "development placeholder"
135
- ],
136
- "keywords": [
137
- "placeholder",
138
- "foundation",
139
- "internal"
140
- ],
141
- "related": [],
142
- "props": [],
143
- "examples": [],
144
- "_autoGenerated": true
145
- },
146
2
  "UiAccordion": {
147
3
  "description": "Collapsible sections for organizing content. Use for FAQs, settings panels, or any content that benefits from show/hide.",
148
4
  "category": "Navigation",
@@ -561,6 +417,41 @@
561
417
  ],
562
418
  "_autoGenerated": true
563
419
  },
420
+ "UiEmpty": {
421
+ "description": "A component to display empty states when there is no content to show.",
422
+ "category": "Feedback",
423
+ "useCases": [
424
+ "no data available",
425
+ "empty list",
426
+ "empty search results",
427
+ "no items found"
428
+ ],
429
+ "keywords": [
430
+ "empty",
431
+ "no data",
432
+ "placeholder",
433
+ "blank state",
434
+ "zero state"
435
+ ],
436
+ "related": [
437
+ "UiSkeleton",
438
+ "UiSpinner"
439
+ ],
440
+ "props": [
441
+ "title",
442
+ "description",
443
+ "icon"
444
+ ],
445
+ "examples": [
446
+ "Default",
447
+ "TitleOnly",
448
+ "WithCustomIcon",
449
+ "WithAction",
450
+ "WithMultipleActions",
451
+ "Minimal"
452
+ ],
453
+ "_autoGenerated": true
454
+ },
564
455
  "UiField": {
565
456
  "description": "A form field wrapper that groups label, input, description, and error messages. Provides consistent layout and accessibility for form controls.",
566
457
  "category": "Form Inputs",
@@ -631,8 +522,7 @@
631
522
  "name",
632
523
  "size",
633
524
  "strokeWidth",
634
- "ariaLabel",
635
- "class"
525
+ "ariaLabel"
636
526
  ],
637
527
  "examples": [
638
528
  "Default",
@@ -727,6 +617,55 @@
727
617
  ],
728
618
  "_autoGenerated": true
729
619
  },
620
+ "UiItem": {
621
+ "description": "A versatile component that you can use to display any content. The Item component is a straightforward flex container that can house nearly any type of content. Use it to display a title, description, and actions. Group it with the ItemGroup component to create a list of items.",
622
+ "category": "Layout",
623
+ "useCases": [
624
+ "list item",
625
+ "menu entry",
626
+ "settings row",
627
+ "navigation item",
628
+ "notification",
629
+ "user card"
630
+ ],
631
+ "keywords": [
632
+ "item",
633
+ "list",
634
+ "row",
635
+ "entry",
636
+ "menu",
637
+ "settings",
638
+ "navigation",
639
+ "selectable",
640
+ "card"
641
+ ],
642
+ "related": [
643
+ "UiCard",
644
+ "UiButton",
645
+ "UiListbox"
646
+ ],
647
+ "props": [
648
+ "variant",
649
+ "size",
650
+ "asChild"
651
+ ],
652
+ "examples": [
653
+ "Basic",
654
+ "Variants",
655
+ "Sizes",
656
+ "WithIcon",
657
+ "WithAvatar",
658
+ "WithImage",
659
+ "Group",
660
+ "WithHeaderAndFooter",
661
+ "AsLink",
662
+ "TeamMembersList",
663
+ "NotificationList",
664
+ "EmptyStateWithInvite",
665
+ "AllStates"
666
+ ],
667
+ "_autoGenerated": true
668
+ },
730
669
  "UiKbd": {
731
670
  "description": "A keyboard key indicator component. Use to display keyboard shortcuts, hotkeys, or key combinations in documentation and UI hints.",
732
671
  "category": "Feedback",
@@ -828,8 +767,7 @@
828
767
  "disabled",
829
768
  "selectionBehavior",
830
769
  "highlightOnHover",
831
- "by",
832
- "class"
770
+ "by"
833
771
  ],
834
772
  "examples": [
835
773
  "Default",
@@ -842,6 +780,41 @@
842
780
  ],
843
781
  "_autoGenerated": true
844
782
  },
783
+ "UiNavigationMenu": {
784
+ "description": "A horizontal navigation menu for site-wide navigation. Displays a list of navigation links with optional dropdown content for nested navigation.",
785
+ "category": "Navigation",
786
+ "useCases": [
787
+ "site navigation",
788
+ "main menu",
789
+ "header navigation",
790
+ "mega menu"
791
+ ],
792
+ "keywords": [
793
+ "navigation",
794
+ "menu",
795
+ "nav",
796
+ "header",
797
+ "links",
798
+ "dropdown",
799
+ "mega menu"
800
+ ],
801
+ "related": [
802
+ "UiDropdownMenu",
803
+ "UiTabs"
804
+ ],
805
+ "props": [],
806
+ "examples": [
807
+ "Default",
808
+ "WithLinks",
809
+ "WithIndicator",
810
+ "VerticalOrientation",
811
+ "WithCustomContent",
812
+ "ControlledState",
813
+ "KeyboardNavigation",
814
+ "WithActivePage"
815
+ ],
816
+ "_autoGenerated": true
817
+ },
845
818
  "UiPopover": {
846
819
  "description": "A floating panel that appears relative to a trigger element. Use for rich content like forms, pickers, or detailed information.",
847
820
  "category": "Overlays",
@@ -1062,6 +1035,80 @@
1062
1035
  ],
1063
1036
  "_autoGenerated": true
1064
1037
  },
1038
+ "UiSheet": {
1039
+ "description": "A panel that slides in from the edge of the screen to display supplementary content. Use for forms, filters, detail views, or any content that complements the main screen.",
1040
+ "category": "Overlays",
1041
+ "useCases": [
1042
+ "side panel",
1043
+ "filter panel",
1044
+ "detail view",
1045
+ "settings panel",
1046
+ "form drawer"
1047
+ ],
1048
+ "keywords": [
1049
+ "sheet",
1050
+ "drawer",
1051
+ "panel",
1052
+ "slide",
1053
+ "overlay",
1054
+ "side panel"
1055
+ ],
1056
+ "related": [
1057
+ "UiDrawer",
1058
+ "UiAlertDialog"
1059
+ ],
1060
+ "props": [
1061
+ "open",
1062
+ "defaultOpen",
1063
+ "modal"
1064
+ ],
1065
+ "examples": [
1066
+ "Default",
1067
+ "Controlled",
1068
+ "SideVariants",
1069
+ "NonModal",
1070
+ "WithForm",
1071
+ "LongContent",
1072
+ "OpenByDefault"
1073
+ ],
1074
+ "_autoGenerated": true
1075
+ },
1076
+ "UiSidebar": {
1077
+ "description": "A collapsible sidebar navigation component for application layouts. Use for primary navigation, page hierarchy, and secondary actions in dashboard-style applications.",
1078
+ "category": "Layout",
1079
+ "useCases": [
1080
+ "navigation",
1081
+ "dashboard layout",
1082
+ "app shell",
1083
+ "admin panel",
1084
+ "settings menu"
1085
+ ],
1086
+ "keywords": [
1087
+ "sidebar",
1088
+ "navigation",
1089
+ "menu",
1090
+ "drawer",
1091
+ "collapsible",
1092
+ "layout"
1093
+ ],
1094
+ "related": [
1095
+ "UiDrawer",
1096
+ "UiSheet"
1097
+ ],
1098
+ "props": [
1099
+ "side",
1100
+ "variant",
1101
+ "collapsible"
1102
+ ],
1103
+ "examples": [
1104
+ "Default",
1105
+ "WithSearch",
1106
+ "WithActions",
1107
+ "WithSubmenu",
1108
+ "WithSkeleton"
1109
+ ],
1110
+ "_autoGenerated": true
1111
+ },
1065
1112
  "UiSkeleton": {
1066
1113
  "description": "A placeholder loading state for content. Use to indicate loading state while preserving layout structure.",
1067
1114
  "category": "Feedback",
@@ -1170,6 +1217,37 @@
1170
1217
  ],
1171
1218
  "_autoGenerated": true
1172
1219
  },
1220
+ "UiStepper": {
1221
+ "description": "A step-by-step navigation component for multi-step workflows. Use for wizards, checkout flows, onboarding sequences, or any process with sequential steps.",
1222
+ "category": "Navigation",
1223
+ "useCases": [
1224
+ "wizard",
1225
+ "checkout flow",
1226
+ "onboarding",
1227
+ "multi-step form",
1228
+ "progress tracker"
1229
+ ],
1230
+ "keywords": [
1231
+ "stepper",
1232
+ "steps",
1233
+ "wizard",
1234
+ "progress",
1235
+ "sequential",
1236
+ "workflow",
1237
+ "multi-step"
1238
+ ],
1239
+ "related": [
1240
+ "UiProgress",
1241
+ "UiTabs"
1242
+ ],
1243
+ "props": [],
1244
+ "examples": [
1245
+ "Default",
1246
+ "Horizontal",
1247
+ "Vertical"
1248
+ ],
1249
+ "_autoGenerated": true
1250
+ },
1173
1251
  "UiSwitch": {
1174
1252
  "description": "A toggle switch for on/off states. Use for settings, preferences, or any binary choice that takes effect immediately.",
1175
1253
  "category": "Form Inputs",
@@ -1368,6 +1446,46 @@
1368
1446
  ],
1369
1447
  "_autoGenerated": true
1370
1448
  },
1449
+ "UiToggleGroup": {
1450
+ "description": "A set of two-state buttons that can be toggled on or off. Use for toolbar actions, formatting options, or any grouped toggle selections. This is a discriminated union type keyed by `type`: - `type: 'single'` → `modelValue` is `string` - `type: 'multiple'` → `modelValue` is `string[]`",
1451
+ "category": "Form Inputs",
1452
+ "useCases": [
1453
+ "toolbar buttons",
1454
+ "text formatting",
1455
+ "view options",
1456
+ "filter toggles"
1457
+ ],
1458
+ "keywords": [
1459
+ "toggle",
1460
+ "group",
1461
+ "button",
1462
+ "pressed",
1463
+ "on",
1464
+ "off",
1465
+ "state",
1466
+ "multiple",
1467
+ "single"
1468
+ ],
1469
+ "related": [
1470
+ "UiToggle",
1471
+ "UiButton",
1472
+ "UiRadioGroup"
1473
+ ],
1474
+ "props": [],
1475
+ "examples": [
1476
+ "Default",
1477
+ "Outline",
1478
+ "Single",
1479
+ "Small",
1480
+ "Large",
1481
+ "Disabled",
1482
+ "WithText",
1483
+ "ViewToggle",
1484
+ "IndividualDisabled",
1485
+ "AllStates"
1486
+ ],
1487
+ "_autoGenerated": true
1488
+ },
1371
1489
  "UiTooltip": {
1372
1490
  "description": "A popup that displays information on hover or focus. Use for explaining icons, providing hints, or showing additional context.",
1373
1491
  "category": "Overlays",
@@ -1412,6 +1530,134 @@
1412
1530
  ],
1413
1531
  "_autoGenerated": true
1414
1532
  },
1533
+ "UiDataTable": {
1534
+ "description": "A feature-rich data table with sorting, filtering, and pagination. Use for displaying and managing large datasets with interactive features.",
1535
+ "category": "Layout",
1536
+ "useCases": [
1537
+ "data grid",
1538
+ "admin table",
1539
+ "user list",
1540
+ "product catalog",
1541
+ "reports"
1542
+ ],
1543
+ "keywords": [
1544
+ "datatable",
1545
+ "grid",
1546
+ "sorting",
1547
+ "filtering",
1548
+ "pagination",
1549
+ "data",
1550
+ "list",
1551
+ "table"
1552
+ ],
1553
+ "related": [
1554
+ "UiTable"
1555
+ ],
1556
+ "props": [],
1557
+ "examples": [
1558
+ "Basic",
1559
+ "WithSorting",
1560
+ "WithPagination",
1561
+ "WithToolbar",
1562
+ "WithGlobalFilter",
1563
+ "WithRowSelection",
1564
+ "FullExample",
1565
+ "WithCustomEmptyText",
1566
+ "WithCustomEmptySlot",
1567
+ "WithColumnHeader",
1568
+ "WithPageSizeSelector",
1569
+ "WithMinHeightSmallDataset",
1570
+ "WithRowActions",
1571
+ "WithCellFormatting"
1572
+ ],
1573
+ "_autoGenerated": true
1574
+ },
1575
+ "UiDatePicker": {
1576
+ "description": "A date picker combining a button trigger with a popover calendar. Provides an accessible way to select dates or date ranges.",
1577
+ "category": "Form Inputs",
1578
+ "useCases": [
1579
+ "date selection",
1580
+ "booking form",
1581
+ "event picker",
1582
+ "schedule",
1583
+ "deadline"
1584
+ ],
1585
+ "keywords": [
1586
+ "date",
1587
+ "picker",
1588
+ "calendar",
1589
+ "datepicker",
1590
+ "range",
1591
+ "schedule"
1592
+ ],
1593
+ "related": [
1594
+ "UiCalendar",
1595
+ "UiPopover"
1596
+ ],
1597
+ "props": [
1598
+ "class",
1599
+ "open",
1600
+ "mode",
1601
+ "modelValue",
1602
+ "defaultValue",
1603
+ "placeholder",
1604
+ "minValue",
1605
+ "maxValue",
1606
+ "disabled",
1607
+ "readonly",
1608
+ "locale",
1609
+ "weekStartsOn",
1610
+ "numberOfMonths",
1611
+ "weekdayFormat",
1612
+ "fixedWeeks",
1613
+ "layout",
1614
+ "preventDeselect",
1615
+ "calendarLabel",
1616
+ "isDateDisabled",
1617
+ "isDateUnavailable",
1618
+ "dateFormat",
1619
+ "closeOnSelect",
1620
+ "pagedNavigation",
1621
+ "ariaLabel",
1622
+ "rangeSeparator"
1623
+ ],
1624
+ "examples": [
1625
+ "Default",
1626
+ "WithPreselectedDate",
1627
+ "WithMonthYearDropdowns",
1628
+ "WithDateRange",
1629
+ "DisabledWeekends",
1630
+ "GermanLocale",
1631
+ "Disabled",
1632
+ "CustomWidth",
1633
+ "KeepOpenOnSelect",
1634
+ "TwoMonthsView",
1635
+ "FormExample",
1636
+ "RangeMode",
1637
+ "RangeTwoMonths",
1638
+ "RangeWithConstraints",
1639
+ "RangePreselected",
1640
+ "RangeFormExample",
1641
+ "RangeKeepOpen"
1642
+ ],
1643
+ "_autoGenerated": true
1644
+ },
1645
+ "UiPlaceholder": {
1646
+ "description": "Placeholder for foundation components (internal development use).",
1647
+ "category": "Foundations",
1648
+ "useCases": [
1649
+ "development placeholder"
1650
+ ],
1651
+ "keywords": [
1652
+ "placeholder",
1653
+ "foundation",
1654
+ "internal"
1655
+ ],
1656
+ "related": [],
1657
+ "props": [],
1658
+ "examples": [],
1659
+ "_autoGenerated": true
1660
+ },
1415
1661
  "UiTemplatePlaceholder": {
1416
1662
  "description": "Placeholder for template components (internal development use).",
1417
1663
  "category": "Templates",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aleph-alpha/lib-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/server.js",
@@ -28,7 +28,7 @@
28
28
  "@aleph-alpha/tsconfig-frontend": "0.5.0"
29
29
  },
30
30
  "peerDependencies": {
31
- "@aleph-alpha/ui-library": "1.12.0"
31
+ "@aleph-alpha/ui-library": "1.14.0"
32
32
  },
33
33
  "homepage": "https://docs.aleph-alpha.com",
34
34
  "scripts": {