@coinbase/cds-mcp-server 8.21.7 → 8.22.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.
Files changed (153) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/mcp-docs/mobile/components/AreaChart.txt +39 -37
  3. package/mcp-docs/mobile/components/Avatar.txt +18 -18
  4. package/mcp-docs/mobile/components/AvatarButton.txt +19 -19
  5. package/mcp-docs/mobile/components/Banner.txt +63 -24
  6. package/mcp-docs/mobile/components/BarChart.txt +37 -35
  7. package/mcp-docs/mobile/components/Box.txt +18 -18
  8. package/mcp-docs/mobile/components/BrowserBar.txt +18 -18
  9. package/mcp-docs/mobile/components/Button.txt +19 -19
  10. package/mcp-docs/mobile/components/Carousel.txt +18 -18
  11. package/mcp-docs/mobile/components/CartesianChart.txt +75 -44
  12. package/mcp-docs/mobile/components/CheckboxCell.txt +19 -19
  13. package/mcp-docs/mobile/components/Chip.txt +20 -20
  14. package/mcp-docs/mobile/components/Coachmark.txt +18 -18
  15. package/mcp-docs/mobile/components/ContentCard.txt +18 -18
  16. package/mcp-docs/mobile/components/ContentCardBody.txt +18 -18
  17. package/mcp-docs/mobile/components/ContentCardFooter.txt +18 -18
  18. package/mcp-docs/mobile/components/ContentCardHeader.txt +18 -18
  19. package/mcp-docs/mobile/components/ContentCell.txt +18 -18
  20. package/mcp-docs/mobile/components/ControlGroup.txt +18 -18
  21. package/mcp-docs/mobile/components/DatePicker.txt +1 -1
  22. package/mcp-docs/mobile/components/Divider.txt +18 -18
  23. package/mcp-docs/mobile/components/DotCount.txt +1 -1
  24. package/mcp-docs/mobile/components/DotSymbol.txt +2 -2
  25. package/mcp-docs/mobile/components/Fallback.txt +18 -18
  26. package/mcp-docs/mobile/components/HStack.txt +18 -18
  27. package/mcp-docs/mobile/components/Icon.txt +6 -0
  28. package/mcp-docs/mobile/components/IconButton.txt +19 -19
  29. package/mcp-docs/mobile/components/InputChip.txt +20 -20
  30. package/mcp-docs/mobile/components/Interactable.txt +19 -19
  31. package/mcp-docs/mobile/components/LineChart.txt +1608 -898
  32. package/mcp-docs/mobile/components/Link.txt +18 -18
  33. package/mcp-docs/mobile/components/ListCell.txt +37 -19
  34. package/mcp-docs/mobile/components/Lottie.txt +18 -18
  35. package/mcp-docs/mobile/components/MediaChip.txt +20 -20
  36. package/mcp-docs/mobile/components/MultiContentModule.txt +18 -18
  37. package/mcp-docs/mobile/components/NavigationTitle.txt +18 -18
  38. package/mcp-docs/mobile/components/NavigationTitleSelect.txt +18 -18
  39. package/mcp-docs/mobile/components/Numpad.txt +18 -18
  40. package/mcp-docs/mobile/components/Overlay.txt +18 -18
  41. package/mcp-docs/mobile/components/PageFooter.txt +17 -17
  42. package/mcp-docs/mobile/components/PageHeader.txt +17 -17
  43. package/mcp-docs/mobile/components/PeriodSelector.txt +26 -26
  44. package/mcp-docs/mobile/components/Point.txt +203 -98
  45. package/mcp-docs/mobile/components/Pressable.txt +19 -19
  46. package/mcp-docs/mobile/components/ProgressBar.txt +1 -1
  47. package/mcp-docs/mobile/components/ProgressBarWithFixedLabels.txt +1 -1
  48. package/mcp-docs/mobile/components/ProgressBarWithFloatLabel.txt +1 -1
  49. package/mcp-docs/mobile/components/ProgressCircle.txt +1 -1
  50. package/mcp-docs/mobile/components/RadioCell.txt +19 -19
  51. package/mcp-docs/mobile/components/ReferenceLine.txt +197 -54
  52. package/mcp-docs/mobile/components/RollingNumber.txt +18 -18
  53. package/mcp-docs/mobile/components/Scrubber.txt +597 -79
  54. package/mcp-docs/mobile/components/SegmentedTabs.txt +18 -18
  55. package/mcp-docs/mobile/components/SelectAlpha.txt +1 -1
  56. package/mcp-docs/mobile/components/SelectChip.txt +20 -20
  57. package/mcp-docs/mobile/components/SlideButton.txt +19 -19
  58. package/mcp-docs/mobile/components/Spacer.txt +6 -6
  59. package/mcp-docs/mobile/components/SparklineInteractive.txt +3 -3
  60. package/mcp-docs/mobile/components/Spinner.txt +1 -1
  61. package/mcp-docs/mobile/components/Stepper.txt +18 -18
  62. package/mcp-docs/mobile/components/TabLabel.txt +18 -18
  63. package/mcp-docs/mobile/components/TabNavigation.txt +18 -18
  64. package/mcp-docs/mobile/components/TabbedChips.txt +18 -18
  65. package/mcp-docs/mobile/components/TabbedChipsAlpha.txt +1 -1
  66. package/mcp-docs/mobile/components/Tabs.txt +18 -18
  67. package/mcp-docs/mobile/components/Tag.txt +18 -18
  68. package/mcp-docs/mobile/components/Text.txt +18 -18
  69. package/mcp-docs/mobile/components/Toast.txt +18 -18
  70. package/mcp-docs/mobile/components/Tooltip.txt +17 -1
  71. package/mcp-docs/mobile/components/TopNavBar.txt +18 -18
  72. package/mcp-docs/mobile/components/VStack.txt +18 -18
  73. package/mcp-docs/mobile/components/XAxis.txt +86 -24
  74. package/mcp-docs/mobile/components/YAxis.txt +75 -17
  75. package/mcp-docs/mobile/routes.txt +1 -1
  76. package/mcp-docs/web/components/AreaChart.txt +523 -301
  77. package/mcp-docs/web/components/Avatar.txt +27 -27
  78. package/mcp-docs/web/components/AvatarButton.txt +28 -28
  79. package/mcp-docs/web/components/Banner.txt +72 -33
  80. package/mcp-docs/web/components/BarChart.txt +182 -313
  81. package/mcp-docs/web/components/Box.txt +28 -28
  82. package/mcp-docs/web/components/Button.txt +28 -28
  83. package/mcp-docs/web/components/Calendar.txt +27 -27
  84. package/mcp-docs/web/components/Carousel.txt +27 -27
  85. package/mcp-docs/web/components/CartesianChart.txt +62 -309
  86. package/mcp-docs/web/components/CheckboxCell.txt +25 -25
  87. package/mcp-docs/web/components/Chip.txt +27 -27
  88. package/mcp-docs/web/components/Coachmark.txt +27 -27
  89. package/mcp-docs/web/components/ContainedAssetCard.txt +27 -27
  90. package/mcp-docs/web/components/ContentCard.txt +28 -28
  91. package/mcp-docs/web/components/ContentCardBody.txt +28 -28
  92. package/mcp-docs/web/components/ContentCardFooter.txt +28 -28
  93. package/mcp-docs/web/components/ContentCardHeader.txt +28 -28
  94. package/mcp-docs/web/components/ContentCell.txt +28 -28
  95. package/mcp-docs/web/components/ControlGroup.txt +27 -27
  96. package/mcp-docs/web/components/Divider.txt +27 -27
  97. package/mcp-docs/web/components/Fallback.txt +28 -28
  98. package/mcp-docs/web/components/FloatingAssetCard.txt +27 -27
  99. package/mcp-docs/web/components/Grid.txt +28 -28
  100. package/mcp-docs/web/components/GridColumn.txt +27 -27
  101. package/mcp-docs/web/components/HStack.txt +28 -28
  102. package/mcp-docs/web/components/Icon.txt +27 -27
  103. package/mcp-docs/web/components/IconButton.txt +28 -28
  104. package/mcp-docs/web/components/InputChip.txt +27 -27
  105. package/mcp-docs/web/components/Interactable.txt +28 -28
  106. package/mcp-docs/web/components/LineChart.txt +1598 -1116
  107. package/mcp-docs/web/components/Link.txt +28 -28
  108. package/mcp-docs/web/components/ListCell.txt +48 -30
  109. package/mcp-docs/web/components/Lottie.txt +27 -27
  110. package/mcp-docs/web/components/MediaChip.txt +27 -27
  111. package/mcp-docs/web/components/Modal.txt +27 -27
  112. package/mcp-docs/web/components/ModalBody.txt +27 -27
  113. package/mcp-docs/web/components/ModalFooter.txt +27 -27
  114. package/mcp-docs/web/components/ModalHeader.txt +27 -27
  115. package/mcp-docs/web/components/MultiContentModule.txt +28 -28
  116. package/mcp-docs/web/components/NavigationBar.txt +5 -5
  117. package/mcp-docs/web/components/NudgeCard.txt +27 -27
  118. package/mcp-docs/web/components/Overlay.txt +27 -27
  119. package/mcp-docs/web/components/PageFooter.txt +26 -26
  120. package/mcp-docs/web/components/PageHeader.txt +26 -26
  121. package/mcp-docs/web/components/Pagination.txt +27 -27
  122. package/mcp-docs/web/components/PeriodSelector.txt +49 -49
  123. package/mcp-docs/web/components/Point.txt +228 -79
  124. package/mcp-docs/web/components/Pressable.txt +28 -28
  125. package/mcp-docs/web/components/RadioCell.txt +25 -25
  126. package/mcp-docs/web/components/ReferenceLine.txt +208 -60
  127. package/mcp-docs/web/components/RemoteImage.txt +26 -26
  128. package/mcp-docs/web/components/RollingNumber.txt +28 -28
  129. package/mcp-docs/web/components/Scrubber.txt +463 -68
  130. package/mcp-docs/web/components/SectionHeader.txt +27 -27
  131. package/mcp-docs/web/components/SegmentedTabs.txt +27 -27
  132. package/mcp-docs/web/components/SelectChip.txt +27 -27
  133. package/mcp-docs/web/components/SelectOption.txt +27 -27
  134. package/mcp-docs/web/components/Sidebar.txt +27 -27
  135. package/mcp-docs/web/components/SidebarItem.txt +27 -27
  136. package/mcp-docs/web/components/Spacer.txt +34 -34
  137. package/mcp-docs/web/components/SparklineInteractive.txt +1 -1
  138. package/mcp-docs/web/components/Spinner.txt +27 -27
  139. package/mcp-docs/web/components/Stepper.txt +27 -27
  140. package/mcp-docs/web/components/TabLabel.txt +27 -27
  141. package/mcp-docs/web/components/TabNavigation.txt +26 -26
  142. package/mcp-docs/web/components/TabbedChips.txt +26 -26
  143. package/mcp-docs/web/components/TabbedChipsAlpha.txt +1 -1
  144. package/mcp-docs/web/components/Tabs.txt +27 -27
  145. package/mcp-docs/web/components/Tag.txt +27 -27
  146. package/mcp-docs/web/components/Text.txt +28 -28
  147. package/mcp-docs/web/components/TileButton.txt +28 -28
  148. package/mcp-docs/web/components/Toast.txt +27 -27
  149. package/mcp-docs/web/components/Tooltip.txt +17 -1
  150. package/mcp-docs/web/components/VStack.txt +28 -28
  151. package/mcp-docs/web/components/XAxis.txt +86 -22
  152. package/mcp-docs/web/components/YAxis.txt +133 -89
  153. package/package.json +1 -1
