sonance-brand-mcp 1.3.72 → 1.3.73
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.
|
@@ -569,7 +569,7 @@ function searchFilesSmart(
|
|
|
569
569
|
results.set(foundPath, {
|
|
570
570
|
path: foundPath,
|
|
571
571
|
content,
|
|
572
|
-
score:
|
|
572
|
+
score: 1500, // HIGHEST priority - component name matched visible text
|
|
573
573
|
filenameMatch: true
|
|
574
574
|
});
|
|
575
575
|
debugLog("Phase 2a: Found file by component name", { componentName, foundPath });
|
|
@@ -565,7 +565,7 @@ function searchFilesSmart(
|
|
|
565
565
|
results.set(foundPath, {
|
|
566
566
|
path: foundPath,
|
|
567
567
|
content,
|
|
568
|
-
score:
|
|
568
|
+
score: 1500, // HIGHEST priority - component name matched visible text
|
|
569
569
|
filenameMatch: true
|
|
570
570
|
});
|
|
571
571
|
debugLog("Phase 2a: Found file by component name", { componentName, foundPath });
|
|
@@ -2408,6 +2408,11 @@ export function SonanceDevTools() {
|
|
|
2408
2408
|
colorScheme: "light",
|
|
2409
2409
|
transform: `translate(${dragPosition.x}px, ${dragPosition.y}px)`,
|
|
2410
2410
|
}}
|
|
2411
|
+
// Event isolation - prevent clicks from closing popups in the main app
|
|
2412
|
+
onMouseDown={(e) => e.stopPropagation()}
|
|
2413
|
+
onClick={(e) => e.stopPropagation()}
|
|
2414
|
+
onFocus={(e) => e.stopPropagation()}
|
|
2415
|
+
onBlur={(e) => e.stopPropagation()}
|
|
2411
2416
|
>
|
|
2412
2417
|
{/* Header - Draggable */}
|
|
2413
2418
|
<div
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonance-brand-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.73",
|
|
4
4
|
"description": "MCP Server for Sonance Brand Guidelines and Component Library - gives Claude instant access to brand colors, typography, and UI components.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|