pxengine 0.1.126 → 0.1.127
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/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11865,7 +11865,7 @@ var DataGrid = ({
|
|
|
11865
11865
|
Badge,
|
|
11866
11866
|
{
|
|
11867
11867
|
variant: "secondary",
|
|
11868
|
-
className: "bg-
|
|
11868
|
+
className: "bg-gold/10 text-gold border-gold/20",
|
|
11869
11869
|
children: typeof value === "object" ? JSON.stringify(value) : String(value ?? "")
|
|
11870
11870
|
}
|
|
11871
11871
|
);
|
|
@@ -11878,7 +11878,7 @@ var DataGrid = ({
|
|
|
11878
11878
|
item.name && /* @__PURE__ */ jsx104("span", { className: "font-medium", children: item.name })
|
|
11879
11879
|
] });
|
|
11880
11880
|
case "date":
|
|
11881
|
-
return /* @__PURE__ */ jsx104("span", { className: "text-
|
|
11881
|
+
return /* @__PURE__ */ jsx104("span", { className: "text-cardText/60", children: new Date(value).toLocaleDateString() });
|
|
11882
11882
|
case "number":
|
|
11883
11883
|
return /* @__PURE__ */ jsx104("span", { className: "font-mono font-medium", children: Number(value ?? 0).toLocaleString() });
|
|
11884
11884
|
default:
|
|
@@ -11889,14 +11889,14 @@ var DataGrid = ({
|
|
|
11889
11889
|
"div",
|
|
11890
11890
|
{
|
|
11891
11891
|
className: cn(
|
|
11892
|
-
"rounded-3xl border border-
|
|
11892
|
+
"rounded-3xl border border-gray400 bg-cardSurface text-cardText overflow-hidden shadow-sm",
|
|
11893
11893
|
className
|
|
11894
11894
|
),
|
|
11895
11895
|
children: /* @__PURE__ */ jsxs65(Table2, { children: [
|
|
11896
|
-
/* @__PURE__ */ jsx104(TableHeader, { className: "bg-
|
|
11896
|
+
/* @__PURE__ */ jsx104(TableHeader, { className: "bg-black/20", children: /* @__PURE__ */ jsx104(TableRow, { children: safeColumns.map((col) => /* @__PURE__ */ jsx104(
|
|
11897
11897
|
TableHead,
|
|
11898
11898
|
{
|
|
11899
|
-
className: "font-bold text-
|
|
11899
|
+
className: "font-bold text-cardText h-12",
|
|
11900
11900
|
children: col.header
|
|
11901
11901
|
},
|
|
11902
11902
|
col.accessorKey
|
|
@@ -11904,7 +11904,7 @@ var DataGrid = ({
|
|
|
11904
11904
|
/* @__PURE__ */ jsx104(TableBody, { children: safeData.slice(0, pageSize).map((item, idx) => /* @__PURE__ */ jsx104(
|
|
11905
11905
|
TableRow,
|
|
11906
11906
|
{
|
|
11907
|
-
className: "hover:bg-
|
|
11907
|
+
className: "hover:bg-white/[0.02] transition-colors border-gray400/40",
|
|
11908
11908
|
children: safeColumns.map((col) => /* @__PURE__ */ jsx104(TableCell, { className: "py-4", children: renderCell(item, col) }, col.accessorKey))
|
|
11909
11909
|
},
|
|
11910
11910
|
idx
|