@@ -151,7 +151,7 @@ function ResponsiveVStack() {
151
151
  | `borderedVertical` | `boolean` | No | `-` | Add a border to the top and bottom sides of the box. |
152
152
  | `bottom` | `string \| number` | No | `-` | - |
153
153
  | `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 | `-` | - |
154
- | `columnGap` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | - |
154
+ | `columnGap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
155
155
  | `dangerouslySetBackground` | `string` | No | `-` | - |
156
156
  | `display` | `flex \| none` | No | `-` | - |
157
157
  | `elevation` | `0 \| 1 \| 2` | No | `-` | Determines box shadow styles. Parent should have overflow set to visible to ensure styles are not clipped. |
@@ -164,19 +164,19 @@ function ResponsiveVStack() {
164
164
  | `fontFamily` | `inherit \| FontFamily` | No | `-` | - |
165
165
  | `fontSize` | `inherit \| FontSize` | No | `-` | - |
166
166
  | `fontWeight` | `inherit \| FontWeight` | No | `-` | - |
167
- | `gap` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | - |
167
+ | `gap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
168
168
  | `height` | `string \| number` | No | `-` | - |
169
169
  | `justifyContent` | `flex-start \| flex-end \| center \| space-between \| space-around \| space-evenly` | No | `-` | - |
170
170
  | `key` | `Key \| null` | No | `-` | - |
171
171
  | `left` | `string \| number` | No | `-` | - |
172
172
  | `lineHeight` | `inherit \| LineHeight` | No | `-` | - |
173
- | `margin` | `0 \| -1 \| -2 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5` | No | `-` | - |
174
- | `marginBottom` | `0 \| -1 \| -2 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5` | No | `-` | - |
175
- | `marginEnd` | `0 \| -1 \| -2 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5` | No | `-` | - |
176
- | `marginStart` | `0 \| -1 \| -2 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5` | No | `-` | - |
177
- | `marginTop` | `0 \| -1 \| -2 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5` | No | `-` | - |
178
- | `marginX` | `0 \| -1 \| -2 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5` | No | `-` | - |
179
- | `marginY` | `0 \| -1 \| -2 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1.5` | No | `-` | - |
173
+ | `margin` | `0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10` | No | `-` | - |
174
+ | `marginBottom` | `0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10` | No | `-` | - |
175
+ | `marginEnd` | `0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10` | No | `-` | - |
176
+ | `marginStart` | `0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10` | No | `-` | - |
177
+ | `marginTop` | `0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10` | No | `-` | - |
178
+ | `marginX` | `0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10` | No | `-` | - |
179
+ | `marginY` | `0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10` | No | `-` | - |
180
180
  | `maxHeight` | `string \| number` | No | `-` | - |
181
181
  | `maxWidth` | `string \| number` | No | `-` | - |
182
182
  | `minHeight` | `string \| number` | No | `-` | - |
@@ -195,18 +195,18 @@ function ResponsiveVStack() {
195
195
  | `onPointerUpCapture` | `((event: PointerEvent) => void)` | No | `-` | - |
196
196
  | `opacity` | `number \| AnimatedNode` | No | `-` | - |
197
197
  | `overflow` | `visible \| hidden \| scroll` | No | `-` | - |
198
- | `padding` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | - |
199
- | `paddingBottom` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | - |
200
- | `paddingEnd` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | - |
201
- | `paddingStart` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | - |
202
- | `paddingTop` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | - |
203
- | `paddingX` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | - |
204
- | `paddingY` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | - |
198
+ | `padding` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
199
+ | `paddingBottom` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
200
+ | `paddingEnd` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
201
+ | `paddingStart` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
202
+ | `paddingTop` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
203
+ | `paddingX` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
204
+ | `paddingY` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
205
205
  | `pin` | `top \| bottom \| left \| right \| all` | No | `-` | Direction in which to absolutely pin the box. |
206
- | `position` | `absolute \| relative \| static \| fixed \| sticky` | No | `-` | - |
206
+ | `position` | `static \| relative \| fixed \| absolute \| sticky` | No | `-` | - |
207
207
  | `ref` | `((instance: View \| null) => void) \| RefObject<View> \| null` | No | `-` | - |
208
208
  | `right` | `string \| number` | No | `-` | - |
209
- | `rowGap` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1.5` | No | `-` | - |
209
+ | `rowGap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
210
210
  | `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 | `-` | - |
211
211
  | `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. |
212
212
  | `textAlign` | `left \| right \| auto \| center \| justify` | No | `-` | - |
@@ -29,7 +29,7 @@ The XAxis component provides a horizontal axis for charts with automatic tick ge
29
29
  }}
30
30
  >
31
31
  <XAxis showLine showTickMarks showGrid />
32
- <Line seriesId="prices" curve="monotone" showArea />
32
+ <Line seriesId="prices" showArea />
33
33
  <Scrubber />
34
34
  </CartesianChart>
35
35
  ```
@@ -58,7 +58,7 @@ XAxis supports `linear` (default), `log`, and `band` scale types.
58
58
  }}
