@lumeo-ui/mcp-server 5.11.0 → 5.11.1

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/index.js CHANGED
@@ -36,6 +36,7 @@ import { components as curatedExamples } from "./components.js";
36
36
  import { loadRegistry } from "./registry.js";
37
37
  import { setupFor, PORTAL_COMPONENTS, NEEDS_OVERLAY_PROVIDER } from "./installInfo.js";
38
38
  import { createValidator } from "./validate.js";
39
+ import { searchComponents } from "./search.js";
39
40
  import { readFileSync } from "node:fs";
40
41
  const DOCS_BASE = "https://lumeo.nativ.sh";
41
42
  // Server version, read from package.json so it can never drift from the published
@@ -112,47 +113,11 @@ function findComponent(name) {
112
113
  // so e.g. "SheetContent" / "CardHeader" / "SelectTrigger" resolve.
113
114
  return byName.get(name.toLowerCase()) ?? bySubName.get(name.toLowerCase());
114
115
  }
115
- function score(c, q) {
116
- const needle = q.toLowerCase();
117
- if (!needle)
118
- return 0;
119
- let s = 0;
120
- if (c.name.toLowerCase() === needle)
121
- s += 100;
122
- if (c.name.toLowerCase().startsWith(needle))
123
- s += 50;
124
- if (c.name.toLowerCase().includes(needle))
125
- s += 25;
126
- if (c.category.toLowerCase().includes(needle))
127
- s += 10;
128
- if (c.description.toLowerCase().includes(needle))
129
- s += 5;
130
- // Sub-component name matches surface the parent — so searching a nested
131
- // element ("SheetContent", "TabsTrigger") finds the component that owns it.
132
- for (const sub of Object.values(c.subComponents)) {
133
- const sn = sub.componentName.toLowerCase();
134
- if (sn === needle) {
135
- s += 80;
136
- break;
137
- }
138
- if (sn.includes(needle)) {
139
- s += 20;
140
- break;
141
- }
142
- }
143
- return s;
144
- }
116
+ // Tokenized fuzzy search over the component catalog (LU-15) — see search.ts for the
117
+ // scoring rules. Multi-word queries ("flow diagram nodes edges") match components that
118
+ // hit ANY of the words, not just the whole phrase verbatim.
145
119
  function searchCatalog(query, category) {
146
- let pool = components;
147
- if (category)
148
- pool = pool.filter((c) => c.category.toLowerCase() === category.toLowerCase());
149
- if (!query)
150
- return pool;
151
- return pool
152
- .map((c) => ({ c, s: score(c, query) }))
153
- .filter((x) => x.s > 0)
154
- .sort((a, b) => b.s - a.s)
155
- .map((x) => x.c);
120
+ return searchComponents(components, query, category);
156
121
  }
