@mcp-b/react-components 0.6.0 → 0.6.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { McpServerCard } from "../utils/mcp-server-catalog.js";
|
|
1
|
+
import { McpServerCard, McpServerManualSetup } from "../utils/mcp-server-catalog.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/AgentConnection.d.ts
|
|
@@ -35,6 +35,9 @@ type AgentConnectionPanelProps = {
|
|
|
35
35
|
type AgentConnectionPopoverProps = Omit<AgentConnectionPanelProps, "section"> & {
|
|
36
36
|
readonly className?: string;
|
|
37
37
|
};
|
|
38
|
+
type McpServerSetupProps = {
|
|
39
|
+
readonly setup: McpServerManualSetup;
|
|
40
|
+
};
|
|
38
41
|
declare function Connection({
|
|
39
42
|
fromX,
|
|
40
43
|
fromY,
|
|
@@ -63,6 +66,9 @@ declare function AgentConnectionPanel({
|
|
|
63
66
|
origin,
|
|
64
67
|
section
|
|
65
68
|
}: AgentConnectionPanelProps): React.JSX.Element | null;
|
|
69
|
+
declare function McpServerSetup({
|
|
70
|
+
setup
|
|
71
|
+
}: McpServerSetupProps): React.JSX.Element;
|
|
66
72
|
/**
|
|
67
73
|
* Compact popover trigger for showing AgentConnectionPanel inline.
|
|
68
74
|
*/
|
|
@@ -71,4 +77,4 @@ declare function AgentConnectionPopover({
|
|
|
71
77
|
...props
|
|
72
78
|
}: AgentConnectionPopoverProps): React.JSX.Element;
|
|
73
79
|
//#endregion
|
|
74
|
-
export { AgentConnectionCommand, AgentConnectionPanel, AgentConnectionPanelProps, AgentConnectionPopover, AgentConnectionPopoverProps, AgentConnectionTarget, Connection, ConnectionProps, NanitesAgentConnectionOptions, buildNanitesAgentConnectionCommands };
|
|
80
|
+
export { AgentConnectionCommand, AgentConnectionPanel, AgentConnectionPanelProps, AgentConnectionPopover, AgentConnectionPopoverProps, AgentConnectionTarget, Connection, ConnectionProps, McpServerSetup, McpServerSetupProps, NanitesAgentConnectionOptions, buildNanitesAgentConnectionCommands };
|
|
@@ -250,4 +250,4 @@ function AgentConnectionPopover({ className, ...props }) {
|
|
|
250
250
|
}) })] });
|
|
251
251
|
}
|
|
252
252
|
//#endregion
|
|
253
|
-
export { AgentConnectionPanel, AgentConnectionPopover, Connection, buildNanitesAgentConnectionCommands };
|
|
253
|
+
export { AgentConnectionPanel, AgentConnectionPopover, Connection, McpServerSetup, buildNanitesAgentConnectionCommands };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-b/react-components",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "MCP-B React components built on Base UI and shared design tokens, including Cloudflare Think chat primitives.",
|
|
5
5
|
"homepage": "https://design-system.sigvelo.com",
|
|
6
6
|
"bugs": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"anser": "^2.3.5",
|
|
50
50
|
"shiki": "^3.23.0",
|
|
51
51
|
"streamdown": "^2.5.0",
|
|
52
|
-
"@mcp-b/design-tokens": "0.6.
|
|
52
|
+
"@mcp-b/design-tokens": "0.6.1"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@ai-sdk/react": "^3.0.194",
|