@aleph-alpha/lib-mcp 1.7.0 → 2.1.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.
@@ -109,7 +109,7 @@
109
109
  "_autoGenerated": true
110
110
  },
111
111
  "UiBadge": {
112
- "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.",
113
113
  "category": "Feedback",
114
114
  "useCases": [
115
115
  "status label",
@@ -132,20 +132,27 @@
132
132
  ],
133
133
  "props": [
134
134
  "variant",
135
+ "size",
135
136
  "asChild",
136
137
  "startIcon",
137
- "endIcon"
138
+ "endIcon",
139
+ "disabled"
138
140
  ],
139
141
  "examples": [
140
142
  "Default",
141
143
  "Secondary",
142
- "Destructive",
143
144
  "Outline",
145
+ "Destructive",
146
+ "Success",
147
+ "Warning",
148
+ "Verified",
149
+ "Disabled",
144
150
  "WithStartIcon",
145
151
  "WithEndIcon",
146
152
  "WithBothIcons",
147
153
  "WithIconSlot",
148
- "Pill",
154
+ "Numbers",
155
+ "Sizes",
149
156
  "AllVariants"
150
157
  ],
151
158
  "_autoGenerated": true
@@ -169,7 +176,6 @@
169
176
  "interactive"
170
177
  ],
171
178
  "related": [
172
- "UiIconButton",
173
179
  "UiLink"
174
180
  ],
175
181
  "props": [
@@ -198,7 +204,9 @@
198
204
  "LoadingWithBothIcons",
199
205
  "WithIconSlot",
200
206
  "AsChild",
201
- "AllVariants"
207
+ "AllVariants",
208
+ "IconSizes",
209
+ "AllVariantsAndSizes"
202
210
  ],
203
211
  "_autoGenerated": true
204
212
  },
@@ -518,7 +526,7 @@
518
526
  "WithRadioItems",
519
527
  "WithDestructiveAction",
520
528
  "WithSubmenu",
521
- "WithIconButton",
529
+ "WithIconTrigger",
522
530
  "WithSoftToggleTrigger",
523
531
  "WithSoftToggleTriggerAndText",
524
532
  "WithAvatarTrigger"
@@ -690,25 +698,13 @@
690
698
  "_autoGenerated": true
691
699
  },
