@polastack/design-system 0.1.37 → 0.1.38
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 +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2467,7 +2467,7 @@ var Table = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */
|
|
|
2467
2467
|
}
|
|
2468
2468
|
) }));
|
|
2469
2469
|
Table.displayName = "Table";
|
|
2470
|
-
var TableHeader = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30("thead", { ref, className: cn("[&_tr]:border-b bg-[var(--color-surface-
|
|
2470
|
+
var TableHeader = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30("thead", { ref, className: cn("[&_tr]:border-b bg-[var(--color-surface-muted)]", className), ...props }));
|
|
2471
2471
|
TableHeader.displayName = "TableHeader";
|
|
2472
2472
|
var TableBody = React31.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx30(
|
|
2473
2473
|
"tbody",
|
|
@@ -2783,7 +2783,7 @@ function DataTable({
|
|
|
2783
2783
|
};
|
|
2784
2784
|
};
|
|
2785
2785
|
const stickyCellClass = (colIndex) => colIndex < stickyColumns ? "bg-[var(--color-surface)] [tr:hover>&]:bg-[var(--color-surface-muted)] [tr[data-state=selected]>&]:bg-[var(--color-surface-accent)]" : "";
|
|
2786
|
-
const stickyHeadClass = (colIndex) => colIndex < stickyColumns ? "bg-[var(--color-surface-
|
|
2786
|
+
const stickyHeadClass = (colIndex) => colIndex < stickyColumns ? "bg-[var(--color-surface-muted)]" : "";
|
|
2787
2787
|
const showToolbar = enableRowSelection || enableColumnVisibility;
|
|
2788
2788
|
return /* @__PURE__ */ jsxs14("div", { className: cn("rounded-md border border-[var(--color-border)]", className), children: [
|
|
2789
2789
|
showToolbar && /* @__PURE__ */ jsx33(
|