@coinbase/cds-mcp-server 8.52.1 → 8.53.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 +8 -0
- package/mcp-docs/mobile/components/Alert.txt +1 -1
- package/mcp-docs/mobile/components/AreaChart.txt +2 -0
- package/mcp-docs/mobile/components/BarChart.txt +33 -0
- package/mcp-docs/mobile/components/CartesianChart.txt +2 -0
- package/mcp-docs/mobile/components/Checkbox.txt +2 -2
- package/mcp-docs/mobile/components/Combobox.txt +380 -83
- package/mcp-docs/mobile/components/LineChart.txt +232 -112
- package/mcp-docs/mobile/components/NudgeCard.txt +1 -1
- package/mcp-docs/mobile/components/Pictogram.txt +1 -1
- package/mcp-docs/mobile/components/Radio.txt +2 -2
- package/mcp-docs/mobile/components/Scrubber.txt +2 -0
- package/mcp-docs/mobile/components/SelectChipAlpha.txt +52 -40
- package/mcp-docs/web/components/Alert.txt +1 -1
- package/mcp-docs/web/components/Checkbox.txt +2 -2
- package/mcp-docs/web/components/Combobox.txt +422 -83
- package/mcp-docs/web/components/Legend.txt +6 -6
- package/mcp-docs/web/components/LineChart.txt +16 -16
- package/mcp-docs/web/components/NudgeCard.txt +1 -1
- package/mcp-docs/web/components/Pictogram.txt +1 -1
- package/mcp-docs/web/components/Radio.txt +2 -2
- package/mcp-docs/web/components/SegmentedControl.txt +174 -0
- package/mcp-docs/web/components/SelectChipAlpha.txt +47 -13
- package/mcp-docs/web/components/TileButton.txt +1 -1
- package/mcp-docs/web/routes.txt +1 -0
- package/package.json +1 -1
|
@@ -10,13 +10,15 @@ import { SelectChip } from '@coinbase/cds-mobile/alpha/select-chip/SelectChip'
|
|
|
10
10
|
|
|
11
11
|
## Examples
|
|
12
12
|
|
|
13
|
-
SelectChip is built on top of the [Alpha Select](/components/inputs/SelectAlpha/)
|
|
13
|
+
SelectChip is a chip-styled control built on top of the [Alpha Select](/components/inputs/SelectAlpha/). It supports single and multi-selection, option groups, custom start/end nodes, and shares the same `classNames` and `styles` API for targeting internal elements (see the Styles tab).
|
|
14
14
|
|
|
15
15
|
:::note Duplicate Values
|
|
16
16
|
Avoid using options with duplicate values. Each option's `value` should be unique within the options array to ensure proper selection behavior.
|
|
17
17
|
:::
|
|
18
18
|
|
|
19
|
-
###
|
|
19
|
+
### Basics
|
|
20
|
+
|
|
21
|
+
#### Basic usage
|
|
20
22
|
|
|
21
23
|
```tsx
|
|
22
24
|
function ExampleDefault() {
|
|
@@ -30,7 +32,6 @@ function ExampleDefault() {
|
|
|
30
32
|
const [value, setValue] = useState<string | null>(null);
|
|
31
33
|
return (
|
|
32
34
|
<SelectChip
|
|
33
|
-
label="Select a value"
|
|
34
35
|
accessibilityLabel="Select a value"
|
|
35
36
|
onChange={setValue}
|
|
36
37
|
options={exampleOptions}
|
|
@@ -41,7 +42,9 @@ function ExampleDefault() {
|
|
|
41
42
|
}
|
|
42
43
|
```
|
|
43
44
|
|
|
44
|
-
### Single select
|
|
45
|
+
### Single select
|
|
46
|
+
|
|
47
|
+
#### With groups
|
|
45
48
|
|
|
46
49
|
```tsx
|
|
47
50
|
function ExampleSingleGroups() {
|
|
@@ -70,7 +73,6 @@ function ExampleSingleGroups() {
|
|
|
70
73
|
return (
|
|
71
74
|
<SelectChip
|
|
72
75
|
accessibilityLabel="Select a value"
|
|
73
|
-
label="Select a value"
|
|
74
76
|
onChange={setValue}
|
|
75
77
|
options={exampleOptions}
|
|
76
78
|
placeholder="Choose an option"
|
|
@@ -80,7 +82,7 @@ function ExampleSingleGroups() {
|
|
|
80
82
|
}
|
|
81
83
|
```
|
|
82
84
|
|
|
83
|
-
|
|
85
|
+
#### With disabled group
|
|
84
86
|
|
|
85
87
|
```tsx
|
|
86
88
|
function ExampleDisabledGroup() {
|
|
@@ -110,7 +112,6 @@ function ExampleDisabledGroup() {
|
|
|
110
112
|
return (
|
|
111
113
|
<SelectChip
|
|
112
114
|
accessibilityLabel="Select a value"
|
|
113
|
-
label="Select a value"
|
|
114
115
|
onChange={setValue}
|
|
115
116
|
options={exampleOptions}
|
|
116
117
|
placeholder="Choose an option"
|
|
@@ -122,6 +123,8 @@ function ExampleDisabledGroup() {
|
|
|
122
123
|
|
|
123
124
|
### Multi-select
|
|
124
125
|
|
|
126
|
+
#### Basic
|
|
127
|
+
|
|
125
128
|
:::note Disabled Options and Select All
|
|
126
129
|
Disabled options and options inside disabled groups will be skipped when "Select all" is pressed. Only enabled options will be selected.
|
|
127
130
|
:::
|
|
@@ -138,8 +141,7 @@ function ExampleMulti() {
|
|
|
138
141
|
const { value, onChange } = useMultiSelect({ initialValue: [] });
|
|
139
142
|
return (
|
|
140
143
|
<SelectChip
|
|
141
|
-
|
|
142
|
-
label="Select multiple values"
|
|
144
|
+
controlAccessibilityLabel="Select multiple values"
|
|
143
145
|
onChange={onChange}
|
|
144
146
|
options={exampleOptions}
|
|
145
147
|
placeholder="Choose options"
|
|
@@ -150,7 +152,7 @@ function ExampleMulti() {
|
|
|
150
152
|
}
|
|
151
153
|
```
|
|
152
154
|
|
|
153
|
-
|
|
155
|
+
#### With groups
|
|
154
156
|
|
|
155
157
|
```tsx
|
|
156
158
|
function ExampleMultiGroups() {
|
|
@@ -178,8 +180,7 @@ function ExampleMultiGroups() {
|
|
|
178
180
|
const { value, onChange } = useMultiSelect({ initialValue: [] });
|
|
179
181
|
return (
|
|
180
182
|
<SelectChip
|
|
181
|
-
|
|
182
|
-
label="Select multiple values"
|
|
183
|
+
controlAccessibilityLabel="Select multiple values"
|
|
183
184
|
onChange={onChange}
|
|
184
185
|
options={exampleOptions}
|
|
185
186
|
placeholder="Choose options"
|
|
@@ -190,7 +191,7 @@ function ExampleMultiGroups() {
|
|
|
190
191
|
}
|
|
191
192
|
```
|
|
192
193
|
|
|
193
|
-
|
|
194
|
+
#### With assets
|
|
194
195
|
|
|
195
196
|
```tsx
|
|
196
197
|
function ExampleMultiAssets() {
|
|
@@ -212,11 +213,8 @@ function ExampleMultiAssets() {
|
|
|
212
213
|
initialValue: ['eth', 'btc'],
|
|
213
214
|
});
|
|
214
215
|
|
|
215
|
-
// Get startNode based on selected assets
|
|
216
216
|
const startNode = useMemo(() => {
|
|
217
217
|
if (value.length === 0) return null;
|
|
218
|
-
|
|
219
|
-
// Multiple assets selected - use RemoteImageGroup
|
|
220
218
|
return (
|
|
221
219
|
<RemoteImageGroup shape="circle" size={24}>
|
|
222
220
|
{value.map((assetValue) => {
|
|
@@ -230,7 +228,7 @@ function ExampleMultiAssets() {
|
|
|
230
228
|
|
|
231
229
|
return (
|
|
232
230
|
<SelectChip
|
|
233
|
-
|
|
231
|
+
controlAccessibilityLabel="Select multiple assets"
|
|
234
232
|
maxWidth={400}
|
|
235
233
|
onChange={onChange}
|
|
236
234
|
options={exampleOptions}
|
|
@@ -243,7 +241,9 @@ function ExampleMultiAssets() {
|
|
|
243
241
|
}
|
|
244
242
|
```
|
|
245
243
|
|
|
246
|
-
###
|
|
244
|
+
### Customization
|
|
245
|
+
|
|
246
|
+
#### Compact
|
|
247
247
|
|
|
248
248
|
```tsx
|
|
249
249
|
function ExampleCompact() {
|
|
@@ -257,7 +257,6 @@ function ExampleCompact() {
|
|
|
257
257
|
return (
|
|
258
258
|
<SelectChip
|
|
259
259
|
compact
|
|
260
|
-
label="Choose an option"
|
|
261
260
|
onChange={setValue}
|
|
262
261
|
options={exampleOptions}
|
|
263
262
|
placeholder="Choose an option"
|
|
@@ -267,7 +266,33 @@ function ExampleCompact() {
|
|
|
267
266
|
}
|
|
268
267
|
```
|
|
269
268
|
|
|
270
|
-
|
|
269
|
+
#### Inverted
|
|
270
|
+
|
|
271
|
+
```tsx
|
|
272
|
+
function ExampleInverted() {
|
|
273
|
+
const exampleOptions = [
|
|
274
|
+
{ value: null, label: 'Clear selection' },
|
|
275
|
+
{ value: '1', label: 'Option 1' },
|
|
276
|
+
{ value: '2', label: 'Option 2' },
|
|
277
|
+
{ value: '3', label: 'Option 3' },
|
|
278
|
+
{ value: '4', label: 'Option 4' },
|
|
279
|
+
];
|
|
280
|
+
const [value, setValue] = useState<string | null>(null);
|
|
281
|
+
const hasValue = value !== null;
|
|
282
|
+
return (
|
|
283
|
+
<SelectChip
|
|
284
|
+
accessibilityLabel="Select a value"
|
|
285
|
+
invertColorScheme={!hasValue}
|
|
286
|
+
onChange={setValue}
|
|
287
|
+
options={exampleOptions}
|
|
288
|
+
placeholder="Choose an option"
|
|
289
|
+
value={value}
|
|
290
|
+
/>
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
#### Start and end nodes
|
|
271
296
|
|
|
272
297
|
```tsx
|
|
273
298
|
function ExampleWithNodes() {
|
|
@@ -290,7 +315,6 @@ function ExampleWithNodes() {
|
|
|
290
315
|
};
|
|
291
316
|
return (
|
|
292
317
|
<SelectChip
|
|
293
|
-
label="Choose an asset"
|
|
294
318
|
onChange={setValue}
|
|
295
319
|
options={exampleOptions}
|
|
296
320
|
placeholder="Choose an asset"
|
|
@@ -301,24 +325,16 @@ function ExampleWithNodes() {
|
|
|
301
325
|
}
|
|
302
326
|
```
|
|
303
327
|
|
|
304
|
-
|
|
328
|
+
#### Empty state
|
|
305
329
|
|
|
306
330
|
```tsx
|
|
307
331
|
function ExampleEmptyOptions() {
|
|
308
332
|
const [value, setValue] = useState<string | null>(null);
|
|
309
|
-
return
|
|
310
|
-
<SelectChip
|
|
311
|
-
label="Select ..."
|
|
312
|
-
onChange={setValue}
|
|
313
|
-
options={[]}
|
|
314
|
-
placeholder="Select ..."
|
|
315
|
-
value={value}
|
|
316
|
-
/>
|
|
317
|
-
);
|
|
333
|
+
return <SelectChip onChange={setValue} options={[]} placeholder="Select ..." value={value} />;
|
|
318
334
|
}
|
|
319
335
|
```
|
|
320
336
|
|
|
321
|
-
|
|
337
|
+
#### Options with descriptions
|
|
322
338
|
|
|
323
339
|
```tsx
|
|
324
340
|
function ExampleDescriptions() {
|
|
@@ -332,7 +348,6 @@ function ExampleDescriptions() {
|
|
|
332
348
|
return (
|
|
333
349
|
<SelectChip
|
|
334
350
|
accessibilityLabel="Select a value"
|
|
335
|
-
label="Select a value"
|
|
336
351
|
onChange={setValue}
|
|
337
352
|
options={exampleOptions}
|
|
338
353
|
placeholder="Choose an option"
|
|
@@ -342,7 +357,7 @@ function ExampleDescriptions() {
|
|
|
342
357
|
}
|
|
343
358
|
```
|
|
344
359
|
|
|
345
|
-
|
|
360
|
+
#### Display value override
|
|
346
361
|
|
|
347
362
|
Use the `displayValue` prop to override the displayed value and avoid truncation, especially in multi-select scenarios where multiple option labels might be too long to display.
|
|
348
363
|
|
|
@@ -362,7 +377,7 @@ function ExampleDisplayValue() {
|
|
|
362
377
|
: undefined;
|
|
363
378
|
return (
|
|
364
379
|
<SelectChip
|
|
365
|
-
|
|
380
|
+
controlAccessibilityLabel="Select multiple values"
|
|
366
381
|
displayValue={displayValue}
|
|
367
382
|
onChange={onChange}
|
|
368
383
|
options={exampleOptions}
|
|
@@ -374,7 +389,7 @@ function ExampleDisplayValue() {
|
|
|
374
389
|
}
|
|
375
390
|
```
|
|
376
391
|
|
|
377
|
-
|
|
392
|
+
#### Max width
|
|
378
393
|
|
|
379
394
|
```tsx
|
|
380
395
|
function ExampleMaxWidth() {
|
|
@@ -391,7 +406,6 @@ function ExampleMaxWidth() {
|
|
|
391
406
|
<Text>Default maxWidth (200px):</Text>
|
|
392
407
|
<SelectChip
|
|
393
408
|
accessibilityLabel="Select a value"
|
|
394
|
-
label="Select a value"
|
|
395
409
|
onChange={setValue}
|
|
396
410
|
options={exampleOptions}
|
|
397
411
|
placeholder="Choose an option"
|
|
@@ -402,7 +416,6 @@ function ExampleMaxWidth() {
|
|
|
402
416
|
<Text>Custom maxWidth (150px):</Text>
|
|
403
417
|
<SelectChip
|
|
404
418
|
accessibilityLabel="Select a value"
|
|
405
|
-
label="Select a value"
|
|
406
419
|
maxWidth={150}
|
|
407
420
|
onChange={setValue}
|
|
408
421
|
options={exampleOptions}
|
|
@@ -414,7 +427,6 @@ function ExampleMaxWidth() {
|
|
|
414
427
|
<Text>No maxWidth constraint:</Text>
|
|
415
428
|
<SelectChip
|
|
416
429
|
accessibilityLabel="Select a value"
|
|
417
|
-
label="Select a value"
|
|
418
430
|
maxWidth="100%"
|
|
419
431
|
onChange={setValue}
|
|
420
432
|
options={exampleOptions}
|
|
@@ -427,7 +439,7 @@ function ExampleMaxWidth() {
|
|
|
427
439
|
}
|
|
428
440
|
```
|
|
429
441
|
|
|
430
|
-
|
|
442
|
+
#### Disabled state
|
|
431
443
|
|
|
432
444
|
```tsx
|
|
433
445
|
function ExampleDisabled() {
|
|
@@ -157,7 +157,7 @@ function AlertOnModalExample() {
|
|
|
157
157
|
| `onDidClose` | `((() => void) & (() => void))` | No | `-` | Callback fired after the component is closed. |
|
|
158
158
|
| `onDismissActionPress` | `(() => void)` | No | `-` | Callback function fired when the dismiss action is pressed |
|
|
159
159
|
| `onPreferredActionPress` | `(() => void)` | No | `-` | Callback function fired when the preferred action is pressed |
|
|
160
|
-
| `pictogram` | `key \| done \| loop \| cardSuccess \| warning \| error \| add \| arrowsUpDown \| browser \| calculator \| calendar \| checkmark \| clock \| coinbaseOneLogo \| crystalBallInsight \| derivativesProduct \| email \| gasFees \| identityCard \| instantUnstakingClock \| laptop \| learningRewardsProduct \| lock \| passport \| paypal \| phone \| pieChartData \| pieChartWithArrow \| planet \| robot \| safe \| securityKey \| settings \| shield \| support \| taxes \| tokenSales \| trading \| verifiedPools \| wallet \| 2fa \| accountsNavigation \| accreditedInvestor \| addCard \| addPayment \| addPhone \| addressBook \| addToWatchlist \| addWallet \| advancedTradingDesktop \| advancedTradingNavigation \| advancedTradingRebates \| agent \| alerts \| alertsCoinbaseOne \| analyticsNavigation \| apartOfDropsNft \| applyForHigherLimits \| apyInterest \| assetEncryption \| assetHubNavigation \| assetManagement \| assetManagementNavigation \| assetMeasurements \| assetMovement \| authenticationApp \| authenticator \| authenticatorAlt \| authenticatorProgress \| avatarAa \| avatarAb \| avatarAc \| avatarAd \| avatarAe \| avatarAf \| avatarAg \| avatarAh \| avatarAi \| avatarAj \| avatarBa \| avatarBb \| avatarBc \| avatarBd \| avatarBe \| avatarBf \| avatarBg \| avatarBh \| avatarBi \| avatarBj \| avatarCa \| avatarCb \| avatarCc \| avatarCd \| avatarCe \| avatarCf \| avatarCg \| avatarCh \| avatarCi \| avatarCj \| avatarDa \| avatarDb \| avatarDc \| avatarDd \| avatarDe \| avatarDf \| avatarDg \| avatarDh \| avatarDi \| avatarDj \| avatarEa \| avatarEb \| avatarEc \| avatarEd \| avatarEe \| avatarEf \| avatarEg \| avatarEh \| avatarEi \| avatarEj \| avatarFa \| avatarFb \| avatarFc \| avatarFd \| avatarFe \| avatarFf \| avatarFg \| avatarFh \| avatarFi \| avatarFj \| avatarGa \| avatarGb \| avatarGc \| avatarGd \| avatarGe \| avatarGf \| avatarGg \| avatarGh \| avatarGi \| avatarGj \| avatarHa \| avatarHb \| avatarHc \| avatarHd \| avatarHe \| avatarHf \| avatarHg \| avatarHh \| avatarHi \| avatarHj \| avatarIa \| avatarIb \| avatarIc \| avatarId \| avatarIe \| avatarIf \| avatarIg \| avatarIh \| avatarIi \| avatarIj \| avatarJa \| avatarJb \| avatarJc \| avatarJd \| avatarJe \| avatarJf \| avatarJg \| avatarJh \| avatarJi \| avatarJj \| barChart \| baseAscend \| baseCertificateStar \| baseChartSmall \| baseChatBubbleHeart \| baseCheckSmall \| baseCoinCryptoSmall \| baseCoinNetworkSmall \| baseCoinStack \| baseCoinStar \| baseComet \| baseComputer \| baseConfetti \| baseConnectApps \| baseConnectSmall \| baseCreatorCoin \| baseDecentralizationSmall \| baseDiamondSmall \| baseDiamondTrophy \| baseDoor \| baseEarnedBadge \| baseEmptySmall \| baseErrorButterflySmall \| baseErrorSmall \| baseExchange \| baseFire \| baseGem \| baseGlobe \| baseHandStar \| baseLayout \| baseLightningbolt \| baseLoadingSmall \| baseLocationSmall \| baseLogo \| baseLogoNavigation \| baseMedal \| baseMessaging \| baseMintNftSmall \| baseNetworkSmall \| baseNftSmall \| basePaycoinSmall \| basePeopleSmall \| basePiechartSmall \| basePlant \| basePower \| baseRibbon \| baseRocket \| baseRockon \| baseSaved \| baseSecuritySmall \| baseSendSmall \| baseSignin \| baseSmile \| baseStack \| baseStar \| baseTargetSmall \| baseTile \| bigBtcSend \| bitcoin \| bitcoinPizza \| bitcoinRewards \| bitcoinWhitePaper \| blockchainConnection \| bonusFivePercent \| bonusTwoPercent \| borrowCoins \| borrowingLending \| borrowNavigation \| browserMultiPlatform \| browserTransaction \| btcOneHundred \| bundle \| businessProduct \| calendarCaution \| calendarHighlight \| candleSticksGraph \| cardBlocked \| cardDeclined \| cardNavigation \| cb1BankTransfers \| chart \| chat \| cloudNavigation \| coinbaseLogoAdvancedBrand \| coinbaseLogoNavigation \| coinbaseOneAuthenticator \| coinbaseOneChat \| coinbaseOneEarn \| coinbaseOneEarnCoins \| coinbaseOneEarnCoinsLogo \| coinbaseOneFiat \| coinbaseOneProductIcon \| coinbaseOneProductInvestWeekly \| coinbaseOneRefreshed \| coinbaseOneShield \| coinbaseOneTrade \| coinbaseOneTrusted \| coinbaseOneUnlimitedRewards \| coinbaseUnlockOffers \| coinbaseWalletApp \| coinFocus \| coinShare \| coldStorageCheck \| collectionOfAssets \| commerceCheckout \| commerceInvoice \| commerceNavigation \| commodities \| completeQuiz \| complianceNavigation \| congratulations \| connectNavigation \| contactInfo \| controlWalletStorage \| creative \| creditCard \| crypto101 \| cryptoCard \| cryptoCoins \| cryptoFolder \| custodialJourney \| custodyNavigation \| dataMarketplaceNavigation \| decentralizationEverything \| decentralizedExchange \| decentralizedIdentity \| decentralizedWeb3 \| defiEarnMoment \| delegate \| delegateNavigation \| derivativesNavigation \| developerPlatformNavigation \| developerSDKNavigation \| directDepositNavigation \| dollarShowcase \| driversLicense \| driversLicenseWheel \| earnCoins \| earnGraph \| earnNavigation \| easyToUse \| economyGlobal \| emailAndMessages \| enableVoting \| envelope \| ethereumFocus \| ethRewards \| ethStaking \| ethStakingChart \| ethStakingRewards \| ethToken \| exchangeNavigation \| explore \| fast \| faucetNavigation \| feesRestriction \| fiat \| finance \| findYourSelection \| formDownload \| futures \| futuresCoinbaseOne \| gem \| genericCountryIDCard \| getStarted \| giftbox \| globalConnections \| globalPayments \| globalTransactions \| googleAuthenticator \| governance \| hardwareWallet \| helpCenterNavigation \| higherLimits \| holdingCoin \| idBlock \| idError \| idVerification \| increaseLimits \| institutionalNavigation \| institutions \| internationalExchangeNavigation \| internet \| investGraph \| laptopCharts \| laptopVideo \| layerNetworks \| leadGraph \| learn \| learningRewardsNavigation \| lightbulbLearn \| lightningNetworkSend \| linkYourAccount \| listingFees \| locationUsa \| lowFees \| manageWeb3SignersAcct \| miningCoins \| mintedNft \| mobileCharts \| mobileError \| mobileNotifcation \| mobileSuccess \| mobileWarning \| moneyCrypto \| moneyEarn \| moneySwift \| monitoringPerformance \| moreThanBitcoin \| multiAccountsAndCards \| multiPlatform \| multipleAssets \| musicAndSounds \| myNumberCard \| newUserChecklistBuyCrypto \| newUserChecklistCompleteAccount \| newUserChecklistVerifyId \| nftAvatar \| nftLibrary \| nftNavigation \| noAnnualFee \| noNftFound \| notificationHubAnalysis \| notificationHubNews \| notificationHubPortfolio \| notificationHubSocial \| notifications \| noVisibility \| noWiFi \| orders \| outage \| partialCoins \| participateNavigation \| passwordWalletLocked \| payNavigation \| peerToPeer \| pieChart \| pieChartWithArrowBlue \| pizza \| pluginBrowser \| podium \| positiveReviews \| predictionMarkets \| premiumInvestor \| priceTracking \| primeMobileApp \| primeNavigation \| privateClientNavigation \| proNavigation \| protectionPlan \| queryTransactNavigation \| receipt \| recurringPurchases \| restaking \| reviewAndAdd \| rewardsNavigation \| riskStaking \| rosettaNavigation \| securedAssets \| security \| securityCoinShield \| seedPhrase \| selectAddNft \| selfCustodyWallet \| selfServe \| sellSendAnytime \| sendPaymentToOthers \| settled \| sideChainSide \| signInNavigation \| smsAuthenticate \| sparkleCoinbaseOne \| ssnCard \| stableCoinMetaphor \| stacking \| stakingGraph \| standWithCryptoLogoNavigation \| startToday \| strongInfo \| strongWarning \| successPhone \| supportChat \| takeQuiz \| target \| taxBeta \| taxCenterNavigation \| taxesArrangement \| taxSeason \| timingCheck \| tokenBaskets \| transferSend \| transistor \| trendingAssets \| trusted \| tryAgainLater \| twoBonus \| typeScript \| ubiKey \| usaProduct \| usdcEarn \| usdcInterest \| usdcLoan \| usdcLogo \| usdcRewards \| usdcRewardsRibbon \| usdcToken \| venturesNavigation \| videoCalendar \| videoContent \| waiting \| waitingForConsensus \| walletAsServiceNavigation \| walletDeposit \| walletError \| walletExchange \| walletLinkNavigation \| walletLogoNavigation \| walletNavigation \| walletPassword \| walletSuccess \| walletWarning \| winBTC \| worldwide \| wrapEth` | No | `-` | Illustration pictogram name for alert |
|
|
160
|
+
| `pictogram` | `key \| done \| loop \| cardSuccess \| warning \| error \| add \| arrowsUpDown \| browser \| calculator \| calendar \| checkmark \| clock \| coinbaseOneLogo \| crystalBallInsight \| derivativesProduct \| download \| email \| gasFees \| identityCard \| instantUnstakingClock \| laptop \| learningRewardsProduct \| lock \| passport \| paypal \| phone \| pieChartData \| pieChartWithArrow \| planet \| robot \| safe \| securityKey \| settings \| shield \| support \| taxes \| tokenSales \| trading \| verifiedPools \| wallet \| 2fa \| accountsNavigation \| accreditedInvestor \| addCard \| addPayment \| addPhone \| addressBook \| addToWatchlist \| addWallet \| advancedTradingDesktop \| advancedTradingNavigation \| advancedTradingRebates \| agent \| alerts \| alertsCoinbaseOne \| analyticsNavigation \| apartOfDropsNft \| applyForHigherLimits \| apyInterest \| assetEncryption \| assetHubNavigation \| assetManagement \| assetManagementNavigation \| assetMeasurements \| assetMovement \| authenticationApp \| authenticator \| authenticatorAlt \| authenticatorProgress \| avatarAa \| avatarAb \| avatarAc \| avatarAd \| avatarAe \| avatarAf \| avatarAg \| avatarAh \| avatarAi \| avatarAj \| avatarBa \| avatarBb \| avatarBc \| avatarBd \| avatarBe \| avatarBf \| avatarBg \| avatarBh \| avatarBi \| avatarBj \| avatarCa \| avatarCb \| avatarCc \| avatarCd \| avatarCe \| avatarCf \| avatarCg \| avatarCh \| avatarCi \| avatarCj \| avatarDa \| avatarDb \| avatarDc \| avatarDd \| avatarDe \| avatarDf \| avatarDg \| avatarDh \| avatarDi \| avatarDj \| avatarEa \| avatarEb \| avatarEc \| avatarEd \| avatarEe \| avatarEf \| avatarEg \| avatarEh \| avatarEi \| avatarEj \| avatarFa \| avatarFb \| avatarFc \| avatarFd \| avatarFe \| avatarFf \| avatarFg \| avatarFh \| avatarFi \| avatarFj \| avatarGa \| avatarGb \| avatarGc \| avatarGd \| avatarGe \| avatarGf \| avatarGg \| avatarGh \| avatarGi \| avatarGj \| avatarHa \| avatarHb \| avatarHc \| avatarHd \| avatarHe \| avatarHf \| avatarHg \| avatarHh \| avatarHi \| avatarHj \| avatarIa \| avatarIb \| avatarIc \| avatarId \| avatarIe \| avatarIf \| avatarIg \| avatarIh \| avatarIi \| avatarIj \| avatarJa \| avatarJb \| avatarJc \| avatarJd \| avatarJe \| avatarJf \| avatarJg \| avatarJh \| avatarJi \| avatarJj \| barChart \| baseAscend \| baseCertificateStar \| baseChartSmall \| baseChatBubbleHeart \| baseCheckSmall \| baseCoinCryptoSmall \| baseCoinNetworkSmall \| baseCoinStack \| baseCoinStar \| baseComet \| baseComputer \| baseConfetti \| baseConnectApps \| baseConnectSmall \| baseCreatorCoin \| baseDecentralizationSmall \| baseDiamondSmall \| baseDiamondTrophy \| baseDoor \| baseEarnedBadge \| baseEmptySmall \| baseErrorButterflySmall \| baseErrorSmall \| baseExchange \| baseFire \| baseGem \| baseGlobe \| baseHandStar \| baseLayout \| baseLightningbolt \| baseLoadingSmall \| baseLocationSmall \| baseLogo \| baseLogoNavigation \| baseMedal \| baseMessaging \| baseMintNftSmall \| baseNetworkSmall \| baseNftSmall \| basePaycoinSmall \| basePeopleSmall \| basePiechartSmall \| basePlant \| basePower \| baseRibbon \| baseRocket \| baseRockon \| baseSaved \| baseSecuritySmall \| baseSendSmall \| baseSignin \| baseSmile \| baseStack \| baseStar \| baseTargetSmall \| baseTile \| bigBtcSend \| bitcoin \| bitcoinPizza \| bitcoinRewards \| bitcoinWhitePaper \| blockchainConnection \| bonusFivePercent \| bonusTwoPercent \| borrowCoins \| borrowingLending \| borrowNavigation \| browserMultiPlatform \| browserTransaction \| btcOneHundred \| bundle \| businessProduct \| calendarCaution \| calendarHighlight \| candleSticksGraph \| cardBlocked \| cardDeclined \| cardNavigation \| cb1BankTransfers \| chart \| chat \| cloudNavigation \| coinbaseLogoAdvancedBrand \| coinbaseLogoNavigation \| coinbaseOneAuthenticator \| coinbaseOneChat \| coinbaseOneEarn \| coinbaseOneEarnCoins \| coinbaseOneEarnCoinsLogo \| coinbaseOneFiat \| coinbaseOneProductIcon \| coinbaseOneProductInvestWeekly \| coinbaseOneRefreshed \| coinbaseOneShield \| coinbaseOneTrade \| coinbaseOneTrusted \| coinbaseOneUnlimitedRewards \| coinbaseUnlockOffers \| coinbaseWalletApp \| coinFocus \| coinShare \| coldStorageCheck \| collectionOfAssets \| commerceCheckout \| commerceInvoice \| commerceNavigation \| commodities \| completeQuiz \| complianceNavigation \| congratulations \| connectNavigation \| contactInfo \| controlWalletStorage \| creative \| creditCard \| crypto101 \| cryptoCard \| cryptoCoins \| cryptoFolder \| custodialJourney \| custodyNavigation \| dataMarketplaceNavigation \| decentralizationEverything \| decentralizedExchange \| decentralizedIdentity \| decentralizedWeb3 \| defiEarnMoment \| delegate \| delegateNavigation \| derivativesNavigation \| developerPlatformNavigation \| developerSDKNavigation \| directDepositNavigation \| dollarShowcase \| driversLicense \| driversLicenseWheel \| earnCoins \| earnGraph \| earnNavigation \| easyToUse \| economyGlobal \| emailAndMessages \| enableVoting \| envelope \| ethereumFocus \| ethRewards \| ethStaking \| ethStakingChart \| ethStakingRewards \| ethToken \| exchangeNavigation \| explore \| fast \| faucetNavigation \| feesRestriction \| fiat \| finance \| findYourSelection \| formDownload \| futures \| futuresCoinbaseOne \| gem \| genericCountryIDCard \| getStarted \| giftbox \| globalConnections \| globalPayments \| globalTransactions \| googleAuthenticator \| governance \| hardwareWallet \| helpCenterNavigation \| higherLimits \| holdingCoin \| idBlock \| idError \| idVerification \| increaseLimits \| institutionalNavigation \| institutions \| internationalExchangeNavigation \| internet \| investGraph \| laptopCharts \| laptopVideo \| layerNetworks \| leadGraph \| learn \| learningRewardsNavigation \| lightbulbLearn \| lightningNetworkSend \| linkYourAccount \| listingFees \| locationUsa \| lowFees \| manageWeb3SignersAcct \| miningCoins \| mintedNft \| mobileCharts \| mobileError \| mobileNotifcation \| mobileSuccess \| mobileWarning \| moneyCrypto \| moneyEarn \| moneySwift \| monitoringPerformance \| moreThanBitcoin \| multiAccountsAndCards \| multiPlatform \| multipleAssets \| musicAndSounds \| myNumberCard \| newUserChecklistBuyCrypto \| newUserChecklistCompleteAccount \| newUserChecklistVerifyId \| nftAvatar \| nftLibrary \| nftNavigation \| noAnnualFee \| noNftFound \| notificationHubAnalysis \| notificationHubNews \| notificationHubPortfolio \| notificationHubSocial \| notifications \| noVisibility \| noWiFi \| orders \| outage \| partialCoins \| participateNavigation \| passwordWalletLocked \| payNavigation \| peerToPeer \| pieChart \| pieChartWithArrowBlue \| pizza \| pluginBrowser \| podium \| positiveReviews \| predictionMarkets \| premiumInvestor \| priceTracking \| primeMobileApp \| primeNavigation \| privateClientNavigation \| proNavigation \| protectionPlan \| queryTransactNavigation \| receipt \| recurringPurchases \| restaking \| reviewAndAdd \| rewardsNavigation \| riskStaking \| rosettaNavigation \| securedAssets \| security \| securityCoinShield \| seedPhrase \| selectAddNft \| selfCustodyWallet \| selfServe \| sellSendAnytime \| sendPaymentToOthers \| settled \| sideChainSide \| signInNavigation \| smsAuthenticate \| sparkleCoinbaseOne \| ssnCard \| stableCoinMetaphor \| stacking \| stakingGraph \| standWithCryptoLogoNavigation \| startToday \| strongInfo \| strongWarning \| successPhone \| supportChat \| takeQuiz \| target \| taxBeta \| taxCenterNavigation \| taxesArrangement \| taxSeason \| timingCheck \| tokenBaskets \| transferSend \| transistor \| trendingAssets \| trusted \| tryAgainLater \| twoBonus \| typeScript \| ubiKey \| usaProduct \| usdcEarn \| usdcInterest \| usdcLoan \| usdcLogo \| usdcRewards \| usdcRewardsRibbon \| usdcToken \| venturesNavigation \| videoCalendar \| videoContent \| waiting \| waitingForConsensus \| walletAsServiceNavigation \| walletDeposit \| walletError \| walletExchange \| walletLinkNavigation \| walletLogoNavigation \| walletNavigation \| walletPassword \| walletSuccess \| walletWarning \| winBTC \| worldwide \| wrapEth` | No | `-` | Illustration pictogram name for alert |
|
|
161
161
|
| `preferredActionVariant` | `primary \| negative` | No | `primary` | Button variant of the preferred action |
|
|
162
162
|
| `ref` | `((instance: ModalRefBaseProps \| null) => void) \| RefObject<ModalRefBaseProps> \| null` | No | `-` | - |
|
|
163
163
|
| `stacked` | `boolean` | No | `-` | Indicating if Alert is stacked on top of Modal |
|
|
@@ -172,10 +172,10 @@ function MultipleCheckboxes() {
|
|
|
172
172
|
| `background` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `-` | Background color of the overlay (element being interacted with). |
|
|
173
173
|
| `borderColor` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `-` | Border color of the element. |
|
|
174
174
|
| `borderRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - |
|
|
175
|
-
| `borderWidth` | `((BorderWidth \| { base?: BorderWidth; phone?: BorderWidth \| undefined; tablet?: BorderWidth \| undefined; desktop?: BorderWidth \| undefined; }) & BorderWidth) \| undefined` | No | `100` |
|
|
175
|
+
| `borderWidth` | `((BorderWidth \| { base?: BorderWidth; phone?: BorderWidth \| undefined; tablet?: BorderWidth \| undefined; desktop?: BorderWidth \| undefined; }) & BorderWidth) \| undefined` | No | `100` | Sets the border width of the checkbox. |
|
|
176
176
|
| `children` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | Label for the control option. |
|
|
177
177
|
| `color` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `-` | - |
|
|
178
|
-
| `controlColor` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `fgInverse` | Sets the checked/active color of the
|
|
178
|
+
| `controlColor` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `fgInverse` | Sets the checked/active color of the checkbox. |
|
|
179
179
|
| `elevation` | `0 \| 1 \| 2` | No | `-` | - |
|
|
180
180
|
| `iconStyle` | `CSSProperties` | No | `-` | Style for the icon element |
|
|
181
181
|
| `indeterminate` | `boolean` | No | `-` | Enable indeterminate state. Useful when you want to indicate that sub-items of a control are partially filled. |
|