@aleph-alpha/lib-mcp 1.6.1 → 1.7.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 +175 -56
  2. package/package.json +2 -2
@@ -62,30 +62,19 @@
62
62
  "_autoGenerated": true
63
63
  },
64
64
  "UiAlertDialog": {
65
- "description": "A modal dialog for confirmations that interrupt the user. Use for destructive actions, important decisions, or critical confirmations.",
66
- "category": "Overlays",
67
- "useCases": [
68
- "confirm delete",
69
- "destructive action",
70
- "important confirmation",
71
- "warning"
72
- ],
65
+ "description": "Root alert dialog. Uses core **`Dialog`** (`components/core/dialog/Dialog.vue` → **`DialogRoot`**) with **`modal: true`** Root uses core **`Dialog`** with modal enabled. Subcomponents use **`UiAlertDialog*`** / alert **`DialogContent`** for **`alertdialog`** semantics. Use **`v-model:model`** for controlled mode (unlike **`UiDialog`**, which uses **`v-model:open`**).",
66
+ "category": "Uncategorized",
67
+ "useCases": [],
73
68
  "keywords": [
74
69
  "alert",
75
- "dialog",
76
- "modal",
77
- "confirm",
78
- "warning",
79
- "destructive",
80
- "popup"
81
- ],
82
- "related": [
83
- "UiPopover"
70
+ "dialog"
84
71
  ],
72
+ "related": [],
85
73
  "props": [],
86
74
  "examples": [
87
75
  "Default",
88
- "Simple"
76
+ "Simple",
77
+ "FullWidthContent"
89
78
  ],
90
79
  "_autoGenerated": true
91
80
  },
@@ -427,6 +416,38 @@
427
416
  ],
428
417
  "_autoGenerated": true
429
418
  },
419
+ "UiDialog": {
420
+ "description": "A modal dialog for focused tasks and content. Description and `#actions` are optional.",
421
+ "category": "Overlays",
422
+ "useCases": [
423
+ "forms",
424
+ "details",
425
+ "multi-step flows",
426
+ "rich content"
427
+ ],
428
+ "keywords": [
429
+ "dialog",
430
+ "modal",
431
+ "overlay",
432
+ "popup"
433
+ ],
434
+ "related": [
435
+ "UiAlertDialog",
436
+ "UiSheet",
437
+ "UiDrawer"
438
+ ],
439
+ "props": [],
440
+ "examples": [
441
+ "Default",
442
+ "Content",
443
+ "WithActionsSlot",
444
+ "TitleOnly",
445
+ "WithMaxWidth",
446
+ "CustomHeaderSlot",
447
+ "WithForm"
448
+ ],
449
+ "_autoGenerated": true
450
+ },
430
451
  "UiDrawer": {
431
452
  "description": "A slide-out panel that appears from the edge of the screen. Use for secondary content, navigation menus, or forms that don't require full-page context.",
432
453
  "category": "Overlays",
@@ -592,6 +613,82 @@
592
613
  ],
593
614
  "_autoGenerated": true
594
615
  },
616
+ "UiFileItem": {
617
+ "description": "Row showing a selected or uploading file with optional progress and errors.",
618
+ "category": "Form Inputs",
619
+ "useCases": [
620
+ "file upload list",
621
+ "attachment row"
622
+ ],
623
+ "keywords": [
624
+ "file",
625
+ "upload",
626
+ "attachment",
627
+ "progress",
628
+ "item"
629
+ ],
630
+ "related": [
631
+ "UiFileUploadBox",
632
+ "UiItem",
633
+ "UiButton"
634
+ ],
635
+ "props": [
636
+ "filename",
637
+ "typeLabel",
638
+ "sizeLabel",
639
+ "progress",
640
+ "error",
641
+ "removeLabel",
642
+ "disabled"
643
+ ],
644
+ "examples": [
645
+ "Default",
646
+ "WithProgress",
647
+ "Complete",
648
+ "WithError",
649
+ "Disabled",
650
+ "DisabledWithError",
651
+ "ProgressAndError",
652
+ "FilenameOnly",
653
+ "AllStates"
654
+ ],
655
+ "_autoGenerated": true
656
+ },
657
+ "UiFileUploadBox": {
658
+ "description": "Drop zone + file picker for selecting files with optional type/size validation. **Emits:** see {@link UiFileUploadBoxEmits}.",
659
+ "category": "Components",
660
+ "useCases": [
661
+ "file upload area",
662
+ "drag and drop attachments"
663
+ ],
664
+ "keywords": [
665
+ "file",
666
+ "upload",
667
+ "drag",
668
+ "drop",
669
+ "attachment",
670
+ "box"
671
+ ],
672
+ "related": [
673
+ "UiFileItem",
674
+ "UiButton"
675
+ ],
676
+ "props": [
677
+ "accept",
678
+ "multiple",
679
+ "maxFileSizeBytes",
680
+ "disabled",
681
+ "supportedTypesLabel",
682
+ "maxSizeLabel",
683
+ "dropLabel",
684
+ "chooseLabel",
685
+ "ariaLabel"
686
+ ],
687
+ "examples": [
688
+ "Default"
689
+ ],
690
+ "_autoGenerated": true
691
+ },
595
692
  "UiIcon": {
596
693
  "description": "An icon component using Lucide icons. Use for visual indicators, button decorations, or standalone meaningful graphics.",
597
694
  "category": "Data Display",
@@ -741,7 +838,8 @@
741
838
  "props": [
742
839
  "variant",
743
840
  "size",
744
- "asChild"
841
+ "asChild",
842
+ "withListSemantics"
745
843
  ],
746
844
  "examples": [
747
845
  "Basic",
@@ -1167,43 +1265,6 @@
1167
1265
  ],
1168
1266
  "_autoGenerated": true
1169
1267
  },
