@coinbase/cds-mcp-server 8.28.2 → 8.30.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/Accordion.txt +3 -1
- package/mcp-docs/mobile/components/Alert.txt +3 -1
- package/mcp-docs/mobile/components/Banner.txt +14 -14
- package/mcp-docs/mobile/components/Carousel.txt +24 -24
- package/mcp-docs/mobile/components/Combobox.txt +187 -0
- package/mcp-docs/mobile/components/ContainedAssetCard.txt +4 -4
- package/mcp-docs/mobile/components/ContentCard.txt +29 -27
- package/mcp-docs/mobile/components/ContentCardBody.txt +4 -4
- package/mcp-docs/mobile/components/ContentCardHeader.txt +2 -2
- package/mcp-docs/mobile/components/FloatingAssetCard.txt +6 -6
- package/mcp-docs/mobile/components/LineChart.txt +3 -2
- package/mcp-docs/mobile/components/MultiContentModule.txt +6 -6
- package/mcp-docs/mobile/components/Numpad.txt +2 -2
- package/mcp-docs/mobile/components/PageHeader.txt +3 -1
- package/mcp-docs/mobile/components/PeriodSelector.txt +4 -4
- package/mcp-docs/mobile/components/Pressable.txt +6 -2
- package/mcp-docs/mobile/components/ProgressBarWithFixedLabels.txt +4 -4
- package/mcp-docs/mobile/components/ProgressBarWithFloatLabel.txt +2 -2
- package/mcp-docs/mobile/components/ProgressCircle.txt +5 -1
- package/mcp-docs/mobile/components/SelectChip.txt +2 -0
- package/mcp-docs/mobile/components/SelectChipAlpha.txt +88 -1
- package/mcp-docs/mobile/components/SlideButton.txt +2 -2
- package/mcp-docs/mobile/components/Sparkline.txt +3 -1
- package/mcp-docs/mobile/components/SparklineGradient.txt +3 -1
- package/mcp-docs/mobile/components/SparklineInteractiveHeader.txt +3 -1
- package/mcp-docs/mobile/components/TabbedChips.txt +3 -1
- package/mcp-docs/mobile/components/TabbedChipsAlpha.txt +30 -0
- package/mcp-docs/mobile/components/Tag.txt +19 -9
- package/mcp-docs/mobile/components/TextInput.txt +9 -3
- package/mcp-docs/mobile/components/Tray.txt +2 -0
- package/mcp-docs/mobile/components/UpsellCard.txt +16 -16
- package/mcp-docs/mobile/hooks/useDimensions.txt +4 -4
- package/mcp-docs/mobile/hooks/useMergeRefs.txt +4 -4
- package/mcp-docs/mobile/hooks/usePreviousValue.txt +5 -5
- package/mcp-docs/mobile/hooks/useRefMap.txt +6 -6
- package/mcp-docs/mobile/routes.txt +1 -0
- package/mcp-docs/web/components/Accordion.txt +3 -1
- package/mcp-docs/web/components/Alert.txt +3 -1
- package/mcp-docs/web/components/Banner.txt +14 -14
- package/mcp-docs/web/components/Carousel.txt +71 -65
- package/mcp-docs/web/components/Chip.txt +1 -1
- package/mcp-docs/web/components/Combobox.txt +176 -0
- package/mcp-docs/web/components/ContainedAssetCard.txt +4 -4
- package/mcp-docs/web/components/ContentCard.txt +29 -27
- package/mcp-docs/web/components/ContentCardBody.txt +4 -4
- package/mcp-docs/web/components/ContentCardHeader.txt +2 -2
- package/mcp-docs/web/components/FloatingAssetCard.txt +6 -6
- package/mcp-docs/web/components/FullscreenModal.txt +12 -4
- package/mcp-docs/web/components/GridColumn.txt +12 -4
- package/mcp-docs/web/components/InputChip.txt +1 -1
- package/mcp-docs/web/components/LineChart.txt +3 -2
- package/mcp-docs/web/components/MediaChip.txt +1 -1
- package/mcp-docs/web/components/MultiContentModule.txt +6 -6
- package/mcp-docs/web/components/PageHeader.txt +11 -9
- package/mcp-docs/web/components/ProgressBarWithFixedLabels.txt +4 -4
- package/mcp-docs/web/components/ProgressBarWithFloatLabel.txt +2 -2
- package/mcp-docs/web/components/ProgressCircle.txt +5 -1
- package/mcp-docs/web/components/SelectChip.txt +1 -1
- package/mcp-docs/web/components/SelectChipAlpha.txt +87 -3
- package/mcp-docs/web/components/Sidebar.txt +2 -2
- package/mcp-docs/web/components/Sparkline.txt +3 -1
- package/mcp-docs/web/components/SparklineGradient.txt +3 -1
- package/mcp-docs/web/components/SparklineInteractiveHeader.txt +3 -1
- package/mcp-docs/web/components/TabbedChips.txt +3 -1
- package/mcp-docs/web/components/TabbedChipsAlpha.txt +35 -1
- package/mcp-docs/web/components/TableBody.txt +2 -2
- package/mcp-docs/web/components/TableCaption.txt +2 -2
- package/mcp-docs/web/components/TableCell.txt +6 -6
- package/mcp-docs/web/components/Tag.txt +19 -9
- package/mcp-docs/web/components/TextInput.txt +9 -3
- package/mcp-docs/web/components/Tray.txt +2 -1
- package/mcp-docs/web/components/UpsellCard.txt +16 -16
- package/mcp-docs/web/hooks/useDimensions.txt +4 -4
- package/mcp-docs/web/hooks/useHasMounted.txt +7 -3
- package/mcp-docs/web/hooks/useIsoEffect.txt +1 -1
- package/mcp-docs/web/hooks/useMergeRefs.txt +4 -4
- package/mcp-docs/web/hooks/useOverlayContentContext.txt +8 -8
- package/mcp-docs/web/hooks/usePreviousValue.txt +5 -5
- package/mcp-docs/web/hooks/useRefMap.txt +6 -6
- package/mcp-docs/web/hooks/useScrollBlocker.txt +1 -1
- package/mcp-docs/web/hooks/useTheme.txt +3 -3
- package/mcp-docs/web/routes.txt +1 -0
- package/package.json +1 -1
|
@@ -83,7 +83,7 @@ function ExampleComponent() {
|
|
|
83
83
|
|
|
84
84
|
return (
|
|
85
85
|
<VStack gap={2}>
|
|
86
|
-
<
|
|
86
|
+
<Text font="headline">Overlay Context Information</Text>
|
|
87
87
|
<Text>Is inside any overlay: {isOverlay ? 'Yes' : 'No'}</Text>
|
|
88
88
|
<Text>Is inside modal: {isModal ? 'Yes' : 'No'}</Text>
|
|
89
89
|
<Text>Is inside drawer/tray: {isDrawer ? 'Yes' : 'No'}</Text>
|
|
@@ -106,7 +106,7 @@ function ModalExample() {
|
|
|
106
106
|
|
|
107
107
|
return (
|
|
108
108
|
<VStack gap={2}>
|
|
109
|
-
<
|
|
109
|
+
<Text font="headline">Overlay Context Information</Text>
|
|
110
110
|
<Text>Is inside any overlay: {isOverlay ? 'Yes' : 'No'}</Text>
|
|
111
111
|
<Text>Is inside modal: {isModal ? 'Yes' : 'No'}</Text>
|
|
112
112
|
<Text>Is inside drawer/tray: {isDrawer ? 'Yes' : 'No'}</Text>
|
|
@@ -118,7 +118,7 @@ function ModalExample() {
|
|
|
118
118
|
return (
|
|
119
119
|
<VStack gap={3}>
|
|
120
120
|
<VStack gap={2} padding={3} background="bgSecondary" borderRadius={400}>
|
|
121
|
-
<
|
|
121
|
+
<Text font="headline">Outside Modal</Text>
|
|
122
122
|
<ExampleComponent />
|
|
123
123
|
</VStack>
|
|
124
124
|
|
|
@@ -156,7 +156,7 @@ function ContextProviderExample() {
|
|
|
156
156
|
|
|
157
157
|
return (
|
|
158
158
|
<VStack gap={2}>
|
|
159
|
-
<
|
|
159
|
+
<Text font="headline">Overlay Context Information</Text>
|
|
160
160
|
<Text>Is inside any overlay: {isOverlay ? 'Yes' : 'No'}</Text>
|
|
161
161
|
<Text>Is inside modal: {isModal ? 'Yes' : 'No'}</Text>
|
|
162
162
|
<Text>Is inside drawer/tray: {isDrawer ? 'Yes' : 'No'}</Text>
|
|
@@ -174,7 +174,7 @@ function ContextProviderExample() {
|
|
|
174
174
|
return (
|
|
175
175
|
<OverlayContentContext.Provider value={contextValue}>
|
|
176
176
|
<VStack gap={2} padding={3} background="bgSecondary" borderRadius={400}>
|
|
177
|
-
<
|
|
177
|
+
<Text font="headline">Inside Context Provider</Text>
|
|
178
178
|
<ExampleComponent />
|
|
179
179
|
</VStack>
|
|
180
180
|
</OverlayContentContext.Provider>
|
|
@@ -195,7 +195,7 @@ function ConditionalRenderingExample() {
|
|
|
195
195
|
|
|
196
196
|
return (
|
|
197
197
|
<VStack gap={2}>
|
|
198
|
-
<
|
|
198
|
+
<Text font="headline">Conditional Content</Text>
|
|
199
199
|
{isOverlay ? (
|
|
200
200
|
<VStack gap={1}>
|
|
201
201
|
<Text color="fgPositive">✓ This content shows when inside an overlay</Text>
|
|
@@ -211,7 +211,7 @@ function ConditionalRenderingExample() {
|
|
|
211
211
|
return (
|
|
212
212
|
<VStack gap={3}>
|
|
213
213
|
<VStack gap={2} padding={3} background="bgSecondary" borderRadius={400}>
|
|
214
|
-
<
|
|
214
|
+
<Text font="headline">Outside Modal</Text>
|
|
215
215
|
<ConditionalContent />
|
|
216
216
|
</VStack>
|
|
217
217
|
|
|
@@ -251,7 +251,7 @@ function StylingExample() {
|
|
|
251
251
|
|
|
252
252
|
return (
|
|
253
253
|
<VStack padding={3} background={getBackgroundColor()} borderRadius={400} gap={2}>
|
|
254
|
-
<
|
|
254
|
+
<Text font="headline">Dynamic Styling</Text>
|
|
255
255
|
<Text>{getStatusText()}</Text>
|
|
256
256
|
<Text color="fgMuted" font="caption">
|
|
257
257
|
Background color: {getBackgroundColor()}
|
|
@@ -39,8 +39,8 @@ function Example() {
|
|
|
39
39
|
return (
|
|
40
40
|
<VStack gap={3} alignItems="start">
|
|
41
41
|
<VStack gap={1}>
|
|
42
|
-
<
|
|
43
|
-
<
|
|
42
|
+
<Text font="headline">Current count: {count}</Text>
|
|
43
|
+
<Text font="headline">Previous count: {previousCount ?? 'None'}</Text>
|
|
44
44
|
</VStack>
|
|
45
45
|
<Button onClick={() => setCount(count + 1)}>Increment</Button>
|
|
46
46
|
</VStack>
|
|
@@ -62,9 +62,9 @@ function Example() {
|
|
|
62
62
|
return (
|
|
63
63
|
<VStack gap={3} alignItems="start">
|
|
64
64
|
<VStack gap={1}>
|
|
65
|
-
<
|
|
66
|
-
<
|
|
67
|
-
<
|
|
65
|
+
<Text font="headline">Name: {user.name}</Text>
|
|
66
|
+
<Text font="headline">Age: {user.age}</Text>
|
|
67
|
+
<Text font="headline">Previous age: {previousUser?.age ?? 'None'}</Text>
|
|
68
68
|
</VStack>
|
|
69
69
|
<Button onClick={updateAge}>Add Year</Button>
|
|
70
70
|
</VStack>
|
|
@@ -56,7 +56,7 @@ function Example() {
|
|
|
56
56
|
background="bgAlternate"
|
|
57
57
|
borderRadius={300}
|
|
58
58
|
>
|
|
59
|
-
<
|
|
59
|
+
<Text font="body">This box is registered with ID 'box1'</Text>
|
|
60
60
|
</Box>
|
|
61
61
|
<Button onClick={handleClick}>Get Box Dimensions</Button>
|
|
62
62
|
</VStack>
|
|
@@ -103,7 +103,7 @@ function Example() {
|
|
|
103
103
|
background="bgAlternate"
|
|
104
104
|
borderRadius={300}
|
|
105
105
|
>
|
|
106
|
-
<
|
|
106
|
+
<Text font="body">Box 1</Text>
|
|
107
107
|
</Box>
|
|
108
108
|
|
|
109
109
|
<Box
|
|
@@ -112,7 +112,7 @@ function Example() {
|
|
|
112
112
|
background="bgAlternate"
|
|
113
113
|
borderRadius={300}
|
|
114
114
|
>
|
|
115
|
-
<
|
|
115
|
+
<Text font="body">Box 2</Text>
|
|
116
116
|
</Box>
|
|
117
117
|
|
|
118
118
|
<Box
|
|
@@ -121,7 +121,7 @@ function Example() {
|
|
|
121
121
|
background="bgAlternate"
|
|
122
122
|
borderRadius={300}
|
|
123
123
|
>
|
|
124
|
-
<
|
|
124
|
+
<Text font="body">Box 3</Text>
|
|
125
125
|
</Box>
|
|
126
126
|
</VStack>
|
|
127
127
|
</VStack>
|
|
@@ -158,7 +158,7 @@ function Example() {
|
|
|
158
158
|
background="bgAlternate"
|
|
159
159
|
borderRadius={300}
|
|
160
160
|
>
|
|
161
|
-
<
|
|
161
|
+
<Text font="body">Box 1</Text>
|
|
162
162
|
</Box>
|
|
163
163
|
|
|
164
164
|
<Box
|
|
@@ -167,7 +167,7 @@ function Example() {
|
|
|
167
167
|
background="bgAlternate"
|
|
168
168
|
borderRadius={300}
|
|
169
169
|
>
|
|
170
|
-
<
|
|
170
|
+
<Text font="body">Box 2</Text>
|
|
171
171
|
</Box>
|
|
172
172
|
|
|
173
173
|
<Button onClick={logRefs}>Log Refs</Button>
|
|
@@ -44,7 +44,7 @@ function Example() {
|
|
|
44
44
|
|
|
45
45
|
return (
|
|
46
46
|
<VStack gap={3} alignItems="start">
|
|
47
|
-
<
|
|
47
|
+
<Text font="headline">Scroll is currently {isBlocked ? 'blocked' : 'enabled'}</Text>
|
|
48
48
|
<Button onClick={toggleScroll}>{isBlocked ? 'Enable Scroll' : 'Block Scroll'}</Button>
|
|
49
49
|
</VStack>
|
|
50
50
|
);
|
|
@@ -300,7 +300,7 @@ function Example() {
|
|
|
300
300
|
return (
|
|
301
301
|
<VStack gap={2}>
|
|
302
302
|
<Box padding={3} background="bgAlternate" borderRadius={300}>
|
|
303
|
-
<
|
|
303
|
+
<Text font="headline">Current Color Scheme: {theme.activeColorScheme}</Text>
|
|
304
304
|
</Box>
|
|
305
305
|
|
|
306
306
|
<VStack padding={3} background="bgAlternate" borderRadius={300}>
|
|
@@ -354,9 +354,9 @@ function Example() {
|
|
|
354
354
|
return (
|
|
355
355
|
<Box gap={0.5} borderRadius={300} alignItems="baseline">
|
|
356
356
|
<Text as="span">This box adapts to {isDarkMode ? 'dark' : 'light'} mode</Text>
|
|
357
|
-
<
|
|
357
|
+
<Text as="span" font="headline" color={isDarkMode ? 'fgMuted' : 'fgPrimary'}>
|
|
358
358
|
with adaptive text colors
|
|
359
|
-
</
|
|
359
|
+
</Text>
|
|
360
360
|
</Box>
|
|
361
361
|
);
|
|
362
362
|
}
|
package/mcp-docs/web/routes.txt
CHANGED
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
- [InputChip](web/components/InputChip.txt): A Chip used for removable selections.
|
|
104
104
|
- [IconButton](web/components/IconButton.txt): A Button with an Icon for content.
|
|
105
105
|
- [ControlGroup](web/components/ControlGroup.txt): A layout component that arranges and manages a group of related controls, such as radio buttons, switches, or checkboxes.
|
|
106
|
+
- [Combobox](web/components/Combobox.txt): A flexible combobox component for both single and multi-selection, built for web applications with comprehensive accessibility support.
|
|
106
107
|
- [Chip](web/components/Chip.txt): A compact, interactive content element.
|
|
107
108
|
- [CheckboxGroup](web/components/CheckboxGroup.txt): CheckboxGroup is a control component that allows users to select multiple options from a set of choices. It manages the state and layout of multiple checkbox inputs as a cohesive group.
|
|
108
109
|
- [CheckboxCell](web/components/CheckboxCell.txt): A selectable cell that pairs a checkbox with a title and description for multi-choice selections.
|