@coinbase/cds-mcp-server 8.43.2 → 8.44.1
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/Carousel.txt +23 -17
- package/mcp-docs/mobile/components/CheckboxCell.txt +5 -5
- package/mcp-docs/mobile/components/Chip.txt +3 -3
- package/mcp-docs/mobile/components/Combobox.txt +20 -20
- package/mcp-docs/mobile/components/ContentCell.txt +12 -12
- package/mcp-docs/mobile/components/DataCard.txt +5 -5
- package/mcp-docs/mobile/components/DotCount.txt +5 -5
- package/mcp-docs/mobile/components/Icon.txt +3 -3
- package/mcp-docs/mobile/components/InputChip.txt +1 -1
- package/mcp-docs/mobile/components/ListCell.txt +18 -18
- package/mcp-docs/mobile/components/MediaCard.txt +6 -6
- package/mcp-docs/mobile/components/MediaChip.txt +1 -1
- package/mcp-docs/mobile/components/MessagingCard.txt +6 -6
- package/mcp-docs/mobile/components/PageHeader.txt +5 -5
- package/mcp-docs/mobile/components/ProgressBar.txt +4 -4
- package/mcp-docs/mobile/components/ProgressBarWithFixedLabels.txt +6 -6
- package/mcp-docs/mobile/components/ProgressBarWithFloatLabel.txt +5 -5
- package/mcp-docs/mobile/components/ProgressCircle.txt +8 -8
- package/mcp-docs/mobile/components/RadioCell.txt +5 -5
- package/mcp-docs/mobile/components/RollingNumber.txt +11 -11
- package/mcp-docs/mobile/components/SelectAlpha.txt +20 -20
- package/mcp-docs/mobile/components/SelectChip.txt +8 -6
- package/mcp-docs/mobile/components/SelectChipAlpha.txt +20 -20
- package/mcp-docs/mobile/components/SelectOption.txt +1 -1
- package/mcp-docs/mobile/components/SlideButton.txt +4 -4
- package/mcp-docs/mobile/components/Stepper.txt +8 -8
- package/mcp-docs/mobile/components/TabbedChipsAlpha.txt +2 -2
- package/mcp-docs/mobile/components/Tray.txt +717 -133
- package/mcp-docs/mobile/routes.txt +1 -1
- package/mcp-docs/web/components/AvatarButton.txt +7 -7
- package/mcp-docs/web/components/Banner.txt +22 -0
- package/mcp-docs/web/components/Box.txt +6 -6
- package/mcp-docs/web/components/Button.txt +7 -7
- package/mcp-docs/web/components/Carousel.txt +36 -36
- package/mcp-docs/web/components/CheckboxCell.txt +5 -5
- package/mcp-docs/web/components/Chip.txt +4 -4
- package/mcp-docs/web/components/Combobox.txt +21 -21
- package/mcp-docs/web/components/ContentCard.txt +6 -6
- package/mcp-docs/web/components/ContentCardBody.txt +6 -6
- package/mcp-docs/web/components/ContentCardFooter.txt +6 -6
- package/mcp-docs/web/components/ContentCardHeader.txt +6 -6
- package/mcp-docs/web/components/ContentCell.txt +20 -20
- package/mcp-docs/web/components/DataCard.txt +5 -5
- package/mcp-docs/web/components/DotCount.txt +7 -7
- package/mcp-docs/web/components/Fallback.txt +6 -6
- package/mcp-docs/web/components/Grid.txt +6 -6
- package/mcp-docs/web/components/GridColumn.txt +6 -6
- package/mcp-docs/web/components/HStack.txt +6 -6
- package/mcp-docs/web/components/Icon.txt +4 -4
- package/mcp-docs/web/components/IconButton.txt +7 -7
- package/mcp-docs/web/components/InputChip.txt +2 -2
- package/mcp-docs/web/components/Interactable.txt +7 -7
- package/mcp-docs/web/components/Link.txt +6 -6
- package/mcp-docs/web/components/ListCell.txt +22 -22
- package/mcp-docs/web/components/MediaCard.txt +6 -6
- package/mcp-docs/web/components/MediaChip.txt +2 -2
- package/mcp-docs/web/components/MessagingCard.txt +6 -6
- package/mcp-docs/web/components/MultiContentModule.txt +6 -6
- package/mcp-docs/web/components/PageHeader.txt +6 -6
- package/mcp-docs/web/components/Pressable.txt +7 -7
- package/mcp-docs/web/components/ProgressBar.txt +6 -6
- package/mcp-docs/web/components/ProgressBarWithFixedLabels.txt +8 -8
- package/mcp-docs/web/components/ProgressBarWithFloatLabel.txt +7 -7
- package/mcp-docs/web/components/ProgressCircle.txt +8 -8
- package/mcp-docs/web/components/RadioCell.txt +5 -5
- package/mcp-docs/web/components/ReferenceLine.txt +2 -2
- package/mcp-docs/web/components/RollingNumber.txt +18 -18
- package/mcp-docs/web/components/Scrubber.txt +6 -6
- package/mcp-docs/web/components/SelectAlpha.txt +21 -21
- package/mcp-docs/web/components/SelectChip.txt +2 -2
- package/mcp-docs/web/components/SelectChipAlpha.txt +21 -21
- package/mcp-docs/web/components/SelectOption.txt +2 -2
- package/mcp-docs/web/components/Sidebar.txt +6 -6
- package/mcp-docs/web/components/Spacer.txt +6 -6
- package/mcp-docs/web/components/Stepper.txt +9 -9
- package/mcp-docs/web/components/TabbedChipsAlpha.txt +4 -4
- package/mcp-docs/web/components/Text.txt +6 -6
- package/mcp-docs/web/components/TileButton.txt +7 -7
- package/mcp-docs/web/components/Tray.txt +1032 -155
- package/mcp-docs/web/components/VStack.txt +6 -6
- package/mcp-docs/web/routes.txt +1 -1
- package/package.json +1 -1
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.44.1 ((2/10/2026, 12:05 PM PST))
|
|
12
|
+
|
|
13
|
+
This is an artificial version bump with no new change.
|
|
14
|
+
|
|
15
|
+
## 8.44.0 ((2/9/2026, 07:07 PM PST))
|
|
16
|
+
|
|
17
|
+
This is an artificial version bump with no new change.
|
|
18
|
+
|
|
11
19
|
## 8.43.2 ((2/9/2026, 09:05 AM PST))
|
|
12
20
|
|
|
13
21
|
This is an artificial version bump with no new change.
|
|
@@ -47,7 +47,7 @@ function MyCarousel() {
|
|
|
47
47
|
title="Explore Assets"
|
|
48
48
|
styles={{
|
|
49
49
|
root: { paddingHorizontal: theme.space[2] },
|
|
50
|
-
carousel: { gap: theme.space[
|
|
50
|
+
carousel: { gap: theme.space[2] },
|
|
51
51
|
}}
|
|
52
52
|
>
|
|
53
53
|
{Object.values(assets).map((asset) => (
|
|
@@ -76,10 +76,10 @@ Items can be given a width proportional to the carousel width.
|
|
|
76
76
|
:::tip Tip
|
|
77
77
|
|
|
78
78
|
If you have a gap between items or padding between the carousel and the edge of the screen,
|
|
79
|
-
you should account for that in the width. For example, if you have a gap of
|
|
79
|
+
you should account for that in the width. For example, if you have a gap of 16px,
|
|
80
80
|
and want to offset 16px from edge of screen, you could do
|
|
81
81
|
|
|
82
|
-
`<CarouselItem width={((screenWidth - (16 * 2)) -
|
|
82
|
+
`<CarouselItem width={((screenWidth - (16 * 2)) - 16) / 2} ... />`
|
|
83
83
|
|
|
84
84
|
:::
|
|
85
85
|
|
|
@@ -91,7 +91,7 @@ function DynamicSizingCarousel() {
|
|
|
91
91
|
const horizontalPadding = theme.space[2];
|
|
92
92
|
|
|
93
93
|
const carouselWidth = windowWidth - horizontalPadding * 2;
|
|
94
|
-
const horizontalGap = theme.space[
|
|
94
|
+
const horizontalGap = theme.space[2];
|
|
95
95
|
|
|
96
96
|
// 1 item per page - will rely on Carousel container's width
|
|
97
97
|
const oneItemWidth = '100%'; // Could alternatively use carouselWidth
|
|
@@ -166,7 +166,7 @@ function ResponsiveSizingCarousel() {
|
|
|
166
166
|
const horizontalPadding = theme.space[2];
|
|
167
167
|
|
|
168
168
|
const carouselWidth = windowWidth - horizontalPadding * 2;
|
|
169
|
-
const horizontalGap = theme.space[
|
|
169
|
+
const horizontalGap = theme.space[2];
|
|
170
170
|
|
|
171
171
|
// 1 item per page - will rely on Carousel container's width
|
|
172
172
|
const oneItemWidth = '100%'; // Could alternatively use carouselWidth
|
|
@@ -241,7 +241,7 @@ function VariedSizingCarousel() {
|
|
|
241
241
|
const horizontalPadding = theme.space[2];
|
|
242
242
|
|
|
243
243
|
const carouselWidth = windowWidth - horizontalPadding * 2;
|
|
244
|
-
const horizontalGap = theme.space[
|
|
244
|
+
const horizontalGap = theme.space[2];
|
|
245
245
|
|
|
246
246
|
// 1 item per page - will rely on Carousel container's width
|
|
247
247
|
const oneItemWidth = '100%'; // Could alternatively use carouselWidth
|
|
@@ -333,7 +333,7 @@ When set to `snap`, upon release the carousel will snap to either the nearest it
|
|
|
333
333
|
function DragCarousel() {
|
|
334
334
|
const theme = useTheme();
|
|
335
335
|
const horizontalPadding = theme.space[2];
|
|
336
|
-
const horizontalGap = theme.space[
|
|
336
|
+
const horizontalGap = theme.space[2];
|
|
337
337
|
|
|
338
338
|
return (
|
|
339
339
|
<Carousel
|
|
@@ -370,7 +370,7 @@ When set to `item`, the carousel will snap to the nearest item.
|
|
|
370
370
|
function SquareItemsCarousel() {
|
|
371
371
|
const theme = useTheme();
|
|
372
372
|
const horizontalPadding = theme.space[2];
|
|
373
|
-
const horizontalGap = theme.space[
|
|
373
|
+
const horizontalGap = theme.space[2];
|
|
374
374
|
|
|
375
375
|
return (
|
|
376
376
|
<Carousel
|
|
@@ -415,7 +415,7 @@ If you want to have the next item be shown at the edge of the screen, make sure
|
|
|
415
415
|
function OverflowCarousel() {
|
|
416
416
|
const theme = useTheme();
|
|
417
417
|
const horizontalPadding = theme.space[2];
|
|
418
|
-
const horizontalGap = theme.space[
|
|
418
|
+
const horizontalGap = theme.space[2];
|
|
419
419
|
|
|
420
420
|
return (
|
|
421
421
|
<Carousel
|
|
@@ -451,7 +451,7 @@ It is recommended to use pagination with autoplay so users know how many pages t
|
|
|
451
451
|
function AutoplayCarousel() {
|
|
452
452
|
const theme = useTheme();
|
|
453
453
|
const horizontalPadding = theme.space[2];
|
|
454
|
-
const horizontalGap = theme.space[
|
|
454
|
+
const horizontalGap = theme.space[2];
|
|
455
455
|
|
|
456
456
|
return (
|
|
457
457
|
<Carousel
|
|
@@ -482,7 +482,7 @@ function AutoplayCarousel() {
|
|
|
482
482
|
function CustomIntervalCarousel() {
|
|
483
483
|
const theme = useTheme();
|
|
484
484
|
const horizontalPadding = theme.space[2];
|
|
485
|
-
const horizontalGap = theme.space[
|
|
485
|
+
const horizontalGap = theme.space[2];
|
|
486
486
|
|
|
487
487
|
return (
|
|
488
488
|
<Carousel
|
|
@@ -518,7 +518,7 @@ Use `loop` to allow for infinite scrolling.
|
|
|
518
518
|
function LoopingCarousel() {
|
|
519
519
|
const theme = useTheme();
|
|
520
520
|
const horizontalPadding = theme.space[2];
|
|
521
|
-
const horizontalGap = theme.space[
|
|
521
|
+
const horizontalGap = theme.space[2];
|
|
522
522
|
|
|
523
523
|
return (
|
|
524
524
|
<Carousel
|
|
@@ -908,8 +908,14 @@ function ComposedAutoplayCarousel() {
|
|
|
908
908
|
const remainingTime = autoplay.getRemainingTime();
|
|
909
909
|
const progress = 1 - remainingTime / autoplay.totalTime;
|
|
910
910
|
const progressSpring = useSpring({
|
|
911
|
-
width:
|
|
912
|
-
|
|
911
|
+
width: showProgress
|
|
912
|
+
? autoplay.isPlaying
|
|
913
|
+
? theme.space[3]
|
|
914
|
+
: progress * theme.space[3]
|
|
915
|
+
: 0,
|
|
916
|
+
config:
|
|
917
|
+
showProgress && autoplay.isPlaying ? { duration: remainingTime } : { duration: 0 },
|
|
918
|
+
immediate: !showProgress,
|
|
913
919
|
});
|
|
914
920
|
|
|
915
921
|
return (
|
|
@@ -1065,7 +1071,7 @@ You can dynamically add and remove items from the carousel.
|
|
|
1065
1071
|
function DynamicContentCarousel() {
|
|
1066
1072
|
const theme = useTheme();
|
|
1067
1073
|
const horizontalPadding = theme.space[2];
|
|
1068
|
-
const horizontalGap = theme.space[
|
|
1074
|
+
const horizontalGap = theme.space[2];
|
|
1069
1075
|
const [items, setItems] = useState(Object.values(assets).slice(0, 3));
|
|
1070
1076
|
|
|
1071
1077
|
function addAsset() {
|
|
@@ -1117,7 +1123,7 @@ Note that this can prevent proper accessibility for the carousel, if carousel it
|
|
|
1117
1123
|
function HideNavigationAndPaginationCarousel() {
|
|
1118
1124
|
const theme = useTheme();
|
|
1119
1125
|
const horizontalPadding = theme.space[2];
|
|
1120
|
-
const horizontalGap = theme.space[
|
|
1126
|
+
const horizontalGap = theme.space[2];
|
|
1121
1127
|
|
|
1122
1128
|
return (
|
|
1123
1129
|
<Carousel
|
|
@@ -1241,7 +1247,7 @@ function ImperativeApiCarousel() {
|
|
|
1241
1247
|
snapMode="item"
|
|
1242
1248
|
styles={{
|
|
1243
1249
|
root: { paddingHorizontal: theme.space[3] },
|
|
1244
|
-
carousel: { gap: theme.space[
|
|
1250
|
+
carousel: { gap: theme.space[2] },
|
|
1245
1251
|
}}
|
|
1246
1252
|
title="Explore Assets"
|
|
1247
1253
|
>
|
|
@@ -203,10 +203,10 @@ function CustomCheckboxCellExample() {
|
|
|
203
203
|
|
|
204
204
|
| Selector | Static class name | Description |
|
|
205
205
|
| --- | --- | --- |
|
|
206
|
-
| `root` | `-` |
|
|
207
|
-
| `checkboxContainer` | `-` |
|
|
208
|
-
| `contentContainer` | `-` |
|
|
209
|
-
| `title` | `-` |
|
|
210
|
-
| `description` | `-` |
|
|
206
|
+
| `root` | `-` | Root element |
|
|
207
|
+
| `checkboxContainer` | `-` | Checkbox input container element |
|
|
208
|
+
| `contentContainer` | `-` | Content container element |
|
|
209
|
+
| `title` | `-` | Title text element |
|
|
210
|
+
| `description` | `-` | Description text element |
|
|
211
211
|
|
|
212
212
|
|
|
@@ -179,7 +179,7 @@ function Example() {
|
|
|
179
179
|
| `rowGap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
180
180
|
| `start` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | ReactNode placed before the value |
|
|
181
181
|
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` | - |
|
|
182
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; content?: StyleProp<ViewStyle>; }` | No | `-` |
|
|
182
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; content?: StyleProp<ViewStyle>; }` | No | `-` | Custom styles for individual elements of the Chip component |
|
|
183
183
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID Used to locate this element in unit and end-to-end tests. Used to locate this view in end-to-end tests. |
|
|
184
184
|
| `textAlign` | `left \| right \| auto \| center \| justify` | No | `-` | - |
|
|
185
185
|
| `textDecorationLine` | `none \| underline \| line-through \| underline line-through` | No | `-` | - |
|
|
@@ -199,7 +199,7 @@ function Example() {
|
|
|
199
199
|
|
|
200
200
|
| Selector | Static class name | Description |
|
|
201
201
|
| --- | --- | --- |
|
|
202
|
-
| `root` | `-` |
|
|
203
|
-
| `content` | `-` |
|
|
202
|
+
| `root` | `-` | Root element |
|
|
203
|
+
| `content` | `-` | Content element |
|
|
204
204
|
|
|
205
205
|
|
|
@@ -276,7 +276,7 @@ function BorderlessExample() {
|
|
|
276
276
|
| `setOpen` | `((open: boolean \| ((open: boolean) => boolean)) => void)` | No | `-` | Callback to update the open state |
|
|
277
277
|
| `startNode` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | Adds content to the start of the inner input. Refer to diagram for location of startNode in InputStack component |
|
|
278
278
|
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` | Inline styles for the root element |
|
|
279
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; control?: StyleProp<ViewStyle>; controlStartNode?: StyleProp<ViewStyle>; controlInputNode?: StyleProp<ViewStyle>; controlValueNode?: StyleProp<ViewStyle>; controlLabelNode?: StyleProp<ViewStyle>; controlHelperTextNode?: StyleProp<ViewStyle>; controlEndNode?: StyleProp<ViewStyle>; controlBlendStyles?: InteractableBlendStyles; dropdown?: StyleProp<ViewStyle>; option?: StyleProp<ViewStyle>; optionCell?: StyleProp<ViewStyle>; optionContent?: StyleProp<ViewStyle>; optionLabel?: StyleProp<ViewStyle>; optionDescription?: StyleProp<ViewStyle>; optionBlendStyles?: InteractableBlendStyles \| undefined; selectAllDivider?: StyleProp<ViewStyle>; emptyContentsContainer?: StyleProp<ViewStyle>; emptyContentsText?: StyleProp<ViewStyle>; optionGroup?: StyleProp<ViewStyle>; } \| undefined` | No | `-` | Custom styles for
|
|
279
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; control?: StyleProp<ViewStyle>; controlStartNode?: StyleProp<ViewStyle>; controlInputNode?: StyleProp<ViewStyle>; controlValueNode?: StyleProp<ViewStyle>; controlLabelNode?: StyleProp<ViewStyle>; controlHelperTextNode?: StyleProp<ViewStyle>; controlEndNode?: StyleProp<ViewStyle>; controlBlendStyles?: InteractableBlendStyles; dropdown?: StyleProp<ViewStyle>; option?: StyleProp<ViewStyle>; optionCell?: StyleProp<ViewStyle>; optionContent?: StyleProp<ViewStyle>; optionLabel?: StyleProp<ViewStyle>; optionDescription?: StyleProp<ViewStyle>; optionBlendStyles?: InteractableBlendStyles \| undefined; selectAllDivider?: StyleProp<ViewStyle>; emptyContentsContainer?: StyleProp<ViewStyle>; emptyContentsText?: StyleProp<ViewStyle>; optionGroup?: StyleProp<ViewStyle>; } \| undefined` | No | `-` | Custom styles for individual elements of the Select component |
|
|
280
280
|
| `testID` | `string` | No | `-` | Test ID for the root element |
|
|
281
281
|
| `type` | `multi \| single` | No | `-` | Whether the select allows single or multiple selections |
|
|
282
282
|
| `variant` | `primary \| secondary \| positive \| negative \| foregroundMuted \| foreground` | No | `-` | Determines the sentiment of the input. Because we allow startContent and endContent to be custom ReactNode, the content placed inside these slots will not change colors according to the variant. You will have to add that yourself |
|
|
@@ -286,25 +286,25 @@ function BorderlessExample() {
|
|
|
286
286
|
|
|
287
287
|
| Selector | Static class name | Description |
|
|
288
288
|
| --- | --- | --- |
|
|
289
|
-
| `root` | `-` |
|
|
290
|
-
| `control` | `-` |
|
|
291
|
-
| `controlStartNode` | `-` |
|
|
292
|
-
| `controlInputNode` | `-` |
|
|
293
|
-
| `controlValueNode` | `-` |
|
|
294
|
-
| `controlLabelNode` | `-` |
|
|
295
|
-
| `controlHelperTextNode` | `-` |
|
|
296
|
-
| `controlEndNode` | `-` |
|
|
289
|
+
| `root` | `-` | Root element |
|
|
290
|
+
| `control` | `-` | Control element |
|
|
291
|
+
| `controlStartNode` | `-` | Start node element |
|
|
292
|
+
| `controlInputNode` | `-` | Input node element |
|
|
293
|
+
| `controlValueNode` | `-` | Value node element |
|
|
294
|
+
| `controlLabelNode` | `-` | Label node element |
|
|
295
|
+
| `controlHelperTextNode` | `-` | Helper text node element |
|
|
296
|
+
| `controlEndNode` | `-` | End node element |
|
|
297
297
|
| `controlBlendStyles` | `-` | Blend styles for control interactivity |
|
|
298
|
-
| `dropdown` | `-` |
|
|
299
|
-
| `option` | `-` |
|
|
300
|
-
| `optionCell` | `-` |
|
|
301
|
-
| `optionContent` | `-` |
|
|
302
|
-
| `optionLabel` | `-` |
|
|
303
|
-
| `optionDescription` | `-` |
|
|
304
|
-
| `optionBlendStyles` | `-` |
|
|
305
|
-
| `selectAllDivider` | `-` |
|
|
306
|
-
| `emptyContentsContainer` | `-` |
|
|
307
|
-
| `emptyContentsText` | `-` |
|
|
308
|
-
| `optionGroup` | `-` |
|
|
298
|
+
| `dropdown` | `-` | Dropdown container element |
|
|
299
|
+
| `option` | `-` | Option element |
|
|
300
|
+
| `optionCell` | `-` | Option cell element |
|
|
301
|
+
| `optionContent` | `-` | Option content wrapper |
|
|
302
|
+
| `optionLabel` | `-` | Option label element |
|
|
303
|
+
| `optionDescription` | `-` | Option description element |
|
|
304
|
+
| `optionBlendStyles` | `-` | Option blend styles for interactivity |
|
|
305
|
+
| `selectAllDivider` | `-` | Select all divider element |
|
|
306
|
+
| `emptyContentsContainer` | `-` | Empty contents container element |
|
|
307
|
+
| `emptyContentsText` | `-` | Empty contents text element |
|
|
308
|
+
| `optionGroup` | `-` | Option group element |
|
|
309
309
|
|
|
310
310
|
|
|
@@ -267,7 +267,7 @@ The `ContentCellFallback` component provides loading state representations of `C
|
|
|
267
267
|
| `selected` | `boolean` | No | `-` | Is the cell selected? Will apply a background and selected accessory. |
|
|
268
268
|
| `spacingVariant` | `compact \| normal \| condensed` | No | `'normal'` | Spacing variant configuration. Deprecated value: compact. Prefer condensed. When spacingVariant=normal: 1. min-height is 80px 2. padding is var(--space-2) var(--space-3) 3. border-radius is var(--borderRadius-200) When spacingVariant=compact: 1. same as spacingVariant=normal, except min-height is 40px When spacingVariant=condensed: 1. min-height is undefined 2. padding is var(--space-1) var(--space-2) 3. border-radius is var(--borderRadius-0) 4. subtitle uses label1 5. title wraps to 2 lines regardless of description content |
|
|
269
269
|
| `style` | `false \| RegisteredStyle<ViewStyle> \| Value \| AnimatedInterpolation<string \| number> \| WithAnimatedObject<ViewStyle> \| WithAnimatedArray<Falsy \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<Falsy \| ViewStyle \| RegisteredStyle<ViewStyle>> \| readonly (Falsy \| ViewStyle \| RegisteredStyle<ViewStyle>)[]> \| null` | No | `-` | - |
|
|
270
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; media?: StyleProp<ViewStyle>; accessory?: StyleProp<ViewStyle>; contentContainer?: StyleProp<ViewStyle>; pressable?: StyleProp<ViewStyle>; mainContent?: StyleProp<ViewStyle>; title?: StyleProp<TextStyle>; subtitle?: StyleProp<TextStyle>; metaContainer?: StyleProp<ViewStyle>; meta?: StyleProp<TextStyle>; description?: StyleProp<TextStyle>; }` | No | `-` | Styles for
|
|
270
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; media?: StyleProp<ViewStyle>; accessory?: StyleProp<ViewStyle>; contentContainer?: StyleProp<ViewStyle>; pressable?: StyleProp<ViewStyle>; mainContent?: StyleProp<ViewStyle>; title?: StyleProp<TextStyle>; subtitle?: StyleProp<TextStyle>; metaContainer?: StyleProp<ViewStyle>; meta?: StyleProp<TextStyle>; description?: StyleProp<TextStyle>; }` | No | `-` | Styles for subcomponents, ignored when the corresponding xxNode prop is used |
|
|
271
271
|
| `subtitle` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | Subtitle of content. Max 1 line, otherwise will truncate. |
|
|
272
272
|
| `subtitleNode` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | React node to render subtitle. Takes precedence over subtitle. When provided, styles.subtitle is not applied. |
|
|
273
273
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Used to locate this view in end-to-end tests. Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
@@ -288,16 +288,16 @@ The `ContentCellFallback` component provides loading state representations of `C
|
|
|
288
288
|
|
|
289
289
|
| Selector | Static class name | Description |
|
|
290
290
|
| --- | --- | --- |
|
|
291
|
-
| `root` | `-` |
|
|
292
|
-
| `media` | `-` |
|
|
293
|
-
| `accessory` | `-` |
|
|
294
|
-
| `contentContainer` | `-` |
|
|
295
|
-
| `pressable` | `-` |
|
|
296
|
-
| `mainContent` | `-` |
|
|
297
|
-
| `title` | `-` |
|
|
298
|
-
| `subtitle` | `-` |
|
|
299
|
-
| `metaContainer` | `-` |
|
|
300
|
-
| `meta` | `-` |
|
|
301
|
-
| `description` | `-` |
|
|
291
|
+
| `root` | `-` | Root element |
|
|
292
|
+
| `media` | `-` | Media element |
|
|
293
|
+
| `accessory` | `-` | Accessory element |
|
|
294
|
+
| `contentContainer` | `-` | Content container element |
|
|
295
|
+
| `pressable` | `-` | Pressable wrapper element |
|
|
296
|
+
| `mainContent` | `-` | Main content element |
|
|
297
|
+
| `title` | `-` | Title text element |
|
|
298
|
+
| `subtitle` | `-` | Subtitle text element |
|
|
299
|
+
| `metaContainer` | `-` | Meta container element |
|
|
300
|
+
| `meta` | `-` | Meta text element |
|
|
301
|
+
| `description` | `-` | Description text element |
|
|
302
302
|
|
|
303
303
|
|
|
@@ -725,10 +725,10 @@ import { DataCard } from '@coinbase/cds-mobile/alpha/data-card';
|
|
|
725
725
|
|
|
726
726
|
| Selector | Static class name | Description |
|
|
727
727
|
| --- | --- | --- |
|
|
728
|
-
| `layoutContainer` | `-` |
|
|
729
|
-
| `headerContainer` | `-` |
|
|
730
|
-
| `textContainer` | `-` |
|
|
731
|
-
| `titleContainer` | `-` |
|
|
732
|
-
| `root` | `-` |
|
|
728
|
+
| `layoutContainer` | `-` | Layout container element |
|
|
729
|
+
| `headerContainer` | `-` | Header container element |
|
|
730
|
+
| `textContainer` | `-` | Text container element |
|
|
731
|
+
| `titleContainer` | `-` | Title container element |
|
|
732
|
+
| `root` | `-` | Root element |
|
|
733
733
|
|
|
734
734
|
|
|
@@ -137,8 +137,8 @@ function CustomizeStyle() {
|
|
|
137
137
|
| `max` | `number` | No | `99` | If a badge count is greater than max, it will truncate the numbers so its max+ |
|
|
138
138
|
| `overlap` | `circular` | No | `-` | Indicates what shape Dot is overlapping |
|
|
139
139
|
| `pin` | `top-end` | No | `-` | Position of dot relative to its parent |
|
|
140
|
-
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` |
|
|
141
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; container?: StyleProp<ViewStyle>; text?: StyleProp<TextStyle>; }` | No | `-` | Custom styles for the component
|
|
140
|
+
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` | - |
|
|
141
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; container?: StyleProp<ViewStyle>; text?: StyleProp<TextStyle>; }` | No | `-` | Custom styles for individual elements of the DotCount component |
|
|
142
142
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
143
143
|
| `variant` | `negative` | No | `negative` | Background color of dot |
|
|
144
144
|
|
|
@@ -147,8 +147,8 @@ function CustomizeStyle() {
|
|
|
147
147
|
|
|
148
148
|
| Selector | Static class name | Description |
|
|
149
149
|
| --- | --- | --- |
|
|
150
|
-
| `root` | `-` |
|
|
151
|
-
| `container` | `-` |
|
|
152
|
-
| `text` | `-` |
|
|
150
|
+
| `root` | `-` | Root element |
|
|
151
|
+
| `container` | `-` | Container element |
|
|
152
|
+
| `text` | `-` | Text element |
|
|
153
153
|
|
|
154
154
|
|
|
@@ -51,7 +51,7 @@ Mobile apps cache font files in the native build, so you must rebuild your app a
|
|
|
51
51
|
| `fallback` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `null` | Fallback element to render if unable to find an icon with matching name |
|
|
52
52
|
| `size` | `s \| l \| xs \| m` | No | `m` | Size for a given icon. |
|
|
53
53
|
| `style` | `false \| Value \| AnimatedInterpolation<string \| number> \| RegisteredStyle<TextStyle> \| WithAnimatedObject<TextStyle> \| WithAnimatedArray<Falsy \| TextStyle \| RegisteredStyle<TextStyle> \| RecursiveArray<Falsy \| TextStyle \| RegisteredStyle<TextStyle>> \| readonly (Falsy \| TextStyle \| RegisteredStyle<TextStyle>)[]> \| null` | No | `-` | - |
|
|
54
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; icon?: StyleProp<TextStyle>; }` | No | `-` |
|
|
54
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; icon?: StyleProp<TextStyle>; }` | No | `-` | Custom styles for individual elements of the Icon component |
|
|
55
55
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
56
56
|
|
|
57
57
|
|
|
@@ -59,7 +59,7 @@ Mobile apps cache font files in the native build, so you must rebuild your app a
|
|
|
59
59
|
|
|
60
60
|
| Selector | Static class name | Description |
|
|
61
61
|
| --- | --- | --- |
|
|
62
|
-
| `root` | `-` |
|
|
63
|
-
| `icon` | `-` |
|
|
62
|
+
| `root` | `-` | Outer Box wrapper element |
|
|
63
|
+
| `icon` | `-` | Inner icon glyph Text element |
|
|
64
64
|
|
|
65
65
|
|
|
@@ -174,7 +174,7 @@ function Example() {
|
|
|
174
174
|
| `rowGap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
175
175
|
| `start` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | ReactNode placed before the value |
|
|
176
176
|
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` | - |
|
|
177
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; content?: StyleProp<ViewStyle>; }` | No | `-` |
|
|
177
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; content?: StyleProp<ViewStyle>; }` | No | `-` | Custom styles for individual elements of the Chip component |
|
|
178
178
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID Used to locate this element in unit and end-to-end tests. Used to locate this view in end-to-end tests. |
|
|
179
179
|
| `textAlign` | `left \| right \| auto \| center \| justify` | No | `-` | - |
|
|
180
180
|
| `textDecorationLine` | `none \| underline \| line-through \| underline line-through` | No | `-` | - |
|
|
@@ -755,7 +755,7 @@ Mapping to `styles` keys:
|
|
|
755
755
|
| `selected` | `boolean` | No | `-` | Is the cell selected? Will apply a background and selected accessory. |
|
|
756
756
|
| `spacingVariant` | `compact \| normal \| condensed` | No | `'normal'` | Spacing variant configuration. Deprecated value: compact. Prefer condensed. When spacingVariant=normal: 1. min-height is 80px 2. padding is var(--space-2) var(--space-3) 3. border-radius is var(--borderRadius-200) 4. when there is a description, titles numberOfLines={1} otherwise titles numberOfLines={2} 5. description and subdetail have font body When spacingVariant=compact: 1. same as spacingVariant=normal, except min-height is 40px When spacingVariant=condensed: 1. min-height is undefined 2. padding is var(--space-1) var(--space-2) 3. border-radius is --borderRadius-0 4. titles numberOfLines={2} 5. description and subdetail have font label2 |
|
|
757
757
|
| `style` | `false \| RegisteredStyle<ViewStyle> \| Value \| AnimatedInterpolation<string \| number> \| WithAnimatedObject<ViewStyle> \| WithAnimatedArray<Falsy \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<Falsy \| ViewStyle \| RegisteredStyle<ViewStyle>> \| readonly (Falsy \| ViewStyle \| RegisteredStyle<ViewStyle>)[]> \| null` | No | `-` | - |
|
|
758
|
-
| `styles` | `({ root?: StyleProp<ViewStyle>; contentContainer?: StyleProp<ViewStyle>; topContent?: StyleProp<ViewStyle>; bottomContent?: StyleProp<ViewStyle>; pressable?: StyleProp<ViewStyle>; media?: StyleProp<ViewStyle>; childrenContainer?: StyleProp<ViewStyle>; intermediary?: StyleProp<ViewStyle>; end?: StyleProp<ViewStyle>; accessory?: StyleProp<ViewStyle>; } & { root?: StyleProp<ViewStyle>; media?: StyleProp<ViewStyle>; intermediary?: StyleProp<ViewStyle>; end?: StyleProp<ViewStyle>; accessory?: StyleProp<ViewStyle>; contentContainer?: StyleProp<ViewStyle>; pressable?: StyleProp<ViewStyle>; mainContent?: StyleProp<ViewStyle>; titleStack?: StyleProp<ViewStyle>; titleStackContainer?: StyleProp<ViewStyle>; helperText?: StyleProp<ViewStyle>; title?: StyleProp<TextStyle>; subtitle?: StyleProp<TextStyle>; description?: StyleProp<TextStyle>; })` | No | `-` |
|
|
758
|
+
| `styles` | `({ root?: StyleProp<ViewStyle>; contentContainer?: StyleProp<ViewStyle>; topContent?: StyleProp<ViewStyle>; bottomContent?: StyleProp<ViewStyle>; pressable?: StyleProp<ViewStyle>; media?: StyleProp<ViewStyle>; childrenContainer?: StyleProp<ViewStyle>; intermediary?: StyleProp<ViewStyle>; end?: StyleProp<ViewStyle>; accessory?: StyleProp<ViewStyle>; } & { root?: StyleProp<ViewStyle>; media?: StyleProp<ViewStyle>; intermediary?: StyleProp<ViewStyle>; end?: StyleProp<ViewStyle>; accessory?: StyleProp<ViewStyle>; contentContainer?: StyleProp<ViewStyle>; pressable?: StyleProp<ViewStyle>; mainContent?: StyleProp<ViewStyle>; titleStack?: StyleProp<ViewStyle>; titleStackContainer?: StyleProp<ViewStyle>; helperText?: StyleProp<ViewStyle>; title?: StyleProp<TextStyle>; subtitle?: StyleProp<TextStyle>; description?: StyleProp<TextStyle>; })` | No | `-` | Custom styles for individual elements of the Cell component Styles for subcomponents, ignored when the corresponding xxNode prop is used |
|
|
759
759
|
| `subdetail` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | Subdetail providing more information. This prop is only intended to accept a string or Text component; other use cases, while allowed, are not supported and may result in unexpected behavior. For arbitrary content, use subdetailNode. |
|
|
760
760
|
| `subdetailFont` | `inherit \| FontFamily` | No | `-` | Font to apply to the subdetail text. |
|
|
761
761
|
| `subdetailNode` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | React node to render subdetail. Takes precedence over subdetail. |
|
|
@@ -780,22 +780,22 @@ Mapping to `styles` keys:
|
|
|
780
780
|
|
|
781
781
|
| Selector | Static class name | Description |
|
|
782
782
|
| --- | --- | --- |
|
|
783
|
-
| `root` | `-` |
|
|
784
|
-
| `contentContainer` | `-` |
|
|
785
|
-
| `topContent` | `-` |
|
|
786
|
-
| `bottomContent` | `-` |
|
|
787
|
-
| `pressable` | `-` |
|
|
788
|
-
| `media` | `-` |
|
|
789
|
-
| `childrenContainer` | `-` |
|
|
790
|
-
| `intermediary` | `-` |
|
|
791
|
-
| `end` | `-` |
|
|
792
|
-
| `accessory` | `-` |
|
|
793
|
-
| `mainContent` | `-` |
|
|
794
|
-
| `titleStack` | `-` |
|
|
795
|
-
| `titleStackContainer` | `-` |
|
|
796
|
-
| `helperText` | `-` |
|
|
797
|
-
| `title` | `-` |
|
|
798
|
-
| `subtitle` | `-` |
|
|
799
|
-
| `description` | `-` |
|
|
783
|
+
| `root` | `-` | Root element |
|
|
784
|
+
| `contentContainer` | `-` | Content container element |
|
|
785
|
+
| `topContent` | `-` | Top content element |
|
|
786
|
+
| `bottomContent` | `-` | Bottom content element |
|
|
787
|
+
| `pressable` | `-` | Pressable wrapper element |
|
|
788
|
+
| `media` | `-` | Media element |
|
|
789
|
+
| `childrenContainer` | `-` | Children container wrapper, controls flex behavior |
|
|
790
|
+
| `intermediary` | `-` | Intermediary element |
|
|
791
|
+
| `end` | `-` | End element (detail or action container) End element |
|
|
792
|
+
| `accessory` | `-` | Accessory element |
|
|
793
|
+
| `mainContent` | `-` | Main content element |
|
|
794
|
+
| `titleStack` | `-` | Title stack element (title/subtitle/description VStack) |
|
|
795
|
+
| `titleStackContainer` | `-` | Title stack container wrapper, controls flex behavior |
|
|
796
|
+
| `helperText` | `-` | Helper text element |
|
|
797
|
+
| `title` | `-` | Title text element |
|
|
798
|
+
| `subtitle` | `-` | Subtitle text element |
|
|
799
|
+
| `description` | `-` | Description text element |
|
|
800
800
|
|
|
801
801
|
|
|
@@ -528,11 +528,11 @@ Replace `FloatingAssetCard` with `MediaCard`. Note that the floating variation (
|
|
|
528
528
|
|
|
529
529
|
| Selector | Static class name | Description |
|
|
530
530
|
| --- | --- | --- |
|
|
531
|
-
| `layoutContainer` | `-` |
|
|
532
|
-
| `contentContainer` | `-` |
|
|
533
|
-
| `textContainer` | `-` |
|
|
534
|
-
| `headerContainer` | `-` |
|
|
535
|
-
| `mediaContainer` | `-` |
|
|
536
|
-
| `root` | `-` |
|
|
531
|
+
| `layoutContainer` | `-` | Layout container element |
|
|
532
|
+
| `contentContainer` | `-` | Content container element |
|
|
533
|
+
| `textContainer` | `-` | Text container element |
|
|
534
|
+
| `headerContainer` | `-` | Header container element |
|
|
535
|
+
| `mediaContainer` | `-` | Media container element |
|
|
536
|
+
| `root` | `-` | Root element |
|
|
537
537
|
|
|
538
538
|
|
|
@@ -255,7 +255,7 @@ You can override the automatic spacing with custom values if needed.
|
|
|
255
255
|
| `rowGap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
256
256
|
| `start` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | ReactNode placed before the value |
|
|
257
257
|
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` | - |
|
|
258
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; content?: StyleProp<ViewStyle>; }` | No | `-` |
|
|
258
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; content?: StyleProp<ViewStyle>; }` | No | `-` | Custom styles for individual elements of the Chip component |
|
|
259
259
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID Used to locate this element in unit and end-to-end tests. Used to locate this view in end-to-end tests. |
|
|
260
260
|
| `textAlign` | `left \| right \| auto \| center \| justify` | No | `-` | - |
|
|
261
261
|
| `textDecorationLine` | `none \| underline \| line-through \| underline line-through` | No | `-` | - |
|
|
@@ -1027,11 +1027,11 @@ Replace `UpsellCard` with `MessagingCard` using `type="upsell"`.
|
|
|
1027
1027
|
|
|
1028
1028
|
| Selector | Static class name | Description |
|
|
1029
1029
|
| --- | --- | --- |
|
|
1030
|
-
| `layoutContainer` | `-` |
|
|
1031
|
-
| `contentContainer` | `-` |
|
|
1032
|
-
| `textContainer` | `-` |
|
|
1033
|
-
| `mediaContainer` | `-` |
|
|
1034
|
-
| `dismissButtonContainer` | `-` |
|
|
1035
|
-
| `root` | `-` |
|
|
1030
|
+
| `layoutContainer` | `-` | Layout container element |
|
|
1031
|
+
| `contentContainer` | `-` | Content container element |
|
|
1032
|
+
| `textContainer` | `-` | Text container element |
|
|
1033
|
+
| `mediaContainer` | `-` | Media container element |
|
|
1034
|
+
| `dismissButtonContainer` | `-` | Dismiss button container element |
|
|
1035
|
+
| `root` | `-` | Root element |
|
|
1036
1036
|
|
|
1037
1037
|
|
|
@@ -173,7 +173,7 @@ function Example() {
|
|
|
173
173
|
| `rowGap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
174
174
|
| `start` | `null \| string \| number \| false \| true \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal` | No | `-` | Optional. Accepts a ReactNode. Used for placing primary content on the left side of the page header, such as a header title, logo, or icon button. |
|
|
175
175
|
| `style` | `false \| RegisteredStyle<ViewStyle> \| Value \| AnimatedInterpolation<string \| number> \| WithAnimatedObject<ViewStyle> \| WithAnimatedArray<Falsy \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<Falsy \| ViewStyle \| RegisteredStyle<ViewStyle>> \| readonly (Falsy \| ViewStyle \| RegisteredStyle<ViewStyle>)[]> \| null` | No | `-` | - |
|
|
176
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; start?: StyleProp<ViewStyle>; end?: StyleProp<ViewStyle>; title?: StyleProp<ViewStyle>; }` | No | `-` | Custom styles for the
|
|
176
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; start?: StyleProp<ViewStyle>; end?: StyleProp<ViewStyle>; title?: StyleProp<ViewStyle>; }` | No | `-` | Custom styles for individual elements of the PageHeader component |
|
|
177
177
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID Used to locate this element in unit and end-to-end tests. Used to locate this view in end-to-end tests. |
|
|
178
178
|
| `textAlign` | `left \| right \| auto \| center \| justify` | No | `-` | - |
|
|
179
179
|
| `textDecorationLine` | `none \| underline \| line-through \| underline line-through` | No | `-` | - |
|
|
@@ -189,9 +189,9 @@ function Example() {
|
|
|
189
189
|
|
|
190
190
|
| Selector | Static class name | Description |
|
|
191
191
|
| --- | --- | --- |
|
|
192
|
-
| `root` | `-` |
|
|
193
|
-
| `start` | `-` |
|
|
194
|
-
| `end` | `-` |
|
|
195
|
-
| `title` | `-` |
|
|
192
|
+
| `root` | `-` | Root element |
|
|
193
|
+
| `start` | `-` | Start element |
|
|
194
|
+
| `end` | `-` | End element |
|
|
195
|
+
| `title` | `-` | Title element |
|
|
196
196
|
|
|
197
197
|
|
|
@@ -135,8 +135,8 @@ function Example() {
|
|
|
135
135
|
| `onAnimationEnd` | `(() => void)` | No | `-` | Callback fired when the progress animation ends. |
|
|
136
136
|
| `onAnimationStart` | `(() => void)` | No | `-` | Callback fired when the progress animation starts. |
|
|
137
137
|
| `ref` | `((instance: View \| null) => void) \| RefObject<View> \| null` | No | `-` | - |
|
|
138
|
-
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` |
|
|
139
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; progress?: StyleProp<ViewStyle>; }` | No | `-` | Custom styles for the
|
|
138
|
+
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` | - |
|
|
139
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; progress?: StyleProp<ViewStyle>; }` | No | `-` | Custom styles for individual elements of the ProgressBar component |
|
|
140
140
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
141
141
|
| `weight` | `normal \| heavy \| thin \| semiheavy` | No | `normal` | Toggle used to change thickness of progress visualization |
|
|
142
142
|
|
|
@@ -145,7 +145,7 @@ function Example() {
|
|
|
145
145
|
|
|
146
146
|
| Selector | Static class name | Description |
|
|
147
147
|
| --- | --- | --- |
|
|
148
|
-
| `root` | `-` |
|
|
149
|
-
| `progress` | `-` |
|
|
148
|
+
| `root` | `-` | Root element |
|
|
149
|
+
| `progress` | `-` | Progress fill element |
|
|
150
150
|
|
|
151
151
|
|
|
@@ -208,8 +208,8 @@ function Example() {
|
|
|
208
208
|
| `endLabel` | `number \| { value: number; render: (num: number, disabled?: boolean \| undefined) => ReactNode; }` | No | `-` | Label that is pinned to the end of the container. If a number is used then it will format it as a percentage. |
|
|
209
209
|
| `labelPlacement` | `above \| below \| beside` | No | `beside` | Position of label relative to the bar |
|
|
210
210
|
| `startLabel` | `number \| { value: number; render: (num: number, disabled?: boolean \| undefined) => ReactNode; }` | No | `-` | Label that is pinned to the start of the container. If a number is used then it will format it as a percentage. |
|
|
211
|
-
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` |
|
|
212
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; labelContainer?: StyleProp<ViewStyle>; startLabel?: StyleProp<TextStyle>; endLabel?: StyleProp<TextStyle>; }` | No | `-` | Custom styles for
|
|
211
|
+
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` | - |
|
|
212
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; labelContainer?: StyleProp<ViewStyle>; startLabel?: StyleProp<TextStyle>; endLabel?: StyleProp<TextStyle>; }` | No | `-` | Custom styles for individual elements of the ProgressBarWithFixedLabels component |
|
|
213
213
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
214
214
|
|
|
215
215
|
|
|
@@ -217,9 +217,9 @@ function Example() {
|
|
|
217
217
|
|
|
218
218
|
| Selector | Static class name | Description |
|
|
219
219
|
| --- | --- | --- |
|
|
220
|
-
| `root` | `-` |
|
|
221
|
-
| `labelContainer` | `-` |
|
|
222
|
-
| `startLabel` | `-` |
|
|
223
|
-
| `endLabel` | `-` |
|
|
220
|
+
| `root` | `-` | Root element |
|
|
221
|
+
| `labelContainer` | `-` | Label container element |
|
|
222
|
+
| `startLabel` | `-` | Start label element |
|
|
223
|
+
| `endLabel` | `-` | End label element |
|
|
224
224
|
|
|
225
225
|
|
|
@@ -180,8 +180,8 @@ function Example() {
|
|
|
180
180
|
| `disableAnimateOnMount` | `boolean` | No | `false` | Disable animation on component mount |
|
|
181
181
|
| `disabled` | `boolean` | No | `-` | Toggle used to show a disabled progress visualization |
|
|
182
182
|
| `labelPlacement` | `above \| below` | No | `above` | Position of label relative to the bar |
|
|
183
|
-
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` |
|
|
184
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; labelContainer?: StyleProp<ViewStyle>; label?: StyleProp<TextStyle>; }` | No | `-` | Custom styles for
|
|
183
|
+
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` | - |
|
|
184
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; labelContainer?: StyleProp<ViewStyle>; label?: StyleProp<TextStyle>; }` | No | `-` | Custom styles for individual elements of the ProgressBarWithFloatLabel component |
|
|
185
185
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
186
186
|
|
|
187
187
|
|
|
@@ -189,8 +189,8 @@ function Example() {
|
|
|
189
189
|
|
|
190
190
|
| Selector | Static class name | Description |
|
|
191
191
|
| --- | --- | --- |
|
|
192
|
-
| `root` | `-` |
|
|
193
|
-
| `labelContainer` | `-` |
|
|
194
|
-
| `label` | `-` |
|
|
192
|
+
| `root` | `-` | Root element |
|
|
193
|
+
| `labelContainer` | `-` | Label container element |
|
|
194
|
+
| `label` | `-` | Label element |
|
|
195
195
|
|
|
196
196
|
|
|
@@ -250,8 +250,8 @@ function Example() {
|
|
|
250
250
|
| `onAnimationStart` | `(() => void)` | No | `-` | Callback fired when the progress animation starts. |
|
|
251
251
|
| `ref` | `((instance: View \| null) => void) \| RefObject<View> \| null` | No | `-` | - |
|
|
252
252
|
| `size` | `number` | No | `-` | Optional size in px for the visualization. This is useful if the visualization is used in an HStack. If this is omitted the visualization will fill the parent width or height. Since its a circular visualization it will fill the smaller of the parent width or height |
|
|
253
|
-
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` |
|
|
254
|
-
| `styles` | `{ root?: StyleProp<ViewStyle>; svgContainer?: StyleProp<ViewStyle>; svg?: StyleProp<ViewStyle>; textContainer?: StyleProp<ViewStyle>; progress?: Partial<CircleProps>; circle?: Partial<CircleProps> \| undefined; } \| undefined` | No | `-` | Custom styles for the
|
|
253
|
+
| `style` | `null \| false \| ViewStyle \| RegisteredStyle<ViewStyle> \| RecursiveArray<ViewStyle \| Falsy \| RegisteredStyle<ViewStyle>>` | No | `-` | - |
|
|
254
|
+
| `styles` | `{ root?: StyleProp<ViewStyle>; svgContainer?: StyleProp<ViewStyle>; svg?: StyleProp<ViewStyle>; textContainer?: StyleProp<ViewStyle>; progress?: Partial<CircleProps>; circle?: Partial<CircleProps> \| undefined; } \| undefined` | No | `-` | Custom styles for individual elements of the ProgressCircle component |
|
|
255
255
|
| `testID` | `string` | No | `-` | Used to locate this element in unit and end-to-end tests. Under the hood, testID translates to data-testid on Web. On Mobile, testID stays the same - testID |
|
|
256
256
|
| `weight` | `normal \| heavy \| thin \| semiheavy` | No | `normal` | Toggle used to change thickness of progress visualization |
|
|
257
257
|
|
|
@@ -260,11 +260,11 @@ function Example() {
|
|
|
260
260
|
|
|
261
261
|
| Selector | Static class name | Description |
|
|
262
262
|
| --- | --- | --- |
|
|
263
|
-
| `root` | `-` |
|
|
264
|
-
| `svgContainer` | `-` |
|
|
265
|
-
| `svg` | `-` |
|
|
266
|
-
| `textContainer` | `-` |
|
|
267
|
-
| `progress` | `-` | progress circle
|
|
268
|
-
| `circle` | `-` |
|
|
263
|
+
| `root` | `-` | Root element |
|
|
264
|
+
| `svgContainer` | `-` | SVG container element |
|
|
265
|
+
| `svg` | `-` | SVG element |
|
|
266
|
+
| `textContainer` | `-` | Text container element |
|
|
267
|
+
| `progress` | `-` | Foreground progress circle element |
|
|
268
|
+
| `circle` | `-` | Background circle element |
|
|
269
269
|
|
|
270
270
|
|
|
@@ -203,10 +203,10 @@ function CustomRadioCellExample() {
|
|
|
203
203
|
|
|
204
204
|
| Selector | Static class name | Description |
|
|
205
205
|
| --- | --- | --- |
|
|
206
|
-
| `root` | `-` |
|
|
207
|
-
| `radioContainer` | `-` |
|
|
208
|
-
| `contentContainer` | `-` |
|
|
209
|
-
| `title` | `-` |
|
|
210
|
-
| `description` | `-` |
|
|
206
|
+
| `root` | `-` | Root element |
|
|
207
|
+
| `radioContainer` | `-` | Radio input container element |
|
|
208
|
+
| `contentContainer` | `-` | Content container element |
|
|
209
|
+
| `title` | `-` | Title text element |
|
|
210
|
+
| `description` | `-` | Description text element |
|
|
211
211
|
|
|
212
212
|
|