@coinbase/cds-mcp-server 8.22.1 → 8.23.0
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/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,14 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
|
|
9
9
|
<!-- template-start -->
|
|
10
10
|
|
|
11
|
+
## 8.23.0 ((12/1/2025, 06:33 AM PST))
|
|
12
|
+
|
|
13
|
+
This is an artificial version bump with no new change.
|
|
14
|
+
|
|
15
|
+
## 8.22.2 ((11/26/2025, 04:22 PM PST))
|
|
16
|
+
|
|
17
|
+
This is an artificial version bump with no new change.
|
|
18
|
+
|
|
11
19
|
## 8.22.1 ((11/24/2025, 02:58 PM PST))
|
|
12
20
|
|
|
13
21
|
This is an artificial version bump with no new change.
|
|
@@ -43,6 +43,28 @@ function FirstLastButtonsPaginationExample() {
|
|
|
43
43
|
}
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
+
### Custom First/Last Button Labels
|
|
47
|
+
|
|
48
|
+
Demonstrates customizing the text labels for the first and last page buttons using `firstPageButtonLabel` and `lastPageButtonLabel` props.
|
|
49
|
+
|
|
50
|
+
```jsx live
|
|
51
|
+
function CustomButtonLabelsPaginationExample() {
|
|
52
|
+
const [activePage, setActivePage] = useState(5);
|
|
53
|
+
const totalPages = 15;
|
|
54
|
+
|
|
55
|
+
return (
|
|
56
|
+
<Pagination
|
|
57
|
+
totalPages={totalPages}
|
|
58
|
+
activePage={activePage}
|
|
59
|
+
onChange={setActivePage}
|
|
60
|
+
showFirstLastButtons
|
|
61
|
+
firstPageButtonLabel="Start"
|
|
62
|
+
lastPageButtonLabel="End"
|
|
63
|
+
/>
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
```
|
|
67
|
+
|
|
46
68
|
### Pagination with Custom Counts
|
|
47
69
|
|
|
48
70
|
Demonstrates using `siblingCount` and `boundaryCount` to adjust the number of pages displayed around the current page and at the boundaries, useful for larger page ranges.
|
|
@@ -426,6 +448,7 @@ function TablePaginationExample() {
|
|
|
426
448
|
| `disabled` | `boolean` | No | `-` | - |
|
|
427
449
|
| `display` | `ResponsiveProp<grid \| revert \| none \| block \| inline \| inline-block \| flex \| inline-flex \| inline-grid \| contents \| flow-root \| list-item>` | No | `-` | - |
|
|
428
450
|
| `elevation` | `0 \| 1 \| 2` | No | `-` | - |
|
|
451
|
+
| `firstPageButtonLabel` | `string` | No | `First` | Custom label for the first page button |
|
|
429
452
|
| `flexBasis` | `ResponsiveProp<FlexBasis<string \| number>>` | No | `-` | - |
|
|
430
453
|
| `flexDirection` | `ResponsiveProp<column \| row \| row-reverse \| column-reverse>` | No | `-` | - |
|
|
431
454
|
| `flexGrow` | `inherit \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
@@ -454,6 +477,7 @@ function TablePaginationExample() {
|
|
|
454
477
|
| `height` | `ResponsiveProp<Height<string \| number>>` | No | `-` | - |
|
|
455
478
|
| `justifyContent` | `ResponsiveProp<left \| right \| center \| normal \| start \| end \| flex-start \| flex-end \| stretch \| space-between \| space-around \| space-evenly>` | No | `-` | - |
|
|
456
479
|
| `key` | `Key \| null` | No | `-` | - |
|
|
480
|
+
| `lastPageButtonLabel` | `string` | No | `Last` | Custom label for the last page button |
|
|
457
481
|
| `left` | `ResponsiveProp<Left<string \| number>>` | No | `-` | - |
|
|
458
482
|
| `lineHeight` | `ResponsiveProp<LineHeight \| inherit>` | No | `-` | - |
|
|
459
483
|
| `margin` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|