@lumeo-ui/mcp-server 3.11.0 → 3.12.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.
- package/dist/components.js +24 -13
- package/package.json +1 -1
- package/src/components-api.json +28 -6
- package/src/registry.json +10 -4
package/dist/components.js
CHANGED
|
@@ -117,16 +117,19 @@ export const components = [
|
|
|
117
117
|
{
|
|
118
118
|
name: "Select",
|
|
119
119
|
category: "Forms",
|
|
120
|
-
description: "Dropdown select with options.",
|
|
120
|
+
description: "Dropdown select with options. Value is a string; use SelectItem children for static options or the Items parameter for data binding.",
|
|
121
121
|
params: p([
|
|
122
|
-
{ name: "Value", type: "
|
|
123
|
-
{ name: "ValueChanged", type: "EventCallback<
|
|
122
|
+
{ name: "Value", type: "string?", default: "null", description: "Current selection value (two-way bindable)." },
|
|
123
|
+
{ name: "ValueChanged", type: "EventCallback<string?>", default: "—", description: "Raised on selection." },
|
|
124
124
|
{ name: "Placeholder", type: "string?", default: "null", description: "Placeholder when no value selected." },
|
|
125
|
+
{ name: "Items", type: "IEnumerable<object>?", default: "null", description: "Data source for data-bound mode. Rendered by the child SelectContent." },
|
|
126
|
+
{ name: "ItemValue", type: "Func<object, string>", default: "ToString()", description: "Maps an item to its string value (data-bound mode)." },
|
|
127
|
+
{ name: "ItemText", type: "Func<object, string>?", default: "ItemValue", description: "Maps an item to its display label (data-bound mode)." },
|
|
125
128
|
]),
|
|
126
129
|
slots: [
|
|
127
|
-
{ name: "ChildContent", description: "
|
|
130
|
+
{ name: "ChildContent", description: "Static mode: one or more <SelectItem Value=\"...\">…</SelectItem> entries. Data-bound mode (Items): still requires <SelectTrigger /> and <SelectContent /> children — a bare <Select Items=\"...\" /> renders an empty field." },
|
|
128
131
|
],
|
|
129
|
-
example: `<Select
|
|
132
|
+
example: `<Select @bind-Value="_country" Placeholder="Select a country">
|
|
130
133
|
<SelectItem Value="@("us")">United States</SelectItem>
|
|
131
134
|
<SelectItem Value="@("de")">Germany</SelectItem>
|
|
132
135
|
<SelectItem Value="@("fr")">France</SelectItem>
|
|
@@ -136,18 +139,26 @@ export const components = [
|
|
|
136
139
|
{
|
|
137
140
|
name: "Combobox",
|
|
138
141
|
category: "Forms",
|
|
139
|
-
description: "Searchable dropdown select, supports async data and custom item templates.",
|
|
142
|
+
description: "Searchable dropdown select, supports async data and custom item templates. Not generic — items are typed as object.",
|
|
140
143
|
params: p([
|
|
141
|
-
{ name: "Items", type: "IEnumerable<
|
|
142
|
-
{ name: "Value", type: "
|
|
143
|
-
{ name: "ValueChanged", type: "EventCallback<
|
|
144
|
-
{ name: "
|
|
145
|
-
{ name: "
|
|
144
|
+
{ name: "Items", type: "IEnumerable<object>?", default: "null", description: "Data source for data-bound mode. Rendered by the child ComboboxContent." },
|
|
145
|
+
{ name: "Value", type: "string?", default: "null", description: "Current selection value (two-way bindable)." },
|
|
146
|
+
{ name: "ValueChanged", type: "EventCallback<string>", default: "—", description: "Raised on selection." },
|
|
147
|
+
{ name: "ItemValue", type: "Func<object, string>", default: "ToString()", description: "Maps an item to its string value." },
|
|
148
|
+
{ name: "ItemText", type: "Func<object, string>?", default: "ItemValue", description: "Maps an item to its display label. Defaults to ItemValue when null." },
|
|
149
|
+
{ name: "Placeholder", type: "string?", default: "null", description: "Placeholder shown by the child ComboboxInput when it has none of its own." },
|
|
146
150
|
]),
|
|
147
151
|
slots: [
|
|
148
|
-
{ name: "
|
|
152
|
+
{ name: "ChildContent", description: "Required. Must contain <ComboboxInput /> and <ComboboxContent /> — even in data-bound (Items) mode, a Combobox with no children renders nothing." },
|
|
153
|
+
{ name: "ItemTemplate", description: "Custom template per item (RenderFragment<object>)." },
|
|
149
154
|
],
|
|
150
|
-
example: `<Combobox
|
|
155
|
+
example: `<Combobox Items="_frameworks" @bind-Value="_selected"
|
|
156
|
+
ItemValue="@(o => ((Framework)o).Id)"
|
|
157
|
+
ItemText="@(o => ((Framework)o).Name)"
|
|
158
|
+
Placeholder="Search frameworks...">
|
|
159
|
+
<ComboboxInput />
|
|
160
|
+
<ComboboxContent />
|
|
161
|
+
</Combobox>`,
|
|
151
162
|
cssVars: ["--color-popover", "--color-accent"],
|
|
152
163
|
},
|
|
153
164
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lumeo-ui/mcp-server",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.12.0",
|
|
4
4
|
"description": "Model Context Protocol server for the Lumeo Blazor component library. Lets LLMs (Claude, Copilot, Cursor) author correct Lumeo markup.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
package/src/components-api.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://lumeo.nativ.sh/components-api-schema.json",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"generated": "2026-06-
|
|
3
|
+
"version": "3.12.0",
|
|
4
|
+
"generated": "2026-06-04T17:54:33.5890766Z",
|
|
5
5
|
"stats": {
|
|
6
6
|
"componentCount": 163,
|
|
7
|
-
"totalParameters":
|
|
7
|
+
"totalParameters": 3958,
|
|
8
8
|
"totalEnums": 71,
|
|
9
9
|
"totalRecords": 63,
|
|
10
10
|
"serviceCount": 33,
|
|
@@ -16802,7 +16802,7 @@
|
|
|
16802
16802
|
},
|
|
16803
16803
|
{
|
|
16804
16804
|
"title": "Block",
|
|
16805
|
-
"code": "<Code Variant=\"block\">dotnet add package Lumeo --version
|
|
16805
|
+
"code": "<Code Variant=\"block\">dotnet add package Lumeo --version 3.11.0</Code>"
|
|
16806
16806
|
},
|
|
16807
16807
|
{
|
|
16808
16808
|
"title": "Custom Size",
|
|
@@ -17535,6 +17535,22 @@
|
|
|
17535
17535
|
"isCascading": false,
|
|
17536
17536
|
"captureUnmatched": false
|
|
17537
17537
|
},
|
|
17538
|
+
{
|
|
17539
|
+
"name": "MaxDisplayTags",
|
|
17540
|
+
"type": "int",
|
|
17541
|
+
"default": "3",
|
|
17542
|
+
"description": "Cap on the number of selected-value chips rendered by ComboboxInput in Multiple mode; the rest collapse into a \"+N more\" indicator. Mirrors Select.MaxDisplayTags.",
|
|
17543
|
+
"isCascading": false,
|
|
17544
|
+
"captureUnmatched": false
|
|
17545
|
+
},
|
|
17546
|
+
{
|
|
17547
|
+
"name": "Clearable",
|
|
17548
|
+
"type": "bool",
|
|
17549
|
+
"default": null,
|
|
17550
|
+
"description": "When true, the input shows a clear (×) affordance that resets Value (or Values in Multiple mode) to its empty state. Mirrors Select.Clearable.",
|
|
17551
|
+
"isCascading": false,
|
|
17552
|
+
"captureUnmatched": false
|
|
17553
|
+
},
|
|
17538
17554
|
{
|
|
17539
17555
|
"name": "Creatable",
|
|
17540
17556
|
"type": "bool",
|
|
@@ -17768,7 +17784,9 @@
|
|
|
17768
17784
|
"description": null
|
|
17769
17785
|
}
|
|
17770
17786
|
],
|
|
17771
|
-
"gotchas": [
|
|
17787
|
+
"gotchas": [
|
|
17788
|
+
"Data-bound mode (the Items parameter) still requires <ComboboxInput /> and <ComboboxContent /> children — a bare <Combobox Items=\"...\" /> with no children renders only an empty wrapper. Map items with ItemValue/ItemText (there is no ItemLabel parameter); items are typed as object, so the Combobox is not generic (no TItem)."
|
|
17789
|
+
],
|
|
17772
17790
|
"cssVars": [
|
|
17773
17791
|
"--color-accent",
|
|
17774
17792
|
"--color-accent-foreground",
|
|
@@ -17781,6 +17799,8 @@
|
|
|
17781
17799
|
"--color-popover",
|
|
17782
17800
|
"--color-popover-foreground",
|
|
17783
17801
|
"--color-ring",
|
|
17802
|
+
"--color-secondary",
|
|
17803
|
+
"--color-secondary-foreground",
|
|
17784
17804
|
"--radius"
|
|
17785
17805
|
],
|
|
17786
17806
|
"examples": [
|
|
@@ -39926,7 +39946,9 @@
|
|
|
39926
39946
|
"description": null
|
|
39927
39947
|
}
|
|
39928
39948
|
],
|
|
39929
|
-
"gotchas": [
|
|
39949
|
+
"gotchas": [
|
|
39950
|
+
"Data-bound mode (the Items parameter) still requires <SelectTrigger /> and <SelectContent /> children — a bare <Select Items=\"...\" /> with no children shows only an empty field. Map items with ItemValue/ItemText; items are typed as object, so the data-bound Select is not generic."
|
|
39951
|
+
],
|
|
39930
39952
|
"cssVars": [
|
|
39931
39953
|
"--color-accent",
|
|
39932
39954
|
"--color-accent-foreground",
|
package/src/registry.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://lumeo.nativ.sh/registry-schema.json",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"generated": "2026-06-
|
|
3
|
+
"version": "3.12.0",
|
|
4
|
+
"generated": "2026-06-04T17:54:32.3940342Z",
|
|
5
5
|
"components": {
|
|
6
6
|
"accordion": {
|
|
7
7
|
"name": "Accordion",
|
|
@@ -900,9 +900,13 @@
|
|
|
900
900
|
"--color-popover",
|
|
901
901
|
"--color-popover-foreground",
|
|
902
902
|
"--color-ring",
|
|
903
|
+
"--color-secondary",
|
|
904
|
+
"--color-secondary-foreground",
|
|
903
905
|
"--radius"
|
|
904
906
|
],
|
|
905
|
-
"gotchas": [
|
|
907
|
+
"gotchas": [
|
|
908
|
+
"Data-bound mode (the Items parameter) still requires <ComboboxInput /> and <ComboboxContent /> children — a bare <Combobox Items=\"...\" /> with no children renders only an empty wrapper. Map items with ItemValue/ItemText (there is no ItemLabel parameter); items are typed as object, so the Combobox is not generic (no TItem)."
|
|
909
|
+
],
|
|
906
910
|
"registryUrl": "https://lumeo.nativ.sh/registry/combobox.json"
|
|
907
911
|
},
|
|
908
912
|
"command": {
|
|
@@ -3196,7 +3200,9 @@
|
|
|
3196
3200
|
"--color-secondary-foreground",
|
|
3197
3201
|
"--radius"
|
|
3198
3202
|
],
|
|
3199
|
-
"gotchas": [
|
|
3203
|
+
"gotchas": [
|
|
3204
|
+
"Data-bound mode (the Items parameter) still requires <SelectTrigger /> and <SelectContent /> children — a bare <Select Items=\"...\" /> with no children shows only an empty field. Map items with ItemValue/ItemText; items are typed as object, so the data-bound Select is not generic."
|
|
3205
|
+
],
|
|
3200
3206
|
"registryUrl": "https://lumeo.nativ.sh/registry/select.json"
|
|
3201
3207
|
},
|
|
3202
3208
|
"separator": {
|