59
59
  >
60
60
  <XAxis showLine showTickMarks showGrid />
61
- <Line seriesId="prices" curve="monotone" showArea />
61
+ <Line seriesId="prices" showArea />
62
62
  </CartesianChart>
63
63
  ```
64
64
 
@@ -81,7 +81,7 @@ You can pass in either an object (AxisBounds) with `min` and `max` properties (b
81
81
  }}
82
82
  >
83
83
  <XAxis showLine showTickMarks showGrid tickInterval={16} />
84
- <Line seriesId="prices" curve="monotone" showArea />
84
+ <Line seriesId="prices" showArea />
85
85
  </CartesianChart>
86
86
  ```
87
87
 
@@ -108,7 +108,7 @@ You can pass in either an object (AxisBounds) with `min` and `max` properties (b
108
108
  range: ({ min, max }) => ({ min, max: max - 64 }),
109
109
  }}
110
110
  >
111
- <Line seriesId="prices" curve="monotone" showArea />
111
+ <Line seriesId="prices" showArea />
112
112
  </CartesianChart>
113
113
  ```
114
114
 
@@ -134,7 +134,7 @@ Using string data will allow you to set string x values for each data point.
134
134
  }}
135
135
  >
136
136
  <XAxis showLine showTickMarks showGrid />
137
- <Line seriesId="prices" curve="monotone" showArea />
137
+ <Line seriesId="prices" showArea />
138
138
  </CartesianChart>
139
139
  ```
