@mastra/playground-ui 22.1.3-alpha.2 → 22.1.3-alpha.3
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 +25 -0
- package/dist/index.cjs.js +75 -85
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +216 -108
- package/dist/index.es.js +75 -85
- package/dist/index.es.js.map +1 -1
- package/dist/src/ds/components/Button/Button.d.ts +1 -1
- package/dist/src/ds/components/DataKeysAndValues/data-keys-and-values-root.d.ts +1 -1
- package/dist/src/ds/components/DataKeysAndValues/shared.d.ts +1 -1
- package/dist/src/ds/components/DropdownMenu/dropdown-menu.stories.d.ts +1 -0
- package/package.json +6 -6
|
@@ -8,7 +8,7 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
|
|
|
8
8
|
prefetch?: boolean | null;
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
size?: FormElementSize;
|
|
11
|
-
variant?: 'default' | 'primary' | 'cta' | 'ghost' | 'inputLike' | 'light' | 'outline';
|
|
11
|
+
variant?: 'default' | 'primary' | 'cta' | 'ghost' | 'inputLike' | 'light' | 'outline' | 'link';
|
|
12
12
|
target?: string;
|
|
13
13
|
type?: 'button' | 'submit' | 'reset';
|
|
14
14
|
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface DataKeysAndValuesProps {
|
|
2
2
|
className?: string;
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
-
numOfCol?: 1 | 2;
|
|
4
|
+
numOfCol?: 1 | 2 | 3;
|
|
5
5
|
}
|
|
6
6
|
export declare function DataKeysAndValuesRoot({ className, children, numOfCol }: DataKeysAndValuesProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const dataKeysAndValuesValueStyles = "text-ui-smd text-neutral3 min-w-0 py-0.5";
|
|
1
|
+
export declare const dataKeysAndValuesValueStyles = "text-ui-smd text-neutral3 min-w-0 py-0.5 pr-6";
|
|
@@ -9,4 +9,5 @@ export declare const WithLabelsAndGroups: Story;
|
|
|
9
9
|
export declare const WithCheckboxItems: Story;
|
|
10
10
|
export declare const WithRadioItems: Story;
|
|
11
11
|
export declare const WithSubMenu: Story;
|
|
12
|
+
export declare const WithManyItems: Story;
|
|
12
13
|
export declare const WithDisabledItems: Story;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/playground-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "22.1.3-alpha.
|
|
4
|
+
"version": "22.1.3-alpha.3",
|
|
5
5
|
"description": "Mastra Playground components",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"lucide-react": "^0.474.0",
|
|
98
98
|
"react": ">=19.0.0",
|
|
99
99
|
"tailwindcss": "^4.0.0",
|
|
100
|
-
"@mastra/client-js": "^1.13.5-alpha.
|
|
101
|
-
"@mastra/react": "0.2.27-alpha.
|
|
100
|
+
"@mastra/client-js": "^1.13.5-alpha.3",
|
|
101
|
+
"@mastra/react": "0.2.27-alpha.3"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
104
|
"@storybook/addon-docs": "^9.1.20",
|
|
@@ -129,9 +129,9 @@
|
|
|
129
129
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
130
130
|
"vitest": "4.0.18",
|
|
131
131
|
"@internal/lint": "0.0.83",
|
|
132
|
-
"@mastra/
|
|
133
|
-
"@mastra/
|
|
134
|
-
"@mastra/react": "0.2.27-alpha.
|
|
132
|
+
"@mastra/core": "1.26.0-alpha.3",
|
|
133
|
+
"@mastra/client-js": "^1.13.5-alpha.3",
|
|
134
|
+
"@mastra/react": "0.2.27-alpha.3"
|
|
135
135
|
},
|
|
136
136
|
"homepage": "https://mastra.ai",
|
|
137
137
|
"repository": {
|