@mastra/playground-ui 30.0.0 → 30.0.1-alpha.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.
- package/CHANGELOG.md +20 -0
- package/dist/index.cjs.js +8 -251
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -17
- package/dist/index.es.js +9 -249
- package/dist/index.es.js.map +1 -1
- package/dist/src/index.d.ts +0 -2
- package/package.json +4 -4
- package/dist/src/ds/components/EntityList/entity-list-cells.d.ts +0 -9
- package/dist/src/ds/components/EntityList/entity-list-no-match.d.ts +0 -5
- package/dist/src/ds/components/EntityList/entity-list-pagination.d.ts +0 -7
- package/dist/src/ds/components/EntityList/entity-list-root.d.ts +0 -7
- package/dist/src/ds/components/EntityList/entity-list-row-link.d.ts +0 -9
- package/dist/src/ds/components/EntityList/entity-list-row.d.ts +0 -8
- package/dist/src/ds/components/EntityList/entity-list-rows.d.ts +0 -6
- package/dist/src/ds/components/EntityList/entity-list-skeleton.d.ts +0 -5
- package/dist/src/ds/components/EntityList/entity-list-top-cell.d.ts +0 -20
- package/dist/src/ds/components/EntityList/entity-list-top.d.ts +0 -6
- package/dist/src/ds/components/EntityList/entity-list.d.ts +0 -24
- package/dist/src/ds/components/EntityList/index.d.ts +0 -2
- package/dist/src/ds/components/EntityListPageLayout/entity-list-page-layout-root.d.ts +0 -5
- package/dist/src/ds/components/EntityListPageLayout/entity-list-page-layout-top.d.ts +0 -5
- package/dist/src/ds/components/EntityListPageLayout/entity-list-page-layout.d.ts +0 -5
- package/dist/src/ds/components/EntityListPageLayout/index.d.ts +0 -1
package/dist/index.css
CHANGED
|
@@ -1887,10 +1887,6 @@
|
|
|
1887
1887
|
max-width: 90vw !important;
|
|
1888
1888
|
}
|
|
1889
1889
|
|
|
1890
|
-
.max-w-\[110rem\] {
|
|
1891
|
-
max-width: 110rem;
|
|
1892
|
-
}
|
|
1893
|
-
|
|
1894
1890
|
.max-w-\[200px\] {
|
|
1895
1891
|
max-width: 200px;
|
|
1896
1892
|
}
|
|
@@ -3469,10 +3465,6 @@
|
|
|
3469
3465
|
padding-inline: var(--spacing-8);
|
|
3470
3466
|
}
|
|
3471
3467
|
|
|
3472
|
-
.px-10 {
|
|
3473
|
-
padding-inline: var(--spacing-10);
|
|
3474
|
-
}
|
|
3475
|
-
|
|
3476
3468
|
.px-12 {
|
|
3477
3469
|
padding-inline: var(--spacing-12);
|
|
3478
3470
|
}
|
|
@@ -4971,10 +4963,6 @@
|
|
|
4971
4963
|
border-color: var(--color-neutral2);
|
|
4972
4964
|
}
|
|
4973
4965
|
|
|
4974
|
-
.focus-within\:border-transparent:focus-within {
|
|
4975
|
-
border-color: #0000;
|
|
4976
|
-
}
|
|
4977
|
-
|
|
4978
4966
|
.focus-within\:bg-surface4:focus-within {
|
|
4979
4967
|
background-color: var(--color-surface4);
|
|
4980
4968
|
}
|
|
@@ -5009,10 +4997,6 @@
|
|
|
5009
4997
|
}
|
|
5010
4998
|
}
|
|
5011
4999
|
|
|
5012
|
-
.focus-within\:ring-inset:focus-within {
|
|
5013
|
-
--tw-ring-inset: inset;
|
|
5014
|
-
}
|
|
5015
|
-
|
|
5016
5000
|
@media (hover: hover) {
|
|
5017
5001
|
.hover\:scale-105:hover {
|
|
5018
5002
|
--tw-scale-x: 105%;
|
|
@@ -7327,7 +7311,7 @@
|
|
|
7327
7311
|
rotate: 90deg;
|
|
7328
7312
|
}
|
|
7329
7313
|
|
|
7330
|
-
.data-list-row:focus-visible + .\[\.data-list-row\:focus-visible\+\&\]\:border-t-transparent, .data-list-row:hover + .\[\.data-list-row\:hover\+\&\]\:border-t-transparent, .data-list-subheader + .\[\.data-list-subheader\+\&\]\:border-t-transparent
|
|
7314
|
+
.data-list-row:focus-visible + .\[\.data-list-row\:focus-visible\+\&\]\:border-t-transparent, .data-list-row:hover + .\[\.data-list-row\:hover\+\&\]\:border-t-transparent, .data-list-subheader + .\[\.data-list-subheader\+\&\]\:border-t-transparent {
|
|
7331
7315
|
border-top-color: #0000;
|
|
7332
7316
|
}
|
|
7333
7317
|
|
package/dist/index.es.js
CHANGED
|
@@ -12816,11 +12816,11 @@ const ItemList = Object.assign(ItemListRoot, {
|
|
|
12816
12816
|
LabelCell: ItemListLabelCell
|
|
12817
12817
|
});
|
|
12818
12818
|
|
|
12819
|
-
const widths$
|
|
12819
|
+
const widths$1 = ["75%", "50%", "65%", "90%", "60%", "80%"];
|
|
12820
12820
|
function ItemListItemsSkeleton({ columns, numberOfRows = 3 }) {
|
|
12821
12821
|
const getPseudoRandomWidth = (rowIdx, colIdx) => {
|
|
12822
|
-
const index = (rowIdx + colIdx + (columns?.length || 0) + (numberOfRows || 0)) % widths$
|
|
12823
|
-
return widths$
|
|
12822
|
+
const index = (rowIdx + colIdx + (columns?.length || 0) + (numberOfRows || 0)) % widths$1.length;
|
|
12823
|
+
return widths$1[index];
|
|
12824
12824
|
};
|
|
12825
12825
|
return /* @__PURE__ */ jsx(ItemListItems, { children: Array.from({ length: numberOfRows }).map((_, rowIdx) => /* @__PURE__ */ jsx(ItemListRow, { children: /* @__PURE__ */ jsx(ItemListRowButton, { columns, children: (columns || []).map((col, colIdx) => {
|
|
12826
12826
|
const key = `${col.name}-${colIdx}`;
|
|
@@ -13647,7 +13647,7 @@ function DataListTopCellWithTooltip({ children, tooltip, className }) {
|
|
|
13647
13647
|
/* @__PURE__ */ jsx(TooltipContent, { children: tooltip })
|
|
13648
13648
|
] });
|
|
13649
13649
|
}
|
|
13650
|
-
const breakpointClasses
|
|
13650
|
+
const breakpointClasses = {
|
|
13651
13651
|
sm: { show: "hidden sm:inline-flex", hide: "inline-flex sm:hidden" },
|
|
13652
13652
|
md: { show: "hidden md:inline-flex", hide: "inline-flex md:hidden" },
|
|
13653
13653
|
lg: { show: "hidden lg:inline-flex", hide: "inline-flex lg:hidden" },
|
|
@@ -13662,7 +13662,7 @@ function DataListTopCellSmart({
|
|
|
13662
13662
|
className
|
|
13663
13663
|
}) {
|
|
13664
13664
|
const tooltipText = tooltip ?? (typeof long === "string" ? long : void 0);
|
|
13665
|
-
const bp = breakpointClasses
|
|
13665
|
+
const bp = breakpointClasses[breakpoint];
|
|
13666
13666
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
13667
13667
|
/* @__PURE__ */ jsx("span", { className: cn("items-center gap-1", bp.show), children: long }),
|
|
13668
13668
|
/* @__PURE__ */ jsx("span", { className: cn("items-center gap-1", bp.hide), children: short })
|
|
@@ -13735,14 +13735,14 @@ const DataList = Object.assign(DataListRoot, {
|
|
|
13735
13735
|
Pagination: DataListPagination
|
|
13736
13736
|
});
|
|
13737
13737
|
|
|
13738
|
-
const widths
|
|
13738
|
+
const widths = ["75%", "50%", "65%", "90%", "60%", "80%"];
|
|
13739
13739
|
function DataListSkeleton({ columns = "auto 1fr auto auto", numberOfRows = 3 }) {
|
|
13740
13740
|
const columnParts = columns.trim().split(/\s+/);
|
|
13741
13741
|
const columnCount = columnParts.length;
|
|
13742
13742
|
const skeletonColumns = columnParts.map((col) => col === "auto" ? "minmax(6rem, auto)" : col).join(" ");
|
|
13743
13743
|
const getPseudoRandomWidth = (rowIdx, colIdx) => {
|
|
13744
|
-
const index = (rowIdx + colIdx + columnCount + numberOfRows) % widths
|
|
13745
|
-
return widths
|
|
13744
|
+
const index = (rowIdx + colIdx + columnCount + numberOfRows) % widths.length;
|
|
13745
|
+
return widths[index];
|
|
13746
13746
|
};
|
|
13747
13747
|
return /* @__PURE__ */ jsx(DataListRoot, { columns: skeletonColumns, children: Array.from({ length: numberOfRows }).map((_, rowIdx) => /* @__PURE__ */ jsx(
|
|
13748
13748
|
"div",
|
|
@@ -13868,221 +13868,6 @@ const TracesDataList = Object.assign(TracesDataListRoot, {
|
|
|
13868
13868
|
NextPageLoading: DataListNextPageLoading
|
|
13869
13869
|
});
|
|
13870
13870
|
|
|
13871
|
-
function EntityListCell({ children, className }) {
|
|
13872
|
-
return /* @__PURE__ */ jsx("span", { className: cn("relative py-4 grid items-center text-ui-md whitespace-nowrap text-neutral3", className), children });
|
|
13873
|
-
}
|
|
13874
|
-
function EntityListTextCell({ children, className }) {
|
|
13875
|
-
return /* @__PURE__ */ jsx(EntityListCell, { className, children });
|
|
13876
|
-
}
|
|
13877
|
-
function EntityListNameCell({ children, className }) {
|
|
13878
|
-
return /* @__PURE__ */ jsx(EntityListCell, { className: cn("text-left text-neutral4", className), children: /* @__PURE__ */ jsx("span", { className: "truncate", children }) });
|
|
13879
|
-
}
|
|
13880
|
-
function EntityListDescriptionCell({ children, className }) {
|
|
13881
|
-
return /* @__PURE__ */ jsx(EntityListCell, { className: cn("text-neutral2", className), children: /* @__PURE__ */ jsx("span", { className: "truncate", children }) });
|
|
13882
|
-
}
|
|
13883
|
-
|
|
13884
|
-
function EntityListNoMatch({ message = "Nothing matches your search", className }) {
|
|
13885
|
-
return /* @__PURE__ */ jsx("div", { className: cn("col-span-full flex flex-col items-center justify-center gap-2 py-12 text-neutral3", className), children: /* @__PURE__ */ jsx("p", { className: "text-ui-md", children: message }) });
|
|
13886
|
-
}
|
|
13887
|
-
|
|
13888
|
-
function EntityListPagination({ currentPage, hasMore, onNextPage, onPrevPage }) {
|
|
13889
|
-
const showNavigation = typeof currentPage === "number" && currentPage > 0 || hasMore;
|
|
13890
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("col-span-full flex items-center justify-center gap-8 pt-6 pb-4 text-ui-md text-neutral3"), children: [
|
|
13891
|
-
/* @__PURE__ */ jsxs("span", { children: [
|
|
13892
|
-
"Page ",
|
|
13893
|
-
/* @__PURE__ */ jsx("b", { children: currentPage ? currentPage + 1 : "1" })
|
|
13894
|
-
] }),
|
|
13895
|
-
showNavigation && /* @__PURE__ */ jsxs(
|
|
13896
|
-
"div",
|
|
13897
|
-
{
|
|
13898
|
-
className: cn(
|
|
13899
|
-
"flex gap-4",
|
|
13900
|
-
"[&>button]:flex [&>button]:items-center [&>button]:gap-2 [&>button]:text-neutral4 [&>button:hover]:text-neutral5 [&>button]:transition-colors [&>button]:border [&>button]:border-border1 [&>button]:p-1 [&>button]:px-2 [&>button]:rounded-md",
|
|
13901
|
-
"[&_svg]:w-[1em] [&_svg]:h-[1em] [&_svg]:text-neutral3"
|
|
13902
|
-
),
|
|
13903
|
-
children: [
|
|
13904
|
-
typeof currentPage === "number" && currentPage > 0 && /* @__PURE__ */ jsxs("button", { type: "button", onClick: onPrevPage, children: [
|
|
13905
|
-
/* @__PURE__ */ jsx(ArrowLeftIcon, {}),
|
|
13906
|
-
"Previous"
|
|
13907
|
-
] }),
|
|
13908
|
-
hasMore && /* @__PURE__ */ jsxs("button", { type: "button", onClick: onNextPage, children: [
|
|
13909
|
-
"Next",
|
|
13910
|
-
/* @__PURE__ */ jsx(ArrowRightIcon, {})
|
|
13911
|
-
] })
|
|
13912
|
-
]
|
|
13913
|
-
}
|
|
13914
|
-
)
|
|
13915
|
-
] });
|
|
13916
|
-
}
|
|
13917
|
-
|
|
13918
|
-
function EntityListRoot({ children, columns, className }) {
|
|
13919
|
-
return /* @__PURE__ */ jsx(
|
|
13920
|
-
"div",
|
|
13921
|
-
{
|
|
13922
|
-
className: cn(
|
|
13923
|
-
"grid bg-surface2 border h-full border-border1 rounded-xl overflow-y-auto content-start",
|
|
13924
|
-
className
|
|
13925
|
-
),
|
|
13926
|
-
style: { gridTemplateColumns: columns },
|
|
13927
|
-
children
|
|
13928
|
-
}
|
|
13929
|
-
);
|
|
13930
|
-
}
|
|
13931
|
-
|
|
13932
|
-
function EntityListRow({ children, className, onClick, selected }) {
|
|
13933
|
-
return /* @__PURE__ */ jsx(
|
|
13934
|
-
"div",
|
|
13935
|
-
{
|
|
13936
|
-
role: onClick ? "button" : void 0,
|
|
13937
|
-
tabIndex: onClick ? 0 : void 0,
|
|
13938
|
-
onClick,
|
|
13939
|
-
onKeyDown: onClick ? (e) => {
|
|
13940
|
-
if (e.currentTarget !== e.target) return;
|
|
13941
|
-
if (e.key === "Enter" || e.key === " ") {
|
|
13942
|
-
e.preventDefault();
|
|
13943
|
-
onClick();
|
|
13944
|
-
}
|
|
13945
|
-
} : void 0,
|
|
13946
|
-
className: cn(
|
|
13947
|
-
"entity-list-row grid grid-cols-subgrid gap-6 lg:gap-8 xl:gap-10 2xl:gap-12 3xl:gap-14 col-span-full cursor-pointer border-y border-b-border1 border-t-transparent px-5",
|
|
13948
|
-
"hover:bg-surface4 hover:border-transparent focus-within:bg-surface4 focus-within:border-transparent focus-within:ring-1 focus-within:ring-inset focus-within:ring-accent1",
|
|
13949
|
-
"[.entity-list-row:hover+&]:border-t-transparent [.entity-list-row:focus-within+&]:border-t-transparent",
|
|
13950
|
-
"transition-colors duration-200 rounded-lg",
|
|
13951
|
-
selected && "bg-surface4 border-transparent",
|
|
13952
|
-
className
|
|
13953
|
-
),
|
|
13954
|
-
children
|
|
13955
|
-
}
|
|
13956
|
-
);
|
|
13957
|
-
}
|
|
13958
|
-
|
|
13959
|
-
function EntityListRowLink({ children, to, className, LinkComponent: Link }) {
|
|
13960
|
-
return /* @__PURE__ */ jsx(
|
|
13961
|
-
Link,
|
|
13962
|
-
{
|
|
13963
|
-
href: to,
|
|
13964
|
-
className: cn(
|
|
13965
|
-
"entity-list-row grid grid-cols-subgrid gap-6 lg:gap-8 xl:gap-10 2xl:gap-12 3xl:gap-14 col-span-full px-5 outline-hidden cursor-pointer border-y border-b-border1 border-t-transparent",
|
|
13966
|
-
"hover:bg-surface4 hover:border-transparent focus-within:bg-surface4 focus-within:border-transparent focus-within:ring-1 focus-within:ring-inset focus-within:ring-accent1",
|
|
13967
|
-
"[.entity-list-row:hover+&]:border-t-transparent [.entity-list-row:focus-within+&]:border-t-transparent",
|
|
13968
|
-
"transition-colors duration-200 rounded-lg",
|
|
13969
|
-
className
|
|
13970
|
-
),
|
|
13971
|
-
children
|
|
13972
|
-
}
|
|
13973
|
-
);
|
|
13974
|
-
}
|
|
13975
|
-
|
|
13976
|
-
function EntityListRows({ children, className }) {
|
|
13977
|
-
return /* @__PURE__ */ jsx("div", { className: cn("grid grid-cols-subgrid col-span-full overflow-y-auto p-1", className), children });
|
|
13978
|
-
}
|
|
13979
|
-
|
|
13980
|
-
function EntityListTop({ children, className }) {
|
|
13981
|
-
return /* @__PURE__ */ jsx(
|
|
13982
|
-
"div",
|
|
13983
|
-
{
|
|
13984
|
-
className: cn(
|
|
13985
|
-
"grid grid-cols-subgrid gap-6 lg:gap-8 xl:gap-10 2xl:gap-12 3xl:gap-14 col-span-full border-b border-border1 px-4 bg-surface2 sticky top-0 z-10",
|
|
13986
|
-
className
|
|
13987
|
-
),
|
|
13988
|
-
children
|
|
13989
|
-
}
|
|
13990
|
-
);
|
|
13991
|
-
}
|
|
13992
|
-
|
|
13993
|
-
const EntityListTopCell = forwardRef(({ children, className }, ref) => {
|
|
13994
|
-
return /* @__PURE__ */ jsx(
|
|
13995
|
-
"span",
|
|
13996
|
-
{
|
|
13997
|
-
ref,
|
|
13998
|
-
className: cn(
|
|
13999
|
-
"h-8 py-1 flex items-center uppercase whitespace-nowrap text-neutral2 tracking-widest text-ui-xs",
|
|
14000
|
-
className
|
|
14001
|
-
),
|
|
14002
|
-
children
|
|
14003
|
-
}
|
|
14004
|
-
);
|
|
14005
|
-
});
|
|
14006
|
-
function EntityListTopCellWithTooltip({ children, tooltip, className }) {
|
|
14007
|
-
return /* @__PURE__ */ jsxs(Tooltip, { children: [
|
|
14008
|
-
/* @__PURE__ */ jsx(TooltipTrigger, { children: /* @__PURE__ */ jsx(EntityListTopCell, { className, children }) }),
|
|
14009
|
-
/* @__PURE__ */ jsx(TooltipContent, { children: tooltip })
|
|
14010
|
-
] });
|
|
14011
|
-
}
|
|
14012
|
-
const breakpointClasses = {
|
|
14013
|
-
sm: { show: "hidden sm:inline-flex", hide: "inline-flex sm:hidden" },
|
|
14014
|
-
md: { show: "hidden md:inline-flex", hide: "inline-flex md:hidden" },
|
|
14015
|
-
lg: { show: "hidden lg:inline-flex", hide: "inline-flex lg:hidden" },
|
|
14016
|
-
xl: { show: "hidden xl:inline-flex", hide: "inline-flex xl:hidden" },
|
|
14017
|
-
"2xl": { show: "hidden 2xl:inline-flex", hide: "inline-flex 2xl:hidden" }
|
|
14018
|
-
};
|
|
14019
|
-
function EntityListTopCellSmart({
|
|
14020
|
-
long,
|
|
14021
|
-
short,
|
|
14022
|
-
tooltip,
|
|
14023
|
-
breakpoint = "2xl",
|
|
14024
|
-
className
|
|
14025
|
-
}) {
|
|
14026
|
-
const tooltipText = tooltip ?? (typeof long === "string" ? long : void 0);
|
|
14027
|
-
const bp = breakpointClasses[breakpoint];
|
|
14028
|
-
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
14029
|
-
/* @__PURE__ */ jsx("span", { className: cn("items-center gap-1", bp.show), children: long }),
|
|
14030
|
-
/* @__PURE__ */ jsx("span", { className: cn("items-center gap-1", bp.hide), children: short })
|
|
14031
|
-
] });
|
|
14032
|
-
if (tooltipText) {
|
|
14033
|
-
return /* @__PURE__ */ jsx(
|
|
14034
|
-
EntityListTopCellWithTooltip,
|
|
14035
|
-
{
|
|
14036
|
-
tooltip: tooltipText,
|
|
14037
|
-
className: cn("flex [&_svg]:w-[1.3em] [&_svg]:h-[1.3em]", className),
|
|
14038
|
-
children: content
|
|
14039
|
-
}
|
|
14040
|
-
);
|
|
14041
|
-
}
|
|
14042
|
-
return /* @__PURE__ */ jsx(EntityListTopCell, { className: cn("flex [&_svg]:w-[1.3em] [&_svg]:h-[1.3em]", className), children: content });
|
|
14043
|
-
}
|
|
14044
|
-
|
|
14045
|
-
const EntityList = Object.assign(EntityListRoot, {
|
|
14046
|
-
Top: EntityListTop,
|
|
14047
|
-
TopCell: EntityListTopCell,
|
|
14048
|
-
TopCellWithTooltip: EntityListTopCellWithTooltip,
|
|
14049
|
-
TopCellSmart: EntityListTopCellSmart,
|
|
14050
|
-
Rows: EntityListRows,
|
|
14051
|
-
Row: EntityListRow,
|
|
14052
|
-
RowLink: EntityListRowLink,
|
|
14053
|
-
Cell: EntityListCell,
|
|
14054
|
-
TextCell: EntityListTextCell,
|
|
14055
|
-
NameCell: EntityListNameCell,
|
|
14056
|
-
DescriptionCell: EntityListDescriptionCell,
|
|
14057
|
-
NoMatch: EntityListNoMatch,
|
|
14058
|
-
Pagination: EntityListPagination
|
|
14059
|
-
});
|
|
14060
|
-
|
|
14061
|
-
const widths = ["75%", "50%", "65%", "90%", "60%", "80%"];
|
|
14062
|
-
function EntityListSkeleton({ columns, numberOfRows = 3 }) {
|
|
14063
|
-
const columnParts = columns.trim().split(/\s+/);
|
|
14064
|
-
const columnCount = columnParts.length;
|
|
14065
|
-
const skeletonColumns = columnParts.map((col) => col === "auto" ? "minmax(6rem, auto)" : col).join(" ");
|
|
14066
|
-
const getPseudoRandomWidth = (rowIdx, colIdx) => {
|
|
14067
|
-
const index = (rowIdx + colIdx + columnCount + numberOfRows) % widths.length;
|
|
14068
|
-
return widths[index];
|
|
14069
|
-
};
|
|
14070
|
-
return /* @__PURE__ */ jsx(EntityListRoot, { columns: skeletonColumns, children: Array.from({ length: numberOfRows }).map((_, rowIdx) => /* @__PURE__ */ jsx(
|
|
14071
|
-
"div",
|
|
14072
|
-
{
|
|
14073
|
-
className: "entity-list-row grid grid-cols-subgrid gap-6 lg:gap-8 xl:gap-10 2xl:gap-12 3xl:gap-14 col-span-full px-5 border-y border-b-border1 border-t-transparent transition-colors duration-200 rounded-lg",
|
|
14074
|
-
children: Array.from({ length: columnCount }).map((_2, colIdx) => /* @__PURE__ */ jsx(EntityListCell, { children: /* @__PURE__ */ jsx(
|
|
14075
|
-
"div",
|
|
14076
|
-
{
|
|
14077
|
-
className: "bg-surface4 rounded-md animate-pulse text-transparent h-4 select-none",
|
|
14078
|
-
style: { width: getPseudoRandomWidth(rowIdx, colIdx) }
|
|
14079
|
-
}
|
|
14080
|
-
) }, colIdx))
|
|
14081
|
-
},
|
|
14082
|
-
rowIdx
|
|
14083
|
-
)) });
|
|
14084
|
-
}
|
|
14085
|
-
|
|
14086
13871
|
const LEVEL_CONFIG = {
|
|
14087
13872
|
debug: { label: "DEBUG", color: "#71717a" },
|
|
14088
13873
|
info: { label: "INFO", color: "#60a5fa" },
|
|
@@ -14151,31 +13936,6 @@ const LogsDataList = Object.assign(DataListRoot, {
|
|
|
14151
13936
|
NextPageLoading: DataListNextPageLoading
|
|
14152
13937
|
});
|
|
14153
13938
|
|
|
14154
|
-
function EntityListPageLayoutRoot({ children, className }) {
|
|
14155
|
-
const pageHeading = usePageHeading();
|
|
14156
|
-
return /* @__PURE__ */ jsxs(
|
|
14157
|
-
"main",
|
|
14158
|
-
{
|
|
14159
|
-
className: cn(
|
|
14160
|
-
"w-full h-full overflow-hidden grid grid-rows-[auto_auto] max-w-[110rem] px-10 mx-auto gap-4 py-6 content-start",
|
|
14161
|
-
className
|
|
14162
|
-
),
|
|
14163
|
-
children: [
|
|
14164
|
-
pageHeading && /* @__PURE__ */ jsx("h1", { className: "sr-only", children: pageHeading }),
|
|
14165
|
-
children
|
|
14166
|
-
]
|
|
14167
|
-
}
|
|
14168
|
-
);
|
|
14169
|
-
}
|
|
14170
|
-
|
|
14171
|
-
function EntityListPageLayoutTop({ children, className }) {
|
|
14172
|
-
return /* @__PURE__ */ jsx("div", { className: cn("grid gap-4", className), children });
|
|
14173
|
-
}
|
|
14174
|
-
|
|
14175
|
-
const EntityListPageLayout = Object.assign(EntityListPageLayoutRoot, {
|
|
14176
|
-
Top: EntityListPageLayoutTop
|
|
14177
|
-
});
|
|
14178
|
-
|
|
14179
13939
|
function PageLayoutColumn({ children, className }) {
|
|
14180
13940
|
return /* @__PURE__ */ jsx("div", { className: cn("grid content-start", className), children });
|
|
14181
13941
|
}
|
|
@@ -22315,5 +22075,5 @@ function useLogsListNavigation(logs, featuredLogId, onFeaturedChange, featuredTr
|
|
|
22315
22075
|
};
|
|
22316
22076
|
}
|
|
22317
22077
|
|
|
22318
|
-
export { AddField, AgentCoinIcon, AgentIcon, AgentNetworkCoinIcon, AiIcon, AlertDialog, AmazonIcon, AnthropicChatIcon, AnthropicMessagesIcon, ApiIcon, Avatar, AzureIcon, Badge, BarListContent, BorderColors, BorderRadius, BranchIcon, BrandLoader, Breadcrumb, Button, ButtonsGroup, ButtonsGroupSeparator, ButtonsGroupText, CHART_COLORS, CONTEXT_FIELD_IDS, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTitle, Cell, CheckIcon, Checkbox, ChevronIcon, Chip, ChipsGroup, CodeBlock$1 as CodeBlock, CodeDiff, CodeEditor, CohereIcon, Collapsible, CollapsibleContent, CollapsiblePanel, CollapsibleTrigger, Colors, Column, Columns, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommitIcon, ContentBlock, ContentBlocks, ContextMenu, CopyButton, CrossIcon, Crumb, DATE_PRESETS, DEFAULT_LOGS_FILTERS_STORAGE_KEY, DEFAULT_TRACE_FILTERS_STORAGE_KEY, DashboardCard, DataCodeSection, DataDetailsPanel, DataKeysAndValues, DataList, DataListSkeleton, DataPanel, DatasetsIcon, DatePicker, DateRangeSelector, DateTimeCell, DateTimePicker, DateTimePickerContent, DateTimeRangePicker, DbIcon, DebugIcon, DefaultTrigger, DeploymentIcon, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DividerIcon, DocsIcon, Drawer, DrawerBackdrop, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerIndent, DrawerIndentBackground, DrawerPopup, DrawerPortal, DrawerProvider, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, EXTENSION_TO_MIME, ElementSelect, EmptyState, Entity, EntityContent, EntityDescription, EntityHeader, EntityIcon,
|
|
22078
|
+
export { AddField, AgentCoinIcon, AgentIcon, AgentNetworkCoinIcon, AiIcon, AlertDialog, AmazonIcon, AnthropicChatIcon, AnthropicMessagesIcon, ApiIcon, Avatar, AzureIcon, Badge, BarListContent, BorderColors, BorderRadius, BranchIcon, BrandLoader, Breadcrumb, Button, ButtonsGroup, ButtonsGroupSeparator, ButtonsGroupText, CHART_COLORS, CONTEXT_FIELD_IDS, Card, CardContent, CardDescription, CardFooter, CardHeader, CardHeading, CardTitle, Cell, CheckIcon, Checkbox, ChevronIcon, Chip, ChipsGroup, CodeBlock$1 as CodeBlock, CodeDiff, CodeEditor, CohereIcon, Collapsible, CollapsibleContent, CollapsiblePanel, CollapsibleTrigger, Colors, Column, Columns, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommitIcon, ContentBlock, ContentBlocks, ContextMenu, CopyButton, CrossIcon, Crumb, DATE_PRESETS, DEFAULT_LOGS_FILTERS_STORAGE_KEY, DEFAULT_TRACE_FILTERS_STORAGE_KEY, DashboardCard, DataCodeSection, DataDetailsPanel, DataKeysAndValues, DataList, DataListSkeleton, DataPanel, DatasetsIcon, DatePicker, DateRangeSelector, DateTimeCell, DateTimePicker, DateTimePickerContent, DateTimeRangePicker, DbIcon, DebugIcon, DefaultTrigger, DeploymentIcon, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DividerIcon, DocsIcon, Drawer, DrawerBackdrop, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerIndent, DrawerIndentBackground, DrawerPopup, DrawerPortal, DrawerProvider, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, EXTENSION_TO_MIME, ElementSelect, EmptyState, Entity, EntityContent, EntityDescription, EntityHeader, EntityIcon, EntityName, Entry, EntryCell, EnvIcon, ErrorBoundary, ErrorState, ExperimentsIcon, Field, FieldBlock, FieldBlocksLayout, FieldDescription, FieldList, FieldName, FieldNullable, FieldOptional, FieldRemove, FieldType, FiltersIcon, FolderIcon, FontSizes, GithubCoinIcon, GithubIcon, Glows, GoogleIcon, GroqIcon, Header$1 as Header, HeaderAction, HeaderGroup, HeaderTitle, HomeIcon, HorizontalBars, HoverCard, HoverCardContent, HoverCardTrigger, HoverPopover, Icon, InfoIcon, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, ItemList, ItemListSkeleton, JSONSchemaForm, JudgeIcon, Kbd, KeyValueList, KpiCardView, LOGS_DATE_FROM_PARAM, LOGS_DATE_PRESET_PARAM, LOGS_DATE_PRESET_VALUES, LOGS_DATE_TO_PARAM, LOGS_PROPERTY_FILTER_FIELD_IDS, LOGS_PROPERTY_FILTER_PARAM_BY_FIELD, LOGS_ROOT_ENTITY_TYPES, LOGS_ROOT_ENTITY_TYPE_OPTIONS, LOGS_ROOT_ENTITY_TYPE_PARAM, LOG_LEVEL_OPTIONS, LOG_LEVEL_VALUES, Label, LatencyCardView, LatencyIcon, LineHeights, ListSearch, LogDetailsView, Logo, LogoWithoutText, LogsDataList, DataListSkeleton as LogsDataListSkeleton, LogsErrorContent, LogsIcon, LogsLayout, LogsListView, LogsToolbar, MainContentContent, MainContentLayout, MainHeader, MainSidebar, MainSidebarMobileTrigger, MainSidebarProvider, MainSidebarTrigger, MarkdownRenderer, MastraIcon, McpCoinIcon, McpServerIcon, MemoryCardView, MemoryIcon, MetricsCard, MetricsDataTable, MetricsFlexGrid, MetricsIcon, MetricsKpiCard, MetricsLineChart, MetricsLineChartTooltip, MetricsProvider, MistralIcon, ModelUsageCostCardView, MultiColumn, MultiCombobox, NestedFields, NetlifyIcon, NoDataPageLayout, NoLogsInfo, NoTracesInfo, Notice, OPERATORS, OPERATOR_LABELS, OpenAIIcon, OpenErrorsInLogsButton, OpenInTracesButton, OpenaiChatIcon, PageHeader, PageHeadingContext, PageLayout, PanelSeparator, PermissionDenied, PickMultiPanel, Popover, PopoverContent, PopoverTrigger, PrevNextNav, ProcessStepList, ProcessStepListItem, ProcessStepProgressBar, ProcessorIcon, PromptIcon, PropertyFilterActions, PropertyFilterApplied, PropertyFilterCreator, ROOT_ENTITY_TYPES, ROOT_ENTITY_TYPE_OPTIONS, RadioGroup, RadioGroupItem, RepoIcon, RequestContextIcon, Root$1 as Root, Row, RuleBuilder, RuleFieldSelect, RuleOperatorSelect, RuleRow, RuleValueInput, ScorersIcon, ScoresCardView, ScoresDataList, ScrollArea, ScrollBar, ScrollableContainer, SearchFieldBlock, Searchbar, SearchbarWrapper, Section, SectionCard, SectionRoot, Sections, Select, SelectContent, SelectDataFilter, SelectFieldBlock, SelectGroup, SelectItem, SelectTrigger, SelectValue, SessionExpired, SettingsIcon, SettingsRow, Shadows, SideDialog, Sizes, Skeleton, SkillIcon, SlashIcon, Slider, Spacings, SpanDataPanelView, SpanDetailsView, SpanTokenUsage, Spinner, StackedRunsBars, StatusBadge, SubSectionRoot, Switch, TRACE_ANCHOR_SPAN_ID_PARAM, TRACE_DATE_FROM_PARAM, TRACE_DATE_PRESET_PARAM, TRACE_DATE_PRESET_VALUES, TRACE_DATE_TO_PARAM, TRACE_LIST_MODE_OPTIONS, TRACE_LIST_MODE_PARAM, TRACE_LIST_MODE_VALUES, TRACE_PROPERTY_FILTER_FIELD_IDS, TRACE_PROPERTY_FILTER_PARAM_BY_FIELD, TRACE_ROOT_ENTITY_TYPE_PARAM, TRACE_STATUS_OPTIONS, TRACE_STATUS_PARAM, TRACE_STATUS_VALUES, TRACE_SYNTHETIC_FILTER_FIELD_IDS, Tab, TabContent, TabList, Table, Tabs, Tbody, TextAndIcon, TextFieldBlock, Textarea, Th, Thead, ThemeProvider, ThemeToggle, TimePicker, TimelineExpandCol, TimelineNameCol, TimelineStructureSign, TimelineTimingCol, Toaster, TokenUsageByAgentCardView, ToolCoinIcon, ToolsIcon, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TraceDataPanelView, TraceDetailsView, TraceIcon, TraceKeysAndValues, TraceTimeline, TraceTimelineSpan, TracesDataList, TracesErrorContent, TracesLayout, TracesListModeToggle, TracesListView, TracesToolbar, TracesVolumeCardView, Tree, Truncate, TsIcon, Txt, TxtCell, VARIABLE_PATTERN, VariablesIcon, WorkflowCoinIcon, WorkflowIcon, WorkspacesIcon, XGroqIcon, applyLogsPropertyFilterTokens, applyMetricsPropertyFilterTokens, applyTracePropertyFilterTokens, buildLogsDrilldownUrl, buildLogsListFilters, buildMetricsDimensionalFilter, buildTraceListFilters, buildTracesDrilldownUrl, buttonVariants, buttonsGroupVariants, clearSavedLogsFilters, clearSavedMetricsFilters, clearSavedTraceFilters, cn, comboboxStyles, countLeafRules, createDefaultRule, createDefaultRuleGroup, createDrawerHandle, createField, createLogsPropertyFilterFields, createMetricsPropertyFilterFields, createTracePropertyFilterFields, createVariableAutocomplete, fieldsToJSONSchema, fileToBase64, flattenSchemaToVariables, focusRing, formElementFocus, formElementFocusWithin, formElementRadius, formElementSizes, formElementTransition, formatCompact, formatCost, formatHierarchicalSpans, formatJSON, generateDefaultValues, getAllSpanIds, getChildFieldOptions, getFieldOptionAtPath, getFieldOptionsFromSchema, getFileContentType, getInputPreview, getIsLinkActive, getItemListColumnTemplate, getLogsPropertyFilterTokens, getMainContentContentClassName, getMetricsPropertyFilterTokens, getPreservedLogsFilterParams, getPreservedTraceFilterParams, getShortId$1 as getShortId, getSpanDescendantIds, getSpanTypeUi, getStatusIcon, getToNextItemFn, getToPreviousItemFn, getTokenLimitMessage, getTracePropertyFilterTokens, hasAnyLogsFilterParams, hasAnyMetricsFilterParams, hasAnyTraceFilterParams, highlight, hoverEffects, inputVariants, is401UnauthorizedError, is403ForbiddenError, isBranchesNotSupportedError, isNonRetryableError, isObjectEmpty, isRule, isRuleGroup, isTokenLimitExceeded, isValidJson, isValidPreset, jsonSchemaToFields, loadLogsFiltersFromStorage, loadMetricsFiltersFromStorage, loadTraceFiltersFromStorage, lodashTitleCase, narrowWindowToBucket, navItemClasses, neutralizeFilterTokens, neutralizeLogsFilterTokens, parseError, parseFieldPath, saveLogsFiltersToStorage, saveMetricsFiltersToStorage, saveTraceFiltersToStorage, sharedFormElementDisabledStyle, sharedFormElementFocusStyle, sharedFormElementStyle, shouldRetryQuery, spanTypePrefixes, stringToColor, textareaVariants, toSigFigs, toast, transitions, truncateString, useActiveResourcesKpiMetrics, useActiveThreadsKpiMetrics, useAgentRunsKpiMetrics, useAutoscroll, useBranch, useCodemirrorTheme$3 as useCodemirrorTheme, useCopyToClipboard, useDrilldown, useEntityNames, useEnvironments, useInView, useJSONSchemaForm, useJSONSchemaFormField, useJSONSchemaFormNestedContext, useLatencyMetrics, useLogs, useLogsFilterPersistence, useLogsListNavigation, useLogsUrlState, useMainSidebar, useMaybeSidebar, useMetrics, useMetricsFilters, useModelCostKpiMetrics, useModelUsageCostMetrics, usePageHeading, usePlaygroundStore, useScoresMetrics, useServiceNames, useSpanDetail, useTableKeyboardNavigation, useTags, useTheme, useTokenUsageByAgentMetrics, useTopActiveThreadsMetrics, useTopResourcesByThreadsMetrics, useTotalTokensKpiMetrics, useTraceFilterPersistence, useTraceLightSpans, useTraceListNavigation, useTraceOrBranchSpans, useTraceSpanNavigation, useTraceSpans, useTraceUrlState, useTraceVolumeMetrics, useTraces, variableHighlight };
|
|
22319
22079
|
//# sourceMappingURL=index.es.js.map
|