140
140
 
@@ -153,7 +153,7 @@ Using number data with a numeric scale will allow you to adjust the x values for
153
153
  ]}
154
154
  height={250}
155
155
  showArea
156
- renderPoints={() => true}
156
+ points
157
157
  curve="natural"
158
158
  showXAxis
159
159
  xAxis={{ data: [1, 2, 3, 5, 8, 10], showLine: true, showTickMarks: true, showGrid: true }}
@@ -253,7 +253,7 @@ function XAxisPositionExample() {
253
253
  return (
254
254
  <LineChart
255
255
  enableScrubbing
256
- curve="monotone"
256
+
257
257
  height={400}
258
258
  series={[
259
259
  {
@@ -319,7 +319,7 @@ function XAxisGridExample() {
319
319
  }}
320
320
  >
321
321
  <XAxis showLine showTickMarks showGrid={showGrid} />
322
- <Line seriesId="prices" curve="monotone" showArea />
322
+ <Line seriesId="prices" showArea />
323
323
  <Scrubber />
324
324
  </CartesianChart>
325
325
  </VStack>
@@ -348,7 +348,7 @@ function CustomGridLineExample() {
348
348
  }}
349
349
  >
350
350
  <XAxis showLine showTickMarks showGrid GridLineComponent={ThinSolidLine} />
351
- <Line seriesId="prices" curve="monotone" showArea />
351
+ <Line seriesId="prices" showArea />
352
352
  <Scrubber />
353
353
  </CartesianChart>
354
354
  );
@@ -383,7 +383,7 @@ function XAxisLineExample() {
383
383
  }}
384
384
  >
385
385
  <XAxis showLine={showLine} showTickMarks showGrid />
386
- <Line seriesId="prices" curve="monotone" showArea />
386
+ <Line seriesId="prices" showArea />
387
387
  <Scrubber />
388
388
  </CartesianChart>
389
389
  </VStack>
@@ -419,7 +419,7 @@ function XAxisLineStylesExample() {
419
419
  showGrid
420
420
  styles={{ line: { stroke: theme.color.accentBoldGreen, strokeWidth: 4 } }}
421
421
  />
422
- <Line seriesId="prices" curve="monotone" showArea />
422
+ <Line seriesId="prices" showArea />
423
423
  <Scrubber />
424
424
  </CartesianChart>
425
425
  </VStack>
@@ -446,7 +446,7 @@ The `size` prop sets the size of the axis in pixels. The default is 32 for XAxis
446
446
  }}
