@umami/react-zen 1.0.2 → 1.0.3

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.js CHANGED
@@ -3393,7 +3393,7 @@ function DataCard({ data = [], labelWidth = "auto", className, ...props }) {
3393
3393
  border: true,
3394
3394
  borderRadius: "lg",
3395
3395
  ...props,
3396
- className: cn.cn("overflow-hidden text-sm", className),
3396
+ className: cn.cn("overflow-hidden bg-white text-sm dark:bg-black", className),
3397
3397
  children: data.map((row, index) => {
3398
3398
  const isLast = index === data.length - 1;
3399
3399
  return (
@@ -3763,7 +3763,10 @@ function DataTable({
3763
3763
  role: "table",
3764
3764
  "data-slot": "data-table",
3765
3765
  "data-selection-mode": isSelectable ? selectionMode : void 0,
3766
- className: cn.cn("grid overflow-hidden rounded-lg border border-border", className),
3766
+ className: cn.cn(
3767
+ "grid overflow-hidden rounded-lg border border-border bg-white dark:bg-black",
3768
+ className
3769
+ ),
3767
3770
  children: [
3768
3771
  /* @__PURE__ */ jsxRuntime.jsx(TableHeader, { role: "rowgroup", className: "contents", children: /* @__PURE__ */ jsxRuntime.jsxs(
3769
3772
  TableRow,