692
700
  "UiIcon": {
693
- "description": "An icon component using Lucide icons. Use for visual indicators, button decorations, or standalone meaningful graphics.",
694
- "category": "Data Display",
695
- "useCases": [
696
- "visual indicator",
697
- "button icon",
698
- "status icon",
699
- "decorative graphic"
700
- ],
701
+ "description": "UiIcon component",
702
+ "category": "Uncategorized",
703
+ "useCases": [],
701
704
  "keywords": [
702
- "icon",
703
- "symbol",
704
- "graphic",
705
- "lucide",
706
- "svg"
707
- ],
708
- "related": [
709
- "UiIconButton",
710
- "UiButton"
705
+ "icon"
711
706
  ],
707
+ "related": [],
712
708
  "props": [
713
709
  "name",
714
710
  "size",
@@ -718,65 +714,20 @@
718
714
  "examples": [
719
715
  "Default",
720
716
  "Sizes",
721
- "InIconButton"
722
- ],
723
- "_autoGenerated": true
724
- },
725
- "UiIconButton": {
726
- "description": "A button that displays only an icon without text. Use for compact actions like close, edit, delete, or toolbar buttons.",
727
- "category": "Actions",
728
- "useCases": [
729
- "close button",
730
- "edit action",
731
- "toolbar button",
732
- "compact action"
733
- ],
734
- "keywords": [
735
- "iconbutton",
736
- "icon",
737
- "button",
738
- "action",
739
- "close",
740
- "edit",
741
- "delete"
742
- ],
743
- "related": [
744
- "UiButton",
745
- "UiIcon"
746
- ],
747
- "props": [
748
- "variant",
749
- "size",
750
- "asChild",
751
- "type",
752
- "disabled",
753
- "loading",
754
- "ariaLabel"
755
- ],
756
- "examples": [
757
- "Default",
758
- "Secondary",
759
- "Destructive",
760
- "Outline",
761
- "Ghost",
762
- "Link",
763
- "Loading",
764
- "Disabled",
765
- "AllVariants",
766
- "AllSizes",
767
- "AsChild"
717
+ "IconLibrary"
768
718
  ],
769
719
  "_autoGenerated": true
770
720
  },
771
721
  "UiInput": {
772
- "description": "A text input field for single-line user input. Use for forms, search bars, and any text entry that fits on one line.",
722
+ "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`.",
773
723
  "category": "Form Inputs",
774
724
  "useCases": [
775
725
  "text entry",
776
726
  "search field",
777
727
  "email input",
778
728
  "password field",
779
- "form field"
729
+ "form field",
730
+ "file upload"
780
731
  ],
781
732
  "keywords": [
782
733
  "input",
@@ -786,18 +737,25 @@
786
737
  "search",
787
738
  "email",
788
739
  "password",
789
- "textbox"
740
+ "textbox",
741
+ "file",
742
+ "upload"
790
743
  ],
791
744
  "related": [
792
745
  "UiTextarea",
793
746
  "UiSelect",
794
- "UiCheckbox"
747
+ "UiCheckbox",
748
+ "UiFileUploadBox"
795
749
  ],
796
750
  "props": [
797
751
  "name",
752
+ "type",
798
753
  "disabled",
799
754
  "placeholder",
800
- "required"
755
+ "required",
756
+ "accept",
757
+ "multiple",
758
+ "uploadButtonLabel"
801
759
  ],
802
760
  "examples": [
803
761
  "Default",
@@ -1191,6 +1149,8 @@
1191
1149
  "WithDisabledItems",
1192
1150
  "Disabled",
1193
1151
  "Sizes",
1152
+ "Multiple",
1153
+ "MultipleWithDefaultValue",
1194
1154
  "WithDefaultValue"
1195
1155
  ],
1196
1156
  "_autoGenerated": true
@@ -1343,6 +1303,48 @@
1343
1303
  ],
1344
1304
  "_autoGenerated": true
1345
1305
  },
1306
+ "UiSnackbar": {
1307
+ "description": "Toast notification container (Sonner). Place once near the app root, then call `toast()` (or `toast.success()`, `toast.error()`, etc.) from anywhere to display a non-blocking notification.",
1308
+ "category": "Feedback",
1309
+ "useCases": [
1310
+ "success confirmation",
1311
+ "error notice",
1312
+ "undo action",
1313
+ "async progress",
1314
+ "background updates"
1315
+ ],
1316
+ "keywords": [
1317
+ "snackbar",
1318
+ "toast",
1319
+ "sonner",
1320
+ "notification",
1321
+ "alert",
1322
+ "message",
1323
+ "banner",
1324
+ "undo"
1325
+ ],
1326
+ "related": [
1327
+ "UiAlert",
1328
+ "UiAlertDialog"
1329
+ ],
1330
+ "props": [],
1331
+ "examples": [
1332
+ "SuccessHigh",
1333
+ "SuccessLow",
1334
+ "InfoHigh",
1335
+ "InfoLow",
1336
+ "WarningHigh",
1337
+ "WarningLow",
1338
+ "ErrorHigh",
1339
+ "ErrorLow",
1340
+ "AllVariants",
1341
+ "Default",
1342
+ "WithDescription",
1343
+ "PromiseSnackbar",
1344
+ "WithDialog"
1345
+ ],
1346
+ "_autoGenerated": true
1347
+ },
1346
1348
  "UiSpinner": {
1347
1349
  "description": "An animated loading indicator. Use while content is loading or an action is processing.",
1348
1350
  "category": "Feedback",
@@ -1675,7 +1677,7 @@
1675
1677
  ],
1676
1678
  "examples": [
1677
1679
  "Default",
1678
- "WithIconButton",
1680
+ "WithIconTrigger",
1679
1681
  "InstantDelay",
1680
1682
  "LongDelay",
1681
1683
  "Disabled",