@trycompai/design-system 1.0.28 → 1.0.29
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
|
@@ -53,7 +53,7 @@ function SheetContent({
|
|
|
53
53
|
<SheetPrimitive.Close
|
|
54
54
|
data-slot="sheet-close"
|
|
55
55
|
render={<Button variant="ghost" size="icon-sm" />}
|
|
56
|
-
className="absolute top-4 right-
|
|
56
|
+
className="absolute top-4 right-6"
|
|
57
57
|
>
|
|
58
58
|
<Close className="size-4" />
|
|
59
59
|
<span className="sr-only">Close</span>
|
|
@@ -65,18 +65,18 @@ function SheetContent({
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
function SheetHeader({ ...props }: Omit<React.ComponentProps<'div'>, 'className'>) {
|
|
68
|
-
return <div data-slot="sheet-header" className="gap-0.5 px-
|
|
68
|
+
return <div data-slot="sheet-header" className="gap-0.5 px-6 pt-4 flex flex-col" {...props} />;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
function SheetBody({ ...props }: Omit<React.ComponentProps<'div'>, 'className'>) {
|
|
72
|
-
return <div data-slot="sheet-body" className="flex-1 min-h-0 overflow-y-auto px-
|
|
72
|
+
return <div data-slot="sheet-body" className="flex-1 min-h-0 overflow-y-auto px-6 py-4" {...props} />;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
function SheetFooter({ ...props }: Omit<React.ComponentProps<'div'>, 'className'>) {
|
|
76
76
|
return (
|
|
77
77
|
<div
|
|
78
78
|
data-slot="sheet-footer"
|
|
79
|
-
className="gap-2 px-
|
|
79
|
+
className="gap-2 px-6 py-4 mt-auto flex flex-col border-t bg-background sticky bottom-0"
|
|
80
80
|
{...props}
|
|
81
81
|
/>
|
|
82
82
|
);
|