@trycompai/design-system 1.0.30 → 1.0.32

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.30",
3
+ "version": "1.0.32",
4
4
  "description": "Design system for Comp AI - shadcn-style components with Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -14,9 +14,9 @@ const pageLayoutVariants = cva('min-h-full bg-background text-foreground', {
14
14
  },
15
15
  padding: {
16
16
  none: '',
17
- sm: 'px-1.5 sm:px-2',
18
- default: 'px-1.5 sm:px-2 md:px-3 lg:px-4',
19
- lg: 'px-2 sm:px-3 md:px-4 lg:px-6',
17
+ sm: 'px-1.5 sm:px-2 py-2 sm:py-3',
18
+ default: 'px-1.5 sm:px-2 md:px-3 lg:px-4 py-2 sm:py-3 md:py-4 lg:py-5',
19
+ lg: 'px-2 sm:px-3 md:px-4 lg:px-6 py-3 sm:py-4 md:py-5 lg:py-6',
20
20
  },
21
21
  },
22
22
  defaultVariants: {
@@ -101,15 +101,19 @@ function PageLayout({
101
101
  const resolvedMaxWidth = maxWidth ?? (variant === 'center' ? 'sm' : 'xl');
102
102
 
103
103
  const content = loading ? (
104
- <Stack gap={gap}>
105
- {header}
106
- <PageLayoutSkeleton title={loadingTitle} includeHeader={!header} />
107
- </Stack>
104
+ <div data-slot="page-layout-content" className="pb-6">
105
+ <Stack gap={gap}>
106
+ {header}
107
+ <PageLayoutSkeleton title={loadingTitle} includeHeader={!header} />
108
+ </Stack>
109
+ </div>
108
110
  ) : (
109
- <Stack gap={gap}>
110
- {header}
111
- {children}
112
- </Stack>
111
+ <div data-slot="page-layout-content" className="pb-6">
112
+ <Stack gap={gap}>
113
+ {header}
114
+ {children}
115
+ </Stack>
116
+ </div>
113
117
  );
114
118
 
115
119
  return (