@aleph-alpha/lib-mcp 1.6.1 → 2.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.
@@ -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
  },
@@ -120,7 +109,7 @@
120
109
  "_autoGenerated": true
121
110
  },
122
111
  "UiBadge": {
123
- "description": "A small label for status, counts, or categories. Use for tags, notifications counts, status indicators, or labels.",
112
+ "description": "A small label for status, counts, or categories. Use for tags, notification counts, status indicators, or labels.",
124
113
  "category": "Feedback",
125
114
  "useCases": [
126
115
  "status label",
@@ -143,20 +132,27 @@
143
132
  ],
144
133
  "props": [
145
134
  "variant",
135
+ "size",
146
136
  "asChild",
147
137
  "startIcon",
148
- "endIcon"
138
+ "endIcon",
139
+ "disabled"
149
140
  ],
150
141
  "examples": [
151
142
  "Default",
152
143
  "Secondary",
153
- "Destructive",
154
144
  "Outline",
145
+ "Destructive",
146
+ "Success",
147
+ "Warning",
148
+ "Verified",
149
+ "Disabled",
155
150
  "WithStartIcon",
156
151
  "WithEndIcon",
157
152
  "WithBothIcons",
158
153
  "WithIconSlot",
159
- "Pill",
154
+ "Numbers",
155
+ "Sizes",
160
156
  "AllVariants"
161
157
  ],
162
158
  "_autoGenerated": true
@@ -180,7 +176,6 @@
180
176
  "interactive"
181
177
  ],
182
178
  "related": [
183
- "UiIconButton",
184
179
  "UiLink"
185
180
  ],
186
181
  "props": [
@@ -209,7 +204,9 @@
209
204
  "LoadingWithBothIcons",
210
205
  "WithIconSlot",
211
206
  "AsChild",
212
- "AllVariants"
207
+ "AllVariants",
208
+ "IconSizes",
209
+ "AllVariantsAndSizes"
213
210
  ],
214
211
  "_autoGenerated": true
215
212
  },
@@ -427,6 +424,38 @@
427
424
  ],
428
425
  "_autoGenerated": true
429
426
  },
427
+ "UiDialog": {
428
+ "description": "A modal dialog for focused tasks and content. Description and `#actions` are optional.",
429
+ "category": "Overlays",
430
+ "useCases": [
431
+ "forms",
432
+ "details",
433
+ "multi-step flows",
434
+ "rich content"
435
+ ],
436
+ "keywords": [
437
+ "dialog",
438
+ "modal",
439
+ "overlay",
440
+ "popup"
441
+ ],
442
+ "related": [
443
+ "UiAlertDialog",
444
+ "UiSheet",
445
+ "UiDrawer"
446
+ ],
447
+ "props": [],
448
+ "examples": [
449
+ "Default",
450
+ "Content",
451
+ "WithActionsSlot",
452
+ "TitleOnly",
453
+ "WithMaxWidth",
454
+ "CustomHeaderSlot",
455
+ "WithForm"
456
+ ],
457
+ "_autoGenerated": true
458
+ },
430
459
  "UiDrawer": {
431
460
  "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
461
  "category": "Overlays",
@@ -592,26 +621,90 @@
592
621
  ],
593
622
  "_autoGenerated": true
594
623
  },
