Skip to content

Commit

Permalink
[docs] Sort Pickers & Charts API slots alphabetically (#13843)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasTy authored Jul 15, 2024
1 parent 29aeeb8 commit fa3649e
Show file tree
Hide file tree
Showing 35 changed files with 1,252 additions and 1,262 deletions.
48 changes: 24 additions & 24 deletions docs/pages/x/api/charts/bar-chart.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,18 @@
"import { BarChart } from '@mui/x-charts';"
],
"slots": [
{
"name": "axisContent",
"description": "Custom component for displaying tooltip content when triggered by axis event.",
"default": "DefaultChartsAxisTooltipContent",
"class": null
},
{
"name": "axisLabel",
"description": "Custom component for axis label.",
"default": "ChartsText",
"class": null
},
{
"name": "axisLine",
"description": "Custom component for the axis main line.",
Expand All @@ -133,12 +145,6 @@
"default": "ChartsText",
"class": null
},
{
"name": "axisLabel",
"description": "Custom component for axis label.",
"default": "ChartsText",
"class": null
},
{
"name": "bar",
"description": "The component that renders the bar.",
Expand All @@ -151,30 +157,18 @@
"default": "BarLabel",
"class": null
},
{
"name": "legend",
"description": "Custom rendering of the legend.",
"default": "DefaultChartsLegend",
"class": null
},
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
},
{
"name": "axisContent",
"description": "Custom component for displaying tooltip content when triggered by axis event.",
"default": "DefaultChartsAxisTooltipContent",
"class": null
},
{
"name": "itemContent",
"description": "Custom component for displaying tooltip content when triggered by item event.",
"default": "DefaultChartsItemTooltipContent",
"class": null
},
{
"name": "legend",
"description": "Custom rendering of the legend.",
"default": "DefaultChartsLegend",
"class": null
},
{
"name": "loadingOverlay",
"description": "Overlay component rendered when the chart is in a loading state.",
Expand All @@ -186,6 +180,12 @@
"description": "Overlay component rendered when the chart has no data to display.",
"default": "ChartsNoDataOverlay",
"class": null
},
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
}
],
"classes": [],
Expand Down
12 changes: 6 additions & 6 deletions docs/pages/x/api/charts/charts-tooltip.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@
"import { ChartsTooltip } from '@mui/x-charts';"
],
"slots": [
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
},
{
"name": "axisContent",
"description": "Custom component for displaying tooltip content when triggered by axis event.",
Expand All @@ -48,6 +42,12 @@
"description": "Custom component for displaying tooltip content when triggered by item event.",
"default": "DefaultChartsItemTooltipContent",
"class": null
},
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
}
],
"classes": [
Expand Down
62 changes: 31 additions & 31 deletions docs/pages/x/api/charts/line-chart.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,24 @@
"import { LineChart } from '@mui/x-charts';"
],
"slots": [
{
"name": "area",
"description": "The component that renders the area.",
"default": "AnimatedArea",
"class": null
},
{
"name": "axisContent",
"description": "Custom component for displaying tooltip content when triggered by axis event.",
"default": "DefaultChartsAxisTooltipContent",
"class": null
},
{
"name": "axisLabel",
"description": "Custom component for axis label.",
"default": "ChartsText",
"class": null
},
{
"name": "axisLine",
"description": "Custom component for the axis main line.",
Expand All @@ -127,15 +145,15 @@
"class": null
},
{
"name": "axisLabel",
"description": "Custom component for axis label.",
"default": "ChartsText",
"name": "itemContent",
"description": "Custom component for displaying tooltip content when triggered by item event.",
"default": "DefaultChartsItemTooltipContent",
"class": null
},
{
"name": "area",
"description": "The component that renders the area.",
"default": "AnimatedArea",
"name": "legend",
"description": "Custom rendering of the legend.",
"default": "DefaultChartsLegend",
"class": null
},
{
Expand All @@ -144,43 +162,25 @@
"default": "LineElementPath",
"class": null
},
{ "name": "mark", "description": "", "class": null },
{ "name": "lineHighlight", "description": "", "class": null },
{
"name": "legend",
"description": "Custom rendering of the legend.",
"default": "DefaultChartsLegend",
"class": null
},
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
},
{
"name": "axisContent",
"description": "Custom component for displaying tooltip content when triggered by axis event.",
"default": "DefaultChartsAxisTooltipContent",
"class": null
},
{
"name": "itemContent",
"description": "Custom component for displaying tooltip content when triggered by item event.",
"default": "DefaultChartsItemTooltipContent",
"class": null
},
{
"name": "loadingOverlay",
"description": "Overlay component rendered when the chart is in a loading state.",
"default": "ChartsLoadingOverlay",
"class": null
},
{ "name": "mark", "description": "", "class": null },
{
"name": "noDataOverlay",
"description": "Overlay component rendered when the chart has no data to display.",
"default": "ChartsNoDataOverlay",
"class": null
},
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
}
],
"classes": [],
Expand Down
46 changes: 23 additions & 23 deletions docs/pages/x/api/charts/pie-chart.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,18 @@
"import { PieChart } from '@mui/x-charts';"
],
"slots": [
{
"name": "axisContent",
"description": "Custom component for displaying tooltip content when triggered by axis event.",
"default": "DefaultChartsAxisTooltipContent",
"class": null
},
{
"name": "axisLabel",
"description": "Custom component for axis label.",
"default": "ChartsText",
"class": null
},
{
"name": "axisLine",
"description": "Custom component for the axis main line.",
Expand All @@ -123,37 +135,17 @@
"class": null
},
{
"name": "axisLabel",
"description": "Custom component for axis label.",
"default": "ChartsText",
"name": "itemContent",
"description": "Custom component for displaying tooltip content when triggered by item event.",
"default": "DefaultChartsItemTooltipContent",
"class": null
},
{ "name": "pieArc", "description": "", "class": null },
{ "name": "pieArcLabel", "description": "", "class": null },
{
"name": "legend",
"description": "Custom rendering of the legend.",
"default": "DefaultChartsLegend",
"class": null
},
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
},
{
"name": "axisContent",
"description": "Custom component for displaying tooltip content when triggered by axis event.",
"default": "DefaultChartsAxisTooltipContent",
"class": null
},
{
"name": "itemContent",
"description": "Custom component for displaying tooltip content when triggered by item event.",
"default": "DefaultChartsItemTooltipContent",
"class": null
},
{
"name": "loadingOverlay",
"description": "Overlay component rendered when the chart is in a loading state.",
Expand All @@ -165,6 +157,14 @@
"description": "Overlay component rendered when the chart has no data to display.",
"default": "ChartsNoDataOverlay",
"class": null
},
{ "name": "pieArc", "description": "", "class": null },
{ "name": "pieArcLabel", "description": "", "class": null },
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
}
],
"classes": [],
Expand Down
46 changes: 23 additions & 23 deletions docs/pages/x/api/charts/scatter-chart.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,18 @@
"import { ScatterChart } from '@mui/x-charts';"
],
"slots": [
{
"name": "axisContent",
"description": "Custom component for displaying tooltip content when triggered by axis event.",
"default": "DefaultChartsAxisTooltipContent",
"class": null
},
{
"name": "axisLabel",
"description": "Custom component for axis label.",
"default": "ChartsText",
"class": null
},
{
"name": "axisLine",
"description": "Custom component for the axis main line.",
Expand All @@ -130,36 +142,17 @@
"class": null
},
{
"name": "axisLabel",
"description": "Custom component for axis label.",
"default": "ChartsText",
"name": "itemContent",
"description": "Custom component for displaying tooltip content when triggered by item event.",
"default": "DefaultChartsItemTooltipContent",
"class": null
},
{ "name": "scatter", "description": "", "class": null },
{
"name": "legend",
"description": "Custom rendering of the legend.",
"default": "DefaultChartsLegend",
"class": null
},
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
},
{
"name": "axisContent",
"description": "Custom component for displaying tooltip content when triggered by axis event.",
"default": "DefaultChartsAxisTooltipContent",
"class": null
},
{
"name": "itemContent",
"description": "Custom component for displaying tooltip content when triggered by item event.",
"default": "DefaultChartsItemTooltipContent",
"class": null
},
{
"name": "loadingOverlay",
"description": "Overlay component rendered when the chart is in a loading state.",
Expand All @@ -171,7 +164,14 @@
"description": "Overlay component rendered when the chart has no data to display.",
"default": "ChartsNoDataOverlay",
"class": null
}
},
{
"name": "popper",
"description": "Custom component for the tooltip popper.",
"default": "ChartsTooltipRoot",
"class": null
},
{ "name": "scatter", "description": "", "class": null }
],
"classes": [],
"spread": true,
Expand Down
Loading

0 comments on commit fa3649e

Please sign in to comment.