@lumeo-ui/mcp-server 5.11.3 → 5.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/README.md CHANGED
@@ -50,7 +50,9 @@ npm run build
50
50
 
51
51
  This produces `dist/index.js`, a Node ESM entrypoint.
52
52
 
53
- > Future: `npx -y @lumeo-ui/mcp-server` once published to npm.
53
+ > Already published: `npx -y @lumeo-ui/mcp-server` runs the latest release with no local
54
+ > build/clone needed — use the local `dist/index.js` path above only when developing the
55
+ > server itself.
54
56
 
55
57
  ## Configure your MCP client
56
58
 
@@ -128,7 +130,7 @@ The component schema is generated at build time, not hand-maintained:
128
130
  `tools/Lumeo.RegistryGen` reads the actual Razor source via Roslyn and emits full
129
131
  params / enums / events / sub-component metadata for every component into
130
132
  `src/Lumeo/registry/`. `scripts/sync-registry.mjs` copies the generated
131
- `registry.json` (166 components) and `components-api.json` here at `prebuild`
133
+ `registry.json` (169 components) and `components-api.json` here at `prebuild`
132
134
  time, so the catalog never drifts from the source.
133
135
 
134
136
  `src/components.ts` only layers a few extra hand-curated example snippets on top —
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumeo-ui/mcp-server",
3
- "version": "5.11.3",
3
+ "version": "5.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",
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "$schema": "https://lumeo.nativ.sh/components-api-schema.json",
3
- "version": "5.11.3",
4
- "generated": "2026-09-25T08:34:42.7171568Z",
3
+ "version": "5.12.0",
4
+ "generated": "2026-09-25T10:28:59.0314379Z",
5
5
  "stats": {
6
6
  "componentCount": 169,
7
- "totalParameters": 5017,
7
+ "totalParameters": 5018,
8
8
  "totalEnums": 113,
9
9
  "totalRecords": 66,
10
10
  "serviceCount": 33,
@@ -1266,6 +1266,30 @@
1266
1266
  "signature": "UnregisterOverlayScrollbar(string viewportId)",
1267
1267
  "summary": null
1268
1268
  },
1269
+ {
1270
+ "name": "RegisterScrollbarBelowHeader",
1271
+ "returnType": "ValueTask",
1272
+ "signature": "RegisterScrollbarBelowHeader(string viewportId, string headerWrapperId)",
1273
+ "summary": null
1274
+ },
1275
+ {
1276
+ "name": "UnregisterScrollbarBelowHeader",
1277
+ "returnType": "ValueTask",
1278
+ "signature": "UnregisterScrollbarBelowHeader(string viewportId)",
1279
+ "summary": null
1280
+ },
1281
+ {
1282
+ "name": "RegisterGridHeaderOffset",
1283
+ "returnType": "ValueTask",
1284
+ "signature": "RegisterGridHeaderOffset(string viewportId)",
1285
+ "summary": null
1286
+ },
1287
+ {
1288
+ "name": "UnregisterGridHeaderOffset",
1289
+ "returnType": "ValueTask",
1290
+ "signature": "UnregisterGridHeaderOffset(string viewportId)",
1291
+ "summary": null
1292
+ },
1269
1293
  {
1270
1294
  "name": "RegisterFilterDrag",
1271
1295
  "returnType": "ValueTask",
@@ -2894,6 +2918,30 @@
2894
2918
  "signature": "UnregisterOverlayScrollbar(string viewportId)",
2895
2919
  "summary": "Tears down the overlay scrollbar registered by RegisterOverlayScrollbar. Additive DIM."
2896
2920
  },
