@coinbase/cds-mcp-server 8.21.3 → 8.21.4
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,10 @@ All notable changes to this project will be documented in this file.
|
|
|
8
8
|
|
|
9
9
|
<!-- template-start -->
|
|
10
10
|
|
|
11
|
+
## 8.21.4 ((11/18/2025, 12:32 PM PST))
|
|
12
|
+
|
|
13
|
+
This is an artificial version bump with no new change.
|
|
14
|
+
|
|
11
15
|
## 8.21.3 ((11/17/2025, 10:03 AM PST))
|
|
12
16
|
|
|
13
17
|
This is an artificial version bump with no new change.
|
|
@@ -177,6 +177,38 @@ function CompactExample() {
|
|
|
177
177
|
}
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
+
You can also use multi-selection mode while in a compact size.
|
|
181
|
+
|
|
182
|
+
```jsx
|
|
183
|
+
function MultiSelectExample() {
|
|
184
|
+
const { value, onChange } = useMultiSelect({
|
|
185
|
+
initialValue: ['1', '3'],
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
const options = [
|
|
189
|
+
{ value: '1', label: 'Option 1' },
|
|
190
|
+
{ value: '2', label: 'Option 2' },
|
|
191
|
+
{ value: '3', label: 'Option 3' },
|
|
192
|
+
{ value: '4', label: 'Option 4' },
|
|
193
|
+
{ value: '5', label: 'Option 5' },
|
|
194
|
+
];
|
|
195
|
+
|
|
196
|
+
return (
|
|
197
|
+
<Select
|
|
198
|
+
compact
|
|
199
|
+
type="multi"
|
|
200
|
+
label="Choose multiple options"
|
|
201
|
+
value={value}
|
|
202
|
+
onChange={onChange}
|
|
203
|
+
options={options}
|
|
204
|
+
placeholder="Select options"
|
|
205
|
+
selectAllLabel="Select all options"
|
|
206
|
+
clearAllLabel="Clear all selections"
|
|
207
|
+
/>
|
|
208
|
+
);
|
|
209
|
+
}
|
|
210
|
+
```
|
|
211
|
+
|
|
180
212
|
### Disabled States
|
|
181
213
|
|
|
182
214
|
Components can be disabled entirely or have individual options disabled.
|
|
@@ -183,6 +183,44 @@ function CompactExample() {
|
|
|
183
183
|
}
|
|
184
184
|
```
|
|
185
185
|
|
|
186
|
+
You can also use multi-selection mode while in a compact size.
|
|
187
|
+
|
|
188
|
+
```jsx live
|
|
189
|
+
function CompactMultiSelectExample() {
|
|
190
|
+
const { value, onChange } = useMultiSelect({
|
|
191
|
+
initialValue: ['1', '3', '7', '8', '9', '10'],
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
const options = [
|
|
195
|
+
{ value: '1', label: 'Option 1' },
|
|
196
|
+
{ value: '2', label: 'Option 2' },
|
|
197
|
+
{ value: '3', label: 'Option 3' },
|
|
198
|
+
{ value: '4', label: 'Option 4' },
|
|
199
|
+
{ value: '5', label: 'Option 5' },
|
|
200
|
+
{ value: '6', label: 'Option 6' },
|
|
201
|
+
{ value: '7', label: 'Option 7' },
|
|
202
|
+
{ value: '8', label: 'Option 8' },
|
|
203
|
+
{ value: '9', label: 'Option 9' },
|
|
204
|
+
{ value: '10', label: 'Option 10' },
|
|
205
|
+
];
|
|
206
|
+
|
|
207
|
+
return (
|
|
208
|
+
<Select
|
|
209
|
+
compact
|
|
210
|
+
type="multi"
|
|
211
|
+
label="Choose multiple options"
|
|
212
|
+
value={value}
|
|
213
|
+
onChange={onChange}
|
|
214
|
+
options={options}
|
|
215
|
+
placeholder="Select options"
|
|
216
|
+
selectAllLabel="Select all options"
|
|
217
|
+
clearAllLabel="Clear all selections"
|
|
218
|
+
maxSelectedOptionsToShow={2}
|
|
219
|
+
/>
|
|
220
|
+
);
|
|
221
|
+
}
|
|
222
|
+
```
|
|
223
|
+
|
|
186
224
|
### Disabled States
|
|
187
225
|
|
|
188
226
|
Components can be disabled entirely or have individual options disabled.
|