pxengine 0.1.103 → 0.1.104
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -37575,7 +37575,7 @@ var DataTableCard = React101.memo(
|
|
|
37575
37575
|
className: cn("border-b border-gray400/40 transition-colors hover:bg-white/[0.02]", rowIdx === safeRows.length - 1 && "border-b-0"),
|
|
37576
37576
|
style: { borderBottomColor: theme?.border },
|
|
37577
37577
|
children: cols.map((col, colIdx) => {
|
|
37578
|
-
const raw = row?.[col.key] ?? row?.[col.label];
|
|
37578
|
+
const raw = Array.isArray(row) ? row[colIdx] : row?.[col.key] ?? row?.[col.label];
|
|
37579
37579
|
const cell = raw ?? "\u2014";
|
|
37580
37580
|
const isHighlight = highlight != null && (col.key === highlight || col.label === highlight);
|
|
37581
37581
|
return /* @__PURE__ */ jsx128(
|