sonance-brand-mcp 1.3.80 → 1.3.81
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.
|
@@ -2461,6 +2461,9 @@ export function SonanceDevTools() {
|
|
|
2461
2461
|
transform: `translate(${dragPosition.x}px, ${dragPosition.y}px)`,
|
|
2462
2462
|
}}
|
|
2463
2463
|
// Event isolation - prevent clicks from closing popups in the main app
|
|
2464
|
+
// onPointerDown fires before onMouseDown in modern browsers - must stop both
|
|
2465
|
+
onPointerDown={(e) => e.stopPropagation()}
|
|
2466
|
+
onTouchStart={(e) => e.stopPropagation()}
|
|
2464
2467
|
onMouseDown={(e) => e.stopPropagation()}
|
|
2465
2468
|
onClick={(e) => e.stopPropagation()}
|
|
2466
2469
|
onFocus={(e) => e.stopPropagation()}
|
|
@@ -433,6 +433,7 @@ export function ChatInterface({
|
|
|
433
433
|
/>
|
|
434
434
|
<button
|
|
435
435
|
onClick={() => handleSend(input || inputRef.current?.value || "")}
|
|
436
|
+
onPointerDown={(e) => e.stopPropagation()}
|
|
436
437
|
disabled={isProcessing}
|
|
437
438
|
className={cn(
|
|
438
439
|
"px-3 py-2 rounded transition-colors",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sonance-brand-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.81",
|
|
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",
|