@trycompai/design-system 1.0.31 → 1.0.33

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.31",
3
+ "version": "1.0.33",
4
4
  "description": "Design system for Comp AI - shadcn-style components with Tailwind CSS",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -191,7 +191,7 @@ function Table({
191
191
  {...props}
192
192
  />
193
193
  </div>
194
- {paginationContent && (
194
+ {pagination && (
195
195
  <div
196
196
  data-slot="table-pagination"
197
197
  data-has-size={showPageSizeSelector ? 'true' : 'false'}
@@ -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 (