@mastra/playground-ui 29.0.0-alpha.3 → 29.0.0-alpha.5
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 +45 -0
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 29.0.0-alpha.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`ac79462`](https://github.com/mastra-ai/mastra/commit/ac79462b98f1062394c45093aa515b0766f27ee2), [`19281c7`](https://github.com/mastra-ai/mastra/commit/19281c70424f757219782de16c2699743c5e04d0)]:
|
|
8
|
+
- @mastra/core@1.36.0-alpha.5
|
|
9
|
+
- @mastra/client-js@1.20.0-alpha.5
|
|
10
|
+
- @mastra/react@0.4.0-alpha.5
|
|
11
|
+
|
|
12
|
+
## 29.0.0-alpha.4
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- Refreshed Button + Card design system tokens. ([#16769](https://github.com/mastra-ai/mastra/pull/16769))
|
|
17
|
+
|
|
18
|
+
**Button variants (breaking)**: consolidated to `default`, `primary`, `outline`, `ghost`. The `cta`, `contrast`, and unused `link` variants have been removed. `primary` now uses a high-contrast `neutral6` fill instead of `surface4`, so it reads clearly as the form submit action in both themes.
|
|
19
|
+
|
|
20
|
+
```tsx
|
|
21
|
+
// Before
|
|
22
|
+
<Button variant="cta">Save</Button>
|
|
23
|
+
<Button variant="contrast">Done</Button>
|
|
24
|
+
<Button variant="link">Open</Button>
|
|
25
|
+
|
|
26
|
+
// After
|
|
27
|
+
<Button variant="primary">Save</Button> // cta → primary (no brand green; theme-aware high contrast)
|
|
28
|
+
<Button variant="primary">Done</Button> // contrast → primary (same recipe, renamed)
|
|
29
|
+
<Button as="a" href="…" variant="ghost">Open</Button> // link → ghost (or plain <a> for inline text links)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
**New tokens**: `--surface-overlay-soft` and `--surface-overlay-strong` — alpha overlays of the opposite-theme color, used by `SectionCard` header strip and `DashboardCard` fill so cards read consistently on any surface.
|
|
33
|
+
|
|
34
|
+
**Other**:
|
|
35
|
+
- DashboardCard radius reduced to `rounded-xl` and padding tightened to `px-4 py-3` for better grid density.
|
|
36
|
+
- SectionCard wrapper no longer fills its background — header strip + border carry definition.
|
|
37
|
+
- Dark `surface2` / `surface3` darkened slightly (16.84% → 16%, 19.13% → 18%) so the main frame reads as a distinct surface.
|
|
38
|
+
- Dark `border1` / `border2` alphas bumped (6% → 7%, 10% → 11%) for closer dark/light parity.
|
|
39
|
+
- Removed deprecated `--section-card-*` tokens and their `@utility` blocks.
|
|
40
|
+
|
|
41
|
+
### Patch Changes
|
|
42
|
+
|
|
43
|
+
- Updated dependencies [[`c272d50`](https://github.com/mastra-ai/mastra/commit/c272d50610a54496b6b6d92ccd4d37b333a2613a), [`d8692af`](https://github.com/mastra-ai/mastra/commit/d8692afa253028e39cdce2aafa0ac414071a762e), [`841a222`](https://github.com/mastra-ai/mastra/commit/841a222560d8c19238f8213713f30535cdd82284)]:
|
|
44
|
+
- @mastra/core@1.36.0-alpha.4
|
|
45
|
+
- @mastra/client-js@1.20.0-alpha.4
|
|
46
|
+
- @mastra/react@0.4.0-alpha.4
|
|
47
|
+
|
|
3
48
|
## 29.0.0-alpha.3
|
|
4
49
|
|
|
5
50
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/playground-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "29.0.0-alpha.
|
|
4
|
+
"version": "29.0.0-alpha.5",
|
|
5
5
|
"description": "Mastra Playground components",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
@@ -100,8 +100,8 @@
|
|
|
100
100
|
"react": ">=19.0.0",
|
|
101
101
|
"react-dom": ">=19.0.0",
|
|
102
102
|
"tailwindcss": "^4.0.0",
|
|
103
|
-
"@mastra/client-js": "^1.20.0-alpha.
|
|
104
|
-
"@mastra/react": "0.4.0-alpha.
|
|
103
|
+
"@mastra/client-js": "^1.20.0-alpha.5",
|
|
104
|
+
"@mastra/react": "0.4.0-alpha.5"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
107
|
"@storybook/addon-a11y": "^10.3.6",
|
|
@@ -137,10 +137,10 @@
|
|
|
137
137
|
"vite-plugin-dts": "^4.5.4",
|
|
138
138
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
139
139
|
"vitest": "4.1.5",
|
|
140
|
-
"@mastra/client-js": "^1.20.0-alpha.3",
|
|
141
140
|
"@internal/lint": "0.0.96",
|
|
142
|
-
"@mastra/
|
|
143
|
-
"@mastra/
|
|
141
|
+
"@mastra/client-js": "^1.20.0-alpha.5",
|
|
142
|
+
"@mastra/react": "0.4.0-alpha.5",
|
|
143
|
+
"@mastra/core": "1.36.0-alpha.5"
|
|
144
144
|
},
|
|
145
145
|
"homepage": "https://mastra.ai",
|
|
146
146
|
"repository": {
|