2921
+ {
2922
+ "name": "RegisterScrollbarBelowHeader",
2923
+ "returnType": "ValueTask",
2924
+ "signature": "RegisterScrollbarBelowHeader(string viewportId, string headerWrapperId)",
2925
+ "summary": "Mirrors the body viewport's horizontal scroll onto the header wrapper and pads the header by the body's own native scrollbar gutter, for DataGrid's split header/body layout (DataGrid.ScrollbarBelowHeader) — the native vertical scrollbar then starts below the header instead of running alongside it. Additive DIM."
2926
+ },
2927
+ {
2928
+ "name": "UnregisterScrollbarBelowHeader",
2929
+ "returnType": "ValueTask",
2930
+ "signature": "UnregisterScrollbarBelowHeader(string viewportId)",
2931
+ "summary": "Tears down the mirror registered by RegisterScrollbarBelowHeader. Additive DIM."
2932
+ },
2933
+ {
2934
+ "name": "RegisterGridHeaderOffset",
2935
+ "returnType": "ValueTask",
2936
+ "signature": "RegisterGridHeaderOffset(string viewportId)",
2937
+ "summary": "Writes the grid's live sticky-header height as the --lumeo-grid-header-offset CSS custom property on its scroll container — the classic single-table layout's default \"no scrollbar next to the header\" fix (paired with the lumeo-dg-native-header-band CSS class): a continuous header-coloured band across the scrollbar gutter, and — in Chromium/Safari — the scrollbar thumb's own travel range starting below the header. Additive DIM."
2938
+ },
2939
+ {
2940
+ "name": "UnregisterGridHeaderOffset",
2941
+ "returnType": "ValueTask",
2942
+ "signature": "UnregisterGridHeaderOffset(string viewportId)",
2943
+ "summary": "Tears down the observer registered by RegisterGridHeaderOffset. Additive DIM."
2944
+ },
2897
2945
  {
2898
2946
  "name": "RegisterFilterDrag",
2899
2947
  "returnType": "ValueTask",
@@ -3820,7 +3868,13 @@
3820
3868
  "name": "ToggleModeAsync",
3821
3869
  "returnType": "Task",
3822
3870
  "signature": "ToggleModeAsync()",
3823
- "summary": null
3871
+ "summary": "Toggles between the two RESOLVED appearances (dark/light) — see ToggleModeAsync for the full contract."
3872
+ },
3873
+ {
3874
+ "name": "CycleModeAsync",
3875
+ "returnType": "Task",
3876
+ "signature": "CycleModeAsync()",
3877
+ "summary": "Cycles System → Dark → Light → System — see CycleModeAsync for the full contract."
3824
3878
  },
3825
3879
  {
3826
3880
  "name": "SetDirectionAsync",
@@ -4764,7 +4818,13 @@
4764
4818
  "name": "ToggleModeAsync",
4765
4819
  "returnType": "Task",
4766
4820
  "signature": "ToggleModeAsync()",
4767
- "summary": null
4821
+ "summary": "Toggles between the two RESOLVED appearances: if the theme is currently showing dark (whether because CurrentMode is Dark, or System resolved to dark via the OS preference) this switches to Light; otherwise it switches to Dark. A single click always flips the visible appearance — previously (rc.43) this cycled System → Dark → Light → System off CurrentMode alone, so a System→Dark click on a dark OS was visually a no-op and a light/dark switch needed two clicks (LU-22). Use CycleModeAsync for a control that intends to walk the full three-way cycle and offer System as one of its stops."
4822
+ },
4823
+ {
4824
+ "name": "CycleModeAsync",
4825
+ "returnType": "Task",
4826
+ "signature": "CycleModeAsync()",
4827
+ "summary": "Cycles through all three modes in a fixed order: System → Dark → Light → System, based on CurrentMode (not the resolved appearance). Unlike ToggleModeAsync, which only flips between the two resolved appearances, this always visits System mode, so a control that lets the user get back to \"follow the OS\" through repeated clicks (e.g. ThemeToggle with IncludeSystem=\"true\") should call this instead of ToggleModeAsync."
4768
4828
  },
4769
4829
  {
4770
4830
  "name": "SetDirectionAsync",
@@ -24739,6 +24799,15 @@
24739
24799
  "captureUnmatched": false,
24740
24800
  "isEditorRequired": false
24741
24801
  },
