@mastra/playground-ui 16.0.1 → 16.1.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/index.cjs.js +4364 -4486
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.es.js +4355 -4479
  5. package/dist/index.es.js.map +1 -1
  6. package/dist/src/domains/agents/components/{agent-table/agent-table.d.ts → agent-list/agent-list.d.ts} +2 -2
  7. package/dist/src/domains/agents/components/agent-list/no-agents-info.d.ts +4 -0
  8. package/dist/src/domains/agents/components/provider-map-icon.d.ts +1 -0
  9. package/dist/src/domains/agents/hooks/use-agents.d.ts +3 -1
  10. package/dist/src/domains/agents/index.d.ts +1 -1
  11. package/dist/src/domains/datasets/components/datasets-list/datasets-list.d.ts +8 -0
  12. package/dist/src/domains/datasets/components/datasets-list/no-datasets-info.d.ts +4 -0
  13. package/dist/src/domains/datasets/index.d.ts +2 -2
  14. package/dist/src/domains/experiments/hooks/use-experiment-trace.d.ts +10 -3
  15. package/dist/src/domains/mcps/components/mcp-server-list/mcp-server-list.d.ts +7 -0
  16. package/dist/src/domains/mcps/components/mcp-server-list/no-mcp-servers-info.d.ts +1 -0
  17. package/dist/src/domains/mcps/index.d.ts +1 -1
  18. package/dist/src/domains/observability/components/traces-list.d.ts +10 -3
  19. package/dist/src/domains/observability/components/traces-tools.d.ts +3 -1
  20. package/dist/src/domains/observability/index.d.ts +1 -0
  21. package/dist/src/domains/observability/utils/__tests__/group-traces-by-thread.test.d.ts +1 -0
  22. package/dist/src/domains/observability/utils/group-traces-by-thread.d.ts +20 -0
  23. package/dist/src/domains/processors/components/index.d.ts +1 -1
  24. package/dist/src/domains/processors/components/processor-list/no-processors-info.d.ts +1 -0
  25. package/dist/src/domains/processors/components/processor-list/processor-list.d.ts +7 -0
  26. package/dist/src/domains/prompt-blocks/components/prompt-block-list/no-prompt-blocks-info.d.ts +1 -0
  27. package/dist/src/domains/prompt-blocks/components/prompt-block-list/prompt-blocks-list.d.ts +6 -0
  28. package/dist/src/domains/prompt-blocks/index.d.ts +1 -1
  29. package/dist/src/domains/scores/components/scorers-list/no-scorers-info.d.ts +1 -0
  30. package/dist/src/domains/scores/components/scorers-list/scorers-list.d.ts +7 -0
  31. package/dist/src/domains/scores/index.d.ts +1 -1
  32. package/dist/src/domains/templates/index.d.ts +0 -1
  33. package/dist/src/domains/templates/templates-list.d.ts +4 -4
  34. package/dist/src/domains/tool-providers/components/index.d.ts +1 -1
  35. package/dist/src/domains/tool-providers/components/{tool-list.d.ts → provider-tool-list.d.ts} +1 -1
  36. package/dist/src/domains/tools/components/tool-list/no-tools-info.d.ts +1 -0
  37. package/dist/src/domains/tools/components/{tool-table/tool-table.d.ts → tool-list/tool-list.d.ts} +2 -2
  38. package/dist/src/domains/tools/index.d.ts +1 -1
  39. package/dist/src/domains/workflows/components/workflow-list/no-workflow-info.d.ts +1 -0
  40. package/dist/src/domains/workflows/components/workflow-list/workflow-list.d.ts +7 -0
  41. package/dist/src/domains/workflows/index.d.ts +1 -1
  42. package/dist/src/ds/components/EmptyState/EmptyState.d.ts +1 -1
  43. package/dist/src/ds/components/ErrorState/ErrorState.d.ts +5 -0
  44. package/dist/src/ds/components/ErrorState/error-state.stories.d.ts +8 -0
  45. package/dist/src/ds/components/ErrorState/index.d.ts +2 -0
  46. package/dist/src/ds/components/FormFieldBlocks/fields/search-field-block.d.ts +2 -1
  47. package/dist/src/ds/components/ItemList/item-list-cell.d.ts +3 -2
  48. package/dist/src/ds/components/ItemList/item-list-row.d.ts +2 -1
  49. package/dist/src/ds/components/ItemList/item-list-text-cell.d.ts +1 -2
  50. package/dist/src/ds/components/ListSearch/index.d.ts +1 -0
  51. package/dist/src/ds/components/ListSearch/list-search.d.ts +7 -0
  52. package/dist/src/ds/components/PageContent/index.d.ts +1 -0
  53. package/dist/src/ds/components/PageContent/page-content-main.d.ts +5 -0
  54. package/dist/src/ds/components/PageContent/page-content-root.d.ts +4 -0
  55. package/dist/src/ds/components/PageContent/page-content-top-bar.d.ts +4 -0
  56. package/dist/src/ds/components/PageContent/page-content.d.ts +7 -0
  57. package/dist/src/index.d.ts +3 -0
  58. package/dist/tailwind.preset.cjs.js.map +1 -1
  59. package/dist/tailwind.preset.es.js.map +1 -1
  60. package/package.json +9 -9
  61. package/dist/src/domains/agents/components/agent-table/columns.d.ts +0 -6
  62. package/dist/src/domains/agents/components/agent-table/types.d.ts +0 -4
  63. package/dist/src/domains/datasets/components/datasets-table/columns.d.ts +0 -6
  64. package/dist/src/domains/datasets/components/datasets-table/datasets-table.d.ts +0 -8
  65. package/dist/src/domains/mcps/components/mcp-table/columns.d.ts +0 -3
  66. package/dist/src/domains/mcps/components/mcp-table/mcp-table.d.ts +0 -7
  67. package/dist/src/domains/mcps/components/mcp-table/types.d.ts +0 -2
  68. package/dist/src/domains/processors/components/processor-table/columns.d.ts +0 -12
  69. package/dist/src/domains/processors/components/processor-table/index.d.ts +0 -2
  70. package/dist/src/domains/processors/components/processor-table/processor-table.d.ts +0 -8
  71. package/dist/src/domains/prompt-blocks/components/prompt-blocks-table/columns.d.ts +0 -3
  72. package/dist/src/domains/prompt-blocks/components/prompt-blocks-table/prompt-blocks-table.d.ts +0 -6
  73. package/dist/src/domains/prompt-blocks/components/prompt-blocks-table/types.d.ts +0 -2
  74. package/dist/src/domains/scores/components/scorers-table/columns.d.ts +0 -3
  75. package/dist/src/domains/scores/components/scorers-table/scorers-table.d.ts +0 -7
  76. package/dist/src/domains/scores/components/scorers-table/types.d.ts +0 -4
  77. package/dist/src/domains/tools/components/tool-table/columns.d.ts +0 -3
  78. package/dist/src/domains/workflows/components/workflow-table/columns.d.ts +0 -3
  79. package/dist/src/domains/workflows/components/workflow-table/types.d.ts +0 -4
  80. package/dist/src/domains/workflows/components/workflow-table/workflow-table.d.ts +0 -7