157
122
  function docsUrl(c) {
158
123
  // Convert PascalCase to kebab-case for the docs URL
@@ -27,7 +27,10 @@ export const PACKAGE_SETUP = {
27
27
  dotnetAdd: "dotnet add package Lumeo.Charts --prerelease",
28
28
  lumeoAddNote: "`lumeo add chart` copies the Chart component + ECharts interop.",
29
29
  usings: ["@using Lumeo"],
30
- di: ["builder.Services.AddLumeo();", "builder.Services.AddLumeoCharts();"],
30
+ // LU-16: there is no AddLumeoCharts() — `AddLumeo()` is the only DI registration
31
+ // extension method in the whole library (src/Lumeo/Extensions/LumeoServiceExtensions.cs);
32
+ // satellites add components/markup, not their own service registrations.
33
+ di: ["builder.Services.AddLumeo();"],
31
34
  hostIncludes: [
32
35
  `<script src="_content/Lumeo.Charts/js/echarts.min.js"></script>`,
33
36
  `<script src="_content/Lumeo.Charts/js/chart-interop.js"></script>`,
@@ -39,7 +42,9 @@ export const PACKAGE_SETUP = {
39
42
  dotnetAdd: "dotnet add package Lumeo.DataGrid --prerelease",
40
43
  lumeoAddNote: "`lumeo add datagrid` copies the DataGrid + supporting types.",
41
44
  usings: ["@using Lumeo"],
42
- di: ["builder.Services.AddLumeo();", "builder.Services.AddLumeoDataGrid(); // registers IDataGridExportService"],
45
+ // LU-16: there is no AddLumeoDataGrid() — IDataGridExportService is already
46
+ // registered by the core AddLumeo() call (see LumeoServiceExtensions.cs).
47
+ di: ["builder.Services.AddLumeo(); // also registers IDataGridExportService"],
43
48
  hostIncludes: [],
44
49
  notes: [
45
50
  "Excel/PDF export pulls in ClosedXML (MIT) and QuestPDF (dual-licensed — free under $1M revenue, otherwise paid). CSV/JSON export has no third-party dependency.",
@@ -51,7 +56,8 @@ export const PACKAGE_SETUP = {
51
56
  dotnetAdd: "dotnet add package Lumeo.Editor --prerelease",
52
57
  lumeoAddNote: "`lumeo add rich-text-editor`.",
53
58
  usings: ["@using Lumeo"],
54
- di: ["builder.Services.AddLumeo();", "builder.Services.AddLumeoEditor();"],
59
+ // LU-16: there is no AddLumeoEditor().
60
+ di: ["builder.Services.AddLumeo();"],
55
61
  hostIncludes: [`<script src="_content/Lumeo.Editor/js/editor-interop.js"></script>`],
56
62
  notes: [],
57
63
  },
@@ -60,7 +66,8 @@ export const PACKAGE_SETUP = {
60
66
  dotnetAdd: "dotnet add package Lumeo.Scheduler --prerelease",
61
67
  lumeoAddNote: "`lumeo add scheduler`.",
62
68
  usings: ["@using Lumeo"],
63
- di: ["builder.Services.AddLumeo();", "builder.Services.AddLumeoScheduler();"],
69
+ // LU-16: there is no AddLumeoScheduler().
70
+ di: ["builder.Services.AddLumeo();"],
64
71
  hostIncludes: [],
65
72
  notes: [],
66
73
  },
@@ -69,7 +76,8 @@ export const PACKAGE_SETUP = {
69
76
  dotnetAdd: "dotnet add package Lumeo.Gantt --prerelease",
70
77
  lumeoAddNote: "`lumeo add gantt`.",
71
78
  usings: ["@using Lumeo"],
72
- di: ["builder.Services.AddLumeo();", "builder.Services.AddLumeoGantt();"],
79
+ // LU-16: there is no AddLumeoGantt().
80
+ di: ["builder.Services.AddLumeo();"],
73
81
  hostIncludes: [],
74
82
  notes: [],
75
83
  },
@@ -78,7 +86,8 @@ export const PACKAGE_SETUP = {
78
86
  dotnetAdd: "dotnet add package Lumeo.Motion --prerelease",
79
87
  lumeoAddNote: "`lumeo add <motion-component>` (e.g. `lumeo add border-beam`).",
80
88
  usings: ["@using Lumeo"],
81
- di: ["builder.Services.AddLumeo();", "builder.Services.AddLumeoMotion();"],
89
+ // LU-16: there is no AddLumeoMotion().
90
+ di: ["builder.Services.AddLumeo();"],
82
91
  hostIncludes: [`<script src="_content/Lumeo.Motion/js/motion-interop.js"></script>`],
83
92
  notes: ["Animation primitives (BorderBeam, Marquee, NumberTicker, Confetti, …). Most are pure CSS; a few use a small JS interop module."],
84
93
  },
package/dist/search.js ADDED
@@ -0,0 +1,76 @@
1
+ // Component search — extracted from index.ts so it can be unit-tested in isolation
2
+ // (same rationale as validate.ts: parameterized by a minimal structural shape rather
3
+ // than reaching into module-level state).
4
+ //
5
+ // LU-15 (field report against 5.11.0): lumeo_search("flow diagram nodes edges") returned
6
+ // [] even though FlowCanvas's own description mentions "flow", "nodes" and "edges" — its
7
+ // description just never contains that exact FOUR-WORD substring. The old `score()` did
8
+ // `c.description.toLowerCase().includes(needle)` with `needle` = the WHOLE lowercased
9
+ // query string, so any multi-word query only matched a component whose name/category/
10
+ // description happened to contain that literal phrase verbatim. Real queries are natural
11
+ // -language phrases ("flow diagram nodes edges", "chat message bubble"), not exact
12
+ // substrings. Fixed by tokenizing the query on whitespace and scoring + summing each
13
+ // token independently — a component now surfaces if ANY of the query's words hit its
14
+ // name/category/description/sub-component names, ranked by how many (and how well) they
15
+ // hit, which is what "fuzzy search" in the tool description already promised.
16
+ /** Splits a query into lowercase, non-empty whitespace-separated words. */
17
+ export function tokenize(query) {
18
+ return query
19
+ .toLowerCase()
20
+ .split(/\s+/)
21
+ .map((t) => t.trim())
22
+ .filter(Boolean);
23
+ }
24
+ /** Score a single component against a single (already-lowercased) query token. */
25
+ function scoreToken(c, needle) {
26
+ let s = 0;
27
+ const name = c.name.toLowerCase();
28
+ if (name === needle)
29
+ s += 100;
30
+ else if (name.startsWith(needle))
31
+ s += 50;
32
+ else if (name.includes(needle))
33
+ s += 25;
34
+ if (c.category.toLowerCase().includes(needle))
35
+ s += 10;
36
+ if (c.description.toLowerCase().includes(needle))
37
+ s += 5;
38
+ // Sub-component name matches surface the parent — so searching a nested
39
+ // element ("SheetContent", "TabsTrigger") finds the component that owns it.
40
+ for (const sub of Object.values(c.subComponents)) {
41
+ const sn = sub.componentName.toLowerCase();
42
+ if (sn === needle) {
43
+ s += 80;
44
+ break;
45
+ }
46
+ if (sn.includes(needle)) {
47
+ s += 20;
48
+ break;
49
+ }
50
+ }
51
+ return s;
52
+ }
53
+ /** Score a component against a full (possibly multi-word) query: the sum of its
54
+ * per-token scores. A component needs to match only SOME of the query's words to
55
+ * surface — it does not have to contain the whole phrase verbatim. */
56
+ export function scoreComponent(c, query) {
57
+ const tokens = tokenize(query);
58
+ if (tokens.length === 0)
59
+ return 0;
60
+ let total = 0;
61
+ for (const t of tokens)
62
+ total += scoreToken(c, t);
63
+ return total;
64
+ }
65
+ export function searchComponents(components, query, category) {
66
+ let pool = components;
67
+ if (category)
68
+ pool = pool.filter((c) => c.category.toLowerCase() === category.toLowerCase());
69
+ if (!query)
70
+ return pool.slice();
71
+ return pool
72
+ .map((c) => ({ c, s: scoreComponent(c, query) }))
73
+ .filter((x) => x.s > 0)
74
+ .sort((a, b) => b.s - a.s)
75
+ .map((x) => x.c);
76
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lumeo-ui/mcp-server",
3
- "version": "5.11.0",
3
+ "version": "5.11.1",
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.0",
4
- "generated": "2026-09-24T15:21:55.6856657Z",
3
+ "version": "5.11.1",
4
+ "generated": "2026-09-25T05:31:41.9921215Z",
5
5
  "stats": {
6
6
  "componentCount": 169,
7
- "totalParameters": 5015,
7
+ "totalParameters": 5017,
8
8
  "totalEnums": 113,
9
9
  "totalRecords": 66,
10
10
  "serviceCount": 33,
@@ -1176,6 +1176,18 @@
1176
1176
  "signature": "UnregisterViewportWidth(string elementId)",
1177
1177
  "summary": null
1178
1178
  },
1179
+ {
1180
+ "name": "RegisterColumnFitObserver",
1181
+ "returnType": "ValueTask",
1182
+ "signature": "RegisterColumnFitObserver<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)] T>(string elementId, DotNetObjectReference<T> dotNetRef)",
1183
+ "summary": null
1184
+ },
1185
+ {
1186
+ "name": "UnregisterColumnFitObserver",
1187
+ "returnType": "ValueTask",
1188
+ "signature": "UnregisterColumnFitObserver(string elementId)",
1189
+ "summary": null
1190
+ },
1179
1191
  {
1180
1192
  "name": "RegisterOtpPaste",
1181
1193
  "returnType": "ValueTask",
@@ -1872,12 +1884,24 @@
1872
1884
  "signature": "FlowFitViewAsync(Microsoft.AspNetCore.Components.ElementReference paneEl, double padding, double minZoom, double maxZoom)",
1873
1885
  "summary": null
1874
1886
  },
1887
+ {
1888
+ "name": "FlowFitViewAsync",
1889
+ "returnType": "Task",
1890
+ "signature": "FlowFitViewAsync(Microsoft.AspNetCore.Components.ElementReference paneEl, double padding, double minZoom, double maxZoom, string? anchorNodeId)",
1891
+ "summary": null
1892
+ },
1875
1893
  {
1876
1894
  "name": "FlowGetViewportAsync",
1877
1895
  "returnType": "Task<double[]?>",
1878
1896
  "signature": "FlowGetViewportAsync(Microsoft.AspNetCore.Components.ElementReference paneEl)",
1879
1897
  "summary": null
1880
1898
  },
1899
+ {
1900
+ "name": "FlowGetPaneSizeAsync",
1901
+ "returnType": "Task<double[]?>",
1902
+ "signature": "FlowGetPaneSizeAsync(Microsoft.AspNetCore.Components.ElementReference paneEl)",
1903
+ "summary": null
1904
+ },
1881
1905
  {
1882
1906
  "name": "FlowIsFocusedElementEditableAsync",
1883
1907
  "returnType": "Task<bool>",
@@ -2780,6 +2804,18 @@
2780
2804
  "signature": "UnregisterViewportWidth(string elementId)",
2781
2805
  "summary": "Stops the observer started by RegisterViewportWidth."
2782
2806
  },
2807
+ {
2808
+ "name": "RegisterColumnFitObserver",
2809
+ "returnType": "ValueTask",
2810
+ "signature": "RegisterColumnFitObserver<[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicMethods)] T>(string elementId, Microsoft.JSInterop.DotNetObjectReference<T> dotNetRef)",
2811
+ "summary": "Observes elementId's own client width (a ResizeObserver, same shape as RegisterViewportWidth) and reports it back to .NET via dotNetRef's OnFitContainerWidthChanged(double) on first paint and every resize thereafter. Backs Lumeo.DataGrid's DataGridColumnSizing.FitWithMinimum, which needs the measured width IN .NET to recompute each column's negotiated pixel width (DataGridColumnFit.Compute) — unlike RegisterViewportWidth, a JS-only CSS-var write is not enough here. Generic in the .NET reference type so this core interop interface stays decoupled from the UI component. Default no-op so existing implementers / test doubles keep compiling (they can drive the callback directly instead of via real JS)."
2812
+ },
2813
+ {
2814
+ "name": "UnregisterColumnFitObserver",
2815
+ "returnType": "ValueTask",
2816
+ "signature": "UnregisterColumnFitObserver(string elementId)",
2817
+ "summary": "Stops the observer started by RegisterColumnFitObserver{T}."
2818
+ },
2783
2819
  {
2784
2820
  "name": "RegisterOtpPaste",
2785
2821
  "returnType": "ValueTask",
@@ -3422,12 +3458,24 @@
3422
3458
  "signature": "FlowFitViewAsync(Microsoft.AspNetCore.Components.ElementReference paneEl, double padding, double minZoom, double maxZoom)",
3423
3459
  "summary": "Fits every rendered node into the pane, measuring the nodes from the DOM (flow.js flow.fitView) — used when .NET does not know every node's size yet. The engine applies the viewport itself and reports it back like any other viewport change. Default no-op."
3424
3460
  },
3461
+ {
3462
+ "name": "FlowFitViewAsync",
3463
+ "returnType": "Task",
3464
+ "signature": "FlowFitViewAsync(Microsoft.AspNetCore.Components.ElementReference paneEl, double padding, double minZoom, double maxZoom, string? anchorNodeId)",
3465
+ "summary": "LU-08: like FlowFitViewAsync(Microsoft.AspNetCore.Components.ElementReference, double, double, double), but when the DOM-measured fit would need a zoom below minZoom, centres on the node anchorNodeId at minZoom instead of the whole (still-clamped) bounds. A new overload rather than a new parameter on the existing member, so nothing implementing the interface before this had to change. Default no-op."
3466
+ },
3425
3467
  {
3426
3468
  "name": "FlowGetViewportAsync",
3427
3469
  "returnType": "Task<double[]?>",
3428
3470
  "signature": "FlowGetViewportAsync(Microsoft.AspNetCore.Components.ElementReference paneEl)",
3429
3471
  "summary": "The engine's live viewport as [x, y, zoom], or null when the engine is unavailable. Default null."
3430
3472
  },
3473
+ {
3474
+ "name": "FlowGetPaneSizeAsync",
3475
+ "returnType": "Task<double[]?>",
3476
+ "signature": "FlowGetPaneSizeAsync(Microsoft.AspNetCore.Components.ElementReference paneEl)",
3477
+ "summary": "LU-07: the pane's LIVE measured size (a fresh clientWidth/clientHeight read, forcing layout), not whatever the ResizeObserver's own debounced report happened to have delivered by the time this is called — used by FlowCanvas.FitViewAsync right after a container resize, where that report can still be in flight. [width, height], or null when the engine is unavailable. Default null."
3478
+ },
3431
3479
  {
3432
3480
  "name": "FlowIsFocusedElementEditableAsync",
3433
3481
  "returnType": "Task<bool>",
@@ -6194,7 +6242,6 @@
6194
6242
  "--color-accent-foreground",
6195
6243
  "--color-background",
6196
6244
  "--color-destructive",
6197
- "--color-destructive-foreground",
6198
6245
  "--color-input",
6199
6246
  "--color-muted",
6200
6247
  "--color-muted-foreground",
@@ -20529,7 +20576,6 @@
20529
20576
  "cssVars": [
20530
20577
  "--color-border",
20531
20578
  "--color-destructive",
20532
- "--color-destructive-foreground",
20533
20579
  "--color-foreground",
20534
20580
  "--color-primary",
20535
20581
  "--color-primary-foreground",
@@ -24603,6 +24649,7 @@
24603
24649
  "UI/DataGrid/DataGridColumn.cs",
24604
24650
  "UI/DataGrid/DataGridColumnDef.razor",
24605
24651
  "UI/DataGrid/DataGridColumnFilter.razor",
24652
+ "UI/DataGrid/DataGridColumnFit.cs",
24606
24653
  "UI/DataGrid/DataGridColumnGroup.razor",
24607
24654
  "UI/DataGrid/DataGridColumnVisibility.razor",
24608
24655
  "UI/DataGrid/DataGridContext.cs",
@@ -36589,7 +36636,16 @@
36589
36636
  "name": "ViewportChanged",
36590
36637
  "type": "EventCallback<FlowViewport>",
36591
36638
  "default": null,
36592
- "description": "Raised when the viewport changes — at most once per animation frame while a pan or wheel zoom is running, once more when it ends, and after every imperative change (FitViewAsync, ZoomInAsync, ...).",
36639
+ "description": "Raised when the viewport changes — at most once per animation frame while a pan or wheel zoom is running, once more when it ends, and after every imperative change (FitViewAsync(double?), ZoomInAsync, ...).",
36640
+ "isCascading": false,
36641
+ "captureUnmatched": false,
36642
+ "isEditorRequired": false
36643
+ },
36644
+ {
36645
+ "name": "OnFitView",
36646
+ "type": "EventCallback<FlowViewport>",
36647
+ "default": null,
36648
+ "description": "LU-08: raised after every fit-into-view completes — an explicit FitViewAsync(double?)/FitViewAsync(FlowFitViewOptions) call AND the engine's own DOM-measured fit (including FitViewOnInit's initial fit, which no awaited call otherwise reports completion for). ViewportChanged also fires for a fit (it is a viewport change); this is additionally scoped to \"a fit just finished\" specifically.",
36593
36649
  "isCascading": false,
36594
36650
  "captureUnmatched": false,
36595
36651
  "isEditorRequired": false
@@ -36850,7 +36906,7 @@
36850
36906
  "name": "OnlyRenderVisibleNodes",
36851
36907
  "type": "bool",
36852
36908
  "default": "false",
36853
- "description": "Virtualization for large graphs: only nodes whose rect intersects the visible viewport plus one viewport of margin in every direction are mounted (plus their parent groups, and any node being dragged), and only edges touching a mounted node are drawn. The window follows pans and zooms with hysteresis — it is rebuilt only once the viewport has drifted half a viewport away (or zoomed in past half its size) — at most every 80 ms while a gesture runs, plus once when it ends. Selection, delete, clipboard, keyboard moves, FitViewAsync, FlowMiniMap and export keep working on EVERY node (they read the model, not the DOM); sizes measured while a node was mounted are remembered after it unmounts. Helper lines, marquee and connect targets only see mounted nodes (everything within one viewport of the visible area). Off by default.",
36909
+ "description": "Virtualization for large graphs: only nodes whose rect intersects the visible viewport plus one viewport of margin in every direction are mounted (plus their parent groups, and any node being dragged), and only edges touching a mounted node are drawn. The window follows pans and zooms with hysteresis — it is rebuilt only once the viewport has drifted half a viewport away (or zoomed in past half its size) — at most every 80 ms while a gesture runs, plus once when it ends. Selection, delete, clipboard, keyboard moves, FitViewAsync(double?), FlowMiniMap and export keep working on EVERY node (they read the model, not the DOM); sizes measured while a node was mounted are remembered after it unmounts. Helper lines, marquee and connect targets only see mounted nodes (everything within one viewport of the visible area). Off by default.",
36854
36910
  "isCascading": false,
36855
36911
  "captureUnmatched": false,
36856
36912
  "isEditorRequired": false
@@ -37023,7 +37079,12 @@
37023
37079
  {
37024
37080
  "name": "ViewportChanged",
37025
37081
  "type": "EventCallback<FlowViewport>",
37026
- "description": "Raised when the viewport changes — at most once per animation frame while a pan or wheel zoom is running, once more when it ends, and after every imperative change (FitViewAsync, ZoomInAsync, ...)."
37082
+ "description": "Raised when the viewport changes — at most once per animation frame while a pan or wheel zoom is running, once more when it ends, and after every imperative change (FitViewAsync(double?), ZoomInAsync, ...)."
37083
+ },
37084
+ {
37085
+ "name": "OnFitView",
37086
+ "type": "EventCallback<FlowViewport>",
37087
+ "description": "LU-08: raised after every fit-into-view completes — an explicit FitViewAsync(double?)/FitViewAsync(FlowFitViewOptions) call AND the engine's own DOM-measured fit (including FitViewOnInit's initial fit, which no awaited call otherwise reports completion for). ViewportChanged also fires for a fit (it is a viewport change); this is additionally scoped to \"a fit just finished\" specifically."
37027
37088
  },
37028
37089
  {
37029
37090
  "name": "SnapToGridChanged",
@@ -37458,6 +37519,15 @@
37458
37519
  "inheritsFrom": null,
37459
37520
  "implements": [],
37460
37521
  "parameters": [
37522
+ {
37523
+ "name": "Context",
37524
+ "type": "FlowCanvas.FlowCanvasContext?",
37525
+ "default": null,
37526
+ "description": null,
37527
+ "isCascading": true,
37528
+ "captureUnmatched": false,
37529
+ "isEditorRequired": false
37530
+ },
37461
37531
  {
37462
37532
  "name": "Node",
37463
37533
  "type": "FlowNode?",
@@ -37921,7 +37991,8 @@
37921
37991
  "ArrowRight",
37922
37992
  "ArrowUp",
37923
37993
  "Enter",
37924
- "Escape"
37994
+ "Escape",
37995
+ "Space"
37925
37996
  ],
37926
37997
  "keyboardInteractive": true,
37927
37998
  "focusManaged": true
@@ -61554,7 +61625,6 @@
61554
61625
  "--color-background",
61555
61626
  "--color-border",
61556
61627
  "--color-destructive",
61557
- "--color-destructive-foreground",
61558
61628
  "--color-input",
61559
61629
  "--color-popover",
61560
61630
  "--color-popover-foreground",
@@ -63470,7 +63540,7 @@
63470
63540
  "name": "Size",
63471
63541
  "type": "Lumeo.Size",
63472
63542
  "default": "Lumeo.Size.Md",
63473
- "description": "Switch size. Supports all 7 Size values (Xxs–Xxl). Sm and Md get an invisible touch-target extension up to the 24px minimum (the visible track is pixel-identical to before — only the click/touch-catching zone around it grows). Xxs and Xs are a deliberate exception: their 8px/12px track stays below the 24px minimum on purpose — an app that opts into Xxs/Xs is explicitly asking for a dense, non-touch-primary control, so no hit-area extension is added there. Lg/Xl/Xxl already clear 24px without any change. Default Md.",
63543
+ "description": "Switch size. Supports all 7 Size values (Xxs–Xxl); Md (18.4×32px track, 1px border) matches shadcn new-york v4's default exactly, and the other 6 rungs are rescaled proportionally around it. Sm, Md and Lg get an invisible touch-target extension up to the 24px minimum (the visible track is pixel-identical to before — only the click/touch-catching zone around it grows). Xxs and Xs are a deliberate exception: their track stays below the 24px minimum on purpose — an app that opts into Xxs/Xs is explicitly asking for a dense, non-touch-primary control, so no hit-area extension is added there. Xl/Xxl already clear 24px without any change. Default Md.",
63474
63544
  "isCascading": false,
63475
63545
  "captureUnmatched": false,
63476
63546
  "isEditorRequired": false
@@ -69453,7 +69523,6 @@
69453
69523
  "--color-accent-foreground",
69454
69524
  "--color-background",
69455
69525
  "--color-destructive",
69456
- "--color-destructive-foreground",
69457
69526
  "--color-input",
69458
69527
  "--color-primary",
69459
69528
  "--color-primary-foreground",
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.0",
4
- "generated": "2026-09-24T15:21:49.9792536Z",
3
+ "version": "5.11.1",
4
+ "generated": "2026-09-25T05:31:35.6894502Z",
5
5
  "components": {
6
6
  "accordion": {
7
7
  "name": "Accordion",
@@ -192,7 +192,6 @@
192
192
  "--color-accent-foreground",
193
193
  "--color-background",
194
194
  "--color-destructive",
195
- "--color-destructive-foreground",
196
195
  "--color-input",
197
196
  "--color-muted",
198
197
  "--color-muted-foreground",
@@ -208,7 +207,7 @@
208
207
  "tier": 3,
209
208
  "files": 8,
210
209
  "tests": 46,
211
- "relatedFiles": 1,
210
+ "relatedFiles": 2,
212
211
  "render": true,
213
212
  "behavior": true,
214
213
  "a11y": true,
@@ -472,7 +471,7 @@
472
471
  "tier": 4,
473
472
  "files": 3,
474
473
  "tests": 27,
475
- "relatedFiles": 1,
474
+ "relatedFiles": 2,
476
475
  "render": true,
477
476
  "behavior": true,
478
477
  "a11y": true,
@@ -750,7 +749,7 @@
750
749
  "tier": 3,
751
750
  "files": 4,
752
751
  "tests": 35,
753
- "relatedFiles": 22,
752
+ "relatedFiles": 23,
754
753
  "render": true,
755
754
  "behavior": true,
756
755
  "a11y": true,
@@ -1157,7 +1156,6 @@
1157
1156
  "cssVars": [
1158
1157
  "--color-border",
1159
1158
  "--color-destructive",
1160
- "--color-destructive-foreground",
1161
1159
  "--color-foreground",
1162
1160
  "--color-primary",
1163
1161
  "--color-primary-foreground",
@@ -1172,7 +1170,7 @@
1172
1170
  "tier": 3,
1173
1171
  "files": 5,
1174
1172
  "tests": 25,
1175
- "relatedFiles": 2,
1173
+ "relatedFiles": 3,
1176
1174
  "render": true,
1177
1175
  "behavior": true,
1178
1176
  "a11y": true,
@@ -1382,7 +1380,7 @@
1382
1380
  "tier": 3,
1383
1381
  "files": 11,
1384
1382
  "tests": 97,
1385
- "relatedFiles": 0,
1383
+ "relatedFiles": 1,
1386
1384
  "render": true,
1387
1385
  "behavior": true,
1388
1386
  "a11y": true,
@@ -1696,6 +1694,7 @@
1696
1694
  "UI/DataGrid/DataGridColumn.cs",
1697
1695
  "UI/DataGrid/DataGridColumnDef.razor",
1698
1696
  "UI/DataGrid/DataGridColumnFilter.razor",
1697
+ "UI/DataGrid/DataGridColumnFit.cs",
1699
1698
  "UI/DataGrid/DataGridColumnGroup.razor",
1700
1699
  "UI/DataGrid/DataGridColumnVisibility.razor",
1701
1700
  "UI/DataGrid/DataGridContext.cs",
@@ -1762,8 +1761,8 @@
1762
1761
  "registryUrl": "https://lumeo.nativ.sh/registry/data-grid.json",
1763
1762
  "testCoverage": {
1764
1763
  "tier": 4,
1765
- "files": 60,
1766
- "tests": 394,
1764
+ "files": 63,
1765
+ "tests": 422,
1767
1766
  "relatedFiles": 3,
1768
1767
  "render": true,
1769
1768
  "behavior": true,
@@ -2064,8 +2063,8 @@
2064
2063
  "registryUrl": "https://lumeo.nativ.sh/registry/dialog.json",
2065
2064
  "testCoverage": {
2066
2065
  "tier": 4,
2067
- "files": 10,
2068
- "tests": 52,
2066
+ "files": 11,
2067
+ "tests": 56,
2069
2068
  "relatedFiles": 4,
2070
2069
  "render": true,
2071
2070
  "behavior": true,
@@ -2074,7 +2073,8 @@
2074
2073
  "scale": false,
2075
2074
  "e2e": true,
2076
2075
  "e2eFiles": [
2077
- "DialogFocusTrapTests.cs"
2076
+ "DialogFocusTrapTests.cs",
2077
+ "DialogNestedListboxEscapeE2ETests.cs"
2078
2078
  ],
2079
2079
  "contract": "smoke"
2080
2080
  }
@@ -2274,7 +2274,7 @@
2274
2274
  "tier": 4,
2275
2275
  "files": 16,
2276
2276
  "tests": 67,
2277
- "relatedFiles": 3,
2277
+ "relatedFiles": 4,
2278
2278
  "render": true,
2279
2279
  "behavior": true,
2280
2280
  "a11y": true,
@@ -2805,7 +2805,7 @@
2805
2805
  "tier": 4,
2806
2806
  "files": 0,
2807
2807
  "tests": 0,
2808
- "relatedFiles": 16,
2808
+ "relatedFiles": 17,
2809
2809
  "render": true,
2810
2810
  "behavior": true,
2811
2811
  "a11y": true,
@@ -4464,7 +4464,7 @@
4464
4464
  "tier": 4,
4465
4465
  "files": 10,
4466
4466
  "tests": 53,
4467
- "relatedFiles": 1,
4467
+ "relatedFiles": 2,
4468
4468
  "render": true,
4469
4469
  "behavior": true,
4470
4470
  "a11y": true,
@@ -5252,9 +5252,9 @@
5252
5252
  "registryUrl": "https://lumeo.nativ.sh/registry/select.json",
5253
5253
  "testCoverage": {
5254
5254
  "tier": 4,
5255
- "files": 16,
5256
- "tests": 122,
5257
- "relatedFiles": 6,
5255
+ "files": 17,
5256
+ "tests": 125,
5257
+ "relatedFiles": 7,
5258
5258
  "render": true,
5259
5259
  "behavior": true,
5260
5260
  "a11y": true,
@@ -5795,7 +5795,6 @@
5795
5795
  "--color-background",
5796
5796
  "--color-border",
5797
5797
  "--color-destructive",
5798
- "--color-destructive-foreground",
5799
5798
  "--color-input",
5800
5799
  "--color-popover",
5801
5800
  "--color-popover-foreground",
@@ -5812,7 +5811,7 @@
5812
5811
  "tier": 3,
5813
5812
  "files": 5,
5814
5813
  "tests": 16,
5815
- "relatedFiles": 0,
5814
+ "relatedFiles": 1,
5816
5815
  "render": true,
5817
5816
  "behavior": true,
5818
5817
  "a11y": true,
@@ -6194,8 +6193,8 @@
6194
6193
  "registryUrl": "https://lumeo.nativ.sh/registry/switch.json",
6195
6194
  "testCoverage": {
6196
6195
  "tier": 3,
6197
- "files": 13,
6198
- "tests": 67,
6196
+ "files": 14,
6197
+ "tests": 74,
6199
6198
  "relatedFiles": 2,
6200
6199
  "render": true,
6201
6200
  "behavior": true,
@@ -7122,7 +7121,6 @@
7122
7121
  "--color-accent-foreground",
7123
7122
  "--color-background",
7124
7123
  "--color-destructive",
7125
- "--color-destructive-foreground",
7126
7124
  "--color-input",
7127
7125
  "--color-primary",
7128
7126
  "--color-primary-foreground",
@@ -7137,7 +7135,7 @@
7137
7135
  "tier": 2,
7138
7136
  "files": 5,
7139
7137
  "tests": 21,
7140
- "relatedFiles": 0,
7138
+ "relatedFiles": 1,
7141
7139
  "render": true,
7142
7140
  "behavior": true,
7143
7141
  "a11y": false,