@coinbase/cds-mcp-server 8.21.8 → 8.22.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.
- package/CHANGELOG.md +12 -0
- package/mcp-docs/mobile/components/AreaChart.txt +39 -37
- package/mcp-docs/mobile/components/Avatar.txt +18 -18
- package/mcp-docs/mobile/components/AvatarButton.txt +19 -19
- package/mcp-docs/mobile/components/Banner.txt +62 -23
- package/mcp-docs/mobile/components/BarChart.txt +37 -35
- package/mcp-docs/mobile/components/Box.txt +18 -18
- package/mcp-docs/mobile/components/BrowserBar.txt +18 -18
- package/mcp-docs/mobile/components/Button.txt +19 -19
- package/mcp-docs/mobile/components/Carousel.txt +18 -18
- package/mcp-docs/mobile/components/CartesianChart.txt +75 -44
- package/mcp-docs/mobile/components/CheckboxCell.txt +19 -19
- package/mcp-docs/mobile/components/Chip.txt +20 -20
- package/mcp-docs/mobile/components/Coachmark.txt +18 -18
- package/mcp-docs/mobile/components/ContentCard.txt +18 -18
- package/mcp-docs/mobile/components/ContentCardBody.txt +18 -18
- package/mcp-docs/mobile/components/ContentCardFooter.txt +18 -18
- package/mcp-docs/mobile/components/ContentCardHeader.txt +18 -18
- package/mcp-docs/mobile/components/ContentCell.txt +18 -18
- package/mcp-docs/mobile/components/ControlGroup.txt +18 -18
- package/mcp-docs/mobile/components/DatePicker.txt +1 -1
- package/mcp-docs/mobile/components/Divider.txt +18 -18
- package/mcp-docs/mobile/components/DotCount.txt +1 -1
- package/mcp-docs/mobile/components/DotSymbol.txt +2 -2
- package/mcp-docs/mobile/components/Fallback.txt +18 -18
- package/mcp-docs/mobile/components/HStack.txt +18 -18
- package/mcp-docs/mobile/components/Icon.txt +6 -0
- package/mcp-docs/mobile/components/IconButton.txt +19 -19
- package/mcp-docs/mobile/components/InputChip.txt +20 -20
- package/mcp-docs/mobile/components/Interactable.txt +19 -19
- package/mcp-docs/mobile/components/LineChart.txt +1608 -898
- package/mcp-docs/mobile/components/Link.txt +18 -18
- package/mcp-docs/mobile/components/ListCell.txt +37 -19
- package/mcp-docs/mobile/components/Lottie.txt +18 -18
- package/mcp-docs/mobile/components/MediaChip.txt +20 -20
- package/mcp-docs/mobile/components/MultiContentModule.txt +18 -18
- package/mcp-docs/mobile/components/NavigationTitle.txt +18 -18
- package/mcp-docs/mobile/components/NavigationTitleSelect.txt +18 -18
- package/mcp-docs/mobile/components/Numpad.txt +18 -18
- package/mcp-docs/mobile/components/Overlay.txt +18 -18
- package/mcp-docs/mobile/components/PageFooter.txt +17 -17
- package/mcp-docs/mobile/components/PageHeader.txt +17 -17
- package/mcp-docs/mobile/components/PeriodSelector.txt +26 -26
- package/mcp-docs/mobile/components/Point.txt +203 -98
- package/mcp-docs/mobile/components/Pressable.txt +19 -19
- package/mcp-docs/mobile/components/ProgressBar.txt +1 -1
- package/mcp-docs/mobile/components/ProgressBarWithFixedLabels.txt +1 -1
- package/mcp-docs/mobile/components/ProgressBarWithFloatLabel.txt +1 -1
- package/mcp-docs/mobile/components/ProgressCircle.txt +1 -1
- package/mcp-docs/mobile/components/RadioCell.txt +19 -19
- package/mcp-docs/mobile/components/ReferenceLine.txt +197 -54
- package/mcp-docs/mobile/components/RollingNumber.txt +18 -18
- package/mcp-docs/mobile/components/Scrubber.txt +597 -79
- package/mcp-docs/mobile/components/SegmentedTabs.txt +18 -18
- package/mcp-docs/mobile/components/SelectAlpha.txt +1 -1
- package/mcp-docs/mobile/components/SelectChip.txt +20 -20
- package/mcp-docs/mobile/components/SlideButton.txt +19 -19
- package/mcp-docs/mobile/components/Spacer.txt +6 -6
- package/mcp-docs/mobile/components/SparklineInteractive.txt +3 -3
- package/mcp-docs/mobile/components/Spinner.txt +1 -1
- package/mcp-docs/mobile/components/Stepper.txt +18 -18
- package/mcp-docs/mobile/components/TabLabel.txt +18 -18
- package/mcp-docs/mobile/components/TabNavigation.txt +18 -18
- package/mcp-docs/mobile/components/TabbedChips.txt +18 -18
- package/mcp-docs/mobile/components/TabbedChipsAlpha.txt +1 -1
- package/mcp-docs/mobile/components/Tabs.txt +18 -18
- package/mcp-docs/mobile/components/Tag.txt +18 -18
- package/mcp-docs/mobile/components/Text.txt +18 -18
- package/mcp-docs/mobile/components/Toast.txt +18 -18
- package/mcp-docs/mobile/components/Tooltip.txt +17 -1
- package/mcp-docs/mobile/components/TopNavBar.txt +18 -18
- package/mcp-docs/mobile/components/VStack.txt +18 -18
- package/mcp-docs/mobile/components/XAxis.txt +86 -24
- package/mcp-docs/mobile/components/YAxis.txt +75 -17
- package/mcp-docs/mobile/routes.txt +1 -1
- package/mcp-docs/web/components/AreaChart.txt +523 -301
- package/mcp-docs/web/components/Avatar.txt +27 -27
- package/mcp-docs/web/components/AvatarButton.txt +28 -28
- package/mcp-docs/web/components/Banner.txt +71 -32
- package/mcp-docs/web/components/BarChart.txt +182 -313
- package/mcp-docs/web/components/Box.txt +28 -28
- package/mcp-docs/web/components/Button.txt +28 -28
- package/mcp-docs/web/components/Calendar.txt +27 -27
- package/mcp-docs/web/components/Carousel.txt +27 -27
- package/mcp-docs/web/components/CartesianChart.txt +62 -309
- package/mcp-docs/web/components/CheckboxCell.txt +25 -25
- package/mcp-docs/web/components/Chip.txt +27 -27
- package/mcp-docs/web/components/Coachmark.txt +27 -27
- package/mcp-docs/web/components/ContainedAssetCard.txt +27 -27
- package/mcp-docs/web/components/ContentCard.txt +28 -28
- package/mcp-docs/web/components/ContentCardBody.txt +28 -28
- package/mcp-docs/web/components/ContentCardFooter.txt +28 -28
- package/mcp-docs/web/components/ContentCardHeader.txt +28 -28
- package/mcp-docs/web/components/ContentCell.txt +28 -28
- package/mcp-docs/web/components/ControlGroup.txt +27 -27
- package/mcp-docs/web/components/Divider.txt +27 -27
- package/mcp-docs/web/components/Fallback.txt +28 -28
- package/mcp-docs/web/components/FloatingAssetCard.txt +27 -27
- package/mcp-docs/web/components/Grid.txt +28 -28
- package/mcp-docs/web/components/GridColumn.txt +27 -27
- package/mcp-docs/web/components/HStack.txt +28 -28
- package/mcp-docs/web/components/Icon.txt +27 -27
- package/mcp-docs/web/components/IconButton.txt +28 -28
- package/mcp-docs/web/components/InputChip.txt +27 -27
- package/mcp-docs/web/components/Interactable.txt +28 -28
- package/mcp-docs/web/components/LineChart.txt +1598 -1116
- package/mcp-docs/web/components/Link.txt +28 -28
- package/mcp-docs/web/components/ListCell.txt +48 -30
- package/mcp-docs/web/components/Lottie.txt +27 -27
- package/mcp-docs/web/components/MediaChip.txt +27 -27
- package/mcp-docs/web/components/Modal.txt +27 -27
- package/mcp-docs/web/components/ModalBody.txt +27 -27
- package/mcp-docs/web/components/ModalFooter.txt +27 -27
- package/mcp-docs/web/components/ModalHeader.txt +27 -27
- package/mcp-docs/web/components/MultiContentModule.txt +28 -28
- package/mcp-docs/web/components/NavigationBar.txt +5 -5
- package/mcp-docs/web/components/NudgeCard.txt +27 -27
- package/mcp-docs/web/components/Overlay.txt +27 -27
- package/mcp-docs/web/components/PageFooter.txt +26 -26
- package/mcp-docs/web/components/PageHeader.txt +26 -26
- package/mcp-docs/web/components/Pagination.txt +27 -27
- package/mcp-docs/web/components/PeriodSelector.txt +49 -49
- package/mcp-docs/web/components/Point.txt +228 -79
- package/mcp-docs/web/components/Pressable.txt +28 -28
- package/mcp-docs/web/components/RadioCell.txt +25 -25
- package/mcp-docs/web/components/ReferenceLine.txt +208 -60
- package/mcp-docs/web/components/RemoteImage.txt +26 -26
- package/mcp-docs/web/components/RollingNumber.txt +28 -28
- package/mcp-docs/web/components/Scrubber.txt +463 -68
- package/mcp-docs/web/components/SectionHeader.txt +27 -27
- package/mcp-docs/web/components/SegmentedTabs.txt +27 -27
- package/mcp-docs/web/components/SelectChip.txt +27 -27
- package/mcp-docs/web/components/SelectOption.txt +27 -27
- package/mcp-docs/web/components/Sidebar.txt +27 -27
- package/mcp-docs/web/components/SidebarItem.txt +27 -27
- package/mcp-docs/web/components/Spacer.txt +34 -34
- package/mcp-docs/web/components/SparklineInteractive.txt +1 -1
- package/mcp-docs/web/components/Spinner.txt +27 -27
- package/mcp-docs/web/components/Stepper.txt +27 -27
- package/mcp-docs/web/components/TabLabel.txt +27 -27
- package/mcp-docs/web/components/TabNavigation.txt +26 -26
- package/mcp-docs/web/components/TabbedChips.txt +26 -26
- package/mcp-docs/web/components/TabbedChipsAlpha.txt +1 -1
- package/mcp-docs/web/components/Tabs.txt +27 -27
- package/mcp-docs/web/components/Tag.txt +27 -27
- package/mcp-docs/web/components/Text.txt +28 -28
- package/mcp-docs/web/components/TileButton.txt +28 -28
- package/mcp-docs/web/components/Toast.txt +27 -27
- package/mcp-docs/web/components/Tooltip.txt +17 -1
- package/mcp-docs/web/components/VStack.txt +28 -28
- package/mcp-docs/web/components/XAxis.txt +86 -22
- package/mcp-docs/web/components/YAxis.txt +133 -89
- package/package.json +1 -1
|
@@ -27,7 +27,6 @@ To start, pass in a series of data to the chart.
|
|
|
27
27
|
data: [10, 22, 29, 45, 98, 45, 22, 52, 21, 4, 68, 20, 21, 58],
|
|
28
28
|
},
|
|
29
29
|
]}
|
|
30
|
-
curve="monotone"
|
|
31
30
|
showYAxis
|
|
32
31
|
yAxis={{
|
|
33
32
|
showGrid: true,
|
|
@@ -704,6 +703,30 @@ function Candlesticks() {
|
|
|
704
703
|
|
|
705
704
|
const ThinSolidLine = memo((props: SolidLineProps) => <SolidLine {...props} strokeWidth={1} />);
|
|
706
705
|
|
|
706
|
+
// Custom line component that renders a rect to highlight the entire bandwidth
|
|
707
|
+
const BandwidthHighlight = memo(({ d, stroke }) => {
|
|
708
|
+
const { getXScale, drawingArea, getXAxis } = useCartesianChartContext();
|
|
709
|
+
const { scrubberPosition } = useScrubberContext();
|
|
710
|
+
const xScale = getXScale();
|
|
711
|
+
const xAxis = getXAxis();
|
|
712
|
+
|
|
713
|
+
if (!xScale || scrubberPosition === undefined) return
|
|
714
|
+
|
|
715
|
+
const xPos = xScale(scrubberPosition);
|
|
716
|
+
|
|
717
|
+
if (xPos === undefined) return
|
|
718
|
+
|
|
719
|
+
return (
|
|
720
|
+
<rect
|
|
721
|
+
fill={stroke}
|
|
722
|
+
height={drawingArea.height}
|
|
723
|
+
width={xScale.bandwidth()}
|
|
724
|
+
x={xPos}
|
|
725
|
+
y={drawingArea.y}
|
|
726
|
+
/>
|
|
727
|
+
);
|
|
728
|
+
});
|
|
729
|
+
|
|
707
730
|
const candlesData = stockData.map((data) => [parseFloat(data.low), parseFloat(data.high)]) as [
|
|
708
731
|
number,
|
|
709
732
|
number,
|
|
@@ -745,6 +768,19 @@ function Candlesticks() {
|
|
|
745
768
|
}).format(parseFloat(price));
|
|
746
769
|
}, []);
|
|
747
770
|
|
|
771
|
+
|
|
772
|
+
const formatThousandsPrice = React.useCallback((price: string) => {
|
|
773
|
+
const formattedPrice = new Intl.NumberFormat('en-US', {
|
|
774
|
+
style: 'currency',
|
|
775
|
+
currency: 'USD',
|
|
776
|
+
minimumFractionDigits: 0,
|
|
777
|
+
maximumFractionDigits: 0,
|
|
778
|
+
}).format(parseFloat(price) / 1000);
|
|
779
|
+
|
|
780
|
+
return `${formattedPrice}k`;
|
|
781
|
+
}, []);
|
|
782
|
+
|
|
783
|
+
|
|
748
784
|
const formatVolume = React.useCallback((volume: string) => {
|
|
749
785
|
const volumeInThousands = parseFloat(volume) / 1000;
|
|
750
786
|
return (
|
|
@@ -774,9 +810,9 @@ function Candlesticks() {
|
|
|
774
810
|
|
|
775
811
|
const text =
|
|
776
812
|
index !== null && index !== undefined
|
|
777
|
-
? `Open: ${
|
|
813
|
+
? `Open: ${formatThousandsPrice(stockData[index].open)}, Close: ${formatThousandsPrice(
|
|
778
814
|
stockData[index].close,
|
|
779
|
-
)}, Volume: ${
|
|
815
|
+
)}, Volume: ${(parseFloat(stockData[index].volume) / 1000).toFixed(2)}k`
|
|
780
816
|
: formatPrice(stockData[stockData.length - 1].close);
|
|
781
817
|
|
|
782
818
|
infoTextRef.current.textContent = text;
|
|
@@ -786,10 +822,6 @@ function Candlesticks() {
|
|
|
786
822
|
);
|
|
787
823
|
const initialInfo = formatPrice(stockData[stockData.length - 1].close);
|
|
788
824
|
|
|
789
|
-
React.useEffect(() => {
|
|
790
|
-
updateInfoText(selectedIndexRef.current);
|
|
791
|
-
}, [stockData, updateInfoText]);
|
|
792
|
-
|
|
793
825
|
return (
|
|
794
826
|
<VStack gap={2}>
|
|
795
827
|
<Text font="headline" id={infoTextId} aria-live="polite">
|
|
@@ -817,20 +849,19 @@ function Candlesticks() {
|
|
|
817
849
|
}}
|
|
818
850
|
yAxis={{
|
|
819
851
|
domain: { min },
|
|
820
|
-
tickLabelFormatter:
|
|
821
|
-
width:
|
|
852
|
+
tickLabelFormatter: formatThousandsPrice,
|
|
853
|
+
width: 40,
|
|
822
854
|
showGrid: true,
|
|
823
855
|
GridLineComponent: ThinSolidLine,
|
|
824
856
|
}}
|
|
825
857
|
aria-labelledby={infoTextId}
|
|
826
858
|
>
|
|
827
859
|
<Scrubber
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
/>
|
|
860
|
+
hideOverlay
|
|
861
|
+
LineComponent={BandwidthHighlight}
|
|
862
|
+
lineStroke="var(--color-fgMuted)"
|
|
863
|
+
seriesIds={[]}
|
|
864
|
+
/>
|
|
834
865
|
</BarChart>
|
|
835
866
|
</VStack>
|
|
836
867
|
);
|
|
@@ -899,46 +930,105 @@ function MonthlyRewards() {
|
|
|
899
930
|
}
|
|
900
931
|
```
|
|
901
932
|
|
|
933
|
+
### Custom Transitions
|
|
934
|
+
|
|
935
|
+
You can customize the transition animations for your bar chart using the `transition` prop.
|
|
936
|
+
This allows you to control enter, update, and exit animations separately.
|
|
937
|
+
|
|
938
|
+
```jsx live
|
|
939
|
+
function UpdatingChartValues() {
|
|
940
|
+
const [data, setData] = React.useState([45, 80, 120, 95, 150, 110, 85]);
|
|
941
|
+
const [nullIndex, setNullIndex] = React.useState(null);
|
|
942
|
+
|
|
943
|
+
const displayData = React.useMemo(() => {
|
|
944
|
+
if (nullIndex === null) return data;
|
|
945
|
+
return data.map((d, i) => (i === nullIndex ? null : d));
|
|
946
|
+
}, [data, nullIndex]);
|
|
947
|
+
|
|
948
|
+
return (
|
|
949
|
+
<VStack gap={2}>
|
|
950
|
+
<HStack gap={2}>
|
|
951
|
+
<Button
|
|
952
|
+
size="sm"
|
|
953
|
+
onClick={() =>
|
|
954
|
+
setData((prev) =>
|
|
955
|
+
prev[0] > 200 ? [45, 80, 120, 95, 150, 110, 85] : prev.map((d) => d + 25),
|
|
956
|
+
)
|
|
957
|
+
}
|
|
958
|
+
>
|
|
959
|
+
Update Data
|
|
960
|
+
</Button>
|
|
961
|
+
<Button size="sm" onClick={() => setNullIndex((prev) => (prev === null ? 3 : null))}>
|
|
962
|
+
{nullIndex === null ? 'Hide Bar' : 'Show Bar'}
|
|
963
|
+
</Button>
|
|
964
|
+
</HStack>
|
|
965
|
+
|
|
966
|
+
<Text font="label">Default Animations</Text>
|
|
967
|
+
<BarChart
|
|
968
|
+
height={150}
|
|
969
|
+
series={[
|
|
970
|
+
{
|
|
971
|
+
id: 'weekly-data',
|
|
972
|
+
data: displayData,
|
|
973
|
+
},
|
|
974
|
+
]}
|
|
975
|
+
showXAxis
|
|
976
|
+
showYAxis
|
|
977
|
+
xAxis={{
|
|
978
|
+
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
|
|
979
|
+
}}
|
|
980
|
+
yAxis={{
|
|
981
|
+
showGrid: true,
|
|
982
|
+
domain: { max: 250 },
|
|
983
|
+
}}
|
|
984
|
+
/>
|
|
985
|
+
|
|
986
|
+
<Text font="label">Custom Update Animations</Text>
|
|
987
|
+
<BarChart
|
|
988
|
+
height={150}
|
|
989
|
+
series={[
|
|
990
|
+
{
|
|
991
|
+
id: 'weekly-data-custom',
|
|
992
|
+
data: displayData,
|
|
993
|
+
},
|
|
994
|
+
]}
|
|
995
|
+
transition={{ type: 'spring', stiffness: 700, damping: 20 }}
|
|
996
|
+
showXAxis
|
|
997
|
+
showYAxis
|
|
998
|
+
xAxis={{
|
|
999
|
+
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
|
|
1000
|
+
}}
|
|
1001
|
+
yAxis={{
|
|
1002
|
+
showGrid: true,
|
|
1003
|
+
domain: { max: 250 },
|
|
1004
|
+
}}
|
|
1005
|
+
/>
|
|
1006
|
+
</VStack>
|
|
1007
|
+
);
|
|
1008
|
+
}
|
|
1009
|
+
```
|
|
1010
|
+
|
|
902
1011
|
## Props
|
|
903
1012
|
|
|
904
1013
|
| Prop | Type | Required | Default | Description |
|
|
905
1014
|
| --- | --- | --- | --- | --- |
|
|
906
1015
|
| `BarComponent` | `BarComponent` | No | `-` | Component to render the bar. |
|
|
907
1016
|
| `BarStackComponent` | `BarStackComponent` | No | `DefaultBarStack` | Custom component to render the stack container. Can be used to add clip paths, outlines, or other custom styling. |
|
|
908
|
-
| `
|
|
909
|
-
| `
|
|
910
|
-
| `
|
|
911
|
-
| `alignContent` | `ResponsiveProp<center \| end \| normal \| start \| flex-start \| flex-end \| space-between \| space-around \| space-evenly \| stretch \| baseline \| first baseline \| last baseline>` | No | `-` | - |
|
|
912
|
-
| `alignItems` | `ResponsiveProp<center \| end \| normal \| start \| flex-start \| flex-end \| stretch \| baseline \| first baseline \| last baseline \| self-start \| self-end>` | No | `-` | - |
|
|
913
|
-
| `alignSelf` | `ResponsiveProp<center \| end \| normal \| auto \| start \| flex-start \| flex-end \| stretch \| baseline \| first baseline \| last baseline \| self-start \| self-end>` | No | `-` | - |
|
|
914
|
-
| `alignmentBaseline` | `alphabetic \| hanging \| ideographic \| mathematical \| inherit \| auto \| baseline \| before-edge \| text-before-edge \| middle \| central \| after-edge \| text-after-edge` | No | `-` | - |
|
|
915
|
-
| `allowReorder` | `no \| yes` | No | `-` | - |
|
|
916
|
-
| `alphabetic` | `string \| number` | No | `-` | - |
|
|
917
|
-
| `amplitude` | `string \| number` | No | `-` | - |
|
|
1017
|
+
| `alignContent` | `ResponsiveProp<center \| normal \| start \| end \| flex-start \| flex-end \| space-between \| space-around \| space-evenly \| stretch \| baseline \| first baseline \| last baseline>` | No | `-` | - |
|
|
1018
|
+
| `alignItems` | `ResponsiveProp<center \| normal \| start \| end \| flex-start \| flex-end \| stretch \| baseline \| first baseline \| last baseline \| self-start \| self-end>` | No | `-` | - |
|
|
1019
|
+
| `alignSelf` | `ResponsiveProp<center \| auto \| normal \| start \| end \| flex-start \| flex-end \| stretch \| baseline \| first baseline \| last baseline \| self-start \| self-end>` | No | `-` | - |
|
|
918
1020
|
| `animate` | `boolean` | No | `true` | Whether to animate the chart. |
|
|
919
|
-
| `
|
|
920
|
-
| `
|
|
921
|
-
| `ascent` | `string \| number` | No | `-` | - |
|
|
922
|
-
| `aspectRatio` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - |
|
|
923
|
-
| `attributeName` | `string` | No | `-` | - |
|
|
924
|
-
| `attributeType` | `string` | No | `-` | - |
|
|
925
|
-
| `autoReverse` | `false \| true \| true \| false` | No | `-` | - |
|
|
926
|
-
| `azimuth` | `string \| number` | No | `-` | - |
|
|
1021
|
+
| `as` | `div` | No | `-` | - |
|
|
1022
|
+
| `aspectRatio` | `inherit \| auto \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
927
1023
|
| `background` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `-` | - |
|
|
928
1024
|
| `barMinSize` | `number` | No | `-` | Minimum size for individual bars in the stack. |
|
|
929
1025
|
| `barPadding` | `number` | No | `0.1` | Padding between bar groups (0-1). |
|
|
930
|
-
| `baseFrequency` | `string \| number` | No | `-` | - |
|
|
931
|
-
| `baseProfile` | `string \| number` | No | `-` | - |
|
|
932
|
-
| `baselineShift` | `string \| number` | No | `-` | - |
|
|
933
|
-
| `bbox` | `string \| number` | No | `-` | - |
|
|
934
|
-
| `begin` | `string \| number` | No | `-` | - |
|
|
935
|
-
| `bias` | `string \| number` | No | `-` | - |
|
|
936
1026
|
| `borderBottomLeftRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - |
|
|
937
1027
|
| `borderBottomRightRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - |
|
|
938
1028
|
| `borderBottomWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - |
|
|
939
1029
|
| `borderColor` | `currentColor \| fg \| fgMuted \| fgInverse \| fgPrimary \| fgWarning \| fgPositive \| fgNegative \| bg \| bgAlternate \| bgInverse \| bgOverlay \| bgElevation1 \| bgElevation2 \| bgPrimary \| bgPrimaryWash \| bgSecondary \| bgTertiary \| bgSecondaryWash \| bgNegative \| bgNegativeWash \| bgPositive \| bgPositiveWash \| bgWarning \| bgWarningWash \| bgLine \| bgLineHeavy \| bgLineInverse \| bgLinePrimary \| bgLinePrimarySubtle \| accentSubtleRed \| accentBoldRed \| accentSubtleGreen \| accentBoldGreen \| accentSubtleBlue \| accentBoldBlue \| accentSubtlePurple \| accentBoldPurple \| accentSubtleYellow \| accentBoldYellow \| accentSubtleGray \| accentBoldGray \| transparent` | No | `-` | - |
|
|
940
1030
|
| `borderEndWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - |
|
|
941
|
-
| `borderRadius` | `((BorderRadius \| { base?: BorderRadius; phone?: BorderRadius \| undefined; tablet?: BorderRadius \| undefined; desktop?: BorderRadius \| undefined; }) & number) \| undefined` | No | `4` | Border radius
|
|
1031
|
+
| `borderRadius` | `((BorderRadius \| { base?: BorderRadius; phone?: BorderRadius \| undefined; tablet?: BorderRadius \| undefined; desktop?: BorderRadius \| undefined; }) & number) \| undefined` | No | `4` | Border radius for the bar. |
|
|
942
1032
|
| `borderStartWidth` | `0 \| 100 \| 200 \| 300 \| 400 \| 500` | No | `-` | - |
|
|
943
1033
|
| `borderTopLeftRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - |
|
|
944
1034
|
| `borderTopRightRadius` | `0 \| 100 \| 200 \| 300 \| 400 \| 500 \| 600 \| 700 \| 800 \| 900 \| 1000` | No | `-` | - |
|
|
@@ -952,316 +1042,95 @@ function MonthlyRewards() {
|
|
|
952
1042
|
| `borderedTop` | `boolean` | No | `-` | Add a border to the top side of the box. |
|
|
953
1043
|
| `borderedVertical` | `boolean` | No | `-` | Add a border to the top and bottom sides of the box. |
|
|
954
1044
|
| `bottom` | `ResponsiveProp<Bottom<string \| number>>` | No | `-` | - |
|
|
955
|
-
| `
|
|
956
|
-
| `calcMode` | `string \| number` | No | `-` | - |
|
|
957
|
-
| `capHeight` | `string \| number` | No | `-` | - |
|
|
958
|
-
| `className` | `string` | No | `-` | - |
|
|
959
|
-
| `clip` | `string \| number` | No | `-` | - |
|
|
960
|
-
| `clipPath` | `string` | No | `-` | - |
|
|
961
|
-
| `clipPathUnits` | `string \| number` | No | `-` | - |
|
|
962
|
-
| `clipRule` | `string \| number` | No | `-` | - |
|
|
1045
|
+
| `classNames` | `{ root?: string; chart?: string \| undefined; } \| undefined` | No | `-` | Custom class names for the component. |
|
|
963
1046
|
| `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 | `-` | - |
|
|
964
|
-
| `
|
|
965
|
-
| `colorInterpolationFilters` | `inherit \| auto \| sRGB \| linearRGB` | No | `-` | - |
|
|
966
|
-
| `colorProfile` | `string \| number` | No | `-` | - |
|
|
967
|
-
| `colorRendering` | `string \| number` | No | `-` | - |
|
|
968
|
-
| `columnGap` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - |
|
|
969
|
-
| `contentScriptType` | `string \| number` | No | `-` | - |
|
|
970
|
-
| `contentStyleType` | `string \| number` | No | `-` | - |
|
|
971
|
-
| `crossOrigin` | ` \| anonymous \| use-credentials` | No | `-` | - |
|
|
972
|
-
| `cursor` | `string \| number` | No | `-` | - |
|
|
973
|
-
| `cx` | `string \| number` | No | `-` | - |
|
|
974
|
-
| `cy` | `string \| number` | No | `-` | - |
|
|
975
|
-
| `d` | `string` | No | `-` | - |
|
|
1047
|
+
| `columnGap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
976
1048
|
| `dangerouslySetBackground` | `string` | No | `-` | - |
|
|
977
|
-
| `
|
|
978
|
-
| `descent` | `string \| number` | No | `-` | - |
|
|
979
|
-
| `diffuseConstant` | `string \| number` | No | `-` | - |
|
|
980
|
-
| `direction` | `string \| number` | No | `-` | - |
|
|
981
|
-
| `display` | `ResponsiveProp<grid \| revert \| none \| block \| inline \| inline-block \| flex \| inline-flex \| inline-grid \| contents \| flow-root \| list-item>` | No | `-` | - |
|
|
982
|
-
| `divisor` | `string \| number` | No | `-` | - |
|
|
983
|
-
| `dominantBaseline` | `string \| number` | No | `-` | - |
|
|
984
|
-
| `dur` | `string \| number` | No | `-` | - |
|
|
985
|
-
| `dx` | `string \| number` | No | `-` | - |
|
|
986
|
-
| `dy` | `string \| number` | No | `-` | - |
|
|
987
|
-
| `edgeMode` | `string \| number` | No | `-` | - |
|
|
1049
|
+
| `display` | `ResponsiveProp<grid \| none \| block \| inline \| inline-block \| flex \| inline-flex \| inline-grid \| contents \| flow-root \| revert \| list-item>` | No | `-` | - |
|
|
988
1050
|
| `elevation` | `0 \| 1 \| 2` | No | `-` | - |
|
|
989
|
-
| `enableBackground` | `string \| number` | No | `-` | - |
|
|
990
1051
|
| `enableScrubbing` | `boolean` | No | `-` | Enables scrubbing interactions. When true, allows scrubbing and makes scrubber components interactive. |
|
|
991
|
-
| `end` | `string \| number` | No | `-` | - |
|
|
992
|
-
| `exponent` | `string \| number` | No | `-` | - |
|
|
993
|
-
| `externalResourcesRequired` | `false \| true \| true \| false` | No | `-` | - |
|
|
994
|
-
| `fill` | `string` | No | `-` | - |
|
|
995
1052
|
| `fillOpacity` | `number` | No | `-` | Fill opacity for the bar. |
|
|
996
|
-
| `fillRule` | `inherit \| nonzero \| evenodd` | No | `-` | - |
|
|
997
|
-
| `filter` | `string` | No | `-` | - |
|
|
998
|
-
| `filterRes` | `string \| number` | No | `-` | - |
|
|
999
|
-
| `filterUnits` | `string \| number` | No | `-` | - |
|
|
1000
1053
|
| `flexBasis` | `ResponsiveProp<FlexBasis<string \| number>>` | No | `-` | - |
|
|
1001
1054
|
| `flexDirection` | `ResponsiveProp<row \| row-reverse \| column \| column-reverse>` | No | `-` | - |
|
|
1002
|
-
| `flexGrow` |
|
|
1003
|
-
| `flexShrink` |
|
|
1055
|
+
| `flexGrow` | `inherit \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1056
|
+
| `flexShrink` | `inherit \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1004
1057
|
| `flexWrap` | `ResponsiveProp<nowrap \| wrap \| wrap-reverse>` | No | `-` | - |
|
|
1005
|
-
| `floodColor` | `string \| number` | No | `-` | - |
|
|
1006
|
-
| `floodOpacity` | `string \| number` | No | `-` | - |
|
|
1007
|
-
| `focusable` | `auto \| Booleanish` | No | `-` | - |
|
|
1008
1058
|
| `font` | `ResponsiveProp<FontFamily \| inherit>` | No | `-` | - |
|
|
1009
1059
|
| `fontFamily` | `ResponsiveProp<FontFamily \| inherit>` | No | `-` | - |
|
|
1010
|
-
| `fontSize` | `ResponsiveProp<
|
|
1011
|
-
| `
|
|
1012
|
-
| `
|
|
1013
|
-
| `
|
|
1014
|
-
| `
|
|
1015
|
-
| `fontWeight` | `ResponsiveProp<FontWeight \| inherit>` | No | `-` | - |
|
|
1016
|
-
| `format` | `string \| number` | No | `-` | - |
|
|
1017
|
-
| `fr` | `string \| number` | No | `-` | - |
|
|
1018
|
-
| `from` | `string \| number` | No | `-` | - |
|
|
1019
|
-
| `fx` | `string \| number` | No | `-` | - |
|
|
1020
|
-
| `fy` | `string \| number` | No | `-` | - |
|
|
1021
|
-
| `g1` | `string \| number` | No | `-` | - |
|
|
1022
|
-
| `g2` | `string \| number` | No | `-` | - |
|
|
1023
|
-
| `gap` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - |
|
|
1024
|
-
| `glyphName` | `string \| number` | No | `-` | - |
|
|
1025
|
-
| `glyphOrientationHorizontal` | `string \| number` | No | `-` | - |
|
|
1026
|
-
| `glyphOrientationVertical` | `string \| number` | No | `-` | - |
|
|
1027
|
-
| `glyphRef` | `string \| number` | No | `-` | - |
|
|
1028
|
-
| `gradientTransform` | `string` | No | `-` | - |
|
|
1029
|
-
| `gradientUnits` | `string` | No | `-` | - |
|
|
1030
|
-
| `grid` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| none` | No | `-` | - |
|
|
1031
|
-
| `gridArea` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - |
|
|
1060
|
+
| `fontSize` | `ResponsiveProp<inherit \| FontSize>` | No | `-` | - |
|
|
1061
|
+
| `fontWeight` | `ResponsiveProp<inherit \| FontWeight>` | No | `-` | - |
|
|
1062
|
+
| `gap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
1063
|
+
| `grid` | `inherit \| none \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1064
|
+
| `gridArea` | `inherit \| auto \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1032
1065
|
| `gridAutoColumns` | `ResponsiveProp<GridAutoColumns<string \| number>>` | No | `-` | - |
|
|
1033
|
-
| `gridAutoFlow` |
|
|
1066
|
+
| `gridAutoFlow` | `inherit \| revert \| row \| column \| -moz-initial \| initial \| revert-layer \| unset \| dense` | No | `-` | - |
|
|
1034
1067
|
| `gridAutoRows` | `ResponsiveProp<GridAutoRows<string \| number>>` | No | `-` | - |
|
|
1035
|
-
| `gridColumn` |
|
|
1036
|
-
| `gridColumnEnd` |
|
|
1037
|
-
| `gridColumnStart` |
|
|
1038
|
-
| `gridRow` |
|
|
1039
|
-
| `gridRowEnd` |
|
|
1040
|
-
| `gridRowStart` |
|
|
1041
|
-
| `gridTemplate` |
|
|
1042
|
-
| `gridTemplateAreas` |
|
|
1068
|
+
| `gridColumn` | `inherit \| auto \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1069
|
+
| `gridColumnEnd` | `inherit \| auto \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1070
|
+
| `gridColumnStart` | `inherit \| auto \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1071
|
+
| `gridRow` | `inherit \| auto \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1072
|
+
| `gridRowEnd` | `inherit \| auto \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1073
|
+
| `gridRowStart` | `inherit \| auto \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1074
|
+
| `gridTemplate` | `inherit \| none \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1075
|
+
| `gridTemplateAreas` | `inherit \| none \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1043
1076
|
| `gridTemplateColumns` | `ResponsiveProp<GridTemplateColumns<string \| number>>` | No | `-` | - |
|
|
1044
1077
|
| `gridTemplateRows` | `ResponsiveProp<GridTemplateRows<string \| number>>` | No | `-` | - |
|
|
1045
|
-
| `hanging` | `string \| number` | No | `-` | - |
|
|
1046
1078
|
| `height` | `ResponsiveProp<Height<string \| number>>` | No | `-` | - |
|
|
1047
|
-
| `horizAdvX` | `string \| number` | No | `-` | - |
|
|
1048
|
-
| `horizOriginX` | `string \| number` | No | `-` | - |
|
|
1049
|
-
| `href` | `string` | No | `-` | - |
|
|
1050
|
-
| `id` | `string` | No | `-` | - |
|
|
1051
|
-
| `ideographic` | `string \| number` | No | `-` | - |
|
|
1052
|
-
| `imageRendering` | `string \| number` | No | `-` | - |
|
|
1053
|
-
| `in` | `string` | No | `-` | - |
|
|
1054
|
-
| `in2` | `string \| number` | No | `-` | - |
|
|
1055
1079
|
| `inset` | `number \| Partial<ChartInset>` | No | `-` | Inset around the entire chart (outside the axes). |
|
|
1056
|
-
| `
|
|
1057
|
-
| `justifyContent` | `ResponsiveProp<left \| right \| center \| end \| normal \| start \| flex-start \| flex-end \| space-between \| space-around \| space-evenly \| stretch>` | No | `-` | - |
|
|
1058
|
-
| `k` | `string \| number` | No | `-` | - |
|
|
1059
|
-
| `k1` | `string \| number` | No | `-` | - |
|
|
1060
|
-
| `k2` | `string \| number` | No | `-` | - |
|
|
1061
|
-
| `k3` | `string \| number` | No | `-` | - |
|
|
1062
|
-
| `k4` | `string \| number` | No | `-` | - |
|
|
1063
|
-
| `kernelMatrix` | `string \| number` | No | `-` | - |
|
|
1064
|
-
| `kernelUnitLength` | `string \| number` | No | `-` | - |
|
|
1065
|
-
| `kerning` | `string \| number` | No | `-` | - |
|
|
1080
|
+
| `justifyContent` | `ResponsiveProp<left \| right \| center \| normal \| start \| end \| flex-start \| flex-end \| space-between \| space-around \| space-evenly \| stretch>` | No | `-` | - |
|
|
1066
1081
|
| `key` | `Key \| null` | No | `-` | - |
|
|
1067
|
-
| `keyPoints` | `string \| number` | No | `-` | - |
|
|
1068
|
-
| `keySplines` | `string \| number` | No | `-` | - |
|
|
1069
|
-
| `keyTimes` | `string \| number` | No | `-` | - |
|
|
1070
|
-
| `lang` | `string` | No | `-` | - |
|
|
1071
1082
|
| `left` | `ResponsiveProp<Left<string \| number>>` | No | `-` | - |
|
|
1072
|
-
| `
|
|
1073
|
-
| `
|
|
1074
|
-
| `
|
|
1075
|
-
| `
|
|
1076
|
-
| `
|
|
1077
|
-
| `
|
|
1078
|
-
| `
|
|
1079
|
-
| `
|
|
1080
|
-
| `marginEnd` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
1081
|
-
| `marginStart` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
1082
|
-
| `marginTop` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
1083
|
-
| `marginX` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
1084
|
-
| `marginY` | `ResponsiveProp<0 \| -5 \| -10 \| -0.25 \| -0.5 \| -0.75 \| -1 \| -1.5 \| -2 \| -3 \| -4 \| -6 \| -7 \| -8 \| -9>` | No | `-` | - |
|
|
1085
|
-
| `markerEnd` | `string` | No | `-` | - |
|
|
1086
|
-
| `markerHeight` | `string \| number` | No | `-` | - |
|
|
1087
|
-
| `markerMid` | `string` | No | `-` | - |
|
|
1088
|
-
| `markerStart` | `string` | No | `-` | - |
|
|
1089
|
-
| `markerUnits` | `string \| number` | No | `-` | - |
|
|
1090
|
-
| `markerWidth` | `string \| number` | No | `-` | - |
|
|
1091
|
-
| `mask` | `string` | No | `-` | - |
|
|
1092
|
-
| `maskContentUnits` | `string \| number` | No | `-` | - |
|
|
1093
|
-
| `maskUnits` | `string \| number` | No | `-` | - |
|
|
1094
|
-
| `mathematical` | `string \| number` | No | `-` | - |
|
|
1095
|
-
| `max` | `string \| number` | No | `-` | - |
|
|
1083
|
+
| `lineHeight` | `ResponsiveProp<inherit \| LineHeight>` | No | `-` | - |
|
|
1084
|
+
| `margin` | `ResponsiveProp<0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - |
|
|
1085
|
+
| `marginBottom` | `ResponsiveProp<0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - |
|
|
1086
|
+
| `marginEnd` | `ResponsiveProp<0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - |
|
|
1087
|
+
| `marginStart` | `ResponsiveProp<0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - |
|
|
1088
|
+
| `marginTop` | `ResponsiveProp<0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - |
|
|
1089
|
+
| `marginX` | `ResponsiveProp<0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - |
|
|
1090
|
+
| `marginY` | `ResponsiveProp<0 \| -1 \| -2 \| -0.25 \| -0.5 \| -0.75 \| -1.5 \| -3 \| -4 \| -5 \| -6 \| -7 \| -8 \| -9 \| -10>` | No | `-` | - |
|
|
1096
1091
|
| `maxHeight` | `ResponsiveProp<MaxHeight<string \| number>>` | No | `-` | - |
|
|
1097
1092
|
| `maxWidth` | `ResponsiveProp<MaxWidth<string \| number>>` | No | `-` | - |
|
|
1098
|
-
| `media` | `string` | No | `-` | - |
|
|
1099
|
-
| `method` | `string` | No | `-` | - |
|
|
1100
|
-
| `min` | `string \| number` | No | `-` | - |
|
|
1101
1093
|
| `minHeight` | `ResponsiveProp<MinHeight<string \| number>>` | No | `-` | - |
|
|
1102
1094
|
| `minWidth` | `ResponsiveProp<MinWidth<string \| number>>` | No | `-` | - |
|
|
1103
|
-
| `
|
|
1104
|
-
| `name` | `string` | No | `-` | - |
|
|
1105
|
-
| `numOctaves` | `string \| number` | No | `-` | - |
|
|
1106
|
-
| `offset` | `string \| number` | No | `-` | - |
|
|
1107
|
-
| `onChange` | `FormEventHandler<SVGSVGElement>` | No | `-` | - |
|
|
1095
|
+
| `onChange` | `FormEventHandler<HTMLDivElement>` | No | `-` | - |
|
|
1108
1096
|
| `onScrubberPositionChange` | `((index: number) => void) \| undefined` | No | `-` | Callback fired when the scrubber position changes. Receives the dataIndex of the scrubber or undefined when not scrubbing. |
|
|
1109
|
-
| `opacity` |
|
|
1110
|
-
| `
|
|
1111
|
-
| `
|
|
1112
|
-
| `
|
|
1113
|
-
| `
|
|
1114
|
-
| `
|
|
1115
|
-
| `
|
|
1116
|
-
| `
|
|
1117
|
-
| `
|
|
1118
|
-
| `padding` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - |
|
|
1119
|
-
| `paddingBottom` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - |
|
|
1120
|
-
| `paddingEnd` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - |
|
|
1121
|
-
| `paddingStart` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - |
|
|
1122
|
-
| `paddingTop` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - |
|
|
1123
|
-
| `paddingX` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - |
|
|
1124
|
-
| `paddingY` | `0 \| 5 \| 10 \| 0.25 \| 0.5 \| 0.75 \| 1 \| 1.5 \| 2 \| 3 \| 4 \| 6 \| 7 \| 8 \| 9` | No | `-` | - |
|
|
1125
|
-
| `paintOrder` | `string \| number` | No | `-` | - |
|
|
1126
|
-
| `panose1` | `string \| number` | No | `-` | - |
|
|
1127
|
-
| `path` | `string` | No | `-` | - |
|
|
1128
|
-
| `pathLength` | `string \| number` | No | `-` | - |
|
|
1129
|
-
| `patternContentUnits` | `string` | No | `-` | - |
|
|
1130
|
-
| `patternTransform` | `string \| number` | No | `-` | - |
|
|
1131
|
-
| `patternUnits` | `string` | No | `-` | - |
|
|
1097
|
+
| `opacity` | `inherit \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1098
|
+
| `overflow` | `ResponsiveProp<hidden \| auto \| visible \| clip \| scroll>` | No | `-` | - |
|
|
1099
|
+
| `padding` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
1100
|
+
| `paddingBottom` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
1101
|
+
| `paddingEnd` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
1102
|
+
| `paddingStart` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
1103
|
+
| `paddingTop` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
1104
|
+
| `paddingX` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
1105
|
+
| `paddingY` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
1132
1106
|
| `pin` | `top \| bottom \| left \| right \| all` | No | `-` | Direction in which to absolutely pin the box. |
|
|
1133
|
-
| `pointerEvents` | `string \| number` | No | `-` | - |
|
|
1134
|
-
| `points` | `string` | No | `-` | - |
|
|
1135
|
-
| `pointsAtX` | `string \| number` | No | `-` | - |
|
|
1136
|
-
| `pointsAtY` | `string \| number` | No | `-` | - |
|
|
1137
|
-
| `pointsAtZ` | `string \| number` | No | `-` | - |
|
|
1138
1107
|
| `position` | `ResponsiveProp<static \| relative \| absolute \| fixed \| sticky>` | No | `-` | - |
|
|
1139
|
-
| `preserveAlpha` | `false \| true \| true \| false` | No | `-` | - |
|
|
1140
|
-
| `preserveAspectRatio` | `string` | No | `-` | - |
|
|
1141
|
-
| `primitiveUnits` | `string \| number` | No | `-` | - |
|
|
1142
|
-
| `r` | `string \| number` | No | `-` | - |
|
|
1143
|
-
| `radius` | `string \| number` | No | `-` | - |
|
|
1144
1108
|
| `ref` | `((instance: SVGSVGElement \| null) => void) \| RefObject<SVGSVGElement> \| null` | No | `-` | - |
|
|
1145
|
-
| `refX` | `string \| number` | No | `-` | - |
|
|
1146
|
-
| `refY` | `string \| number` | No | `-` | - |
|
|
1147
|
-
| `renderingIntent` | `string \| number` | No | `-` | - |
|
|
1148
|
-
| `repeatCount` | `string \| number` | No | `-` | - |
|
|
1149
|
-
| `repeatDur` | `string \| number` | No | `-` | - |
|
|
1150
|
-
| `requiredExtensions` | `string \| number` | No | `-` | - |
|
|
1151
|
-
| `requiredFeatures` | `string \| number` | No | `-` | - |
|
|
1152
|
-
| `restart` | `string \| number` | No | `-` | - |
|
|
1153
|
-
| `result` | `string` | No | `-` | - |
|
|
1154
1109
|
| `right` | `ResponsiveProp<Right<string \| number>>` | No | `-` | - |
|
|
1155
|
-
| `role` | `grid \| article \| button \| dialog \| figure \| form \| img \| link \| main \| menu \| menuitem \| option \| search \| table \| switch \| string & {} \| none \| row \| alert \| alertdialog \| application \| banner \| cell \| checkbox \| columnheader \| combobox \| complementary \| contentinfo \| definition \| directory \| document \| feed \| gridcell \| group \| heading \| list \| listbox \| listitem \| log \| marquee \| math \| menubar \| menuitemcheckbox \| menuitemradio \| navigation \| note \| presentation \| progressbar \| radio \| radiogroup \| region \| rowgroup \| rowheader \| scrollbar \| searchbox \| separator \| slider \| spinbutton \| status \| tab \| tablist \| tabpanel \| term \| textbox \| timer \| toolbar \| tooltip \| tree \| treegrid \| treeitem` | No | `-` | - |
|
|
1156
|
-
| `rotate` | `string \| number` | No | `-` | - |
|
|
1157
1110
|
| `roundBaseline` | `boolean` | No | `-` | Whether to round the baseline of a bar (where the value is 0). |
|
|
1158
|
-
| `rowGap` | `0 \|
|
|
1159
|
-
| `
|
|
1160
|
-
| `ry` | `string \| number` | No | `-` | - |
|
|
1161
|
-
| `scale` | `string \| number` | No | `-` | - |
|
|
1162
|
-
| `seed` | `string \| number` | No | `-` | - |
|
|
1163
|
-
| `series` | `BarSeries[]` | No | `-` | Configuration objects that define how to visualize the data. Each series supports Bar component props for individual customization. |
|
|
1164
|
-
| `shapeRendering` | `string \| number` | No | `-` | - |
|
|
1111
|
+
| `rowGap` | `0 \| 1 \| 2 \| 0.25 \| 0.5 \| 0.75 \| 1.5 \| 3 \| 4 \| 5 \| 6 \| 7 \| 8 \| 9 \| 10` | No | `-` | - |
|
|
1112
|
+
| `series` | `Series[]` | No | `-` | Configuration objects that define how to visualize the data. |
|
|
1165
1113
|
| `showXAxis` | `boolean` | No | `-` | Whether to show the X axis. |
|
|
1166
1114
|
| `showYAxis` | `boolean` | No | `-` | Whether to show the Y axis. |
|
|
1167
|
-
| `slope` | `string \| number` | No | `-` | - |
|
|
1168
|
-
| `spacing` | `string \| number` | No | `-` | - |
|
|
1169
|
-
| `specularConstant` | `string \| number` | No | `-` | - |
|
|
1170
|
-
| `specularExponent` | `string \| number` | No | `-` | - |
|
|
1171
|
-
| `speed` | `string \| number` | No | `-` | - |
|
|
1172
|
-
| `spreadMethod` | `string` | No | `-` | - |
|
|
1173
1115
|
| `stackGap` | `number` | No | `-` | Gap between bars in the stack. |
|
|
1174
1116
|
| `stackMinSize` | `number` | No | `-` | Minimum size for the entire stack. |
|
|
1175
|
-
| `stacked` | `boolean` | No | `-` | Whether to stack the areas on top of each other. When true, each series builds cumulative values on top of the previous series.
|
|
1176
|
-
| `startOffset` | `string \| number` | No | `-` | - |
|
|
1177
|
-
| `stdDeviation` | `string \| number` | No | `-` | - |
|
|
1178
|
-
| `stemh` | `string \| number` | No | `-` | - |
|
|
1179
|
-
| `stemv` | `string \| number` | No | `-` | - |
|
|
1180
|
-
| `stitchTiles` | `string \| number` | No | `-` | - |
|
|
1181
|
-
| `stopColor` | `string` | No | `-` | - |
|
|
1182
|
-
| `stopOpacity` | `string \| number` | No | `-` | - |
|
|
1183
|
-
| `strikethroughPosition` | `string \| number` | No | `-` | - |
|
|
1184
|
-
| `strikethroughThickness` | `string \| number` | No | `-` | - |
|
|
1185
|
-
| `string` | `string \| number` | No | `-` | - |
|
|
1117
|
+
| `stacked` | `boolean` | No | `-` | Whether to stack the areas on top of each other. When true, each series builds cumulative values on top of the previous series. |
|
|
1186
1118
|
| `stroke` | `string` | No | `-` | Stroke color for the bar outline. |
|
|
1187
|
-
| `strokeDasharray` | `string \| number` | No | `-` | - |
|
|
1188
|
-
| `strokeDashoffset` | `string \| number` | No | `-` | - |
|
|
1189
|
-
| `strokeLinecap` | `inherit \| butt \| round \| square` | No | `-` | - |
|
|
1190
|
-
| `strokeLinejoin` | `inherit \| round \| miter \| bevel` | No | `-` | - |
|
|
1191
|
-
| `strokeMiterlimit` | `string \| number` | No | `-` | - |
|
|
1192
|
-
| `strokeOpacity` | `string \| number` | No | `-` | - |
|
|
1193
1119
|
| `strokeWidth` | `number` | No | `-` | Stroke width for the bar outline. |
|
|
1194
|
-
| `style` | `CSSProperties` | No | `-` |
|
|
1195
|
-
| `
|
|
1196
|
-
| `surfaceScale` | `string \| number` | No | `-` | - |
|
|
1197
|
-
| `systemLanguage` | `string \| number` | No | `-` | - |
|
|
1198
|
-
| `tabIndex` | `number` | No | `-` | - |
|
|
1199
|
-
| `tableValues` | `string \| number` | No | `-` | - |
|
|
1200
|
-
| `target` | `string` | No | `-` | - |
|
|
1201
|
-
| `targetX` | `string \| number` | No | `-` | - |
|
|
1202
|
-
| `targetY` | `string \| number` | No | `-` | - |
|
|
1120
|
+
| `style` | `CSSProperties` | No | `-` | Custom styles for the root element. |
|
|
1121
|
+
| `styles` | `{ root?: CSSProperties; chart?: CSSProperties \| undefined; } \| undefined` | No | `-` | Custom styles for the component. |
|
|
1203
1122
|
| `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 |
|
|
1204
|
-
| `textAlign` | `ResponsiveProp<center \|
|
|
1205
|
-
| `textAnchor` | `string` | No | `-` | - |
|
|
1123
|
+
| `textAlign` | `ResponsiveProp<center \| start \| end \| justify>` | No | `-` | - |
|
|
1206
1124
|
| `textDecoration` | `ResponsiveProp<none \| underline \| overline \| line-through \| underline overline \| underline double>` | No | `-` | - |
|
|
1207
|
-
| `
|
|
1208
|
-
| `textRendering` | `string \| number` | No | `-` | - |
|
|
1209
|
-
| `textTransform` | `ResponsiveProp<capitalize \| lowercase \| none \| uppercase>` | No | `-` | - |
|
|
1210
|
-
| `to` | `string \| number` | No | `-` | - |
|
|
1125
|
+
| `textTransform` | `ResponsiveProp<none \| uppercase \| lowercase \| capitalize>` | No | `-` | - |
|
|
1211
1126
|
| `top` | `ResponsiveProp<Top<string \| number>>` | No | `-` | - |
|
|
1212
|
-
| `transform` |
|
|
1213
|
-
| `
|
|
1214
|
-
| `
|
|
1215
|
-
| `
|
|
1216
|
-
| `underlinePosition` | `string \| number` | No | `-` | - |
|
|
1217
|
-
| `underlineThickness` | `string \| number` | No | `-` | - |
|
|
1218
|
-
| `unicode` | `string \| number` | No | `-` | - |
|
|
1219
|
-
| `unicodeBidi` | `string \| number` | No | `-` | - |
|
|
1220
|
-
| `unicodeRange` | `string \| number` | No | `-` | - |
|
|
1221
|
-
| `unitsPerEm` | `string \| number` | No | `-` | - |
|
|
1222
|
-
| `userSelect` | `ResponsiveProp<text \| none \| auto \| all>` | No | `-` | - |
|
|
1223
|
-
| `vAlphabetic` | `string \| number` | No | `-` | - |
|
|
1224
|
-
| `vHanging` | `string \| number` | No | `-` | - |
|
|
1225
|
-
| `vIdeographic` | `string \| number` | No | `-` | - |
|
|
1226
|
-
| `vMathematical` | `string \| number` | No | `-` | - |
|
|
1227
|
-
| `values` | `string` | No | `-` | - |
|
|
1228
|
-
| `vectorEffect` | `string \| number` | No | `-` | - |
|
|
1229
|
-
| `version` | `string` | No | `-` | - |
|
|
1230
|
-
| `vertAdvY` | `string \| number` | No | `-` | - |
|
|
1231
|
-
| `vertOriginX` | `string \| number` | No | `-` | - |
|
|
1232
|
-
| `vertOriginY` | `string \| number` | No | `-` | - |
|
|
1233
|
-
| `viewBox` | `string` | No | `-` | - |
|
|
1234
|
-
| `viewTarget` | `string \| number` | No | `-` | - |
|
|
1235
|
-
| `visibility` | `ResponsiveProp<visible \| hidden>` | No | `-` | - |
|
|
1127
|
+
| `transform` | `inherit \| none \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1128
|
+
| `transition` | `Orchestration & Repeat & Tween \| Orchestration & Repeat & Spring \| Orchestration & Repeat & Keyframes \| Orchestration & Repeat & Inertia \| Orchestration & Repeat & Just \| Orchestration & Repeat & None \| Orchestration & Repeat & PermissiveTransitionDefinition \| Orchestration & Repeat & Tween & { [key: string]: TransitionDefinition; } \| Orchestration & Repeat & Spring & { [key: string]: TransitionDefinition; } \| Orchestration & Repeat & Keyframes & { [key: string]: TransitionDefinition; } \| Orchestration & Repeat & Inertia & { [key: string]: TransitionDefinition; } \| Orchestration & Repeat & Just & { [key: string]: TransitionDefinition; } \| Orchestration & Repeat & None & { [key: string]: TransitionDefinition; } \| Orchestration & Repeat & PermissiveTransitionDefinition & { [key: string]: TransitionDefinition; }` | No | `-` | Transition configuration for animation. |
|
|
1129
|
+
| `userSelect` | `ResponsiveProp<text \| none \| all \| auto>` | No | `-` | - |
|
|
1130
|
+
| `visibility` | `ResponsiveProp<hidden \| visible>` | No | `-` | - |
|
|
1236
1131
|
| `width` | `ResponsiveProp<Width<string \| number>>` | No | `-` | - |
|
|
1237
|
-
| `
|
|
1238
|
-
| `
|
|
1239
|
-
| `
|
|
1240
|
-
| `x` | `string \| number` | No | `-` | - |
|
|
1241
|
-
| `x1` | `string \| number` | No | `-` | - |
|
|
1242
|
-
| `x2` | `string \| number` | No | `-` | - |
|
|
1243
|
-
| `xAxis` | `(Partial<AxisConfigProps> & AxisBaseProps & { className?: string; classNames?: { root?: string \| undefined; tickLabel?: string \| undefined; gridLine?: string \| undefined; line?: string \| undefined; tickMark?: string \| undefined; } \| undefined; style?: CSSProperties \| undefined; styles?: { root?: CSSProperties \| undefined; tickLabel?: CSSProperties \| undefined; gridLine?: CSSProperties \| undefined; line?: CSSProperties \| undefined; tickMark?: CSSProperties \| undefined; } \| undefined; } & { position?: top \| bottom \| undefined; height?: number \| undefined; }) \| undefined` | No | `-` | - |
|
|
1244
|
-
| `xChannelSelector` | `string` | No | `-` | - |
|
|
1245
|
-
| `xHeight` | `string \| number` | No | `-` | - |
|
|
1246
|
-
| `xlinkActuate` | `string` | No | `-` | - |
|
|
1247
|
-
| `xlinkArcrole` | `string` | No | `-` | - |
|
|
1248
|
-
| `xlinkHref` | `string` | No | `-` | - |
|
|
1249
|
-
| `xlinkRole` | `string` | No | `-` | - |
|
|
1250
|
-
| `xlinkShow` | `string` | No | `-` | - |
|
|
1251
|
-
| `xlinkTitle` | `string` | No | `-` | - |
|
|
1252
|
-
| `xlinkType` | `string` | No | `-` | - |
|
|
1253
|
-
| `xmlBase` | `string` | No | `-` | - |
|
|
1254
|
-
| `xmlLang` | `string` | No | `-` | - |
|
|
1255
|
-
| `xmlSpace` | `string` | No | `-` | - |
|
|
1256
|
-
| `xmlns` | `string` | No | `-` | - |
|
|
1257
|
-
| `xmlnsXlink` | `string` | No | `-` | - |
|
|
1258
|
-
| `y` | `string \| number` | No | `-` | - |
|
|
1259
|
-
| `y1` | `string \| number` | No | `-` | - |
|
|
1260
|
-
| `y2` | `string \| number` | No | `-` | - |
|
|
1261
|
-
| `yAxis` | `(Partial<AxisConfigProps> & AxisBaseProps & { className?: string; classNames?: { root?: string \| undefined; tickLabel?: string \| undefined; gridLine?: string \| undefined; line?: string \| undefined; tickMark?: string \| undefined; } \| undefined; style?: CSSProperties \| undefined; styles?: { root?: CSSProperties \| undefined; tickLabel?: CSSProperties \| undefined; gridLine?: CSSProperties \| undefined; line?: CSSProperties \| undefined; tickMark?: CSSProperties \| undefined; } \| undefined; } & { axisId?: string \| undefined; position?: left \| right \| undefined; width?: number \| undefined; }) \| undefined` | No | `-` | - |
|
|
1262
|
-
| `yChannelSelector` | `string` | No | `-` | - |
|
|
1263
|
-
| `z` | `string \| number` | No | `-` | - |
|
|
1264
|
-
| `zIndex` | `-moz-initial \| inherit \| initial \| revert \| revert-layer \| unset \| auto` | No | `-` | - |
|
|
1265
|
-
| `zoomAndPan` | `string` | No | `-` | - |
|
|
1132
|
+
| `xAxis` | `(Partial<AxisConfigProps> & AxisBaseProps & { className?: string; classNames?: { root?: string \| undefined; label?: string \| undefined; tickLabel?: string \| undefined; gridLine?: string \| undefined; line?: string \| undefined; tickMark?: string \| undefined; } \| undefined; style?: CSSProperties \| undefined; styles?: { root?: CSSProperties \| undefined; label?: CSSProperties \| undefined; tickLabel?: CSSProperties \| undefined; gridLine?: CSSProperties \| undefined; line?: CSSProperties \| undefined; tickMark?: CSSProperties \| undefined; } \| undefined; GridLineComponent?: LineComponent \| undefined; LineComponent?: LineComponent \| undefined; TickMarkLineComponent?: LineComponent \| undefined; tickLabelFormatter?: ((value: number) => ChartTextChildren) \| undefined; TickLabelComponent?: AxisTickLabelComponent \| undefined; } & { position?: top \| bottom \| undefined; height?: number \| undefined; }) \| undefined` | No | `-` | Configuration for x-axis. Accepts axis config and axis props. To show the axis, set showXAxis to true. |
|
|
1133
|
+
| `yAxis` | `(Partial<AxisConfigProps> & AxisBaseProps & { className?: string; classNames?: { root?: string \| undefined; label?: string \| undefined; tickLabel?: string \| undefined; gridLine?: string \| undefined; line?: string \| undefined; tickMark?: string \| undefined; } \| undefined; style?: CSSProperties \| undefined; styles?: { root?: CSSProperties \| undefined; label?: CSSProperties \| undefined; tickLabel?: CSSProperties \| undefined; gridLine?: CSSProperties \| undefined; line?: CSSProperties \| undefined; tickMark?: CSSProperties \| undefined; } \| undefined; GridLineComponent?: LineComponent \| undefined; LineComponent?: LineComponent \| undefined; TickMarkLineComponent?: LineComponent \| undefined; tickLabelFormatter?: ((value: number) => ChartTextChildren) \| undefined; TickLabelComponent?: AxisTickLabelComponent \| undefined; } & { axisId?: string \| undefined; position?: left \| right \| undefined; width?: number \| undefined; }) \| undefined` | No | `-` | Configuration for y-axis. Accepts axis config and axis props. To show the axis, set showYAxis to true. |
|
|
1134
|
+
| `zIndex` | `inherit \| auto \| revert \| -moz-initial \| initial \| revert-layer \| unset` | No | `-` | - |
|
|
1266
1135
|
|
|
1267
1136
|
|