@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 +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/styles.full.css +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3371,7 +3371,7 @@ function DataCard({ data = [], labelWidth = "auto", className, ...props }) {
|
|
|
3371
3371
|
border: true,
|
|
3372
3372
|
borderRadius: "lg",
|
|
3373
3373
|
...props,
|
|
3374
|
-
className: cn("overflow-hidden text-sm", className),
|
|
3374
|
+
className: cn("overflow-hidden bg-white text-sm dark:bg-black", className),
|
|
3375
3375
|
children: data.map((row, index) => {
|
|
3376
3376
|
const isLast = index === data.length - 1;
|
|
3377
3377
|
return (
|
|
@@ -3741,7 +3741,10 @@ function DataTable({
|
|
|
3741
3741
|
role: "table",
|
|
3742
3742
|
"data-slot": "data-table",
|
|
3743
3743
|
"data-selection-mode": isSelectable ? selectionMode : void 0,
|
|
3744
|
-
className: cn(
|
|
3744
|
+
className: cn(
|
|
3745
|
+
"grid overflow-hidden rounded-lg border border-border bg-white dark:bg-black",
|
|
3746
|
+
className
|
|
3747
|
+
),
|
|
3745
3748
|
children: [
|
|
3746
3749
|
/* @__PURE__ */ jsx(TableHeader, { role: "rowgroup", className: "contents", children: /* @__PURE__ */ jsxs(
|
|
3747
3750
|
TableRow,
|