@coinbase/cds-mcp-server 8.52.0 → 8.52.2

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/mcp-docs/mobile/components/AreaChart.txt +12 -222
  3. package/mcp-docs/mobile/components/BarChart.txt +222 -333
  4. package/mcp-docs/mobile/components/CartesianChart.txt +6 -3
  5. package/mcp-docs/mobile/components/Checkbox.txt +2 -2
  6. package/mcp-docs/mobile/components/Chip.txt +74 -29
  7. package/mcp-docs/mobile/components/LineChart.txt +54 -134
  8. package/mcp-docs/mobile/components/Point.txt +1 -0
  9. package/mcp-docs/mobile/components/Radio.txt +2 -2
  10. package/mcp-docs/mobile/components/Scrubber.txt +2 -1
  11. package/mcp-docs/mobile/components/XAxis.txt +54 -1
  12. package/mcp-docs/mobile/components/YAxis.txt +3 -1
  13. package/mcp-docs/mobile/routes.txt +1 -1
  14. package/mcp-docs/web/components/AreaChart.txt +26 -118
  15. package/mcp-docs/web/components/BarChart.txt +228 -116
  16. package/mcp-docs/web/components/CartesianChart.txt +6 -3
  17. package/mcp-docs/web/components/Checkbox.txt +2 -2
  18. package/mcp-docs/web/components/Chip.txt +74 -29
  19. package/mcp-docs/web/components/FocusTrap.txt +2 -1
  20. package/mcp-docs/web/components/FullscreenModal.txt +2 -2
  21. package/mcp-docs/web/components/FullscreenModalLayout.txt +2 -2
  22. package/mcp-docs/web/components/LineChart.txt +42 -2
  23. package/mcp-docs/web/components/Modal.txt +67 -2
  24. package/mcp-docs/web/components/Point.txt +1 -0
  25. package/mcp-docs/web/components/Radio.txt +2 -2
  26. package/mcp-docs/web/components/ReferenceLine.txt +1 -1
  27. package/mcp-docs/web/components/Scrubber.txt +2 -1
  28. package/mcp-docs/web/components/Tray.txt +69 -2
  29. package/mcp-docs/web/components/XAxis.txt +55 -2
  30. package/mcp-docs/web/components/YAxis.txt +4 -2
  31. package/mcp-docs/web/routes.txt +1 -1
  32. package/package.json +1 -1
@@ -152,6 +152,8 @@ You can set the position of an axis to `left` or `right` (default).
152
152
  </CartesianChart>
153
153
  ```
154
154
 
155
+ When `layout="horizontal"`, CartesianChart supports only one y-axis configuration.
156
+
155
157
  #### Grid
156
158
 
157
159
  You can show grid lines at each tick position using the `showGrid` prop.
@@ -576,7 +578,7 @@ function CustomTickLabelExample() {
576
578
  | `labelGap` | `number` | No | `4` | Gap between the tick labels and the axis label. |
577
579
  | `minTickLabelGap` | `number` | No | `4` | Minimum gap between tick labels. Labels will be hidden if they are closer than this gap. |
578
580
  | `position` | `left \| right` | No | `'right'` | The position of the axis relative to the charts drawing area. |
579
- | `requestedTickCount` | `number` | No | `5 (for y-axis)` | Requested number of ticks to display. This value is passed into d3 and may not be respected. |
581
+ | `requestedTickCount` | `number` | No | `5 for value axes by layout: - X axis when chart layout is horizontal - Y axis when chart layout is vertical` | Requested number of ticks to display. This value is passed into d3 and may not be respected. |
580
582
  | `showGrid` | `boolean` | No | `-` | Whether to show grid lines at each tick position. |
581
583
  | `showLine` | `boolean` | No | `-` | Whether to show the axis line. |
582
584
  | `showTickMarks` | `boolean` | No | `-` | Whether to show tick marks on the axis. |
@@ -584,7 +586,7 @@ function CustomTickLabelExample() {
584
586
  | `styles` | `{ root?: CSSProperties; label?: CSSProperties \| undefined; tickLabel?: CSSProperties \| undefined; gridLine?: CSSProperties \| undefined; line?: CSSProperties \| undefined; tickMark?: CSSProperties \| undefined; } \| undefined` | No | `-` | Custom styles for the axis. |
585
587
  | `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 |
586
588
  | `tickInterval` | `number` | No | `32 (for x-axis)` | Interval at which to show ticks. When provided, calculates tick count based on available space. |
587
- | `tickLabelFormatter` | `((value: number) => ChartTextChildren)` | No | `-` | Formatter function for axis tick values. Tick values will be wrapped in ChartText component. |
589
+ | `tickLabelFormatter` | `((value: number) => ChartTextChildren)` | No | `-` | Formatter function for axis tick values. Tick values will be wrapped in ChartText component. For band scales with string data, the value will be the string label (e.g., Jan, Feb). For numeric scales, the value will be the number. |
588
590
  | `tickMarkLabelGap` | `number` | No | `2 for x-axis, 8 for y-axis` | Space between the axis tick mark and labels. If tick marks are not shown, this is the gap between the axis and the chart. |
589
591
  | `tickMarkSize` | `number` | No | `4` | Size of the tick marks. |
590
592
  | `tickMaxStep` | `number` | No | `-` | Maximum step size for tick generation. Prevents the step from being larger than this value. |
@@ -106,7 +106,7 @@
106
106
  - [IconButton](web/components/IconButton.txt): A Button with an Icon for content.
107
107
  - [ControlGroup](web/components/ControlGroup.txt): A layout component that arranges and manages a group of related controls, such as radio buttons, switches, or checkboxes.
108
108
  - [Combobox](web/components/Combobox.txt): A flexible combobox component for both single and multi-selection, built for web applications with comprehensive accessibility support.
109
- - [Chip](web/components/Chip.txt): A compact, interactive content element.
109
+ - [Chip](web/components/Chip.txt): A compact content element for tags, filters, and selections.
110
110
  - [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.
111
111
  - [CheckboxCell](web/components/CheckboxCell.txt): A selectable cell that pairs a checkbox with a title and description for multi-choice selections.
112
112
  - [Checkbox](web/components/Checkbox.txt): Checkbox is a type of control component that allows user to select one or more options from a set. They can also be used alone to switch between on and off.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cds-mcp-server",
3
- "version": "8.52.0",
3
+ "version": "8.52.2",
4
4
  "description": "Coinbase Design System - MCP Server",
5
5
  "repository": {
6
6
  "type": "git",