@mastra/playground-ui 7.0.0-beta.15 → 7.0.0-beta.16
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/CHANGELOG.md +27 -0
- package/dist/index.cjs.js +210 -231
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +210 -231
- package/dist/index.es.js.map +1 -1
- package/dist/src/components/ui/combobox.d.ts +3 -3
- package/dist/src/domains/agents/components/agent-combobox.d.ts +1 -3
- package/dist/src/domains/mcps/components/mcp-server-combobox.d.ts +1 -3
- package/dist/src/domains/observability/components/traces-tools.d.ts +10 -1
- package/dist/src/domains/scores/components/scorer-combobox.d.ts +1 -3
- package/dist/src/domains/tools/components/tool-combobox.d.ts +1 -3
- package/dist/src/domains/workflows/components/workflow-combobox.d.ts +1 -3
- package/package.json +8 -7
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ButtonProps } from './button';
|
|
1
2
|
export type ComboboxOption = {
|
|
2
3
|
label: string;
|
|
3
4
|
value: string;
|
|
@@ -11,7 +12,6 @@ export type ComboboxProps = {
|
|
|
11
12
|
emptyText?: string;
|
|
12
13
|
className?: string;
|
|
13
14
|
disabled?: boolean;
|
|
14
|
-
|
|
15
|
-
contentClassName?: string;
|
|
15
|
+
variant?: ButtonProps['variant'];
|
|
16
16
|
};
|
|
17
|
-
export declare function Combobox({ options, value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled,
|
|
17
|
+
export declare function Combobox({ options, value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, variant, }: ComboboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,5 @@ export interface AgentComboboxProps {
|
|
|
6
6
|
emptyText?: string;
|
|
7
7
|
className?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
-
buttonClassName?: string;
|
|
10
|
-
contentClassName?: string;
|
|
11
9
|
}
|
|
12
|
-
export declare function AgentCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled,
|
|
10
|
+
export declare function AgentCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, }: AgentComboboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,5 @@ export interface MCPServerComboboxProps {
|
|
|
6
6
|
emptyText?: string;
|
|
7
7
|
className?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
-
buttonClassName?: string;
|
|
10
|
-
contentClassName?: string;
|
|
11
9
|
}
|
|
12
|
-
export declare function MCPServerCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled,
|
|
10
|
+
export declare function MCPServerCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, }: MCPServerComboboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
+
import { EntityType } from '@mastra/core/observability';
|
|
1
2
|
export type EntityOptions = {
|
|
2
3
|
value: string;
|
|
3
4
|
label: string;
|
|
4
|
-
type:
|
|
5
|
+
type: EntityType.AGENT;
|
|
6
|
+
} | {
|
|
7
|
+
value: string;
|
|
8
|
+
label: string;
|
|
9
|
+
type: EntityType.WORKFLOW_RUN;
|
|
10
|
+
} | {
|
|
11
|
+
value: string;
|
|
12
|
+
label: string;
|
|
13
|
+
type: 'all';
|
|
5
14
|
};
|
|
6
15
|
type TracesToolsProps = {
|
|
7
16
|
selectedEntity?: EntityOptions;
|
|
@@ -6,7 +6,5 @@ export interface ScorerComboboxProps {
|
|
|
6
6
|
emptyText?: string;
|
|
7
7
|
className?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
-
buttonClassName?: string;
|
|
10
|
-
contentClassName?: string;
|
|
11
9
|
}
|
|
12
|
-
export declare function ScorerCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled,
|
|
10
|
+
export declare function ScorerCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, }: ScorerComboboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,5 @@ export interface ToolComboboxProps {
|
|
|
6
6
|
emptyText?: string;
|
|
7
7
|
className?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
-
buttonClassName?: string;
|
|
10
|
-
contentClassName?: string;
|
|
11
9
|
}
|
|
12
|
-
export declare function ToolCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled,
|
|
10
|
+
export declare function ToolCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, }: ToolComboboxProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,7 +6,5 @@ export interface WorkflowComboboxProps {
|
|
|
6
6
|
emptyText?: string;
|
|
7
7
|
className?: string;
|
|
8
8
|
disabled?: boolean;
|
|
9
|
-
buttonClassName?: string;
|
|
10
|
-
contentClassName?: string;
|
|
11
9
|
}
|
|
12
|
-
export declare function WorkflowCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled,
|
|
10
|
+
export declare function WorkflowCombobox({ value, onValueChange, placeholder, searchPlaceholder, emptyText, className, disabled, }: WorkflowComboboxProps): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/playground-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.0.0-beta.
|
|
4
|
+
"version": "7.0.0-beta.16",
|
|
5
5
|
"description": "Mastra Playground components",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -113,14 +113,15 @@
|
|
|
113
113
|
"react": ">=19.0.0",
|
|
114
114
|
"react-dom": ">=19.0.0",
|
|
115
115
|
"tailwindcss": "^3.0.0",
|
|
116
|
-
"@mastra/
|
|
116
|
+
"@mastra/ai-sdk": "^1.0.0-beta.11",
|
|
117
|
+
"@mastra/react": "0.1.0-beta.16",
|
|
117
118
|
"@mastra/schema-compat": "1.0.0-beta.3",
|
|
118
|
-
"@mastra/
|
|
119
|
-
"@mastra/ai-sdk": "^1.0.0-beta.11"
|
|
119
|
+
"@mastra/client-js": "^1.0.0-beta.16"
|
|
120
120
|
},
|
|
121
121
|
"devDependencies": {
|
|
122
122
|
"@storybook/addon-docs": "^9.1.16",
|
|
123
123
|
"@storybook/react-vite": "^9.1.16",
|
|
124
|
+
"@tailwindcss/container-queries": "^0.1.1",
|
|
124
125
|
"@tanstack/react-query": "^5.90.9",
|
|
125
126
|
"@types/node": "22.13.17",
|
|
126
127
|
"@types/react": "^19.1.9",
|
|
@@ -143,9 +144,9 @@
|
|
|
143
144
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
144
145
|
"vitest": "4.0.12",
|
|
145
146
|
"@mastra/ai-sdk": "^1.0.0-beta.11",
|
|
146
|
-
"@mastra/core": "1.0.0-beta.
|
|
147
|
-
"@mastra/
|
|
148
|
-
"@mastra/
|
|
147
|
+
"@mastra/core": "1.0.0-beta.16",
|
|
148
|
+
"@mastra/client-js": "^1.0.0-beta.16",
|
|
149
|
+
"@mastra/react": "0.1.0-beta.16",
|
|
149
150
|
"@mastra/schema-compat": "1.0.0-beta.3"
|
|
150
151
|
},
|
|
151
152
|
"homepage": "https://mastra.ai",
|