447
447
  >
448
448
  <XAxis showLine showTickMarks showGrid height={64} />
449
- <Line seriesId="prices" curve="monotone" showArea />
449
+ <Line seriesId="prices" showArea />
450
450
  <Scrubber />
451
451
  </CartesianChart>
452
452
  ```
@@ -469,7 +469,7 @@ You can use the `ticks`, `requestedTickCount`, and `tickInterval` (default for X
469
469
  ]}
470
470
  >
471
471
  <XAxis showLine showTickMarks showGrid ticks={[0, 2, 4, 6]} />
472
- <Line seriesId="prices" curve="monotone" showArea />
472
+ <Line seriesId="prices" showArea />
473
473
  <Scrubber />
474
474
  </CartesianChart>
475
475
  ```
@@ -488,7 +488,7 @@ Using `requestedTickCount` will use [D3's ticks function](https://d3js.org/d3-ar
488
488
  ]}
489
489
  >
490
490
  <XAxis showLine showTickMarks showGrid requestedTickCount={4} />
491
- <Line seriesId="prices" curve="monotone" showArea />
491
+ <Line seriesId="prices" showArea />
492
492
  <Scrubber />
493
493
  </CartesianChart>
494
494
  ```
@@ -507,7 +507,7 @@ Using `requestedTickCount` will use [D3's ticks function](https://d3js.org/d3-ar
507
507
  ]}
508
508
  >
509
509
  <XAxis showLine showTickMarks showGrid tickInterval={16} />
510
- <Line seriesId="prices" curve="monotone" showArea />
510
+ <Line seriesId="prices" showArea />
511
511
  <Scrubber />
512
512
  </CartesianChart>
513
513
  ```
@@ -540,7 +540,7 @@ function XAxisTickMarksExample() {
540
540
  }}
541
541
  >
542
542
  <XAxis showLine showTickMarks={showTickMarks} tickMarkSize={16} showGrid />
543
- <Line seriesId="prices" curve="monotone" showArea />
543
+ <Line seriesId="prices" showArea />
544
544
  <Scrubber />
545
545
  </CartesianChart>
546
546
  </VStack>
@@ -567,7 +567,7 @@ You can customize the tick labels using the `tickLabelFormatter` prop. It will r
567
567
  }}
568
568
  >
569
569
  <XAxis showGrid tickLabelFormatter={(value) => `Day of ${value}`} />
570
- <Line seriesId="prices" curve="monotone" showArea />
570
+ <Line seriesId="prices" showArea />
571
571
  <Scrubber />
572
572
  </CartesianChart>
573
573
  ```
@@ -589,29 +589,91 @@ If no data is set for the axis, it will receive the regular number value of the
589
589
  }}
590
590
  >
591
591
  <XAxis showGrid tickLabelFormatter={(value) => value * 2} />
592
- <Line seriesId="prices" curve="monotone" showArea />
592
+ <Line seriesId="prices" showArea />
593
593
  <Scrubber />
594
594
  </CartesianChart>
595
595
  ```
596
596
 
597
+ #### Label
598
+
599
+ You can add a label to the axis using the `label` prop.
600
+
601
+ ```jsx
602
+ <CartesianChart
603
+ enableScrubbing
604
+ height={250}
605
+ series={[
606
+ {
607
+ id: 'prices',
608
+ data: [10, 22, 29, 45, 98, 45, 22, 52, 21, 4, 68, 20, 21, 58],
609
+ },
610
+ ]}
611
+ xAxis={{
612
+ data: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
613
+ }}
614
+ >
615
+ <XAxis showLine showTickMarks showGrid label="Month" />
616
+ <YAxis showGrid />
617
+ <Line seriesId="prices" showArea />
618
+ <Scrubber />
619
+ </CartesianChart>
620
+ ```
621
+
622
+ ##### Custom Tick Labels
623
+
624
+ You can create custom tick label components using the `TickLabelComponent` prop for advanced styling that works cross-platform.
625
+
626
+ ```jsx
627
+ function CustomTickLabelExample() {
628
+ const theme = useTheme();
629
+
630
+ const CustomXAxisTickLabel = useCallback(
631
+ (props) => <DefaultAxisTickLabel {...props} color={theme.color.accentBoldBlue} />,
632
+ [theme],
633
+ );
634
+
635
+ return (
636
+ <CartesianChart
637
+ enableScrubbing
638
+ height={250}
639
+ series={[
640
+ {
641
+ id: 'prices',
642
+ data: [10, 22, 29, 45, 98, 45, 22, 52, 21, 4, 68, 20, 21, 58],
643
+ },
644
+ ]}
645
+ xAxis={{
646
+ data: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul'],
647
+ }}
648
+ >
649
+ <XAxis showLine showTickMarks showGrid TickLabelComponent={CustomXAxisTickLabel} />
650
+ <YAxis showGrid />
651
+ <Line seriesId="prices" showArea />
652
+ <Scrubber />
653
+ </CartesianChart>
654
+ );
655
+ }
656
+ ```
657
+
597
658
  ## Props
