@mastra/playground-ui 5.1.0 → 5.1.1-alpha.1

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/dist/index.cjs.js CHANGED
@@ -3886,6 +3886,45 @@ const FolderIcon = (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { width: "16
3886
3886
  }
3887
3887
  ) });
3888
3888
 
3889
+ const McpCoinIcon = (props) => /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "126", height: "85", viewBox: "0 0 126 85", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [
3890
+ /* @__PURE__ */ jsxRuntime.jsx(
3891
+ "path",
3892
+ {
3893
+ d: "M119.322 35.1641C119.322 50.36 94.1055 62.6787 62.9998 62.6787C31.894 62.6787 6.67773 50.36 6.67773 35.1641V49.8368C6.67773 65.0327 31.894 77.3514 62.9998 77.3514C94.1055 77.3514 119.322 65.0327 119.322 49.8368V35.1641Z",
3894
+ fill: "#2E2E2E",
3895
+ fillOpacity: "0.9"
3896
+ }
3897
+ ),
3898
+ /* @__PURE__ */ jsxRuntime.jsx(
3899
+ "path",
3900
+ {
3901
+ d: "M119.322 35.1641C119.322 50.36 94.1055 62.6787 62.9998 62.6787C31.894 62.6787 6.67773 50.36 6.67773 35.1641M119.322 35.1641C119.322 19.9681 94.1055 7.64941 62.9998 7.64941C31.894 7.64941 6.67773 19.9681 6.67773 35.1641M119.322 35.1641V49.8368C119.322 65.0327 94.1055 77.3514 62.9998 77.3514C31.894 77.3514 6.67773 65.0327 6.67773 49.8368V35.1641",
3902
+ stroke: "#424242"
3903
+ }
3904
+ ),
3905
+ /* @__PURE__ */ jsxRuntime.jsx(
3906
+ "path",
3907
+ {
3908
+ d: "M63.0002 0.96875C28.5152 0.96875 0.55957 15.6489 0.55957 33.7578V51.2433C0.55957 69.3522 28.5152 84.0323 63.0002 84.0323C97.4853 84.0323 125.441 69.3522 125.441 51.2433V33.7578C125.441 15.6489 97.4853 0.96875 63.0002 0.96875Z",
3909
+ stroke: "#707070"
3910
+ }
3911
+ ),
3912
+ /* @__PURE__ */ jsxRuntime.jsx(
3913
+ "path",
3914
+ {
3915
+ d: "M51.5215 39.9726C50.5464 40.4477 48.9738 40.4435 48.009 39.9634C47.0442 39.4833 47.0526 38.709 48.0277 38.2339L69.7191 27.6672C72.7243 26.2032 72.7347 23.8181 69.7605 22.3476L69.6898 22.313C66.6927 20.8686 61.8895 20.8864 58.9368 22.3528L30.3946 36.5278C29.4288 37.0074 27.8561 37.0107 26.882 36.5352C25.9078 36.0597 25.901 35.2853 26.8668 34.8057L55.4092 20.6308C60.2847 18.2094 68.2157 18.1801 73.1645 20.5651L73.2814 20.6222C76.1808 22.0558 77.3624 24.0157 76.8227 25.8782C80.6339 25.5828 84.6694 26.1476 87.6364 27.5775C92.6525 29.9949 92.7059 33.962 87.7554 36.4119L61.5441 49.3836C61.282 49.5133 61.281 49.7227 61.5417 49.853L67.0252 52.5932C67.988 53.0743 67.9763 53.8486 66.9992 54.3226C66.0221 54.7966 64.4495 54.7909 63.4867 54.3098L58.0033 51.5695C55.8306 50.4838 55.8392 48.7391 58.0226 47.6585L84.2339 34.6868C87.2382 33.2 87.2058 30.7925 84.1617 29.3254C81.1488 27.8734 76.1811 27.9317 73.2127 29.4058L51.5215 39.9726Z",
3916
+ fill: "#A9A9A9"
3917
+ }
3918
+ ),
3919
+ /* @__PURE__ */ jsxRuntime.jsx(
3920
+ "path",
3921
+ {
3922
+ d: "M63.0028 23.8809C64.0019 23.4098 65.5873 23.4146 66.5747 23.8972C67.562 24.3798 67.5831 25.1603 66.6338 25.6556L66.5879 25.679L45.1511 36.3113C42.2204 37.7649 42.2292 40.1117 45.1707 41.56C48.1228 43.0135 52.91 43.0118 55.8578 41.5563L76.8564 31.1875L76.9037 31.1648C77.9049 30.6949 79.4903 30.7013 80.4755 31.185C81.4763 31.6764 81.4785 32.4741 80.4806 32.9669L59.4821 43.3356C54.5363 45.7777 46.5044 45.7806 41.5516 43.342C36.6166 40.9121 36.602 36.9747 41.519 34.5359L62.9558 23.9037L63.0028 23.8809Z",
3923
+ fill: "#A9A9A9"
3924
+ }
3925
+ )
3926
+ ] });
3927
+
3889
3928
  const useCodemirrorTheme$1 = () => {
3890
3929
  return React.useMemo(
3891
3930
  () => codemirrorThemeDracula.draculaInit({
@@ -9215,6 +9254,21 @@ const EntityContent = ({ children, className }) => {
9215
9254
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className, children });
9216
9255
  };
9217
9256
 
9257
+ const EmptyState = ({
9258
+ iconSlot,
9259
+ titleSlot,
9260
+ descriptionSlot,
9261
+ actionSlot,
9262
+ as: Component = "div"
9263
+ }) => {
9264
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-[340px] flex-col items-center justify-center text-center", children: [
9265
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-auto [&>svg]:w-[126px]", children: iconSlot }),
9266
+ /* @__PURE__ */ jsxRuntime.jsx(Component, { className: "text-icon6 pt-[34px] font-serif text-[1.75rem] font-semibold", children: titleSlot }),
9267
+ /* @__PURE__ */ jsxRuntime.jsx(Txt, { variant: "ui-lg", className: "text-icon3 pb-[34px]", children: descriptionSlot }),
9268
+ actionSlot
9269
+ ] });
9270
+ };
9271
+
9218
9272
  function usePolling({
9219
9273
  fetchFn,
9220
9274
  interval = 3e3,
@@ -9397,6 +9451,7 @@ exports.DeploymentIcon = DeploymentIcon;
9397
9451
  exports.DividerIcon = DividerIcon;
9398
9452
  exports.DocsIcon = DocsIcon;
9399
9453
  exports.DynamicForm = DynamicForm;
9454
+ exports.EmptyState = EmptyState;
9400
9455
  exports.Entity = Entity;
9401
9456
  exports.EntityContent = EntityContent;
9402
9457
  exports.EntityDescription = EntityDescription;
@@ -9423,6 +9478,7 @@ exports.LegacyWorkflowGraph = LegacyWorkflowGraph;
9423
9478
  exports.LegacyWorkflowTrigger = LegacyWorkflowTrigger;
9424
9479
  exports.LogsIcon = LogsIcon;
9425
9480
  exports.MastraResizablePanel = MastraResizablePanel;
9481
+ exports.McpCoinIcon = McpCoinIcon;
9426
9482
  exports.McpServerIcon = McpServerIcon;
9427
9483
  exports.MemoryIcon = MemoryIcon;
9428
9484
  exports.NetworkChat = NetworkChat;