@trycompai/design-system 1.0.40 → 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
|
@@ -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'>) {
|
|
@@ -70,7 +70,7 @@ const sidebarWidths = {
|
|
|
70
70
|
} as const;
|
|
71
71
|
|
|
72
72
|
const appShellSidebarVariants = cva(
|
|
73
|
-
'shrink-0 overflow-hidden hidden md:flex md:flex-col transition-[width,padding,opacity] duration-200 ease-in-out',
|
|
73
|
+
'shrink-0 overflow-hidden overscroll-none hidden md:flex md:flex-col transition-[width,padding,opacity] duration-200 ease-in-out',
|
|
74
74
|
{
|
|
75
75
|
variants: {
|
|
76
76
|
variant: {
|
|
@@ -354,7 +354,7 @@ function AppShellBody({ children, ...props }: AppShellBodyProps) {
|
|
|
354
354
|
const { mobileDrawerOpen, setMobileDrawerOpen, railContent, sidebarContent, sidebarVariant } = useAppShell();
|
|
355
355
|
|
|
356
356
|
return (
|
|
357
|
-
<div data-slot="app-shell-body" className="
|
|
357
|
+
<div data-slot="app-shell-body" className="flex flex-1 overflow-hidden overscroll-none bg-background/50 min-h-0 gap-0" {...props}>
|
|
358
358
|
{/* Mobile drawer - shows both rail and sidebar */}
|
|
359
359
|
<div className="md:hidden">
|
|
360
360
|
{/* Backdrop */}
|