@mastra/playground-ui 29.0.0 → 30.0.0-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.
Files changed (45) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/dist/index.cjs.js +288 -378
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.css +110 -64
  5. package/dist/index.es.js +290 -371
  6. package/dist/index.es.js.map +1 -1
  7. package/dist/src/ds/components/Checkbox/checkbox.d.ts +18 -2
  8. package/dist/src/ds/components/DataList/ScoresDataList/scores-data-list.d.ts +6 -2
  9. package/dist/src/ds/components/DataList/TracesDataList/traces-data-list-cells.d.ts +0 -12
  10. package/dist/src/ds/components/DataList/TracesDataList/traces-data-list.d.ts +11 -6
  11. package/dist/src/ds/components/DataList/data-list-cells.d.ts +46 -3
  12. package/dist/src/ds/components/DataList/data-list-row-button.d.ts +3 -2
  13. package/dist/src/ds/components/DataList/data-list-row-link.d.ts +5 -3
  14. package/dist/src/ds/components/DataList/data-list-row.d.ts +7 -2
  15. package/dist/src/ds/components/DataList/data-list-top-cell.d.ts +24 -3
  16. package/dist/src/ds/components/DataList/data-list-top-cells.d.ts +35 -0
  17. package/dist/src/ds/components/DataList/data-list-top.d.ts +8 -1
  18. package/dist/src/ds/components/DataList/data-list.d.ts +18 -4
  19. package/dist/src/ds/components/DataList/data-list.stories.d.ts +26 -0
  20. package/dist/src/ds/components/DataList/shared.d.ts +44 -1
  21. package/dist/src/ds/components/Label/label.d.ts +1 -3
  22. package/dist/src/ds/components/LogsDataList/logs-data-list-cells.d.ts +0 -8
  23. package/dist/src/ds/components/LogsDataList/logs-data-list.d.ts +10 -5
  24. package/dist/src/ds/components/RadioGroup/radio-group.d.ts +10 -3
  25. package/dist/src/ds/components/Switch/switch.d.ts +7 -2
  26. package/dist/src/ds/components/ThemeToggle/theme-toggle.d.ts +4 -2
  27. package/dist/src/index.d.ts +0 -1
  28. package/package.json +6 -10
  29. package/dist/src/ds/components/EntryList/entry-list-entries-skeleton.d.ts +0 -6
  30. package/dist/src/ds/components/EntryList/entry-list-entries.d.ts +0 -5
  31. package/dist/src/ds/components/EntryList/entry-list-entry-col.d.ts +0 -9
  32. package/dist/src/ds/components/EntryList/entry-list-entry.d.ts +0 -10
  33. package/dist/src/ds/components/EntryList/entry-list-header.d.ts +0 -5
  34. package/dist/src/ds/components/EntryList/entry-list-message.d.ts +0 -7
  35. package/dist/src/ds/components/EntryList/entry-list-next-page-loading.d.ts +0 -8
  36. package/dist/src/ds/components/EntryList/entry-list-pagination.d.ts +0 -7
  37. package/dist/src/ds/components/EntryList/entry-list-root.d.ts +0 -5
  38. package/dist/src/ds/components/EntryList/entry-list-skeleton.d.ts +0 -2
  39. package/dist/src/ds/components/EntryList/entry-list-trim.d.ts +0 -5
  40. package/dist/src/ds/components/EntryList/entry-list.d.ts +0 -20
  41. package/dist/src/ds/components/EntryList/entry-list.stories.d.ts +0 -10
  42. package/dist/src/ds/components/EntryList/helpers.d.ts +0 -10
  43. package/dist/src/ds/components/EntryList/index.d.ts +0 -5
  44. package/dist/src/ds/components/EntryList/shared.d.ts +0 -2
  45. package/dist/src/ds/components/EntryList/types.d.ts +0 -5
