@trycompai/design-system 1.0.41 → 1.0.43
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/package.json
CHANGED
|
@@ -182,7 +182,7 @@ function Table({
|
|
|
182
182
|
<div
|
|
183
183
|
data-slot="table-container"
|
|
184
184
|
data-variant={variant}
|
|
185
|
-
className="relative w-full data-[variant=bordered]:border data-[variant=bordered]:rounded-lg"
|
|
185
|
+
className="relative w-full data-[variant=bordered]:border data-[variant=bordered]:rounded-lg data-[variant=bordered]:overflow-hidden"
|
|
186
186
|
>
|
|
187
187
|
<div data-slot="table-scroll" className="w-full overflow-x-auto">
|
|
188
188
|
<table
|
|
@@ -235,7 +235,13 @@ function Table({
|
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
function TableHeader({ ...props }: Omit<React.ComponentProps<'thead'>, 'className'>) {
|
|
238
|
-
return
|
|
238
|
+
return (
|
|
239
|
+
<thead
|
|
240
|
+
data-slot="table-header"
|
|
241
|
+
className="bg-muted [&_tr]:border-b in-data-[variant=bordered]:rounded-t-lg in-data-[variant=bordered]:overflow-hidden"
|
|
242
|
+
{...props}
|
|
243
|
+
/>
|
|
244
|
+
);
|
|
239
245
|
}
|
|
240
246
|
|
|
241
247
|
function TableBody({ ...props }: Omit<React.ComponentProps<'tbody'>, 'className'>) {
|
package/src/styles/globals.css
CHANGED
|
@@ -126,8 +126,8 @@
|
|
|
126
126
|
--card-foreground: oklch(0.985 0 0);
|
|
127
127
|
--popover: oklch(0.205 0 0);
|
|
128
128
|
--popover-foreground: oklch(0.985 0 0);
|
|
129
|
-
--primary: oklch(0.
|
|
130
|
-
--primary-foreground: oklch(0.
|
|
129
|
+
--primary: oklch(0.3797 0.077172 167.6784);
|
|
130
|
+
--primary-foreground: oklch(0.979 0.021 166.113);
|
|
131
131
|
--secondary: oklch(0.274 0.006 286.033);
|
|
132
132
|
--secondary-foreground: oklch(0.985 0 0);
|
|
133
133
|
--muted: oklch(0.18 0 0);
|
|
@@ -148,8 +148,8 @@
|
|
|
148
148
|
--chart-5: oklch(0.508 0.118 165.612);
|
|
149
149
|
--sidebar: oklch(0.205 0 0);
|
|
150
150
|
--sidebar-foreground: oklch(0.985 0 0);
|
|
151
|
-
--sidebar-primary: oklch(0.
|
|
152
|
-
--sidebar-primary-foreground: oklch(0.
|
|
151
|
+
--sidebar-primary: oklch(0.3797 0.077172 167.6784);
|
|
152
|
+
--sidebar-primary-foreground: oklch(0.979 0.021 166.113);
|
|
153
153
|
--sidebar-accent: oklch(0.22 0 0);
|
|
154
154
|
--sidebar-accent-foreground: oklch(0.985 0 0);
|
|
155
155
|
--sidebar-border: oklch(0.28 0 0);
|