24802
+ {
24803
+ "name": "ScrollbarBelowHeader",
24804
+ "type": "bool",
24805
+ "default": "false",
24806
+ "description": "Makes the grid's NATIVE vertical scrollbar start below the header instead of running alongside it — the same \"no scrollbar next to the header\" fix as OverlayScrollbar, for grids that keep the browser's own scrollbar. Splits the header into its own non-scrolling table, sitting above a second, independently-scrolling table for the body; horizontal scroll is mirrored from the body onto the header (JS, passive listener), and the header is padded by the body's own scrollbar gutter so its background/ border keep running the full width of the grid frame (no notch above the scrollbar). Column resize, reorder, pinned columns, virtualization, keyboard navigation and screen-reader grid semantics (a single role=\"grid\" wrapping both tables) all keep working across the split. Requires table-layout: fixed — i.e. every visible column already resolves to a pixel width (an explicit Width on every column, FitWithMinimum, or autosize). Two independent tables under table-layout: auto size their columns from their OWN content, with no guarantee the header and body agree — so when that condition isn't met, the grid quietly renders the classic single-table layout instead (same as leaving this off), rather than risk misaligned columns. Ignored when OverlayScrollbar is also set — that mode already has no native scrollbar to reposition. Default false: opt in per grid.",
24807
+ "isCascading": false,
24808
+ "captureUnmatched": false,
24809
+ "isEditorRequired": false
24810
+ },
24742
24811
  {
24743
24812
  "name": "Compact",
24744
24813
  "type": "bool",
@@ -25713,8 +25782,8 @@
25713
25782
  "code": "<DataGrid TItem=\"Employee\" Items=\"@employees\" PageSize=\"5\"\n ShowToolbar=\"true\" ShowPagination=\"true\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\"\n Sortable=\"true\" Filterable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Salary\" Field=\"Salary\"\n Filterable=\"true\" FilterType=\"DataGridFilterType.Number\" Format=\"C0\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Status\" Field=\"Status\"\n Filterable=\"true\" />\n</DataGrid>"
25714
25783
  },
25715
25784
  {
25716
- "title": "Minimal toolbar (search only)",
25717
- "code": "<DataGrid TItem=\"Employee\" Items=\"@employees\" PageSize=\"5\"\n ShowToolbar=\"true\"\n ShowColumnChooser=\"false\"\n ShowExport=\"false\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\" Sortable=\"true\" Filterable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Department\" Field=\"Department\" Sortable=\"true\" Filterable=\"true\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Salary\" Field=\"Salary\" Sortable=\"true\" Format=\"C0\" />\n</DataGrid>"
25785
+ "title": "Toolbar with Internal Scroll",
25786
+ "code": "<DataGrid TItem=\"Employee\" Items=\"@employees\" ShowToolbar=\"true\" Height=\"240px\">\n <DataGridColumnDef TItem=\"Employee\" Title=\"Name\" Field=\"Name\" Width=\"180\" />\n <DataGridColumnDef TItem=\"Employee\" Title=\"Department\" Field=\"Department\" Width=\"180\" />\n</DataGrid>"
25718
25787
  }
25719
25788
  ],
25720
25789
  "subComponents": {
@@ -27891,6 +27960,7 @@
27891
27960
  "menu",
27892
27961
  "menuitem",
27893
27962
  "menuitemradio",
27963
+ "none",
27894
27964
  "row",
27895
27965
  "separator",
27896
27966
  "status",
package/src/registry.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://lumeo.nativ.sh/registry-schema.json",
3
- "version": "5.11.3",
4
- "generated": "2026-09-25T08:34:37.8871711Z",
3
+ "version": "5.12.0",
4
+ "generated": "2026-09-25T10:28:52.5508775Z",
5
5
  "components": {
6
6
  "accordion": {
7
7
  "name": "Accordion",
@@ -1763,8 +1763,8 @@
1763
1763
  "registryUrl": "https://lumeo.nativ.sh/registry/data-grid.json",
1764
1764
  "testCoverage": {
1765
1765
  "tier": 4,
1766
- "files": 64,
1767
- "tests": 426,
1766
+ "files": 66,
1767
+ "tests": 438,
1768
1768
  "relatedFiles": 3,
1769
1769
  "render": true,
1770
1770
  "behavior": true,
@@ -6538,7 +6538,7 @@
6538
6538
  "testCoverage": {
6539
6539
  "tier": 3,
6540
6540
  "files": 5,
6541
- "tests": 19,
6541
+ "tests": 21,
6542
6542
  "relatedFiles": 0,
6543
6543
  "render": true,
6544
6544
  "behavior": true,