@mastra/playground-ui 27.0.0-alpha.6 → 27.0.0-alpha.8
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 +20 -0
- package/dist/index.cjs.js +31 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +46 -8
- package/dist/index.es.js +31 -11
- package/dist/index.es.js.map +1 -1
- package/dist/src/ds/components/Combobox/combobox-styles.d.ts +1 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @mastra/playground-ui
|
|
2
2
|
|
|
3
|
+
## 27.0.0-alpha.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`7c275a8`](https://github.com/mastra-ai/mastra/commit/7c275a810595e1a6c41ccc39720531ab65734700), [`890b24c`](https://github.com/mastra-ai/mastra/commit/890b24cc7d32ed6aa4dfe253e54dc6bf4099f690), [`0f48ebf`](https://github.com/mastra-ai/mastra/commit/0f48ebfc7ac7897b2092a189f45751924cf56d1c), [`f180e49`](https://github.com/mastra-ai/mastra/commit/f180e4990e71b04c9a475b523584071712f0048f), [`9260e01`](https://github.com/mastra-ai/mastra/commit/9260e015276fb1b500f7878ee452b47476bf1583), [`2f6c54e`](https://github.com/mastra-ai/mastra/commit/2f6c54e17c041cac1def54baaa6b771647836414), [`e06a159`](https://github.com/mastra-ai/mastra/commit/e06a1598ca07a6c3778aefc2a2d288363c6294ff), [`db34bc6`](https://github.com/mastra-ai/mastra/commit/db34bc6fb36cf125bda0c46be4d3fdc774b70cc4)]:
|
|
8
|
+
- @mastra/core@1.33.0-alpha.8
|
|
9
|
+
- @mastra/client-js@1.18.0-alpha.8
|
|
10
|
+
- @mastra/react@0.2.36-alpha.8
|
|
11
|
+
|
|
12
|
+
## 27.0.0-alpha.7
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Refined Combobox and Select trigger interactions with an active state and fixed value truncation when a leading badge is rendered. Refreshed PanelSeparator with a clearer hover/active affordance, an enlarged hit area, and a focus-visible accent. Removed the default `bg-surface2` background from `Threads` so consumers can control the surface color. ([#16269](https://github.com/mastra-ai/mastra/pull/16269))
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`6742347`](https://github.com/mastra-ai/mastra/commit/6742347d71955d7639adc9ddf6ff8282de7ee3ba), [`7b0ad1f`](https://github.com/mastra-ai/mastra/commit/7b0ad1f5c53dc118c6da12ae82ae2587037dc2b8), [`62666c3`](https://github.com/mastra-ai/mastra/commit/62666c367eaeac3941ead454b1d38810cc855721), [`4af2160`](https://github.com/mastra-ai/mastra/commit/4af2160322f4718cac421930cce85641e9512389), [`136c959`](https://github.com/mastra-ai/mastra/commit/136c9592fb0eeb0cd212f28629d8a29b7557a2fc), [`4df7cc7`](https://github.com/mastra-ai/mastra/commit/4df7cc79342fd065fe7fdeef93c094db14b12bcd), [`284b0d7`](https://github.com/mastra-ai/mastra/commit/284b0d78d0edb306413447e5268007491006937c), [`aca3121`](https://github.com/mastra-ai/mastra/commit/aca31211233dac25459f140ea4fcfb3a5af64c18), [`9cdf38e`](https://github.com/mastra-ai/mastra/commit/9cdf38e58506e1109c8b38f97cd7770978a4218e), [`990851e`](https://github.com/mastra-ai/mastra/commit/990851edcb0e30be5c2c18b6532f1a876cc2d335), [`6068a6c`](https://github.com/mastra-ai/mastra/commit/6068a6c42950fad3ebfc92346417896ba60803d2), [`00106be`](https://github.com/mastra-ai/mastra/commit/00106bede59b81e5b0e9cd6aad8d3b5dbc336387), [`e2a079c`](https://github.com/mastra-ai/mastra/commit/e2a079cc3755b1895f7bd5dc36e9be81b11c7c22), [`534a456`](https://github.com/mastra-ai/mastra/commit/534a456a25e4df1e5407e7e632f4cb3b1fa14f9d), [`36bae07`](https://github.com/mastra-ai/mastra/commit/36bae07c0e70b1b3006f2fd20830e8883dcbd066)]:
|
|
19
|
+
- @mastra/core@1.33.0-alpha.7
|
|
20
|
+
- @mastra/client-js@1.18.0-alpha.7
|
|
21
|
+
- @mastra/react@0.2.36-alpha.7
|
|
22
|
+
|
|
3
23
|
## 27.0.0-alpha.6
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/index.cjs.js
CHANGED
|
@@ -3598,7 +3598,7 @@ const focusRing = {
|
|
|
3598
3598
|
};
|
|
3599
3599
|
|
|
3600
3600
|
const Threads = ({ children }) => {
|
|
3601
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "
|
|
3601
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "min-h-full overflow-hidden", children });
|
|
3602
3602
|
};
|
|
3603
3603
|
const ThreadLink = ({ children, as: Component = "a", href, className, prefetch, to }) => {
|
|
3604
3604
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -6078,13 +6078,12 @@ CollapsibleContent.displayName = CollapsiblePrimitive__namespace.CollapsibleCont
|
|
|
6078
6078
|
const comboboxStyles = {
|
|
6079
6079
|
/** Root wrapper */
|
|
6080
6080
|
root: "flex flex-col gap-1.5",
|
|
6081
|
-
/** Trigger — form input look
|
|
6082
|
-
* Sized to mirror SelectTrigger: bg-transparent, no pill, no accent ring on focus. */
|
|
6081
|
+
/** Trigger — form input look, sized to mirror SelectTrigger. */
|
|
6083
6082
|
trigger: cn(
|
|
6084
6083
|
"inline-flex w-full min-w-32 select-none items-center justify-between gap-1.5 whitespace-nowrap",
|
|
6085
6084
|
"rounded-lg border border-border1 bg-transparent px-2.5 text-ui-smd leading-ui-sm text-neutral4",
|
|
6086
6085
|
"outline-none transition-colors duration-normal ease-out-custom",
|
|
6087
|
-
"hover:bg-surface3 hover:text-neutral6 hover:border-border2",
|
|
6086
|
+
"hover:bg-surface3 hover:text-neutral6 hover:border-border2 active:bg-surface4",
|
|
6088
6087
|
"focus:outline-none focus-visible:outline-none focus-visible:border-border2",
|
|
6089
6088
|
"data-[popup-open]:bg-surface3 data-[popup-open]:text-neutral6 data-[popup-open]:border-border2",
|
|
6090
6089
|
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
@@ -6199,9 +6198,9 @@ function Combobox({
|
|
|
6199
6198
|
className
|
|
6200
6199
|
),
|
|
6201
6200
|
children: [
|
|
6202
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "
|
|
6201
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-2 min-w-0 flex-1", children: [
|
|
6203
6202
|
selectedOption?.start,
|
|
6204
|
-
/* @__PURE__ */ jsxRuntime.jsx(combobox.Combobox.Value, { placeholder })
|
|
6203
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: /* @__PURE__ */ jsxRuntime.jsx(combobox.Combobox.Value, { placeholder }) })
|
|
6205
6204
|
] }),
|
|
6206
6205
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronsUpDown, { className: comboboxStyles.chevron })
|
|
6207
6206
|
]
|
|
@@ -6498,7 +6497,7 @@ const SelectTrigger = React__namespace.forwardRef(
|
|
|
6498
6497
|
formElementSizes[size],
|
|
6499
6498
|
"rounded-lg border border-border1 bg-transparent px-2.5 text-ui-smd leading-ui-sm text-neutral4",
|
|
6500
6499
|
"outline-none transition-colors duration-normal ease-out-custom",
|
|
6501
|
-
"hover:bg-surface3 hover:text-neutral6 hover:border-border2",
|
|
6500
|
+
"hover:bg-surface3 hover:text-neutral6 hover:border-border2 active:bg-surface4",
|
|
6502
6501
|
"focus:outline-none focus-visible:outline-none focus-visible:border-border2",
|
|
6503
6502
|
"data-[state=open]:bg-surface3 data-[state=open]:text-neutral6 data-[state=open]:border-border2",
|
|
6504
6503
|
"data-[placeholder]:text-neutral3",
|
|
@@ -15654,10 +15653,31 @@ const PanelSeparator = () => {
|
|
|
15654
15653
|
reactResizablePanels.Separator,
|
|
15655
15654
|
{
|
|
15656
15655
|
className: cn(
|
|
15657
|
-
"w-
|
|
15658
|
-
"
|
|
15659
|
-
|
|
15660
|
-
|
|
15656
|
+
"group/separator relative w-0 bg-transparent z-10",
|
|
15657
|
+
"focus:outline-hidden focus-visible:outline-hidden"
|
|
15658
|
+
),
|
|
15659
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15660
|
+
"span",
|
|
15661
|
+
{
|
|
15662
|
+
"aria-hidden": true,
|
|
15663
|
+
className: cn(
|
|
15664
|
+
"absolute inset-y-0 -left-1 -right-1 flex items-center justify-center",
|
|
15665
|
+
"cursor-col-resize touch-none"
|
|
15666
|
+
),
|
|
15667
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
15668
|
+
"span",
|
|
15669
|
+
{
|
|
15670
|
+
className: cn(
|
|
15671
|
+
"block h-full w-px bg-border1 pointer-events-none",
|
|
15672
|
+
"transition-[width,background-color] duration-150 ease-out motion-reduce:transition-none",
|
|
15673
|
+
"group-hover/separator:w-0.5 group-hover/separator:bg-surface5",
|
|
15674
|
+
"group-data-[separator='hover']/separator:w-0.5 group-data-[separator='hover']/separator:bg-surface5",
|
|
15675
|
+
"group-data-[separator='active']/separator:w-0.5 group-data-[separator='active']/separator:bg-accent1",
|
|
15676
|
+
"group-focus-visible/separator:w-0.5 group-focus-visible/separator:bg-accent1"
|
|
15677
|
+
)
|
|
15678
|
+
}
|
|
15679
|
+
)
|
|
15680
|
+
}
|
|
15661
15681
|
)
|
|
15662
15682
|
}
|
|
15663
15683
|
);
|