@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.
- package/CHANGELOG.md +117 -0
- package/dist/index.cjs.js +288 -378
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +110 -64
- package/dist/index.es.js +290 -371
- package/dist/index.es.js.map +1 -1
- package/dist/src/ds/components/Checkbox/checkbox.d.ts +18 -2
- package/dist/src/ds/components/DataList/ScoresDataList/scores-data-list.d.ts +6 -2
- package/dist/src/ds/components/DataList/TracesDataList/traces-data-list-cells.d.ts +0 -12
- package/dist/src/ds/components/DataList/TracesDataList/traces-data-list.d.ts +11 -6
- package/dist/src/ds/components/DataList/data-list-cells.d.ts +46 -3
- package/dist/src/ds/components/DataList/data-list-row-button.d.ts +3 -2
- package/dist/src/ds/components/DataList/data-list-row-link.d.ts +5 -3
- package/dist/src/ds/components/DataList/data-list-row.d.ts +7 -2
- package/dist/src/ds/components/DataList/data-list-top-cell.d.ts +24 -3
- package/dist/src/ds/components/DataList/data-list-top-cells.d.ts +35 -0
- package/dist/src/ds/components/DataList/data-list-top.d.ts +8 -1
- package/dist/src/ds/components/DataList/data-list.d.ts +18 -4
- package/dist/src/ds/components/DataList/data-list.stories.d.ts +26 -0
- package/dist/src/ds/components/DataList/shared.d.ts +44 -1
- package/dist/src/ds/components/Label/label.d.ts +1 -3
- package/dist/src/ds/components/LogsDataList/logs-data-list-cells.d.ts +0 -8
- package/dist/src/ds/components/LogsDataList/logs-data-list.d.ts +10 -5
- package/dist/src/ds/components/RadioGroup/radio-group.d.ts +10 -3
- package/dist/src/ds/components/Switch/switch.d.ts +7 -2
- package/dist/src/ds/components/ThemeToggle/theme-toggle.d.ts +4 -2
- package/dist/src/index.d.ts +0 -1
- package/package.json +6 -10
- package/dist/src/ds/components/EntryList/entry-list-entries-skeleton.d.ts +0 -6
- package/dist/src/ds/components/EntryList/entry-list-entries.d.ts +0 -5
- package/dist/src/ds/components/EntryList/entry-list-entry-col.d.ts +0 -9
- package/dist/src/ds/components/EntryList/entry-list-entry.d.ts +0 -10
- package/dist/src/ds/components/EntryList/entry-list-header.d.ts +0 -5
- package/dist/src/ds/components/EntryList/entry-list-message.d.ts +0 -7
- package/dist/src/ds/components/EntryList/entry-list-next-page-loading.d.ts +0 -8
- package/dist/src/ds/components/EntryList/entry-list-pagination.d.ts +0 -7
- package/dist/src/ds/components/EntryList/entry-list-root.d.ts +0 -5
- package/dist/src/ds/components/EntryList/entry-list-skeleton.d.ts +0 -2
- package/dist/src/ds/components/EntryList/entry-list-trim.d.ts +0 -5
- package/dist/src/ds/components/EntryList/entry-list.d.ts +0 -20
- package/dist/src/ds/components/EntryList/entry-list.stories.d.ts +0 -10
- package/dist/src/ds/components/EntryList/helpers.d.ts +0 -10
- package/dist/src/ds/components/EntryList/index.d.ts +0 -5
- package/dist/src/ds/components/EntryList/shared.d.ts +0 -2
- package/dist/src/ds/components/EntryList/types.d.ts +0 -5
|
@@ -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,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 {};
|