@mastra/playground-ui 4.0.4-alpha.0 → 4.0.4-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.
@@ -1,4 +1,6 @@
1
- Elastic License 2.0 (ELv2)
1
+ # Elastic License 2.0 (ELv2)
2
+
3
+ Copyright (c) 2025 Mastra AI, Inc.
2
4
 
3
5
  **Acceptance**
4
6
  By using the software, you agree to all of the terms and conditions below.
@@ -36,10 +36,6 @@ interface DataTableProps<TData, TValue> {
36
36
  * goto previous page
37
37
  */
38
38
  gotoPreviousPage?: () => void;
39
- /**
40
- * table max height
41
- */
42
- maxHeight?: string;
43
39
  /**
44
40
  * disable table container radius
45
41
  * @default false
@@ -72,5 +68,5 @@ interface DataTableProps<TData, TValue> {
72
68
  */
73
69
  emptyText?: string;
74
70
  }
75
- export declare const DataTable: <TData, TValue>({ title, icon, withoutBorder, columns, data, className, pagination, gotoNextPage, gotoPreviousPage, maxHeight, withoutRadius, disabledFlex, emptyStateHeight, getRowId, selectedRowId, isLoading, emptyText, }: DataTableProps<TData, TValue>) => import("react/jsx-runtime").JSX.Element;
71
+ export declare const DataTable: <TData, TValue>({ icon, withoutBorder, columns, data, className, pagination, gotoNextPage, gotoPreviousPage, withoutRadius, disabledFlex, emptyStateHeight, getRowId, selectedRowId, isLoading, emptyText, }: DataTableProps<TData, TValue>) => import("react/jsx-runtime").JSX.Element;
76
72
  export {};
@@ -1,7 +1,6 @@
1
1
  import { ColumnDef } from '@tanstack/react-table';
2
2
 
3
- export declare const AgentsTable: ({ title, agentsList, columns, isLoading, }: {
4
- title?: React.ReactNode;
3
+ export declare const AgentsTable: ({ agentsList, columns, isLoading, }: {
5
4
  agentsList: any[];
6
5
  columns: ColumnDef<any>[];
7
6
  isLoading?: boolean;
@@ -1,7 +1,6 @@
1
1
  import { ColumnDef } from '@tanstack/react-table';
2
2
 
3
- export declare const WorkflowsTable: ({ title, workflowsList, columns, isLoading, }: {
4
- title?: React.ReactNode;
3
+ export declare const WorkflowsTable: ({ workflowsList, columns, isLoading, }: {
5
4
  workflowsList: any[];
6
5
  columns: ColumnDef<any>[];
7
6
  isLoading?: boolean;
@@ -9,7 +9,7 @@ export interface CrumbProps {
9
9
  isCurrent?: boolean;
10
10
  as: React.ElementType;
11
11
  className?: string;
12
- href: string;
12
+ to: string;
13
13
  prefetch?: boolean | null;
14
14
  children: React.ReactNode;
15
15
  }
@@ -4,6 +4,7 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElemen
4
4
  as?: React.ElementType;
5
5
  className?: string;
6
6
  href?: string;
7
+ to?: string;
7
8
  prefetch?: boolean | null;
8
9
  children: React.ReactNode;
9
10
  }