@lumeo-ui/mcp-server 4.1.1 → 4.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumeo-ui/mcp-server",
3
- "version": "4.1.1",
3
+ "version": "4.2.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",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://lumeo.nativ.sh/components-api-schema.json",
3
- "version": "4.1.1",
4
- "generated": "2026-07-10T05:25:06.4101070Z",
3
+ "version": "4.2.0",
4
+ "generated": "2026-07-11T11:34:12.5360254Z",
5
5
  "stats": {
6
6
  "componentCount": 164,
7
7
  "totalParameters": 4261,
@@ -1173,12 +1173,24 @@
1173
1173
  "signature": "RegisterColumnResize(string handleId, double minWidth, double? maxWidth, Func<double, Task> commitHandler)",
1174
1174
  "summary": null
1175
1175
  },
1176
+ {
1177
+ "name": "RegisterColumnResize",
1178
+ "returnType": "ValueTask",
1179
+ "signature": "RegisterColumnResize(string handleId, double minWidth, double? maxWidth, Func<double, bool, Task> commitHandler)",
1180
+ "summary": null
1181
+ },
1176
1182
  {
1177
1183
  "name": "UnregisterColumnResize",
1178
1184
  "returnType": "ValueTask",
1179
1185
  "signature": "UnregisterColumnResize(string handleId)",
1180
1186
  "summary": null
1181
1187
  },