1170
- "UiSidebar": {
1171
- "description": "A collapsible sidebar navigation component for application layouts. Use for primary navigation, page hierarchy, and secondary actions in dashboard-style applications.",
1172
- "category": "Layout",
1173
- "useCases": [
1174
- "navigation",
1175
- "dashboard layout",
1176
- "app shell",
1177
- "admin panel",
1178
- "settings menu"
1179
- ],
1180
- "keywords": [
1181
- "sidebar",
1182
- "navigation",
1183
- "menu",
1184
- "drawer",
1185
- "collapsible",
1186
- "layout"
1187
- ],
1188
- "related": [
1189
- "UiDrawer",
1190
- "UiSheet"
1191
- ],
1192
- "props": [
1193
- "side",
1194
- "variant",
1195
- "collapsible"
1196
- ],
1197
- "examples": [
1198
- "Default",
1199
- "WithSearch",
1200
- "WithActions",
1201
- "WithSubmenu",
1202
- "WithSkeleton",
1203
- "ProgrammaticControl"
1204
- ],
1205
- "_autoGenerated": true
1206
- },
1207
1268
  "UiSkeleton": {
1208
1269
  "description": "A placeholder loading state for content. Use to indicate loading state while preserving layout structure.",
1209
1270
  "category": "Feedback",
@@ -1739,6 +1800,41 @@
1739
1800
  ],
1740
1801
  "_autoGenerated": true
1741
1802
  },
1803
+ "UiFileUpload": {
1804
+ "description": "Composition-friendly file upload (same API as {@link UiFileUploadBoxProps}). Implementation delegates to {@link UiFileUploadBox}.",
1805
+ "category": "Patterns",
1806
+ "useCases": [
1807
+ "file upload dialog",
1808
+ "drag and drop attachments"
1809
+ ],
1810
+ "keywords": [
1811
+ "file",
1812
+ "upload",
1813
+ "drag",
1814
+ "drop",
1815
+ "attachment"
1816
+ ],
1817
+ "related": [
1818
+ "UiFileItem",
1819
+ "UiDialog",
1820
+ "UiFileUploadBox"
1821
+ ],
1822
+ "props": [],
1823
+ "examples": [
1824
+ "Default",
1825
+ "WithMockUploadProgress",
1826
+ "AcceptPdfDocxTxt",
1827
+ "AcceptImages",
1828
+ "AcceptSpreadsheet",
1829
+ "SingleFile",
1830
+ "MaxSize1Mb",
1831
+ "CustomMaxSizeLabel",
1832
+ "AnyTypeNoFooter",
1833
+ "Disabled",
1834
+ "CustomLabels"
1835
+ ],
1836
+ "_autoGenerated": true
1837
+ },
1742
1838
  "UiPlaceholder": {
1743
1839
  "description": "Placeholder for foundation components (internal development use).",
1744
1840
  "category": "Foundations",
@@ -1755,6 +1851,29 @@
1755
1851
  "examples": [],
1756
1852
  "_autoGenerated": true
1757
1853
  },
1854
+ "UiSidebar": {
1855
+ "description": "Pattern wrapper props for the application sidebar shell. Same API as the underlying core `Sidebar` component.",
1856
+ "category": "Patterns",
1857
+ "useCases": [
1858
+ "app navigation",
1859
+ "dashboard sidebar",
1860
+ "collapsible layout"
1861
+ ],
1862
+ "keywords": [
1863
+ "sidebar",
1864
+ "navigation",
1865
+ "layout",
1866
+ "shell"
1867
+ ],
1868
+ "related": [],
1869
+ "props": [],
1870
+ "examples": [
1871
+ "Default",
1872
+ "Inset",
1873
+ "RightSide"
1874
+ ],
1875
+ "_autoGenerated": true
1876
+ },
1758
1877
  "UiTemplatePlaceholder": {
1759
1878
  "description": "Placeholder for template components (internal development use).",
1760
1879
  "category": "Templates",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aleph-alpha/lib-mcp",
3
- "version": "1.6.1",
3
+ "version": "1.7.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.21.0"
31
+ "@aleph-alpha/ui-library": "1.23.0"
32
32
  },
33
33
  "homepage": "https://docs.aleph-alpha.com",
34
34
  "scripts": {