@ceed/ads 1.16.0-next.7 → 1.16.0-next.9
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/dist/components/Pagination/Pagination.d.ts +1 -0
- package/dist/components/navigation/Pagination.md +11 -2
- package/dist/index.cjs +347 -232
- package/dist/index.js +155 -40
- package/framer/index.js +40 -40
- package/package.json +1 -1
|
@@ -21,6 +21,7 @@ interface PaginationProps extends React.ComponentProps<typeof PaginationRoot> {
|
|
|
21
21
|
rowCount: number;
|
|
22
22
|
onPageChange: (newPage: number) => void;
|
|
23
23
|
size?: 'sm' | 'md' | 'lg';
|
|
24
|
+
variant?: 'standard' | 'compact';
|
|
24
25
|
}
|
|
25
26
|
declare function Pagination(props: PaginationProps): React.JSX.Element;
|
|
26
27
|
declare namespace Pagination {
|
|
@@ -2,8 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## Introduction
|
|
4
4
|
|
|
5
|
-
```
|
|
6
|
-
|
|
5
|
+
```tsx
|
|
6
|
+
<Stack spacing={4}>
|
|
7
|
+
<Stack spacing={1}>
|
|
8
|
+
<div>Standard</div>
|
|
9
|
+
<Pagination {...args} variant="standard" />
|
|
10
|
+
</Stack>
|
|
11
|
+
<Stack spacing={1}>
|
|
12
|
+
<div>Compact</div>
|
|
13
|
+
<Pagination {...args} variant="compact" />
|
|
14
|
+
</Stack>
|
|
15
|
+
</Stack>
|
|
7
16
|
```
|
|
8
17
|
|
|
9
18
|
| Field | Description | Default |
|