@@ -1,8 +1,8 @@
1
1
  import { GetAgentResponse } from '@mastra/client-js';
2
- export interface AgentsTableProps {
2
+ export interface AgentListProps {
3
3
  agents: Record<string, GetAgentResponse>;
4
4
  isLoading: boolean;
5
5
  error?: Error | null;
6
6
  onCreateClick?: () => void;
7
7
  }
8
- export declare function AgentsTable({ agents, isLoading, error, onCreateClick }: AgentsTableProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function AgentList({ agents, isLoading, error, onCreateClick }: AgentListProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export interface NoAgentsInfoProps {
2
+ onCreateClick?: () => void;
3
+ }
4
+ export declare const NoAgentsInfo: ({ onCreateClick }: NoAgentsInfoProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,7 @@
1
1
  export declare const providerMapToIcon: {
2
2
  'openai.chat': import("react/jsx-runtime").JSX.Element;
3
3
  'openai.responses': import("react/jsx-runtime").JSX.Element;
4
+ openai: import("react/jsx-runtime").JSX.Element;
4
5
  'anthropic.chat': import("react/jsx-runtime").JSX.Element;
5
6
  'anthropic.messages': import("react/jsx-runtime").JSX.Element;
6
7
  AZURE: import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,7 @@
1
1
  import { ReorderModelListParams, UpdateModelInModelListParams, UpdateModelParams } from '@mastra/client-js';
2
- export declare const useAgents: () => import('@tanstack/react-query').UseQueryResult<Record<string, import('@mastra/client-js').GetAgentResponse>, Error>;
2
+ export declare const useAgents: () => import('@tanstack/react-query').UseQueryResult<{
3
+ [k: string]: import('@mastra/client-js').GetAgentResponse;
4
+ }, Error>;
3
5
  export declare const useUpdateAgentModel: (agentId: string) => import('@tanstack/react-query').UseMutationResult<{
4
6
  message: string;
5
7
  }, Error, UpdateModelParams, unknown>;
@@ -1,7 +1,7 @@
1
1
  export * from './components/agent-chat';
2
2
  export * from './context';
3
3
  export * from './components/agent-settings';
4
- export * from './components/agent-table/agent-table';
4
+ export * from './components/agent-list/agent-list';
5
5
  export * from './components/request-context';
6
6
  export * from './components/provider-map-icon';
7
7
  export * from './components/agent-metadata';
@@ -0,0 +1,8 @@
1
+ import { DatasetRecord } from '@mastra/client-js';
2
+ export interface DatasetsListProps {
3
+ datasets: DatasetRecord[];
4
+ isLoading: boolean;
5
+ error?: Error | null;
6
+ onCreateClick?: () => void;
7
+ }
8
+ export declare function DatasetsList({ datasets, isLoading, onCreateClick, error }: DatasetsListProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export interface NoDatasetInfoProps {
2
+ onCreateClick?: () => void;
3
+ }
4
+ export declare const NoDatasetInfo: ({ onCreateClick }: NoDatasetInfoProps) => import("react/jsx-runtime").JSX.Element;
@@ -13,14 +13,14 @@ export * from './utils/json-validation';
13
13
  export * from './hooks/use-item-selection';
14
14
  export * from './utils/csv-export';
15
15
  export * from './utils/json-export';
16
- export { DatasetsTable } from './components/datasets-table/datasets-table';
16
+ export { DatasetsList } from './components/datasets-list/datasets-list';
17
17
  export { CreateDatasetDialog } from './components/create-dataset-dialog';
18
18
  export { CreateDatasetFromItemsDialog } from './components/create-dataset-from-items-dialog';
19
19
  export { AddItemsToDatasetDialog } from './components/add-items-to-dataset-dialog';
20
20
  export { DuplicateDatasetDialog } from './components/duplicate-dataset-dialog';
21
21
  export { EditDatasetDialog } from './components/edit-dataset-dialog';
22
22
  export { DeleteDatasetDialog } from './components/delete-dataset-dialog';
23
- export { EmptyDatasetsTable } from './components/empty-datasets-table';
23
+ export { NoDatasetInfo } from './components/datasets-list/no-datasets-info';
24
24
  export { DatasetCombobox } from './components/dataset-combobox';
25
25
  export type { DatasetComboboxProps } from './components/dataset-combobox';
26
26
  export { DatasetPageContent } from './components/dataset-detail/dataset-page-content';
@@ -9,16 +9,25 @@ export declare const useExperimentTrace: (traceId: string | null | undefined) =>
9
9
  startedAt: Date;
10
10
  traceId: string;
11
11
  spanId: string;
12
+ experimentId?: string | null | undefined;
12
13
  attributes?: Record<string, unknown> | null | undefined;
13
14
  links?: unknown[] | null | undefined;
14
15
  input?: unknown;
15
16
  output?: unknown;
16
17
  error?: unknown;
17
- requestContext?: Record<string, unknown> | null | undefined;
18
18
  endedAt?: Date | null | undefined;
19
+ requestContext?: Record<string, unknown> | null | undefined;
20
+ metadata?: Record<string, unknown> | null | undefined;
21
+ tags?: string[] | null | undefined;
19
22
  entityType?: import('@mastra/core/observability').EntityType | null | undefined;
20
23
  entityId?: string | null | undefined;
21
24
  entityName?: string | null | undefined;
25
+ parentEntityType?: import('@mastra/core/observability').EntityType | null | undefined;
26
+ parentEntityId?: string | null | undefined;
27
+ parentEntityName?: string | null | undefined;
28
+ rootEntityType?: import('@mastra/core/observability').EntityType | null | undefined;
29
+ rootEntityId?: string | null | undefined;
30
+ rootEntityName?: string | null | undefined;
22
31
  userId?: string | null | undefined;
23
32
  organizationId?: string | null | undefined;
24
33
  resourceId?: string | null | undefined;
@@ -30,8 +39,6 @@ export declare const useExperimentTrace: (traceId: string | null | undefined) =>
30
39
  source?: string | null | undefined;
31
40
  serviceName?: string | null | undefined;
32
41
  scope?: Record<string, unknown> | null | undefined;
33
- metadata?: Record<string, unknown> | null | undefined;
34
- tags?: string[] | null | undefined;
35
42
  parentSpanId?: string | null | undefined;
36
43
  }[];
37
44
  }, Error>;
@@ -0,0 +1,7 @@
1
+ import { McpServerListResponse } from '@mastra/client-js';
2
+ export interface MCPServerListProps {
3
+ mcpServers: McpServerListResponse['servers'];
4
+ isLoading: boolean;
5
+ error?: Error | null;
6
+ }
7
+ export declare function MCPServerList({ mcpServers, isLoading, error }: MCPServerListProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const NoMCPServersInfo: () => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- export * from './components/mcp-table/mcp-table';
1
+ export * from './components/mcp-server-list/mcp-server-list';
2
2
  export * from './hooks/index';
3
3
  export * from './components/MCPToolPanel';
4
4
  export * from './components/MCPDetail';
@@ -1,13 +1,18 @@
1
- import { SpanRecord } from '@mastra/core/storage';
2
1
  export declare const tracesListColumns: {
3
2
  name: string;
4
3
  label: string;
5
4
  size: string;
6
5
  }[];
7
- type Trace = Pick<SpanRecord, 'traceId' | 'name' | 'entityType' | 'entityId' | 'entityName'> & {
6
+ type Trace = {
7
+ traceId: string;
8
+ name: string;
9
+ entityType?: string | null;
10
+ entityId?: string | null;
11
+ entityName?: string | null;
8
12
  attributes?: Record<string, any> | null;
9
13
  input?: unknown;
10
14
  createdAt: Date | string;
15
+ threadId?: string | null;
11
16
  };
12
17
  type TracesListProps = {
13
18
  selectedTraceId?: string;
@@ -18,7 +23,9 @@ type TracesListProps = {
18
23
  filtersApplied?: boolean;
19
24
  isFetchingNextPage?: boolean;
20
25
  hasNextPage?: boolean;
26
+ groupByThread?: boolean;
27
+ threadTitles?: Record<string, string>;
21
28
  columns?: typeof tracesListColumns;
22
29
  };
23
- export declare function TracesList({ traces, selectedTraceId, onTraceClick, errorMsg, setEndOfListElement, filtersApplied, isFetchingNextPage, hasNextPage, columns, }: TracesListProps): import("react/jsx-runtime").JSX.Element | null;
30
+ export declare function TracesList({ traces, selectedTraceId, onTraceClick, errorMsg, setEndOfListElement, filtersApplied, isFetchingNextPage, hasNextPage, groupByThread, threadTitles, columns, }: TracesListProps): import("react/jsx-runtime").JSX.Element | null;
24
31
  export {};
@@ -21,6 +21,8 @@ type TracesToolsProps = {
21
21
  onReset?: () => void;
22
22
  onDateChange?: (value: Date | undefined, type: 'from' | 'to') => void;
23
23
  isLoading?: boolean;
24
+ groupByThread?: boolean;
25
+ onGroupByThreadChange?: (value: boolean) => void;
24
26
  };
25
- export declare function TracesTools({ onEntityChange, onReset, selectedEntity, entityOptions, onDateChange, selectedDateFrom, selectedDateTo, isLoading, }: TracesToolsProps): import("react/jsx-runtime").JSX.Element;
27
+ export declare function TracesTools({ onEntityChange, onReset, selectedEntity, entityOptions, onDateChange, selectedDateFrom, selectedDateTo, isLoading, groupByThread, onGroupByThreadChange, }: TracesToolsProps): import("react/jsx-runtime").JSX.Element;
26
28
  export {};
@@ -1,4 +1,5 @@
1
1
  export * from './utils/format-hierarchical-spans';
2
+ export * from './utils/group-traces-by-thread';
2
3
  export * from './types';
3
4
  export * from './components';
4
5
  export * from './context/tracing-settings-context';
@@ -0,0 +1,20 @@
1
+ /** Minimal trace shape required by groupTracesByThread */
2
+ export type GroupableTrace = {
3
+ threadId?: string | null;
4
+ createdAt: Date | string;
5
+ };
6
+ export type ThreadGroup<T extends GroupableTrace = GroupableTrace> = {
7
+ threadId: string;
8
+ traces: T[];
9
+ };
10
+ export type GroupedTraces<T extends GroupableTrace = GroupableTrace> = {
11
+ groups: ThreadGroup<T>[];
12
+ ungrouped: T[];
13
+ };
14
+ /**
15
+ * Groups traces by their threadId field.
16
+ * Traces without a threadId are placed in the `ungrouped` bucket.
17
+ * Groups are ordered by the most recent trace's createdAt (descending).
18
+ * Within each group, traces maintain their original order.
19
+ */
20
+ export declare function groupTracesByThread<T extends GroupableTrace>(traces: T[]): GroupedTraces<T>;
@@ -1,3 +1,3 @@
1
- export * from './processor-table';
1
+ export * from './processor-list/processor-list';
2
2
  export * from './processor-panel';
3
3
  export * from './processor-combobox';
@@ -0,0 +1 @@
1
+ export declare const NoProcessorsInfo: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { ProcessorInfo } from '../../hooks/use-processors';
2
+ export interface ProcessorListProps {
3
+ processors: Record<string, ProcessorInfo>;
4
+ isLoading: boolean;
5
+ error?: Error | null;
6
+ }
7
+ export declare function ProcessorList({ processors, isLoading, error }: ProcessorListProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const NoPromptBlocksInfo: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { StoredPromptBlockResponse } from '@mastra/client-js';
2
+ export interface PromptBlockListProps {
3
+ promptBlocks: StoredPromptBlockResponse[];
4
+ isLoading: boolean;
5
+ }
6
+ export declare function PromptBlockList({ promptBlocks, isLoading }: PromptBlockListProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  export { PromptBlockCreateContent } from './components/prompt-block-create-content';
2
- export { PromptBlocksTable, type PromptBlocksTableProps } from './components/prompt-blocks-table/prompt-blocks-table';
2
+ export { PromptBlockList, type PromptBlockListProps } from './components/prompt-block-list/prompt-blocks-list';
3
3
  export { PromptBlockVersionCombobox, type PromptBlockVersionComboboxProps, } from './components/prompt-block-version-combobox';
4
4
  export { PromptBlockEditSidebar } from './components/prompt-block-edit-page/prompt-block-edit-sidebar';
5
5
  export { PromptBlockEditMain } from './components/prompt-block-edit-page/prompt-block-edit-main';
@@ -0,0 +1 @@
1
+ export declare const NoScorersInfo: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { GetScorerResponse } from '@mastra/client-js';
2
+ export interface ScorersListProps {
3
+ scorers: Record<string, GetScorerResponse>;
4
+ isLoading: boolean;
5
+ error?: Error | null;
6
+ }
7
+ export declare function ScorersList({ scorers, isLoading, error }: ScorersListProps): import("react/jsx-runtime").JSX.Element;
@@ -3,7 +3,7 @@ export * from './components/score-dialog';
3
3
  export * from './components/score-as-item-dialog';
4
4
  export * from './components/scores-tools';
5
5
  export * from './components/scorer-combobox';
6
- export * from './components/scorers-table/scorers-table';
6
+ export * from './components/scorers-list/scorers-list';
7
7
  export * from './components/scorer-edit-page';
8
8
  export * from './components/scorer-create-content';
9
9
  export * from './hooks/use-trace-span-scores';
@@ -1,4 +1,3 @@
1
- export * from './templates-tools';
2
1
  export * from './templates-list';
3
2
  export * from './template-info';
4
3
  export * from './template-form';
@@ -12,11 +12,11 @@ type Template = {
12
12
  mcp?: string[];
13
13
  supportedProviders: string[];
14
14
  };
15
- type TemplatesListProps = {
15
+ export type TemplatesListProps = {
16
16
  templates: Template[];
17
- linkComponent?: React.ElementType;
18
- className?: string;
17
+ tags: string[];
18
+ providers: string[];
19
19
  isLoading?: boolean;
20
20
  };
21
- export declare function TemplatesList({ templates, linkComponent, className, isLoading }: TemplatesListProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function TemplatesList({ templates, tags, providers, isLoading }: TemplatesListProps): import("react/jsx-runtime").JSX.Element;
22
22
  export {};
@@ -1,4 +1,4 @@
1
1
  export { IntegrationToolsSection } from './integration-tools-section';
2
2
  export { ToolProviderDialog } from './tool-provider-dialog';
3
3
  export { ToolkitList } from './toolkit-list';
4
- export { ToolList } from './tool-list';
4
+ export { ProviderToolList } from './provider-tool-list';
@@ -4,5 +4,5 @@ interface ToolListProps {
4
4
  selectedIds?: Set<string>;
5
5
  onToggle?: (id: string, description: string) => void;
6
6
  }
7
- export declare function ToolList({ providerId, toolkit, selectedIds, onToggle }: ToolListProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProviderToolList({ providerId, toolkit, selectedIds, onToggle }: ToolListProps): import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -0,0 +1 @@
1
+ export declare const NoToolsInfo: () => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import { GetAgentResponse, GetToolResponse } from '@mastra/client-js';
2
- export interface ToolTableProps {
2
+ export interface ToolListProps {
3
3
  tools: Record<string, GetToolResponse>;
4
4
  agents: Record<string, GetAgentResponse>;
5
5
  isLoading: boolean;
6
6
  error?: Error | null;
7
7
  }
8
- export declare function ToolTable({ tools, agents, isLoading, error }: ToolTableProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ToolList({ tools, agents, isLoading, error }: ToolListProps): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- export * from './components/tool-table/tool-table';
1
+ export * from './components/tool-list/tool-list';
2
2
  export * from './components';
3
3
  export * from './hooks';
@@ -0,0 +1 @@
1
+ export declare const NoWorkflowInfo: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { GetWorkflowResponse } from '@mastra/client-js';
2
+ export interface WorkflowListProps {
3
+ workflows: Record<string, GetWorkflowResponse>;
4
+ isLoading: boolean;
5
+ error?: Error | null;
6
+ }
7
+ export declare function WorkflowList({ workflows, isLoading, error }: WorkflowListProps): import("react/jsx-runtime").JSX.Element;
@@ -4,7 +4,7 @@ export * from './workflow/workflow-graph';
4
4
  export * from './workflow/workflow-trigger';
5
5
  export * from './context/use-current-run';
6
6
  export * from './runs/workflow-run-details';
7
- export * from './components/workflow-table/workflow-table';
7
+ export * from './components/workflow-list/workflow-list';
8
8
  export * from './components/workflow-information';
9
9
  export * from './components/workflow-combobox';
10
10
  export * from './utils';
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  export type EmptyStateProps = {
3
- iconSlot: React.ReactNode;
3
+ iconSlot?: React.ReactNode;
4
4
  titleSlot: React.ReactNode;
5
5
  descriptionSlot?: React.ReactNode;
6
6
  actionSlot?: React.ReactNode;
@@ -0,0 +1,5 @@
1
+ export type ErrorStateProps = {
2
+ title: string;
3
+ message: string;
4
+ };
5
+ export declare function ErrorState({ title, message }: ErrorStateProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { ErrorState } from './ErrorState';
3
+ declare const meta: Meta<typeof ErrorState>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ErrorState>;
6
+ export declare const Default: Story;
7
+ export declare const ServerError: Story;
8
+ export declare const Timeout: Story;
@@ -0,0 +1,2 @@
1
+ export { ErrorState } from './ErrorState';
2
+ export type { ErrorStateProps } from './ErrorState';
@@ -14,5 +14,6 @@ export type SearchFieldBlockProps = {
14
14
  errorMsg?: string;
15
15
  size?: 'small' | 'default';
16
16
  layout?: 'horizontal' | 'vertical';
17
+ className?: string;
17
18
  };
18
- export declare function SearchFieldBlock({ name, helpText, errorMsg, required, disabled, size, value, label, labelIsHidden, layout, placeholder, onChange, onReset, }: SearchFieldBlockProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function SearchFieldBlock({ name, helpText, errorMsg, required, disabled, size, value, label, labelIsHidden, layout, placeholder, onChange, onReset, className, }: SearchFieldBlockProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,6 @@
1
- export type ItemListTextCellProps = {
1
+ export type ItemListCellProps = {
2
2
  children: React.ReactNode;
3
3
  className?: string;
4
+ style?: React.CSSProperties;
4
5
  };
5
- export declare function ItemListCell({ children, className }: ItemListTextCellProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function ItemListCell({ children, className, style }: ItemListCellProps): import("react/jsx-runtime").JSX.Element;
@@ -3,5 +3,6 @@ export type ItemListRowProps = {
3
3
  isSelected?: boolean;
4
4
  children?: React.ReactNode;
5
5
  columns?: ItemListColumn[];
6
+ className?: string;
6
7
  };
7
- export declare function ItemListRow({ isSelected, children, columns }: ItemListRowProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function ItemListRow({ isSelected, children, columns, className }: ItemListRowProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  export type ItemListTextCellProps = {
2
2
  children: React.ReactNode;
3
- isLoading?: boolean;
4
3
  className?: string;
5
4
  };
6
- export declare function ItemListTextCell({ children, isLoading, className }: ItemListTextCellProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function ItemListTextCell({ children, className }: ItemListTextCellProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './list-search';
@@ -0,0 +1,7 @@
1
+ export type ListSearchProps = {
2
+ onSearch: (search: string) => void;
3
+ label: string;
4
+ placeholder: string;
5
+ debounceMs?: number;
6
+ };
7
+ export declare const ListSearch: ({ onSearch, label, placeholder, debounceMs }: ListSearchProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './page-content';
@@ -0,0 +1,5 @@
1
+ export declare function PageContentMain({ children, className, as: Component, }: {
2
+ children: React.ReactNode;
3
+ className?: string;
4
+ as?: 'main' | 'div';
5
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare function PageContentRoot({ children, className }: {
2
+ children: React.ReactNode;
3
+ className?: string;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ export declare function PageContentTopBar({ children, className }: {
2
+ children: React.ReactNode;
3
+ className?: string;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { PageContentRoot } from './page-content-root';
2
+ import { PageContentTopBar } from './page-content-top-bar';
3
+ import { PageContentMain } from './page-content-main';
4
+ export declare const PageContent: typeof PageContentRoot & {
5
+ TopBar: typeof PageContentTopBar;
6
+ Main: typeof PageContentMain;
7
+ };
@@ -17,6 +17,7 @@ export * from './ds/components/Breadcrumb/index';
17
17
  export * from './ds/components/Button/index';
18
18
  export * from './ds/components/CodeEditor/index';
19
19
  export * from './ds/components/EmptyState/index';
20
+ export * from './ds/components/ErrorState/index';
20
21
  export * from './ds/components/Entity/index';
21
22
  export * from './ds/components/PermissionDenied';
22
23
  export * from './ds/components/Header/index';
@@ -40,6 +41,7 @@ export * from './ds/components/Popover';
40
41
  export * from './ds/components/RadioGroup';
41
42
  export * from './ds/components/ScrollArea';
42
43
  export * from './ds/components/Searchbar';
44
+ export * from './ds/components/ListSearch';
43
45
  export * from './ds/components/Select';
44
46
  export * from './ds/components/Skeleton';
45
47
  export * from './ds/components/Slider';
@@ -59,6 +61,7 @@ export * from './ds/components/JSONSchemaForm';
59
61
  export * from './ds/components/KeyValueList';
60
62
  export * from './ds/components/MainSidebar';
61
63
  export * from './ds/components/Notification';
64
+ export * from './ds/components/PageContent';
62
65
  export * from './ds/components/PageHeader';
63
66
  export * from './ds/components/Section';
64
67
  export * from './ds/components/SelectElement';