@mastra/playground-ui 22.1.1 → 22.1.2-alpha.0

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.
@@ -0,0 +1,6 @@
1
+ export interface DataKeysAndValuesValueLinkProps {
2
+ className?: string;
3
+ children: React.ReactNode;
4
+ href: string;
5
+ }
6
+ export declare function DataKeysAndValuesValueLink({ className, children, href }: DataKeysAndValuesValueLinkProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export interface DataKeysAndValuesValueWithCopyBtnProps {
2
+ className?: string;
3
+ children: React.ReactNode;
4
+ copyValue: string;
5
+ copyTooltip?: string;
6
+ }
7
+ export declare function DataKeysAndValuesValueWithCopyBtn({ className, children, copyValue, copyTooltip, }: DataKeysAndValuesValueWithCopyBtnProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export interface DataKeysAndValuesValueWithTooltipProps {
2
+ className?: string;
3
+ children: React.ReactNode;
4
+ tooltip: string;
5
+ }
6
+ export declare function DataKeysAndValuesValueWithTooltip({ className, children, tooltip, }: DataKeysAndValuesValueWithTooltipProps): import("react/jsx-runtime").JSX.Element;
@@ -2,8 +2,14 @@ import { DataKeysAndValuesHeader } from './data-keys-and-values-header';
2
2
  import { DataKeysAndValuesKey } from './data-keys-and-values-key';
3
3
  import { DataKeysAndValuesRoot } from './data-keys-and-values-root';
4
4
  import { DataKeysAndValuesValue } from './data-keys-and-values-value';
5
+ import { DataKeysAndValuesValueLink } from './data-keys-and-values-value-link';
6
+ import { DataKeysAndValuesValueWithCopyBtn } from './data-keys-and-values-value-with-copy-btn';
7
+ import { DataKeysAndValuesValueWithTooltip } from './data-keys-and-values-value-with-tooltip';
5
8
  export declare const DataKeysAndValues: typeof DataKeysAndValuesRoot & {
6
9
  Key: typeof DataKeysAndValuesKey;
7
10
  Value: typeof DataKeysAndValuesValue;
11
+ ValueLink: typeof DataKeysAndValuesValueLink;
12
+ ValueWithTooltip: typeof DataKeysAndValuesValueWithTooltip;
13
+ ValueWithCopyBtn: typeof DataKeysAndValuesValueWithCopyBtn;
8
14
  Header: typeof DataKeysAndValuesHeader;
9
15
  };
@@ -9,3 +9,7 @@ export declare const TwoColumns: Story;
9
9
  export declare const WithHeader: Story;
10
10
  export declare const WithHeaderTwoColumns: Story;
11
11
  export declare const TruncatedValues: Story;
12
+ export declare const ValueLink: Story;
13
+ export declare const ValueWithTooltip: Story;
14
+ export declare const ValueWithCopyBtn: Story;
15
+ export declare const MixedValueTypes: Story;
@@ -0,0 +1 @@
1
+ export declare const dataKeysAndValuesValueStyles = "text-ui-smd text-neutral3 min-w-0 py-0.5";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "22.1.1",
4
+ "version": "22.1.2-alpha.0",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -48,9 +48,9 @@
48
48
  "author": "Mastra",
49
49
  "license": "Apache-2.0",
50
50
  "dependencies": {
51
- "@assistant-ui/react": "^0.12.21",
52
- "@assistant-ui/react-markdown": "^0.12.7",
53
- "@assistant-ui/react-syntax-highlighter": "^0.12.7",
51
+ "@assistant-ui/react": "^0.12.22",
52
+ "@assistant-ui/react-markdown": "^0.12.8",
53
+ "@assistant-ui/react-syntax-highlighter": "^0.12.8",
54
54
  "@assistant-ui/react-ui": "^0.2.1",
55
55
  "@autoform/core": "^3.0.0",
56
56
  "@autoform/react": "^4.0.0",
@@ -120,9 +120,9 @@
120
120
  "react-dom": ">=19.0.0",
121
121
  "tailwindcss": "^4.0.0",
122
122
  "zod": "^3.25.0 || ^4.0.0",
123
- "@mastra/ai-sdk": "^1.3.3",
124
- "@mastra/client-js": "^1.13.3",
125
- "@mastra/react": "0.2.25",
123
+ "@mastra/ai-sdk": "^1.3.4-alpha.0",
124
+ "@mastra/client-js": "^1.13.4-alpha.0",
125
+ "@mastra/react": "0.2.26-alpha.0",
126
126
  "@mastra/schema-compat": "1.2.7"
127
127
  },
128
128
  "devDependencies": {
@@ -158,11 +158,11 @@
158
158
  "vitest": "4.0.18",
159
159
  "zod": "^4.3.6",
160
160
  "@internal/lint": "0.0.82",
161
- "@mastra/ai-sdk": "^1.3.3",
162
- "@mastra/react": "0.2.25",
163
- "@mastra/core": "1.24.1",
164
- "@mastra/schema-compat": "1.2.7",
165
- "@mastra/client-js": "^1.13.3"
161
+ "@mastra/ai-sdk": "^1.3.4-alpha.0",
162
+ "@mastra/client-js": "^1.13.4-alpha.0",
163
+ "@mastra/core": "1.24.2-alpha.0",
164
+ "@mastra/react": "0.2.26-alpha.0",
165
+ "@mastra/schema-compat": "1.2.7"
166
166
  },
167
167
  "homepage": "https://mastra.ai",
168
168
  "repository": {