595
- "UiIcon": {
596
- "description": "An icon component using Lucide icons. Use for visual indicators, button decorations, or standalone meaningful graphics.",
597
- "category": "Data Display",
624
+ "UiFileItem": {
625
+ "description": "Row showing a selected or uploading file with optional progress and errors.",
626
+ "category": "Form Inputs",
598
627
  "useCases": [
599
- "visual indicator",
600
- "button icon",
601
- "status icon",
602
- "decorative graphic"
628
+ "file upload list",
629
+ "attachment row"
603
630
  ],
604
631
  "keywords": [
605
- "icon",
606
- "symbol",
607
- "graphic",
608
- "lucide",
609
- "svg"
632
+ "file",
633
+ "upload",
634
+ "attachment",
635
+ "progress",
636
+ "item"
610
637
  ],
611
638
  "related": [
612
- "UiIconButton",
639
+ "UiFileUploadBox",
640
+ "UiItem",
613
641
  "UiButton"
614
642
  ],
643
+ "props": [
644
+ "filename",
645
+ "typeLabel",
646
+ "sizeLabel",
647
+ "progress",
648
+ "error",
649
+ "removeLabel",
650
+ "disabled"
651
+ ],
652
+ "examples": [
653
+ "Default",
654
+ "WithProgress",
655
+ "Complete",
656
+ "WithError",
657
+ "Disabled",
658
+ "DisabledWithError",
659
+ "ProgressAndError",
660
+ "FilenameOnly",
661
+ "AllStates"
662
+ ],
663
+ "_autoGenerated": true
664
+ },
665
+ "UiFileUploadBox": {
666
+ "description": "Drop zone + file picker for selecting files with optional type/size validation. **Emits:** see {@link UiFileUploadBoxEmits}.",
667
+ "category": "Components",
668
+ "useCases": [
669
+ "file upload area",
670
+ "drag and drop attachments"
671
+ ],
672
+ "keywords": [
673
+ "file",
674
+ "upload",
675
+ "drag",
676
+ "drop",
677
+ "attachment",
678
+ "box"
679
+ ],
680
+ "related": [
681
+ "UiFileItem",
682
+ "UiButton"
683
+ ],
684
+ "props": [
685
+ "accept",
686
+ "multiple",
687
+ "maxFileSizeBytes",
688
+ "disabled",
689
+ "supportedTypesLabel",
690
+ "maxSizeLabel",
691
+ "dropLabel",
692
+ "chooseLabel",
693
+ "ariaLabel"
694
+ ],
695
+ "examples": [
696
+ "Default"
697
+ ],
698
+ "_autoGenerated": true
699
+ },
700
+ "UiIcon": {
701
+ "description": "UiIcon component",
702
+ "category": "Uncategorized",
703
+ "useCases": [],
704
+ "keywords": [
705
+ "icon"
706
+ ],
707
+ "related": [],
615
708
  "props": [
616
709
  "name",
617
710
  "size",
@@ -626,7 +719,7 @@
626
719
  "_autoGenerated": true
627
720
  },
628
721
  "UiIconButton": {
629
- "description": "A button that displays only an icon without text. Use for compact actions like close, edit, delete, or toolbar buttons.",
722
+ "description": "A button that displays only an icon without text. Use for compact actions like close, edit, delete, or toolbar buttons. It is being merged into `UiButton` — use `UiButton` with an icon-only child and an `aria-label` instead (e.g. `<UiButton size=\"icon-sm\" aria-label=\"Close\"><UiIcon name=\"x\" /></UiButton>`).",
630
723
  "category": "Actions",
631
724
  "useCases": [
632
725
  "close button",
@@ -672,14 +765,15 @@
672
765
  "_autoGenerated": true
673
766
  },
674
767
  "UiInput": {
675
- "description": "A text input field for single-line user input. Use for forms, search bars, and any text entry that fits on one line.",
768
+ "description": "A text input field for single-line user input. Use for forms, search bars, and any text entry that fits on one line. When `type=\"file\"`, the native `Choose File` button is hidden and replaced by a `UiButton` (with an upload icon) rendered inside the input. The selected file name (or count) is shown as the input value, and selected files are emitted via `update:files`.",
676
769
  "category": "Form Inputs",
677
770
  "useCases": [
678
771
  "text entry",
679
772
  "search field",
680
773
  "email input",
681
774
  "password field",
682
- "form field"
775
+ "form field",
776
+ "file upload"
683
777
  ],
684
778
  "keywords": [
685
779
  "input",
@@ -689,18 +783,25 @@
689
783
  "search",
690
784
  "email",
691
785
  "password",
692
- "textbox"
786
+ "textbox",
787
+ "file",
788
+ "upload"
693
789
  ],
694
790
  "related": [
695
791
  "UiTextarea",
696
792
  "UiSelect",
697
- "UiCheckbox"
793
+ "UiCheckbox",
794
+ "UiFileUploadBox"
698
795
  ],
699
796
  "props": [
700
797
  "name",
798
+ "type",
701
799
  "disabled",
702
800
  "placeholder",
703
- "required"
801
+ "required",
802
+ "accept",
803
+ "multiple",
804
+ "uploadButtonLabel"
704
805
  ],
705
806
  "examples": [
706
807
  "Default",
@@ -741,7 +842,8 @@
741
842
  "props": [
742
843
  "variant",
743
844
  "size",
744
- "asChild"
845
+ "asChild",
846
+ "withListSemantics"
745
847
  ],
746
848
  "examples": [
747
849
  "Basic",
@@ -1093,6 +1195,8 @@
1093
1195
  "WithDisabledItems",
1094
1196
  "Disabled",
1095
1197
  "Sizes",
1198
+ "Multiple",
1199
+ "MultipleWithDefaultValue",
1096
1200
  "WithDefaultValue"
1097
1201
  ],
1098
1202
  "_autoGenerated": true
@@ -1167,43 +1271,6 @@
1167
1271
  ],
1168
1272
  "_autoGenerated": true
1169
1273
  },
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
1274
  "UiSkeleton": {
1208
1275
  "description": "A placeholder loading state for content. Use to indicate loading state while preserving layout structure.",
1209
1276
  "category": "Feedback",
@@ -1739,6 +1806,41 @@
1739
1806
  ],
1740
1807
  "_autoGenerated": true
1741
1808
  },
1809
+ "UiFileUpload": {
1810
+ "description": "Composition-friendly file upload (same API as {@link UiFileUploadBoxProps}). Implementation delegates to {@link UiFileUploadBox}.",
1811
+ "category": "Patterns",
1812
+ "useCases": [
1813
+ "file upload dialog",
1814
+ "drag and drop attachments"
1815
+ ],
1816
+ "keywords": [
1817
+ "file",
1818
+ "upload",
1819
+ "drag",
1820
+ "drop",
1821
+ "attachment"
1822
+ ],
1823
+ "related": [
1824
+ "UiFileItem",
1825
+ "UiDialog",
1826
+ "UiFileUploadBox"
1827
+ ],
1828
+ "props": [],
1829
+ "examples": [
1830
+ "Default",
1831
+ "WithMockUploadProgress",
1832
+ "AcceptPdfDocxTxt",
1833
+ "AcceptImages",
1834
+ "AcceptSpreadsheet",
1835
+ "SingleFile",
1836
+ "MaxSize1Mb",
1837
+ "CustomMaxSizeLabel",
1838
+ "AnyTypeNoFooter",
1839
+ "Disabled",
1840
+ "CustomLabels"
1841
+ ],
1842
+ "_autoGenerated": true
1843
+ },
1742
1844
  "UiPlaceholder": {
1743
1845
  "description": "Placeholder for foundation components (internal development use).",
1744
1846
  "category": "Foundations",
@@ -1755,6 +1857,29 @@
1755
1857
  "examples": [],
1756
1858
  "_autoGenerated": true
1757
1859
  },
1860
+ "UiSidebar": {
1861
+ "description": "Pattern wrapper props for the application sidebar shell. Same API as the underlying core `Sidebar` component.",
1862
+ "category": "Patterns",
1863
+ "useCases": [
1864
+ "app navigation",
1865
+ "dashboard sidebar",
1866
+ "collapsible layout"
1867
+ ],
1868
+ "keywords": [
1869
+ "sidebar",
1870
+ "navigation",
1871
+ "layout",
1872
+ "shell"
1873
+ ],
1874
+ "related": [],
1875
+ "props": [],
1876
+ "examples": [
1877
+ "Default",
1878
+ "Inset",
1879
+ "RightSide"
1880
+ ],
1881
+ "_autoGenerated": true
1882
+ },
1758
1883
  "UiTemplatePlaceholder": {
1759
1884
  "description": "Placeholder for template components (internal development use).",
1760
1885
  "category": "Templates",