1188
+ {
1189
+ "name": "NudgeColumnResize",
1190
+ "returnType": "ValueTask",
1191
+ "signature": "NudgeColumnResize(string handleId, double delta)",
1192
+ "summary": null
1193
+ },
1182
1194
  {
1183
1195
  "name": "OnColumnResize",
1184
1196
  "returnType": "Task",
@@ -1194,7 +1206,25 @@
1194
1206
  {
1195
1207
  "name": "OnColumnResizeCommit",
1196
1208
  "returnType": "Task",
1197
- "signature": "OnColumnResizeCommit(string handleId, double finalWidth)",
1209
+ "signature": "OnColumnResizeCommit(string handleId, double finalWidth, bool autoFit)",
1210
+ "summary": null
1211
+ },
1212
+ {
1213
+ "name": "RegisterColumnReorder",
1214
+ "returnType": "ValueTask",
1215
+ "signature": "RegisterColumnReorder(string gridId, Func<string, string, Task> commitHandler)",
1216
+ "summary": null
1217
+ },
1218
+ {
1219
+ "name": "UnregisterColumnReorder",
1220
+ "returnType": "ValueTask",
1221
+ "signature": "UnregisterColumnReorder(string gridId)",
1222
+ "summary": null
1223
+ },
1224
+ {
1225
+ "name": "OnColumnReorderCommit",
1226
+ "returnType": "Task",
1227
+ "signature": "OnColumnReorderCommit(string gridId, string sourceColumnId, string targetColumnId)",
1198
1228
  "summary": null
1199
1229
  },
1200
1230
  {
@@ -1209,6 +1239,48 @@
1209
1239
  "signature": "AnimateColumnReorder(string gridId, int durationMs)",
1210
1240
  "summary": null
1211
1241
  },
1242
+ {
1243
+ "name": "ClearColumnReorderTransforms",
1244
+ "returnType": "ValueTask",
1245
+ "signature": "ClearColumnReorderTransforms(string gridId)",
1246
+ "summary": null
1247
+ },
1248
+ {
1249
+ "name": "RegisterRowReorder",
1250
+ "returnType": "ValueTask",
1251
+ "signature": "RegisterRowReorder(string gridId, Func<string, string, Task> commitHandler)",
1252
+ "summary": null
1253
+ },
1254
+ {
1255
+ "name": "UnregisterRowReorder",
1256
+ "returnType": "ValueTask",
1257
+ "signature": "UnregisterRowReorder(string gridId)",
1258
+ "summary": null
1259
+ },
1260
+ {
1261
+ "name": "OnRowReorderCommit",
1262
+ "returnType": "Task",
1263
+ "signature": "OnRowReorderCommit(string gridId, string sourceRowKey, string targetRowKey)",
1264
+ "summary": null
1265
+ },
1266
+ {
1267
+ "name": "CaptureRowRects",
1268
+ "returnType": "ValueTask",
1269
+ "signature": "CaptureRowRects(string gridId)",
1270
+ "summary": null
1271
+ },
1272
+ {
1273
+ "name": "AnimateRowReorder",
1274
+ "returnType": "ValueTask",
1275
+ "signature": "AnimateRowReorder(string gridId, int durationMs)",
1276
+ "summary": null
1277
+ },
1278
+ {
1279
+ "name": "ClearRowReorderTransforms",
1280
+ "returnType": "ValueTask",
1281
+ "signature": "ClearRowReorderTransforms(string gridId)",
1282
+ "summary": null
1283
+ },
1212
1284
  {
1213
1285
  "name": "GetElementRectBySelector",
1214
1286
  "returnType": "ValueTask<ElementRect?>",
@@ -2453,12 +2525,36 @@
2453
2525
  "signature": "RegisterColumnResize(string handleId, double minWidth, double? maxWidth, Func<double, Task> commitHandler)",
2454
2526
  "summary": null
2455
2527
  },
2528
+ {
2529
+ "name": "RegisterColumnResize",
2530
+ "returnType": "ValueTask",
2531
+ "signature": "RegisterColumnResize(string handleId, double minWidth, double? maxWidth, Func<double, bool, Task> commitHandler)",
2532
+ "summary": "Pointer-based overload that also reports whether the final width came from a double-click auto-fit-to-content rather than a drag ('s bool). Round-9 #4: the original 4-parameter member above stays the abstract contract byte-for-byte (a prior round widened ITS delegate type in place, which broke every external implementer / test double the moment they updated). This is an ADDITIVE default interface member instead — the default body delegates to the 4-parameter member with autoFit always false (a legacy handler has no way to distinguish the two), so existing implementers keep compiling unchanged. ComponentInteropService overrides this overload directly to report the real autoFit flag."
2533
+ },
2456
2534
  {
2457
2535
  "name": "UnregisterColumnResize",
2458
2536
  "returnType": "ValueTask",
2459
2537
  "signature": "UnregisterColumnResize(string handleId)",
2460
2538
  "summary": null
2461
2539
  },
2540
+ {
2541
+ "name": "NudgeColumnResize",
2542
+ "returnType": "ValueTask",
2543
+ "signature": "NudgeColumnResize(string handleId, double delta)",
2544
+ "summary": "Keyboard resize: nudges the column width by px (JS clamps to min/max and re-commits through the registered handler). Additive DIM — no-op default so existing implementers / test doubles keep compiling; DataGrid's own keyboard resize simply has no effect against a legacy double."
2545
+ },
2546
+ {
2547
+ "name": "RegisterColumnReorder",
2548
+ "returnType": "ValueTask",
2549
+ "signature": "RegisterColumnReorder(string gridId, Func<string, string, Task> commitHandler)",
2550
+ "summary": null
2551
+ },
2552
+ {
2553
+ "name": "UnregisterColumnReorder",
2554
+ "returnType": "ValueTask",
2555
+ "signature": "UnregisterColumnReorder(string gridId)",
2556
+ "summary": null
2557
+ },
2462
2558
  {
2463
2559
  "name": "CaptureColumnRects",
2464
2560
  "returnType": "ValueTask",
@@ -2471,6 +2567,42 @@
2471
2567
  "signature": "AnimateColumnReorder(string gridId, int durationMs)",
2472
2568
  "summary": null
2473
2569
  },
2570
+ {
2571
+ "name": "ClearColumnReorderTransforms",
2572
+ "returnType": "ValueTask",
2573
+ "signature": "ClearColumnReorderTransforms(string gridId)",
2574
+ "summary": "Snaps every header/body cell back to identity WITHOUT capturing — the no-animation counterpart to CaptureColumnRects for a delayed reorder commit that gets REJECTED (columns changed during the settle window), so the transforms JS left in place never get an accept-path capture to clear them (round-8 #4). Additive DIM (round-9 #4) — no-op default so existing implementers / test doubles keep compiling."
2575
+ },
2576
+ {
2577
+ "name": "RegisterRowReorder",
2578
+ "returnType": "ValueTask",
2579
+ "signature": "RegisterRowReorder(string gridId, Func<string, string, Task> commitHandler)",
2580
+ "summary": null
2581
+ },
2582
+ {
2583
+ "name": "UnregisterRowReorder",
2584
+ "returnType": "ValueTask",
2585
+ "signature": "UnregisterRowReorder(string gridId)",
2586
+ "summary": null
2587
+ },
2588
+ {
2589
+ "name": "CaptureRowRects",
2590
+ "returnType": "ValueTask",
2591
+ "signature": "CaptureRowRects(string gridId)",
2592
+ "summary": null
2593
+ },
2594
+ {
2595
+ "name": "AnimateRowReorder",
2596
+ "returnType": "ValueTask",
2597
+ "signature": "AnimateRowReorder(string gridId, int durationMs)",
2598
+ "summary": null
2599
+ },
2600
+ {
2601
+ "name": "ClearRowReorderTransforms",
2602
+ "returnType": "ValueTask",
2603
+ "signature": "ClearRowReorderTransforms(string gridId)",
2604
+ "summary": "Snaps every row (and any expanded detail sibling) back to identity WITHOUT capturing — the no-animation counterpart to CaptureRowRects for a delayed reorder commit that gets REJECTED (backing rows changed during the settle window), so the transforms JS left in place never get an accept-path capture to clear them (round-8 #2). Additive DIM (round-9 #4) — no-op default so existing implementers / test doubles keep compiling."
2605
+ },
2474
2606
  {
2475
2607
  "name": "GetElementRectBySelector",
2476
2608
  "returnType": "ValueTask<ElementRect?>",
@@ -8248,7 +8380,7 @@
8248
8380
  "name": "IconContent",
8249
8381
  "type": "RenderFragment?",
8250
8382
  "default": null,
8251
- "description": "Icon slot (use Icon or Blazicon). The Content suffix avoids colliding with the &lt;Icon&gt; component.",
8383
+ "description": "Icon slot (use Icon or &lt;SvgGlyph&gt;). The Content suffix avoids colliding with the &lt;Icon&gt; component.",
8252
8384
  "isCascading": false,
8253
8385
  "captureUnmatched": false,
8254
8386
  "isEditorRequired": false
@@ -21106,7 +21238,7 @@
21106
21238
  "name": "ItemIcon",
21107
21239
  "type": "Func<object, RenderFragment?>?",
21108
21240
  "default": null,
21109
- "description": "Optional per-item leading icon. Receives the raw item object and returns a RenderFragment (typically a single &lt;Blazicon&gt;). Rendered before the label when ItemTemplate is null. Skip via returning null per item to mix iconed and non-iconed rows.",
21241
+ "description": "Optional per-item leading icon. Receives the raw item object and returns a RenderFragment (typically a single &lt;Icon&gt; or &lt;SvgGlyph&gt;). Rendered before the label when ItemTemplate is null. Skip via returning null per item to mix iconed and non-iconed rows.",
21110
21242
  "isCascading": false,
21111
21243
  "captureUnmatched": false,
21112
21244
  "isEditorRequired": false
@@ -24481,6 +24613,15 @@
24481
24613
  "captureUnmatched": false,
24482
24614
  "isEditorRequired": false
24483
24615
  },
24616
+ {
24617
+ "name": "OnColumnResize",
24618
+ "type": "EventCallback<ColumnResizeEventArgs>",
24619
+ "default": null,
24620
+ "description": "Raised when a column is resized through the built-in UI — a pointer drag on the resize handle, a keyboard nudge (arrow keys on the focused handle), or a double-click auto-fit-to-content. The event args carry the column id, the committed pixel width (already clamped to Min/Max), and an AutoFit flag that is true only for the double-click auto-fit path. Column widths persist automatically with the rest of the layout when EnableLayoutPersistence is on; this callback is for consumers that also want to observe/store widths.",
24621
+ "isCascading": false,
24622
+ "captureUnmatched": false,
24623
+ "isEditorRequired": false
24624
+ },
24484
24625
  {
24485
24626
  "name": "OnRowReorder",
24486
24627
  "type": "EventCallback<RowReorderEventArgs<TItem>>",
@@ -24615,6 +24756,11 @@
24615
24756
  "type": "EventCallback<ColumnReorderEventArgs>",
24616
24757
  "description": null
24617
24758
  },
24759
+ {
24760
+ "name": "OnColumnResize",
24761
+ "type": "EventCallback<ColumnResizeEventArgs>",
24762
+ "description": "Raised when a column is resized through the built-in UI — a pointer drag on the resize handle, a keyboard nudge (arrow keys on the focused handle), or a double-click auto-fit-to-content. The event args carry the column id, the committed pixel width (already clamped to Min/Max), and an AutoFit flag that is true only for the double-click auto-fit path. Column widths persist automatically with the rest of the layout when EnableLayoutPersistence is on; this callback is for consumers that also want to observe/store widths."
24763
+ },
24618
24764
  {
24619
24765
  "name": "OnRowReorder",
24620
24766
  "type": "EventCallback<RowReorderEventArgs<TItem>>",
@@ -26122,24 +26268,6 @@
26122
26268
  "captureUnmatched": false,
26123
26269
  "isEditorRequired": false
26124
26270
  },
26125
- {
26126
- "name": "ParentGrid",
26127
- "type": "DataGrid<TItem>?",
26128
- "default": null,
26129
- "description": null,
26130
- "isCascading": true,
26131
- "captureUnmatched": false,
26132
- "isEditorRequired": false
26133
- },
26134
- {
26135
- "name": "DragStateCtx",
26136
- "type": "DataGridDragState?",
26137
- "default": null,
26138
- "description": null,
26139
- "isCascading": true,
26140
- "captureUnmatched": false,
26141
- "isEditorRequired": false
26142
- },
26143
26271
  {
26144
26272
  "name": "Item",
26145
26273
  "type": "TItem",
@@ -26158,6 +26286,15 @@
26158
26286
  "captureUnmatched": false,
26159
26287
  "isEditorRequired": false
26160
26288
  },
26289
+ {
26290
+ "name": "RowToken",
26291
+ "type": "long",
26292
+ "default": null,
26293
+ "description": "Stable per-slot token for this row (see RowTokenAt) — only the value-type half of RowKey's identity is ever built from this; reference types key off their own instance identity hash instead.",
26294
+ "isCascading": false,
26295
+ "captureUnmatched": false,
26296
+ "isEditorRequired": false
26297
+ },
26161
26298
  {
26162
26299
  "name": "DetailTemplate",
26163
26300
  "type": "RenderFragment<TItem>?",
@@ -26739,6 +26876,7 @@
26739
26876
  "menu",
26740
26877
  "menuitem",
26741
26878
  "row",
26879
+ "separator",
26742
26880
  "status"
26743
26881
  ],
26744
26882
  "ariaAttributes": [
@@ -26753,11 +26891,15 @@
26753
26891
  "aria-live",
26754
26892
  "aria-modal",
26755
26893
  "aria-multiselectable",
26894
+ "aria-orientation",
26756
26895
  "aria-readonly",
26757
26896
  "aria-rowcount",
26758
26897
  "aria-rowindex",
26759
26898
  "aria-selected",
26760
- "aria-sort"
26899
+ "aria-sort",
26900
+ "aria-valuemax",
26901
+ "aria-valuemin",
26902
+ "aria-valuenow"
26761
26903
  ],
26762
26904
  "keys": [
26763
26905
  "ArrowDown",
@@ -37958,7 +38100,7 @@
37958
38100
  "name": "Icon",
37959
38101
  "type": "RenderFragment?",
37960
38102
  "default": null,
37961
- "description": "Optional inline content inside the marker circle — a single letter, a number, or a small &lt;Blazicon&gt; SVG. The fragment is rendered to a hidden host and its innerHTML is spliced into the DivIcon. Ignored when IconUrl is set.",
38103
+ "description": "Optional inline content inside the marker circle — a single letter, a number, or a small &lt;SvgGlyph&gt; SVG. The fragment is rendered to a hidden host and its innerHTML is spliced into the DivIcon. Ignored when IconUrl is set.",
37962
38104
  "isCascading": false,
37963
38105
  "captureUnmatched": false,
37964
38106
  "isEditorRequired": false
@@ -48209,7 +48351,7 @@
48209
48351
  "name": "ItemIcon",
48210
48352
  "type": "Func<object, RenderFragment?>?",
48211
48353
  "default": null,
48212
- "description": "Optional per-item leading icon. Receives the raw item object and returns a RenderFragment (typically a single &lt;Blazicon&gt;). Rendered before the label when ItemTemplate is null. Return null per item to mix iconed and non-iconed rows.",
48354
+ "description": "Optional per-item leading icon. Receives the raw item object and returns a RenderFragment (typically a single &lt;Icon&gt; or &lt;SvgGlyph&gt;). Rendered before the label when ItemTemplate is null. Return null per item to mix iconed and non-iconed rows.",
48213
48355
  "isCascading": false,
48214
48356
  "captureUnmatched": false,
48215
48357
  "isEditorRequired": false
package/src/registry.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://lumeo.nativ.sh/registry-schema.json",
3
- "version": "4.1.1",
4
- "generated": "2026-07-10T05:25:04.7080791Z",
3
+ "version": "4.2.0",
4
+ "generated": "2026-07-11T11:34:10.6831743Z",
5
5
  "components": {
6
6
  "accordion": {
7
7
  "name": "Accordion",
@@ -1750,8 +1750,8 @@
1750
1750
  "registryUrl": "https://lumeo.nativ.sh/registry/data-grid.json",
1751
1751
  "testCoverage": {
1752
1752
  "tier": 4,
1753
- "files": 33,
1754
- "tests": 207,
1753
+ "files": 38,
1754
+ "tests": 255,
1755
1755
  "relatedFiles": 0,
1756
1756
  "render": true,
1757
1757
  "behavior": true,
@@ -6891,6 +6891,7 @@
6891
6891
  "Services/Interop/ClickOutsideInterop.cs",
6892
6892
  "Services/Interop/FloatingPositionInterop.cs",
6893
6893
  "Services/Interop/FocusInterop.cs",
6894
+ "Services/Interop/ReorderInterop.cs",
6894
6895
  "Services/Interop/ResizeInterop.cs",
6895
6896
  "Services/Interop/RichTextInterop.cs",
6896
6897
  "Services/Interop/ScrollInterop.cs",