@mastra/playground-ui 51.0.0-alpha.5 → 51.0.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.
- package/CHANGELOG.md +39 -0
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 51.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Added controlled theme selection to Sankey signals so host applications can persist and restore the open theme panel. ([#21968](https://github.com/mastra-ai/mastra/pull/21968))
|
|
8
|
+
|
|
9
|
+
- Added `flat` and `factory` variants to `Section`, including standard, view-only, and destructive row compositions. ([#21939](https://github.com/mastra-ai/mastra/pull/21939))
|
|
10
|
+
|
|
11
|
+
```tsx
|
|
12
|
+
<Section variant="factory">
|
|
13
|
+
<Section.Header>
|
|
14
|
+
<div>
|
|
15
|
+
<Section.Heading>Security</Section.Heading>
|
|
16
|
+
<Section.Description>Manage sign-in requirements.</Section.Description>
|
|
17
|
+
</div>
|
|
18
|
+
</Section.Header>
|
|
19
|
+
<Section.Content>
|
|
20
|
+
<Section.Row label="Two-factor authentication">
|
|
21
|
+
<Switch />
|
|
22
|
+
</Section.Row>
|
|
23
|
+
</Section.Content>
|
|
24
|
+
</Section>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Improved floating surfaces with softer, consistent elevation. ([#21980](https://github.com/mastra-ai/mastra/pull/21980))
|
|
30
|
+
|
|
31
|
+
- Improved plan cards to show expansion controls only when content is clipped and keep approval actions readable. ([#21891](https://github.com/mastra-ai/mastra/pull/21891))
|
|
32
|
+
|
|
33
|
+
- Aligned the `flat` and `factory` Section layouts so their headings, row content, and actions share consistent horizontal edges. ([#21970](https://github.com/mastra-ai/mastra/pull/21970))
|
|
34
|
+
|
|
35
|
+
- Fixed hidden search field labels taking up layout space. ([#21918](https://github.com/mastra-ai/mastra/pull/21918))
|
|
36
|
+
|
|
37
|
+
- Updated dependencies [[`88d14ca`](https://github.com/mastra-ai/mastra/commit/88d14cac008582a618fecc3d5c7fd3bdf4f6ddc3), [`26d4016`](https://github.com/mastra-ai/mastra/commit/26d40160ff7f7d8bf95fee2039a52cbc83863533), [`480e491`](https://github.com/mastra-ai/mastra/commit/480e491588bd6a7a1c9ee4407590ad625dd33952), [`9267e9b`](https://github.com/mastra-ai/mastra/commit/9267e9b3d9c2fcf16936050495a787054c2431ab), [`acc3471`](https://github.com/mastra-ai/mastra/commit/acc3471de5f3fde8027ee4e355af292b2bc1bc30), [`b6a771e`](https://github.com/mastra-ai/mastra/commit/b6a771ef23d203ddb348efca8065eff65def8191), [`84a5b69`](https://github.com/mastra-ai/mastra/commit/84a5b699f84d6bae0a34efe5a970d891090b9f41), [`9267e9b`](https://github.com/mastra-ai/mastra/commit/9267e9b3d9c2fcf16936050495a787054c2431ab), [`3bb88dd`](https://github.com/mastra-ai/mastra/commit/3bb88ddf07fb98f3cd16d3bff94e51cd3b45d011), [`d23e75d`](https://github.com/mastra-ai/mastra/commit/d23e75d57cc7cf5b9bfdbee896bf5a6a2484fed7), [`c8faa4e`](https://github.com/mastra-ai/mastra/commit/c8faa4e1cfebaec56b65e754e90b9fe46d153359), [`d378d75`](https://github.com/mastra-ai/mastra/commit/d378d7511f71309ed61a8f6b93cd0361dc6cb70f), [`84a5b69`](https://github.com/mastra-ai/mastra/commit/84a5b699f84d6bae0a34efe5a970d891090b9f41), [`26d4016`](https://github.com/mastra-ai/mastra/commit/26d40160ff7f7d8bf95fee2039a52cbc83863533), [`7c60df5`](https://github.com/mastra-ai/mastra/commit/7c60df5c7872343fbac5c3e5b1175c8076a5abfd), [`9267e9b`](https://github.com/mastra-ai/mastra/commit/9267e9b3d9c2fcf16936050495a787054c2431ab), [`84a5b69`](https://github.com/mastra-ai/mastra/commit/84a5b699f84d6bae0a34efe5a970d891090b9f41), [`f2031a4`](https://github.com/mastra-ai/mastra/commit/f2031a47445e8f67a89ba1309036816f97ab7a65), [`9267e9b`](https://github.com/mastra-ai/mastra/commit/9267e9b3d9c2fcf16936050495a787054c2431ab), [`cad4208`](https://github.com/mastra-ai/mastra/commit/cad42082e6aa1776168a94914f523334be45d929), [`8e529d4`](https://github.com/mastra-ai/mastra/commit/8e529d4ac754efef04b225841349e0da9edf89a6), [`57c5103`](https://github.com/mastra-ai/mastra/commit/57c51035a2a36e3df3c4f32f46bb789a66ed5946), [`038b7b4`](https://github.com/mastra-ai/mastra/commit/038b7b405cb4ac25ab3f3031334111b1f87ac112), [`4132d61`](https://github.com/mastra-ai/mastra/commit/4132d61f8367077120ee9e6420d3224dffd93c93), [`d378d75`](https://github.com/mastra-ai/mastra/commit/d378d7511f71309ed61a8f6b93cd0361dc6cb70f)]:
|
|
38
|
+
- @mastra/core@1.61.0
|
|
39
|
+
- @mastra/client-js@1.42.0
|
|
40
|
+
- @mastra/react@1.4.5
|
|
41
|
+
|
|
3
42
|
## 51.0.0-alpha.5
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/playground-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "51.0.0
|
|
4
|
+
"version": "51.0.0",
|
|
5
5
|
"description": "Mastra Playground components",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"**/*.css"
|
|
@@ -151,8 +151,8 @@
|
|
|
151
151
|
"react": ">=19.0.0",
|
|
152
152
|
"react-dom": ">=19.0.0",
|
|
153
153
|
"tailwindcss": "^4.0.0",
|
|
154
|
-
"@mastra/client-js": "^1.42.0
|
|
155
|
-
"@mastra/react": "1.4.5
|
|
154
|
+
"@mastra/client-js": "^1.42.0",
|
|
155
|
+
"@mastra/react": "1.4.5"
|
|
156
156
|
},
|
|
157
157
|
"devDependencies": {
|
|
158
158
|
"@storybook/addon-a11y": "^10.4.1",
|
|
@@ -192,11 +192,11 @@
|
|
|
192
192
|
"vite-plugin-dts": "^4.5.4",
|
|
193
193
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
194
194
|
"vitest": "4.1.10",
|
|
195
|
-
"@internal/lint": "0.0.
|
|
196
|
-
"@mastra/client-js": "^1.42.0
|
|
197
|
-
"@mastra/
|
|
198
|
-
"@mastra/
|
|
199
|
-
"@mastra/
|
|
195
|
+
"@internal/lint": "0.0.125",
|
|
196
|
+
"@mastra/client-js": "^1.42.0",
|
|
197
|
+
"@mastra/react": "1.4.5",
|
|
198
|
+
"@mastra/memory": "1.27.0",
|
|
199
|
+
"@mastra/core": "1.61.0"
|
|
200
200
|
},
|
|
201
201
|
"homepage": "https://mastra.ai",
|
|
202
202
|
"repository": {
|