@trycompai/design-system 1.0.41 → 1.0.42

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trycompai/design-system",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "description": "Design system for Comp AI - shadcn-style components with Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -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 <thead data-slot="table-header" className="bg-muted [&_tr]:border-b" {...props} />;
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'>) {