598
659
 
599
660
  | Prop | Type | Required | Default | Description |
600
661
  | --- | --- | --- | --- | --- |
601
662
  | `GridLineComponent` | `LineComponent` | No | `DottedLine` | Component to render the grid lines. |
602
- | `className` | `string` | No | `-` | Custom className for the axis. |
603
- | `classNames` | `{ root?: string; tickLabel?: string \| undefined; gridLine?: string \| undefined; line?: string \| undefined; tickMark?: string \| undefined; } \| undefined` | No | `-` | Custom classNames for the axis. |
604
- | `height` | `number` | No | `32` | Height of the axis. This value is inclusive of the padding. |
663
+ | `LineComponent` | `LineComponent` | No | `SolidLine` | Component to render the axis line. |
664
+ | `TickLabelComponent` | `AxisTickLabelComponent` | No | `DefaultAxisTickLabel` | Component to render tick labels. Allows for custom styling and formatting that works cross-platform. |
665
+ | `TickMarkLineComponent` | `LineComponent` | No | `SolidLine` | Component to render the tick marks. |
666
+ | `height` | `number` | No | `32 when no label is provided, 52 when a label is provided` | Height of the axis. This value is inclusive of the padding. |
667
+ | `label` | `string` | No | `-` | Label text to display for the axis. |
668
+ | `labelGap` | `number` | No | `4` | Gap between the tick labels and the axis label. |
605
669
  | `minTickLabelGap` | `number` | No | `4` | Minimum gap between tick labels. Labels will be hidden if they are closer than this gap. |
606
670
  | `position` | `top \| bottom` | No | `'bottom'` | The position of the axis relative to the charts drawing area. |
607
671
  | `requestedTickCount` | `number` | No | `5 (for y-axis)` | Requested number of ticks to display. This value is passed into d3 and may not be respected. |
608
672
  | `showGrid` | `boolean` | No | `-` | Whether to show grid lines at each tick position. |
609
673
  | `showLine` | `boolean` | No | `-` | Whether to show the axis line. |
610
674
  | `showTickMarks` | `boolean` | No | `-` | Whether to show tick marks on the axis. |
611
- | `style` | `CSSProperties` | No | `-` | Custom style for the axis. |
612
- | `styles` | `{ root?: CSSProperties; tickLabel?: CSSProperties \| undefined; gridLine?: CSSProperties \| undefined; line?: CSSProperties \| undefined; tickMark?: CSSProperties \| undefined; } \| undefined` | No | `-` | Custom styles for the axis. |
613
675
  | `tickInterval` | `number` | No | `32 (for x-axis)` | Interval at which to show ticks. When provided, calculates tick count based on available space. |
614
- | `tickLabelFormatter` | `((value: any) => ChartTextChildren)` | No | `-` | Formatter function for axis tick values. Tick values will be wrapped in ChartText component. |
676
+ | `tickLabelFormatter` | `((value: number) => ChartTextChildren)` | No | `-` | Formatter function for axis tick values. Tick values will be wrapped in ChartText component. |
615
677
  | `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. |
616
678
  | `tickMarkSize` | `number` | No | `4` | Size of the tick marks. |
617
679
  | `tickMaxStep` | `number` | No | `-` | Maximum step size for tick generation. Prevents the step from being larger than this value. |
@@ -26,7 +26,7 @@ The YAxis component provides a vertical axis for charts with automatic tick gene
26
26
  ]}
27
27
  >
28
28
  <YAxis showGrid />
29
- <Line seriesId="prices" curve="monotone" showArea />
29
+ <Line seriesId="prices" showArea />
30
30
  <Scrubber />
31
31
  </CartesianChart>
32
32
  ```
@@ -92,7 +92,7 @@ You can pass in either an object (AxisBounds) with `min` and `max` properties (b
92
92
  }}
93
93
  >
94
94
  <YAxis showGrid />
95
- <Line seriesId="prices" curve="monotone" showArea />
95
+ <Line seriesId="prices" showArea />
96
96
  </CartesianChart>
97
97
  ```
98
98
 
@@ -119,7 +119,7 @@ You can pass in either an object (AxisBounds) with `min` and `max` properties (b
119
119
  range: ({ min, max }) => ({ min: min + 96, max: max - 96 }),
120
120
  }}
121
121
  >
122
- <Line seriesId="prices" curve="monotone" showArea />
122
+ <Line seriesId="prices" showArea />
123
123
  </CartesianChart>
124
124
  ```
125
125
 
@@ -183,7 +183,7 @@ function YAxisGridExample() {
183
183
  ]}
184
184
  >
185
185
  <YAxis showGrid={showGrid} />
186
- <Line seriesId="prices" curve="monotone" showArea />
186
+ <Line seriesId="prices" showArea />
187
187
  <Scrubber />
188
188
  </CartesianChart>
189
189
  </VStack>
@@ -257,7 +257,7 @@ function YAxisLineExample() {
257
257
  ]}
258
258
  >
