Skip to content

Commit

Permalink
[charts] Fix charts api tests (#13863)
Browse files Browse the repository at this point in the history
  • Loading branch information
JCQuintas authored Jul 16, 2024
1 parent 0794a25 commit 45facf8
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
3 changes: 2 additions & 1 deletion docs/pages/x/api/charts/continuous-color-legend.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"name": "ContinuousColorLegend",
"imports": [
"import { ContinuousColorLegend } from '@mui/x-charts/ChartsLegend';",
"import { ContinuousColorLegend } from '@mui/x-charts';"
"import { ContinuousColorLegend } from '@mui/x-charts';",
"import { ContinuousColorLegend } from '@mui/x-charts-pro';"
],
"classes": [],
"muiName": "MuiContinuousColorLegend",
Expand Down
28 changes: 14 additions & 14 deletions docs/pages/x/api/charts/heatmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@
"import { Heatmap } from '@mui/x-charts-pro';"
],
"slots": [
{
"name": "axisLabel",
"description": "Custom component for axis label.",
"default": "ChartsText",
"class": null
},
{
"name": "axisLine",
"description": "Custom component for the axis main line.",
Expand All @@ -115,16 +121,10 @@
"class": null
},
{
"name": "axisLabel",
"description": "Custom component for axis label.",
"default": "ChartsText",
"class": null
},
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
"name": "cell",
"description": "The component that renders the heatmap cell.",
"default": "HeatmapCell",
"class": "MuiHeatmap-cell"
},
{
"name": "itemContent",
Expand All @@ -145,10 +145,10 @@
"class": null
},
{
"name": "cell",
"description": "The component that renders the heatmap cell.",
"default": "HeatmapCell",
"class": "MuiHeatmap-cell"
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
}
],
"classes": [
Expand Down
3 changes: 2 additions & 1 deletion docs/pages/x/api/charts/piecewise-color-legend.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
"name": "PiecewiseColorLegend",
"imports": [
"import { PiecewiseColorLegend } from '@mui/x-charts/ChartsLegend';",
"import { PiecewiseColorLegend } from '@mui/x-charts';"
"import { PiecewiseColorLegend } from '@mui/x-charts';",
"import { PiecewiseColorLegend } from '@mui/x-charts-pro';"
],
"classes": [
{
Expand Down
12 changes: 5 additions & 7 deletions scripts/x-charts-pro.exports.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[
{ "name": "AllSeriesType", "kind": "TypeAlias" },
{ "name": "AnchorPosition", "kind": "TypeAlias" },
{ "name": "AnchorX", "kind": "TypeAlias" },
{ "name": "AnchorY", "kind": "TypeAlias" },
{ "name": "AnimatedArea", "kind": "Function" },
{ "name": "AnimatedAreaProps", "kind": "Interface" },
{ "name": "AnimatedLine", "kind": "Function" },
Expand Down Expand Up @@ -87,9 +84,7 @@
{ "name": "ChartsLegend", "kind": "Function" },
{ "name": "ChartsLegendClasses", "kind": "Interface" },
{ "name": "ChartsLegendClassKey", "kind": "TypeAlias" },
{ "name": "ChartsLegendProps", "kind": "TypeAlias" },
{ "name": "ChartsLegendRoot", "kind": "Variable" },
{ "name": "ChartsLegendRootOwnerState", "kind": "TypeAlias" },
{ "name": "ChartsLegendProps", "kind": "Interface" },
{ "name": "ChartsLegendSlotProps", "kind": "Interface" },
{ "name": "ChartsLegendSlots", "kind": "Interface" },
{ "name": "ChartsOnAxisClickHandler", "kind": "Function" },
Expand Down Expand Up @@ -127,6 +122,8 @@
{ "name": "cheerfulFiestaPaletteLight", "kind": "Variable" },
{ "name": "ColorProcessorsConfig", "kind": "TypeAlias" },
{ "name": "ComputedPieRadius", "kind": "Interface" },
{ "name": "ContinuousColorLegend", "kind": "Function" },
{ "name": "ContinuousColorLegendProps", "kind": "Interface" },
{ "name": "ContinuousScaleName", "kind": "TypeAlias" },
{ "name": "CurveType", "kind": "TypeAlias" },
{ "name": "DEFAULT_MARGINS", "kind": "Variable" },
Expand All @@ -143,7 +140,6 @@
{ "name": "DefaultizedPieValueType", "kind": "TypeAlias" },
{ "name": "DefaultizedScatterSeriesType", "kind": "Interface" },
{ "name": "DefaultizedSeriesType", "kind": "TypeAlias" },
{ "name": "Direction", "kind": "TypeAlias" },
{ "name": "ExtremumGettersConfig", "kind": "TypeAlias" },
{ "name": "FadeOptions", "kind": "TypeAlias" },
{ "name": "Gauge", "kind": "Variable" },
Expand Down Expand Up @@ -264,6 +260,8 @@
{ "name": "PieArcPlotSlotProps", "kind": "Interface" },
{ "name": "PieArcPlotSlots", "kind": "Interface" },
{ "name": "PieArcProps", "kind": "TypeAlias" },
{ "name": "PiecewiseColorLegend", "kind": "Function" },
{ "name": "PiecewiseColorLegendProps", "kind": "Interface" },
{ "name": "PieChart", "kind": "Variable" },
{ "name": "PieChartProps", "kind": "Interface" },
{ "name": "PieChartSlotProps", "kind": "Interface" },
Expand Down

0 comments on commit 45facf8

Please sign in to comment.