From c855839fa4677d137a25fa2034fa123f08473bba Mon Sep 17 00:00:00 2001 From: Bernardo Belchior Date: Thu, 6 Feb 2025 11:24:40 +0100 Subject: [PATCH] Update default color from master. --- docs/pages/x/api/charts/bar-chart-pro.json | 2 +- docs/pages/x/api/charts/bar-chart.json | 2 +- docs/pages/x/api/charts/chart-container.json | 2 +- docs/pages/x/api/charts/chart-data-provider-pro.json | 2 +- docs/pages/x/api/charts/chart-data-provider.json | 2 +- docs/pages/x/api/charts/heatmap.json | 2 +- docs/pages/x/api/charts/line-chart-pro.json | 2 +- docs/pages/x/api/charts/line-chart.json | 2 +- docs/pages/x/api/charts/pie-chart.json | 2 +- docs/pages/x/api/charts/scatter-chart-pro.json | 2 +- docs/pages/x/api/charts/scatter-chart.json | 2 +- packages/x-charts-pro/src/BarChartPro/BarChartPro.tsx | 2 +- .../src/ChartDataProviderPro/ChartDataProviderPro.tsx | 2 +- packages/x-charts-pro/src/Heatmap/Heatmap.tsx | 2 +- packages/x-charts-pro/src/LineChartPro/LineChartPro.tsx | 2 +- packages/x-charts-pro/src/ScatterChartPro/ScatterChartPro.tsx | 2 +- packages/x-charts/src/BarChart/BarChart.tsx | 2 +- packages/x-charts/src/ChartContainer/ChartContainer.tsx | 2 +- packages/x-charts/src/ChartDataProvider/ChartDataProvider.tsx | 2 +- packages/x-charts/src/LineChart/LineChart.tsx | 2 +- packages/x-charts/src/PieChart/PieChart.tsx | 2 +- packages/x-charts/src/ScatterChart/ScatterChart.tsx | 2 +- .../corePlugins/useChartSeries/useChartSeries.types.ts | 4 ++-- 23 files changed, 24 insertions(+), 24 deletions(-) diff --git a/docs/pages/x/api/charts/bar-chart-pro.json b/docs/pages/x/api/charts/bar-chart-pro.json index e9416c23a399b..f5b7f52de5034 100644 --- a/docs/pages/x/api/charts/bar-chart-pro.json +++ b/docs/pages/x/api/charts/bar-chart-pro.json @@ -22,7 +22,7 @@ }, "colors": { "type": { "name": "union", "description": "Array<string>
| func" }, - "default": "blueberryTwilightPalette" + "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, diff --git a/docs/pages/x/api/charts/bar-chart.json b/docs/pages/x/api/charts/bar-chart.json index c46279678e7be..5f87e7c0fccc7 100644 --- a/docs/pages/x/api/charts/bar-chart.json +++ b/docs/pages/x/api/charts/bar-chart.json @@ -22,7 +22,7 @@ }, "colors": { "type": { "name": "union", "description": "Array<string>
| func" }, - "default": "blueberryTwilightPalette" + "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, diff --git a/docs/pages/x/api/charts/chart-container.json b/docs/pages/x/api/charts/chart-container.json index 5eeba095e6acd..007425cb86b80 100644 --- a/docs/pages/x/api/charts/chart-container.json +++ b/docs/pages/x/api/charts/chart-container.json @@ -2,7 +2,7 @@ "props": { "colors": { "type": { "name": "union", "description": "Array<string>
| func" }, - "default": "blueberryTwilightPalette" + "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, diff --git a/docs/pages/x/api/charts/chart-data-provider-pro.json b/docs/pages/x/api/charts/chart-data-provider-pro.json index 353dabda0016d..3553c23034f75 100644 --- a/docs/pages/x/api/charts/chart-data-provider-pro.json +++ b/docs/pages/x/api/charts/chart-data-provider-pro.json @@ -2,7 +2,7 @@ "props": { "colors": { "type": { "name": "union", "description": "Array<string>
| func" }, - "default": "blueberryTwilightPalette" + "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, diff --git a/docs/pages/x/api/charts/chart-data-provider.json b/docs/pages/x/api/charts/chart-data-provider.json index c7afc0b433604..5e5fa438de519 100644 --- a/docs/pages/x/api/charts/chart-data-provider.json +++ b/docs/pages/x/api/charts/chart-data-provider.json @@ -1,6 +1,6 @@ { "props": { - "colors": { "type": { "name": "any" }, "default": "blueberryTwilightPalette" }, + "colors": { "type": { "name": "any" }, "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "any" } }, "height": { "type": { "name": "any" } }, "id": { "type": { "name": "any" } }, diff --git a/docs/pages/x/api/charts/heatmap.json b/docs/pages/x/api/charts/heatmap.json index 2145a8d6bc870..370e2aa36817e 100644 --- a/docs/pages/x/api/charts/heatmap.json +++ b/docs/pages/x/api/charts/heatmap.json @@ -24,7 +24,7 @@ }, "colors": { "type": { "name": "union", "description": "Array<string>
| func" }, - "default": "blueberryTwilightPalette" + "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, diff --git a/docs/pages/x/api/charts/line-chart-pro.json b/docs/pages/x/api/charts/line-chart-pro.json index 0e65f0efc1ac1..8e8492e5285fc 100644 --- a/docs/pages/x/api/charts/line-chart-pro.json +++ b/docs/pages/x/api/charts/line-chart-pro.json @@ -21,7 +21,7 @@ }, "colors": { "type": { "name": "union", "description": "Array<string>
| func" }, - "default": "blueberryTwilightPalette" + "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, diff --git a/docs/pages/x/api/charts/line-chart.json b/docs/pages/x/api/charts/line-chart.json index 554ae19bd1767..f01718cbb0702 100644 --- a/docs/pages/x/api/charts/line-chart.json +++ b/docs/pages/x/api/charts/line-chart.json @@ -21,7 +21,7 @@ }, "colors": { "type": { "name": "union", "description": "Array<string>
| func" }, - "default": "blueberryTwilightPalette" + "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, diff --git a/docs/pages/x/api/charts/pie-chart.json b/docs/pages/x/api/charts/pie-chart.json index 469ab5bd89586..bf48f90e23d2b 100644 --- a/docs/pages/x/api/charts/pie-chart.json +++ b/docs/pages/x/api/charts/pie-chart.json @@ -6,7 +6,7 @@ }, "colors": { "type": { "name": "union", "description": "Array<string>
| func" }, - "default": "blueberryTwilightPalette" + "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "height": { "type": { "name": "number" } }, diff --git a/docs/pages/x/api/charts/scatter-chart-pro.json b/docs/pages/x/api/charts/scatter-chart-pro.json index c9ad94f1a89bb..6a892c4892a1b 100644 --- a/docs/pages/x/api/charts/scatter-chart-pro.json +++ b/docs/pages/x/api/charts/scatter-chart-pro.json @@ -21,7 +21,7 @@ }, "colors": { "type": { "name": "union", "description": "Array<string>
| func" }, - "default": "blueberryTwilightPalette" + "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, diff --git a/docs/pages/x/api/charts/scatter-chart.json b/docs/pages/x/api/charts/scatter-chart.json index 79803709e9749..01d61648e737f 100644 --- a/docs/pages/x/api/charts/scatter-chart.json +++ b/docs/pages/x/api/charts/scatter-chart.json @@ -21,7 +21,7 @@ }, "colors": { "type": { "name": "union", "description": "Array<string>
| func" }, - "default": "blueberryTwilightPalette" + "default": "rainbowSurgePalette" }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, diff --git a/packages/x-charts-pro/src/BarChartPro/BarChartPro.tsx b/packages/x-charts-pro/src/BarChartPro/BarChartPro.tsx index 6edde91a82402..ca97302564544 100644 --- a/packages/x-charts-pro/src/BarChartPro/BarChartPro.tsx +++ b/packages/x-charts-pro/src/BarChartPro/BarChartPro.tsx @@ -168,7 +168,7 @@ BarChartPro.propTypes = { className: PropTypes.string, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]), /** diff --git a/packages/x-charts-pro/src/ChartDataProviderPro/ChartDataProviderPro.tsx b/packages/x-charts-pro/src/ChartDataProviderPro/ChartDataProviderPro.tsx index 89cf1af2261dc..1112d71adf234 100644 --- a/packages/x-charts-pro/src/ChartDataProviderPro/ChartDataProviderPro.tsx +++ b/packages/x-charts-pro/src/ChartDataProviderPro/ChartDataProviderPro.tsx @@ -82,7 +82,7 @@ ChartDataProviderPro.propTypes = { children: PropTypes.node, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]), /** diff --git a/packages/x-charts-pro/src/Heatmap/Heatmap.tsx b/packages/x-charts-pro/src/Heatmap/Heatmap.tsx index f8757a5a99206..6997842e1f505 100644 --- a/packages/x-charts-pro/src/Heatmap/Heatmap.tsx +++ b/packages/x-charts-pro/src/Heatmap/Heatmap.tsx @@ -220,7 +220,7 @@ Heatmap.propTypes = { className: PropTypes.string, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]), /** diff --git a/packages/x-charts-pro/src/LineChartPro/LineChartPro.tsx b/packages/x-charts-pro/src/LineChartPro/LineChartPro.tsx index e1747a00fbce8..758af80c177dc 100644 --- a/packages/x-charts-pro/src/LineChartPro/LineChartPro.tsx +++ b/packages/x-charts-pro/src/LineChartPro/LineChartPro.tsx @@ -224,7 +224,7 @@ LineChartPro.propTypes = { className: PropTypes.string, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]), /** diff --git a/packages/x-charts-pro/src/ScatterChartPro/ScatterChartPro.tsx b/packages/x-charts-pro/src/ScatterChartPro/ScatterChartPro.tsx index 07010b555d822..695c301719114 100644 --- a/packages/x-charts-pro/src/ScatterChartPro/ScatterChartPro.tsx +++ b/packages/x-charts-pro/src/ScatterChartPro/ScatterChartPro.tsx @@ -106,7 +106,7 @@ ScatterChartPro.propTypes = { className: PropTypes.string, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]), /** diff --git a/packages/x-charts/src/BarChart/BarChart.tsx b/packages/x-charts/src/BarChart/BarChart.tsx index afa34793e5273..b2cdac00eed16 100644 --- a/packages/x-charts/src/BarChart/BarChart.tsx +++ b/packages/x-charts/src/BarChart/BarChart.tsx @@ -179,7 +179,7 @@ BarChart.propTypes = { className: PropTypes.string, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]), /** diff --git a/packages/x-charts/src/ChartContainer/ChartContainer.tsx b/packages/x-charts/src/ChartContainer/ChartContainer.tsx index b569755661293..452f205c4f93f 100644 --- a/packages/x-charts/src/ChartContainer/ChartContainer.tsx +++ b/packages/x-charts/src/ChartContainer/ChartContainer.tsx @@ -69,7 +69,7 @@ ChartContainer.propTypes = { className: PropTypes.string, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]), /** diff --git a/packages/x-charts/src/ChartDataProvider/ChartDataProvider.tsx b/packages/x-charts/src/ChartDataProvider/ChartDataProvider.tsx index 300d7c9dcfee1..afaff3a73327b 100644 --- a/packages/x-charts/src/ChartDataProvider/ChartDataProvider.tsx +++ b/packages/x-charts/src/ChartDataProvider/ChartDataProvider.tsx @@ -68,7 +68,7 @@ ChartDataProvider.propTypes = { children: PropTypes.node, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.any, /** diff --git a/packages/x-charts/src/LineChart/LineChart.tsx b/packages/x-charts/src/LineChart/LineChart.tsx index 2bd625481d7bc..c16f16a3d0192 100644 --- a/packages/x-charts/src/LineChart/LineChart.tsx +++ b/packages/x-charts/src/LineChart/LineChart.tsx @@ -200,7 +200,7 @@ LineChart.propTypes = { className: PropTypes.string, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]), /** diff --git a/packages/x-charts/src/PieChart/PieChart.tsx b/packages/x-charts/src/PieChart/PieChart.tsx index f987e531af9cd..3f33cd0635340 100644 --- a/packages/x-charts/src/PieChart/PieChart.tsx +++ b/packages/x-charts/src/PieChart/PieChart.tsx @@ -170,7 +170,7 @@ PieChart.propTypes = { className: PropTypes.string, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]), /** diff --git a/packages/x-charts/src/ScatterChart/ScatterChart.tsx b/packages/x-charts/src/ScatterChart/ScatterChart.tsx index f5948c70bf36b..9a984c2045f2a 100644 --- a/packages/x-charts/src/ScatterChart/ScatterChart.tsx +++ b/packages/x-charts/src/ScatterChart/ScatterChart.tsx @@ -177,7 +177,7 @@ ScatterChart.propTypes = { className: PropTypes.string, /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]), /** diff --git a/packages/x-charts/src/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.ts b/packages/x-charts/src/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.ts index 3ba2b68e4e5b8..05960bab80a2b 100644 --- a/packages/x-charts/src/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.ts +++ b/packages/x-charts/src/internals/plugins/corePlugins/useChartSeries/useChartSeries.types.ts @@ -17,7 +17,7 @@ export interface UseChartSeriesParameters[]; /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors?: ChartsColorPalette; theme?: 'light' | 'dark'; @@ -33,7 +33,7 @@ export type UseChartSeriesDefaultizedParameters[]; /** * Color palette used to colorize multiple series. - * @default blueberryTwilightPalette + * @default rainbowSurgePalette */ colors: ChartsColorPalette; theme: 'light' | 'dark';