259
259
  <YAxis showLine={showLine} />
260
- <Line seriesId="prices" curve="monotone" showArea />
260
+ <Line seriesId="prices" showArea />
261
261
  <Scrubber />
262
262
  </CartesianChart>
263
263
  </VStack>
@@ -293,7 +293,7 @@ function YAxisLineStylesExample() {
293
293
  showGrid
294
294
  styles={{ line: { stroke: theme.color.accentBoldGreen, strokeWidth: 4 } }}
295
295
  />
296
- <Line seriesId="prices" curve="monotone" showArea />
296
+ <Line seriesId="prices" showArea />
297
297
  <Scrubber />
298
298
  </CartesianChart>
299
299
  </VStack>
@@ -354,7 +354,7 @@ You can use the `ticks`, `requestedTickCount` (default for YAxis), and `tickInte
354
354
  ]}
355
355
  >
356
356
  <YAxis showLine showTickMarks showGrid ticks={[34, 56, 80]} />
357
- <Line seriesId="prices" curve="monotone" showArea />
357
+ <Line seriesId="prices" showArea />
358
358
  <Scrubber />
359
359
  </CartesianChart>
360
360
  ```
@@ -375,7 +375,7 @@ This is the default behavior for YAxis, and defaults to `5`.
375
375
  ]}
376
376
  >
377
377
  <YAxis showLine showTickMarks showGrid requestedTickCount={5} />
378
- <Line seriesId="prices" curve="monotone" showArea />
378
+ <Line seriesId="prices" showArea />
379
379
  <Scrubber />
380
380
  </CartesianChart>
381
381
  ```
@@ -394,7 +394,7 @@ This is the default behavior for YAxis, and defaults to `5`.
394
394
  ]}
395
395
  >
396
396
  <YAxis showLine showTickMarks showGrid tickInterval={8} />
397
- <Line seriesId="prices" curve="monotone" showArea />
397
+ <Line seriesId="prices" showArea />
398
398
  <Scrubber />
399
399
  </CartesianChart>
400
400
  ```
@@ -425,7 +425,7 @@ function YAxisTickMarksExample() {
425
425
  ]}
426
426
  >
427
427
  <YAxis showLine showTickMarks={showTickMarks} tickMarkSize={16} showGrid />
428
- <Line seriesId="prices" curve="monotone" showArea />
428
+ <Line seriesId="prices" showArea />
429
429
  <Scrubber />
430
430
  </CartesianChart>
431
431
  </VStack>
@@ -449,11 +449,68 @@ You can customize the tick labels using the `tickLabelFormatter` prop.
449
449
  ]}
450
450
  >
451
451
  <YAxis showGrid tickLabelFormatter={(value) => `$${value}`} />
452
- <Line seriesId="prices" curve="monotone" showArea />
452
+ <Line seriesId="prices" showArea />
453
453
  <Scrubber />
454
454
  </CartesianChart>