@@ -1,5 +0,0 @@
1
- import { ColumnType } from './types';
2
- export type EntryListHeaderProps = {
3
- columns?: ColumnType[];
4
- };
5
- export declare function EntryListHeader({ columns }: EntryListHeaderProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- export type EntryListMessageProps = {
2
- children?: React.ReactNode;
3
- message?: string;
4
- className?: string;
5
- type?: 'info' | 'error';
6
- };
7
- export declare function EntryListMessage({ children, message, className, type }: EntryListMessageProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,8 +0,0 @@
1
- export type EntryListNextPageLoadingProps = {
2
- isLoading?: boolean;
3
- hasMore?: boolean;
4
- setEndOfListElement?: (element: HTMLDivElement | null) => void;
5
- loadingText?: string;
6
- noMoreDataText?: string;
7
- };
8
- export declare function EntryListNextPageLoading({ isLoading, hasMore, setEndOfListElement, loadingText, noMoreDataText, }: EntryListNextPageLoadingProps): import("react/jsx-runtime").JSX.Element | null;
@@ -1,7 +0,0 @@
1
- export type EntryListPaginationProps = {
2
- currentPage?: number;
3
- hasMore?: boolean;
4
- onNextPage?: () => void;
5
- onPrevPage?: () => void;
6
- };
7
- export declare function EntryListPagination({ currentPage, hasMore, onNextPage, onPrevPage }: EntryListPaginationProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- export type EntryListRootProps = {
3
- children: React.ReactNode;
4
- };
5
- export declare function EntryListRoot({ children }: EntryListRootProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { EntryListEntriesSkeletonProps } from './entry-list-entries-skeleton';
2
- export declare function EntryListSkeleton({ columns, numberOfRows }: EntryListEntriesSkeletonProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +0,0 @@
1
- import { default as React } from 'react';
2
- export type EntryListTrimProps = {
3
- children: React.ReactNode;
4
- };
5
- export declare function EntryListTrim({ children }: EntryListTrimProps): import("react/jsx-runtime").JSX.Element;
@@ -1,20 +0,0 @@
1
- import { EntryListEntries } from './entry-list-entries';
2
- import { EntryListEntry } from './entry-list-entry';
3
- import { EntryListEntryStatusCol, EntryListEntryTextCol } from './entry-list-entry-col';
4
- import { EntryListHeader } from './entry-list-header';
5
- import { EntryListMessage } from './entry-list-message';
6
- import { EntryListNextPageLoading } from './entry-list-next-page-loading';
7
- import { EntryListPagination } from './entry-list-pagination';
8
- import { EntryListRoot } from './entry-list-root';
9
- import { EntryListTrim } from './entry-list-trim';
10
- export declare const EntryList: typeof EntryListRoot & {
11
- Header: typeof EntryListHeader;
12
- Trim: typeof EntryListTrim;
13
- Entries: typeof EntryListEntries;
14
- Entry: typeof EntryListEntry;
15
- Message: typeof EntryListMessage;
16
- NextPageLoading: typeof EntryListNextPageLoading;
17
- Pagination: typeof EntryListPagination;
18
- EntryText: typeof EntryListEntryTextCol;
19
- EntryStatus: typeof EntryListEntryStatusCol;
20
- };
@@ -1,10 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react-vite';
2
- import { EntryList } from './entry-list';
3
- declare const meta: Meta<typeof EntryList>;
4
- export default meta;
5
- type Story = StoryObj<typeof EntryList>;
6
- export declare const Default: Story;
7
- export declare const WithSelectedItem: Story;
8
- export declare const EmptyList: Story;
9
- export declare const WithPagination: Story;
10
- export declare const AgentsList: Story;
@@ -1,10 +0,0 @@
1
- type getToEntryFnParams = {
2
- entries: {
3
- id: string;
4
- }[];
5
- id: string | undefined;
6
- update: (id: string) => void;
7
- };
8
- export declare function getToNextEntryFn({ entries, id, update }: getToEntryFnParams): (() => void) | undefined;
9
- export declare function getToPreviousEntryFn({ entries, id, update }: getToEntryFnParams): (() => void) | undefined;
10
- export {};
@@ -1,5 +0,0 @@
1
- export * from './entry-list';
2
- export * from './entry-list-skeleton';
3
- export * from './shared';
4
- export * from './types';
5
- export * from './helpers';
@@ -1,2 +0,0 @@
1
- import { ColumnType } from './types';
2
- export declare function getColumnTemplate(columns?: ColumnType[]): string;
@@ -1,5 +0,0 @@
1
- export type ColumnType = {
2
- name: string;
3
- label: string;
4
- size: string;
5
- };