455
455
  ```
456
456
 
457
+ #### Label
458
+
459
+ You can add a label to the axis using the `label` prop.
460
+
461
+ ```jsx
462
+ <CartesianChart
463
+ enableScrubbing
464
+ height={250}
465
+ series={[
466
+ {
467
+ id: 'prices',
468
+ data: [10, 22, 29, 45, 98, 45, 22, 52, 21, 4, 68, 20, 21, 58],
469
+ },
470
+ ]}
471
+ >
472
+ <YAxis showGrid label="Price ($)" tickLabelFormatter={(value) => `$${value}`} />
473
+ <Line seriesId="prices" showArea />
474
+ <Scrubber />
475
+ </CartesianChart>
476
+ ```
477
+
478
+ ##### Custom Tick Labels
479
+
480
+ You can create custom tick label components using the `TickLabelComponent` prop for advanced styling and positioning that works cross-platform.
481
+
482
+ ```jsx
483
+ function CustomTickLabelExample() {
484
+ const CustomYAxisTickLabel = useCallback(
485
+ (props) => <DefaultAxisTickLabel {...props} dx={4} dy={-12} horizontalAlignment="left" />,
486
+ [],
487
+ );
488
+
489
+ return (
490
+ <CartesianChart
491
+ enableScrubbing
492
+ height={250}
493
+ series={[
494
+ {
495
+ id: 'prices',
496
+ data: [10, 22, 29, 45, 98, 45, 22, 52, 21, 4, 68, 20, 21, 58],
497
+ },
498
+ ]}
499
+ >
500
+ <YAxis
501
+ showGrid
502
+ position="left"
503
+ width={0}
504
+ tickLabelFormatter={(value) => `$${value}`}
505
+ TickLabelComponent={CustomYAxisTickLabel}
506
+ />
507
+ <Line seriesId="prices" showArea />
508
+ <Scrubber />
509
+ </CartesianChart>
510
+ );
511
+ }
512
+ ```
513
+
457
514
  ### Customization
458
515
 
459
516
  #### Multiple Y Axes
@@ -544,24 +601,25 @@ function MultipleYAxesExample() {
544
601
  | Prop | Type | Required | Default | Description |
545
602
  | --- | --- | --- | --- | --- |
546
603
  | `GridLineComponent` | `LineComponent` | No | `DottedLine` | Component to render the grid lines. |
604
+ | `LineComponent` | `LineComponent` | No | `SolidLine` | Component to render the axis line. |
605
+ | `TickLabelComponent` | `AxisTickLabelComponent` | No | `DefaultAxisTickLabel` | Component to render tick labels. Allows for custom styling and formatting that works cross-platform. |
606
+ | `TickMarkLineComponent` | `LineComponent` | No | `SolidLine` | Component to render the tick marks. |
547
607
  | `axisId` | `string` | No | `-` | The ID of the axis to render. Defaults to defaultAxisId if not specified. |
548
- | `className` | `string` | No | `-` | Custom className for the axis. |
549
- | `classNames` | `{ root?: string; tickLabel?: string \| undefined; gridLine?: string \| undefined; line?: string \| undefined; tickMark?: string \| undefined; } \| undefined` | No | `-` | Custom classNames for the axis. |
608
+ | `label` | `string` | No | `-` | Label text to display for the axis. |
609
+ | `labelGap` | `number` | No | `4` | Gap between the tick labels and the axis label. |
550
610
  | `minTickLabelGap` | `number` | No | `4` | Minimum gap between tick labels. Labels will be hidden if they are closer than this gap. |
551
611
  | `position` | `left \| right` | No | `'right'` | The position of the axis relative to the charts drawing area. |
552
612
  | `requestedTickCount` | `number` | No | `5 (for y-axis)` | Requested number of ticks to display. This value is passed into d3 and may not be respected. |
553
613
  | `showGrid` | `boolean` | No | `-` | Whether to show grid lines at each tick position. |
554
614
  | `showLine` | `boolean` | No | `-` | Whether to show the axis line. |
555
615
  | `showTickMarks` | `boolean` | No | `-` | Whether to show tick marks on the axis. |
556
- | `style` | `CSSProperties` | No | `-` | Custom style for the axis. |
557
- | `styles` | `{ root?: CSSProperties; tickLabel?: CSSProperties \| undefined; gridLine?: CSSProperties \| undefined; line?: CSSProperties \| undefined; tickMark?: CSSProperties \| undefined; } \| undefined` | No | `-` | Custom styles for the axis. |
558
616
  | `tickInterval` | `number` | No | `32 (for x-axis)` | Interval at which to show ticks. When provided, calculates tick count based on available space. |
559
- | `tickLabelFormatter` | `((value: any) => ChartTextChildren)` | No | `-` | Formatter function for axis tick values. Tick values will be wrapped in ChartText component. |
617
+ | `tickLabelFormatter` | `((value: number) => ChartTextChildren)` | No | `-` | Formatter function for axis tick values. Tick values will be wrapped in ChartText component. |
560
618
  | `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. |
561
619
  | `tickMarkSize` | `number` | No | `4` | Size of the tick marks. |
562
620
  | `tickMaxStep` | `number` | No | `-` | Maximum step size for tick generation. Prevents the step from being larger than this value. |
563
621
  | `tickMinStep` | `number` | No | `1` | Minimum step size for tick generation. Prevents the step from being smaller than this value. |
564
622
  | `ticks` | `number[] \| ((value: number) => boolean)` | No | `-` | Custom tick configuration for the axis. When provided, this overrides the requestedTickCount property. - **Array**: Uses these exact values for tick positioning and labels. - **Function**: Filters based on the predicate function. - For **x-axis**: Checks every data index (0, 1, 2, ..., dataLength-1) - For **y-axis**: Filters d3-generated tick values |
565
- | `width` | `number` | No | `44` | Width of the axis. This value is inclusive of the padding. |
623
+ | `width` | `number` | No | `44 when no label is provided, 64 when a label is provided` | Width of the axis. This value is inclusive of the padding. |
566
624
 
567
625
 
@@ -105,7 +105,7 @@
105
105
  - [Sparkline](mobile/components/Sparkline.txt): A small line chart component for displaying data trends.
106
106
  - [Scrubber](mobile/components/Scrubber.txt): An interactive scrubber component for exploring individual data points in charts. Displays values on hover or drag and supports custom labels and formatting.
107
107
  - [ReferenceLine](mobile/components/ReferenceLine.txt): A horizontal or vertical reference line to mark important values on a chart, such as targets, thresholds, or baseline values.
108
- - [Point](mobile/components/Point.txt): Visual markers that highlight specific data values on a chart. Points can be customized with different colors, sizes, and interactivity.
108
+ - [Point](mobile/components/Point.txt): Visual markers that highlight specific data values on a chart. Points can be customized with different colors, sizes, and labels.
109
109
  - [PeriodSelector](mobile/components/PeriodSelector.txt): A selector component for choosing time periods in charts.
110
110
  - [LineChart](mobile/components/LineChart.txt): A flexible line chart component for displaying data trends over time. Supports multiple series, custom curves, areas, scrubbing, and interactive data exploration.
111
111
  - [CartesianChart](mobile/components/CartesianChart.txt): A flexible, low-level chart component for displaying data in an x/y coordinate space. Provides a foundation for building custom chart visualizations with full control over rendering.