diff --git a/docs/pages/x/api/charts/bar-chart.json b/docs/pages/x/api/charts/bar-chart.json index bf3b4def2f5e1..3b7a9619b0e07 100644 --- a/docs/pages/x/api/charts/bar-chart.json +++ b/docs/pages/x/api/charts/bar-chart.json @@ -30,7 +30,7 @@ "grid": { "type": { "name": "shape", "description": "{ horizontal?: bool, vertical?: bool }" } }, - "height": { "type": { "name": "number" }, "default": "undefined" }, + "height": { "type": { "name": "number" } }, "layout": { "type": { "name": "enum", "description": "'horizontal'
| 'vertical'" }, "default": "'vertical'" @@ -91,7 +91,7 @@ }, "default": "null" }, - "width": { "type": { "name": "number" }, "default": "undefined" }, + "width": { "type": { "name": "number" } }, "xAxis": { "type": { "name": "arrayOf", diff --git a/docs/pages/x/api/charts/charts-voronoi-handler.json b/docs/pages/x/api/charts/charts-voronoi-handler.json index 891187ec2bbb7..dec738632690c 100644 --- a/docs/pages/x/api/charts/charts-voronoi-handler.json +++ b/docs/pages/x/api/charts/charts-voronoi-handler.json @@ -7,7 +7,7 @@ "describedArgs": ["event", "scatterItemIdentifier"] } }, - "voronoiMaxRadius": { "type": { "name": "number" }, "default": "undefined" } + "voronoiMaxRadius": { "type": { "name": "number" } } }, "name": "ChartsVoronoiHandler", "imports": [ diff --git a/docs/pages/x/api/charts/gauge-container.json b/docs/pages/x/api/charts/gauge-container.json index e23ab70ab0dab..3d064b0e55355 100644 --- a/docs/pages/x/api/charts/gauge-container.json +++ b/docs/pages/x/api/charts/gauge-container.json @@ -8,7 +8,7 @@ "cy": { "type": { "name": "union", "description": "number
| string" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, "endAngle": { "type": { "name": "number" }, "default": "360" }, - "height": { "type": { "name": "number" }, "default": "undefined" }, + "height": { "type": { "name": "number" } }, "innerRadius": { "type": { "name": "union", "description": "number
| string" }, "default": "'80%'" @@ -28,7 +28,7 @@ "value": { "type": { "name": "number" } }, "valueMax": { "type": { "name": "number" }, "default": "100" }, "valueMin": { "type": { "name": "number" }, "default": "0" }, - "width": { "type": { "name": "number" }, "default": "undefined" } + "width": { "type": { "name": "number" } } }, "name": "GaugeContainer", "imports": [ diff --git a/docs/pages/x/api/charts/gauge.json b/docs/pages/x/api/charts/gauge.json index 48c9dfb790cc2..a17d90adb6732 100644 --- a/docs/pages/x/api/charts/gauge.json +++ b/docs/pages/x/api/charts/gauge.json @@ -8,7 +8,7 @@ "cy": { "type": { "name": "union", "description": "number
| string" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, "endAngle": { "type": { "name": "number" }, "default": "360" }, - "height": { "type": { "name": "number" }, "default": "undefined" }, + "height": { "type": { "name": "number" } }, "innerRadius": { "type": { "name": "union", "description": "number
| string" }, "default": "'80%'" @@ -28,7 +28,7 @@ "value": { "type": { "name": "number" } }, "valueMax": { "type": { "name": "number" }, "default": "100" }, "valueMin": { "type": { "name": "number" }, "default": "0" }, - "width": { "type": { "name": "number" }, "default": "undefined" } + "width": { "type": { "name": "number" } } }, "name": "Gauge", "imports": [ diff --git a/docs/pages/x/api/charts/line-chart.json b/docs/pages/x/api/charts/line-chart.json index 42da9a9957c88..3531457fbd810 100644 --- a/docs/pages/x/api/charts/line-chart.json +++ b/docs/pages/x/api/charts/line-chart.json @@ -32,7 +32,7 @@ "grid": { "type": { "name": "shape", "description": "{ horizontal?: bool, vertical?: bool }" } }, - "height": { "type": { "name": "number" }, "default": "undefined" }, + "height": { "type": { "name": "number" } }, "leftAxis": { "type": { "name": "union", @@ -86,7 +86,7 @@ }, "default": "null" }, - "width": { "type": { "name": "number" }, "default": "undefined" }, + "width": { "type": { "name": "number" } }, "xAxis": { "type": { "name": "arrayOf", diff --git a/docs/pages/x/api/charts/pie-chart.json b/docs/pages/x/api/charts/pie-chart.json index a90097c84cc39..d2877b768615b 100644 --- a/docs/pages/x/api/charts/pie-chart.json +++ b/docs/pages/x/api/charts/pie-chart.json @@ -28,7 +28,7 @@ }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, - "height": { "type": { "name": "number" }, "default": "undefined" }, + "height": { "type": { "name": "number" } }, "leftAxis": { "type": { "name": "union", @@ -82,7 +82,7 @@ }, "default": "null" }, - "width": { "type": { "name": "number" }, "default": "undefined" }, + "width": { "type": { "name": "number" } }, "xAxis": { "type": { "name": "arrayOf", diff --git a/docs/pages/x/api/charts/responsive-chart-container.json b/docs/pages/x/api/charts/responsive-chart-container.json index ddc4d24576fcd..12c7e23846549 100644 --- a/docs/pages/x/api/charts/responsive-chart-container.json +++ b/docs/pages/x/api/charts/responsive-chart-container.json @@ -10,7 +10,7 @@ }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, - "height": { "type": { "name": "number" }, "default": "undefined" }, + "height": { "type": { "name": "number" } }, "margin": { "type": { "name": "shape", @@ -18,7 +18,7 @@ }, "default": "object Depends on the charts type." }, - "width": { "type": { "name": "number" }, "default": "undefined" }, + "width": { "type": { "name": "number" } }, "xAxis": { "type": { "name": "arrayOf", diff --git a/docs/pages/x/api/charts/scatter-chart.json b/docs/pages/x/api/charts/scatter-chart.json index d58a1818ad4d9..d32377bc685b0 100644 --- a/docs/pages/x/api/charts/scatter-chart.json +++ b/docs/pages/x/api/charts/scatter-chart.json @@ -32,7 +32,7 @@ "grid": { "type": { "name": "shape", "description": "{ horizontal?: bool, vertical?: bool }" } }, - "height": { "type": { "name": "number" }, "default": "undefined" }, + "height": { "type": { "name": "number" } }, "leftAxis": { "type": { "name": "union", @@ -82,8 +82,8 @@ }, "default": "null" }, - "voronoiMaxRadius": { "type": { "name": "number" }, "default": "undefined" }, - "width": { "type": { "name": "number" }, "default": "undefined" }, + "voronoiMaxRadius": { "type": { "name": "number" } }, + "width": { "type": { "name": "number" } }, "xAxis": { "type": { "name": "arrayOf", diff --git a/docs/pages/x/api/charts/spark-line-chart.json b/docs/pages/x/api/charts/spark-line-chart.json index e98af23cd828b..264a7a0103d51 100644 --- a/docs/pages/x/api/charts/spark-line-chart.json +++ b/docs/pages/x/api/charts/spark-line-chart.json @@ -11,7 +11,7 @@ }, "dataset": { "type": { "name": "arrayOf", "description": "Array<object>" } }, "disableAxisListener": { "type": { "name": "bool" }, "default": "false" }, - "height": { "type": { "name": "number" }, "default": "undefined" }, + "height": { "type": { "name": "number" } }, "margin": { "type": { "name": "shape", @@ -40,7 +40,7 @@ "returned": "string" } }, - "width": { "type": { "name": "number" }, "default": "undefined" }, + "width": { "type": { "name": "number" } }, "xAxis": { "type": { "name": "shape", diff --git a/docs/pages/x/api/date-pickers/date-calendar.json b/docs/pages/x/api/date-pickers/date-calendar.json index a1495a0d60b08..72f1cd7957199 100644 --- a/docs/pages/x/api/date-pickers/date-calendar.json +++ b/docs/pages/x/api/date-pickers/date-calendar.json @@ -17,7 +17,7 @@ "disableHighlightToday": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "focusedView": { "type": { "name": "enum", diff --git a/docs/pages/x/api/date-pickers/date-picker.json b/docs/pages/x/api/date-pickers/date-picker.json index b4a4bd93ed6e2..ebbef0911f56d 100644 --- a/docs/pages/x/api/date-pickers/date-picker.json +++ b/docs/pages/x/api/date-pickers/date-picker.json @@ -25,7 +25,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/date-range-calendar.json b/docs/pages/x/api/date-pickers/date-range-calendar.json index 9702f1dc33cac..0c0a1d51c6b5c 100644 --- a/docs/pages/x/api/date-pickers/date-range-calendar.json +++ b/docs/pages/x/api/date-pickers/date-range-calendar.json @@ -35,7 +35,7 @@ "disableHighlightToday": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "focusedView": { "type": { "name": "enum", "description": "'day'" } }, "loading": { "type": { "name": "bool" }, "default": "false" }, "maxDate": { "type": { "name": "object" } }, diff --git a/docs/pages/x/api/date-pickers/date-range-picker.json b/docs/pages/x/api/date-pickers/date-range-picker.json index e880dfb8e391d..787f387f624ba 100644 --- a/docs/pages/x/api/date-pickers/date-range-picker.json +++ b/docs/pages/x/api/date-pickers/date-range-picker.json @@ -39,7 +39,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/date-time-picker.json b/docs/pages/x/api/date-pickers/date-time-picker.json index 1c10d4ccfcdee..7dca2a90b23d1 100644 --- a/docs/pages/x/api/date-pickers/date-time-picker.json +++ b/docs/pages/x/api/date-pickers/date-time-picker.json @@ -28,7 +28,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/date-time-range-picker.json b/docs/pages/x/api/date-pickers/date-time-range-picker.json index ce588b76b7efb..99884583aa0a9 100644 --- a/docs/pages/x/api/date-pickers/date-time-range-picker.json +++ b/docs/pages/x/api/date-pickers/date-time-range-picker.json @@ -41,7 +41,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/desktop-date-picker.json b/docs/pages/x/api/date-pickers/desktop-date-picker.json index af6728769c595..226272c1cac99 100644 --- a/docs/pages/x/api/date-pickers/desktop-date-picker.json +++ b/docs/pages/x/api/date-pickers/desktop-date-picker.json @@ -21,7 +21,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/desktop-date-range-picker.json b/docs/pages/x/api/date-pickers/desktop-date-range-picker.json index 6803cc3627dbf..fac92678028fe 100644 --- a/docs/pages/x/api/date-pickers/desktop-date-range-picker.json +++ b/docs/pages/x/api/date-pickers/desktop-date-range-picker.json @@ -35,7 +35,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/desktop-date-time-picker.json b/docs/pages/x/api/date-pickers/desktop-date-time-picker.json index 737c15cbb3e37..86be59e1023cd 100644 --- a/docs/pages/x/api/date-pickers/desktop-date-time-picker.json +++ b/docs/pages/x/api/date-pickers/desktop-date-time-picker.json @@ -24,7 +24,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/desktop-date-time-range-picker.json b/docs/pages/x/api/date-pickers/desktop-date-time-range-picker.json index b083f9ceeb1e0..a5be8be300f56 100644 --- a/docs/pages/x/api/date-pickers/desktop-date-time-range-picker.json +++ b/docs/pages/x/api/date-pickers/desktop-date-time-range-picker.json @@ -37,7 +37,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/mobile-date-picker.json b/docs/pages/x/api/date-pickers/mobile-date-picker.json index 54682e73a7af4..bda77b1be01bd 100644 --- a/docs/pages/x/api/date-pickers/mobile-date-picker.json +++ b/docs/pages/x/api/date-pickers/mobile-date-picker.json @@ -21,7 +21,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/mobile-date-range-picker.json b/docs/pages/x/api/date-pickers/mobile-date-range-picker.json index a4e7fd4f0ee02..0c98429fe9ab3 100644 --- a/docs/pages/x/api/date-pickers/mobile-date-range-picker.json +++ b/docs/pages/x/api/date-pickers/mobile-date-range-picker.json @@ -31,7 +31,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/mobile-date-time-picker.json b/docs/pages/x/api/date-pickers/mobile-date-time-picker.json index dfc374df13ffd..4ef39117304fa 100644 --- a/docs/pages/x/api/date-pickers/mobile-date-time-picker.json +++ b/docs/pages/x/api/date-pickers/mobile-date-time-picker.json @@ -24,7 +24,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/mobile-date-time-range-picker.json b/docs/pages/x/api/date-pickers/mobile-date-time-range-picker.json index fdbfb01fa0753..732bb95151b6a 100644 --- a/docs/pages/x/api/date-pickers/mobile-date-time-range-picker.json +++ b/docs/pages/x/api/date-pickers/mobile-date-time-range-picker.json @@ -33,7 +33,7 @@ "disableOpenPicker": { "type": { "name": "bool" }, "default": "false" }, "disablePast": { "type": { "name": "bool" }, "default": "false" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "format": { "type": { "name": "string" } }, "formatDensity": { "type": { "name": "enum", "description": "'dense'
| 'spacious'" }, diff --git a/docs/pages/x/api/date-pickers/static-date-picker.json b/docs/pages/x/api/date-pickers/static-date-picker.json index 169d9df97f5b2..07823b0be25c8 100644 --- a/docs/pages/x/api/date-pickers/static-date-picker.json +++ b/docs/pages/x/api/date-pickers/static-date-picker.json @@ -20,7 +20,7 @@ "default": "\"mobile\"" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "loading": { "type": { "name": "bool" }, "default": "false" }, "localeText": { "type": { "name": "object" } }, "maxDate": { "type": { "name": "object" } }, diff --git a/docs/pages/x/api/date-pickers/static-date-range-picker.json b/docs/pages/x/api/date-pickers/static-date-range-picker.json index 7147a6a57dd4b..e4c0366f38fd2 100644 --- a/docs/pages/x/api/date-pickers/static-date-range-picker.json +++ b/docs/pages/x/api/date-pickers/static-date-range-picker.json @@ -34,7 +34,7 @@ "default": "\"mobile\"" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "loading": { "type": { "name": "bool" }, "default": "false" }, "localeText": { "type": { "name": "object" } }, "maxDate": { "type": { "name": "object" } }, diff --git a/docs/pages/x/api/date-pickers/static-date-time-picker.json b/docs/pages/x/api/date-pickers/static-date-time-picker.json index 49608fc99029e..90e73442433fc 100644 --- a/docs/pages/x/api/date-pickers/static-date-time-picker.json +++ b/docs/pages/x/api/date-pickers/static-date-time-picker.json @@ -23,7 +23,7 @@ "default": "\"mobile\"" }, "displayWeekNumber": { "type": { "name": "bool" } }, - "fixedWeekNumber": { "type": { "name": "number" }, "default": "undefined" }, + "fixedWeekNumber": { "type": { "name": "number" } }, "loading": { "type": { "name": "bool" }, "default": "false" }, "localeText": { "type": { "name": "object" } }, "maxDate": { "type": { "name": "object" } }, diff --git a/packages/x-charts/src/BarChart/BarChart.tsx b/packages/x-charts/src/BarChart/BarChart.tsx index cc36f609d3142..02494714379f2 100644 --- a/packages/x-charts/src/BarChart/BarChart.tsx +++ b/packages/x-charts/src/BarChart/BarChart.tsx @@ -280,7 +280,6 @@ BarChart.propTypes = { }), /** * The height of the chart in px. If not defined, it takes the height of the parent element. - * @default undefined */ height: PropTypes.number, /** @@ -474,7 +473,6 @@ BarChart.propTypes = { }), /** * The width of the chart in px. If not defined, it takes the width of the parent element. - * @default undefined */ width: PropTypes.number, /** diff --git a/packages/x-charts/src/ChartsVoronoiHandler/ChartsVoronoiHandler.tsx b/packages/x-charts/src/ChartsVoronoiHandler/ChartsVoronoiHandler.tsx index 663447bfbae4c..cdf261e19702a 100644 --- a/packages/x-charts/src/ChartsVoronoiHandler/ChartsVoronoiHandler.tsx +++ b/packages/x-charts/src/ChartsVoronoiHandler/ChartsVoronoiHandler.tsx @@ -15,7 +15,6 @@ export type ChartsVoronoiHandlerProps = { /** * Defines the maximal distance between a scatter point and the pointer that triggers the interaction. * If `undefined`, the radius is assumed to be infinite. - * @default undefined */ voronoiMaxRadius?: number | undefined; /** @@ -201,7 +200,6 @@ ChartsVoronoiHandler.propTypes = { /** * Defines the maximal distance between a scatter point and the pointer that triggers the interaction. * If `undefined`, the radius is assumed to be infinite. - * @default undefined */ voronoiMaxRadius: PropTypes.number, } as any; diff --git a/packages/x-charts/src/Gauge/Gauge.tsx b/packages/x-charts/src/Gauge/Gauge.tsx index 1884344bec29a..7277481fe3b69 100644 --- a/packages/x-charts/src/Gauge/Gauge.tsx +++ b/packages/x-charts/src/Gauge/Gauge.tsx @@ -78,7 +78,6 @@ Gauge.propTypes = { endAngle: PropTypes.number, /** * The height of the chart in px. If not defined, it takes the height of the parent element. - * @default undefined */ height: PropTypes.number, /** @@ -142,7 +141,6 @@ Gauge.propTypes = { }), /** * The width of the chart in px. If not defined, it takes the width of the parent element. - * @default undefined */ width: PropTypes.number, } as any; diff --git a/packages/x-charts/src/Gauge/GaugeContainer.tsx b/packages/x-charts/src/Gauge/GaugeContainer.tsx index 8b00d695c5026..f0352db754107 100644 --- a/packages/x-charts/src/Gauge/GaugeContainer.tsx +++ b/packages/x-charts/src/Gauge/GaugeContainer.tsx @@ -13,12 +13,10 @@ export interface GaugeContainerProps Omit { /** * The width of the chart in px. If not defined, it takes the width of the parent element. - * @default undefined */ width?: number; /** * The height of the chart in px. If not defined, it takes the height of the parent element. - * @default undefined */ height?: number; children?: React.ReactNode; @@ -157,7 +155,6 @@ GaugeContainer.propTypes = { endAngle: PropTypes.number, /** * The height of the chart in px. If not defined, it takes the height of the parent element. - * @default undefined */ height: PropTypes.number, /** @@ -220,7 +217,6 @@ GaugeContainer.propTypes = { }), /** * The width of the chart in px. If not defined, it takes the width of the parent element. - * @default undefined */ width: PropTypes.number, } as any; diff --git a/packages/x-charts/src/LineChart/LineChart.tsx b/packages/x-charts/src/LineChart/LineChart.tsx index 7893a2a47471e..4e27271314582 100644 --- a/packages/x-charts/src/LineChart/LineChart.tsx +++ b/packages/x-charts/src/LineChart/LineChart.tsx @@ -312,7 +312,6 @@ LineChart.propTypes = { }), /** * The height of the chart in px. If not defined, it takes the height of the parent element. - * @default undefined */ height: PropTypes.number, /** @@ -508,7 +507,6 @@ LineChart.propTypes = { }), /** * The width of the chart in px. If not defined, it takes the width of the parent element. - * @default undefined */ width: PropTypes.number, /** diff --git a/packages/x-charts/src/PieChart/PieChart.tsx b/packages/x-charts/src/PieChart/PieChart.tsx index e99e9a04c2b28..a21569f4248c2 100644 --- a/packages/x-charts/src/PieChart/PieChart.tsx +++ b/packages/x-charts/src/PieChart/PieChart.tsx @@ -247,7 +247,6 @@ PieChart.propTypes = { disableAxisListener: PropTypes.bool, /** * The height of the chart in px. If not defined, it takes the height of the parent element. - * @default undefined */ height: PropTypes.number, /** @@ -430,7 +429,6 @@ PieChart.propTypes = { }), /** * The width of the chart in px. If not defined, it takes the width of the parent element. - * @default undefined */ width: PropTypes.number, /** diff --git a/packages/x-charts/src/ResponsiveChartContainer/ResponsiveChartContainer.tsx b/packages/x-charts/src/ResponsiveChartContainer/ResponsiveChartContainer.tsx index 3059e7f0ac8b0..5ad8f690eb916 100644 --- a/packages/x-charts/src/ResponsiveChartContainer/ResponsiveChartContainer.tsx +++ b/packages/x-charts/src/ResponsiveChartContainer/ResponsiveChartContainer.tsx @@ -8,12 +8,10 @@ export interface ResponsiveChartContainerProps extends Omit { /** * The width of the chart in px. If not defined, it takes the width of the parent element. - * @default undefined */ width?: number; /** * The height of the chart in px. If not defined, it takes the height of the parent element. - * @default undefined */ height?: number; } @@ -78,7 +76,6 @@ ResponsiveChartContainer.propTypes = { disableAxisListener: PropTypes.bool, /** * The height of the chart in px. If not defined, it takes the height of the parent element. - * @default undefined */ height: PropTypes.number, /** @@ -113,7 +110,6 @@ ResponsiveChartContainer.propTypes = { }), /** * The width of the chart in px. If not defined, it takes the width of the parent element. - * @default undefined */ width: PropTypes.number, /** diff --git a/packages/x-charts/src/ScatterChart/ScatterChart.tsx b/packages/x-charts/src/ScatterChart/ScatterChart.tsx index 511bce758415b..02f8994dcc6dc 100644 --- a/packages/x-charts/src/ScatterChart/ScatterChart.tsx +++ b/packages/x-charts/src/ScatterChart/ScatterChart.tsx @@ -251,7 +251,6 @@ ScatterChart.propTypes = { }), /** * The height of the chart in px. If not defined, it takes the height of the parent element. - * @default undefined */ height: PropTypes.number, /** @@ -430,12 +429,10 @@ ScatterChart.propTypes = { /** * Defines the maximal distance between a scatter point and the pointer that triggers the interaction. * If `undefined`, the radius is assumed to be infinite. - * @default undefined */ voronoiMaxRadius: PropTypes.number, /** * The width of the chart in px. If not defined, it takes the width of the parent element. - * @default undefined */ width: PropTypes.number, /** diff --git a/packages/x-charts/src/SparkLineChart/SparkLineChart.tsx b/packages/x-charts/src/SparkLineChart/SparkLineChart.tsx index 9a3d8e1089588..fdb91ec75a0ed 100644 --- a/packages/x-charts/src/SparkLineChart/SparkLineChart.tsx +++ b/packages/x-charts/src/SparkLineChart/SparkLineChart.tsx @@ -263,7 +263,6 @@ SparkLineChart.propTypes = { disableAxisListener: PropTypes.bool, /** * The height of the chart in px. If not defined, it takes the height of the parent element. - * @default undefined */ height: PropTypes.number, /** @@ -339,7 +338,6 @@ SparkLineChart.propTypes = { }), /** * The width of the chart in px. If not defined, it takes the width of the parent element. - * @default undefined */ width: PropTypes.number, /** diff --git a/packages/x-date-pickers-pro/src/DateRangeCalendar/DateRangeCalendar.tsx b/packages/x-date-pickers-pro/src/DateRangeCalendar/DateRangeCalendar.tsx index b3fcc8f2412f6..713f67a2412ca 100644 --- a/packages/x-date-pickers-pro/src/DateRangeCalendar/DateRangeCalendar.tsx +++ b/packages/x-date-pickers-pro/src/DateRangeCalendar/DateRangeCalendar.tsx @@ -724,7 +724,6 @@ DateRangeCalendar.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers-pro/src/DateRangePicker/DateRangePicker.tsx b/packages/x-date-pickers-pro/src/DateRangePicker/DateRangePicker.tsx index 221f24079569b..448d9e82238c0 100644 --- a/packages/x-date-pickers-pro/src/DateRangePicker/DateRangePicker.tsx +++ b/packages/x-date-pickers-pro/src/DateRangePicker/DateRangePicker.tsx @@ -134,7 +134,6 @@ DateRangePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers-pro/src/DateTimeRangePicker/DateTimeRangePicker.tsx b/packages/x-date-pickers-pro/src/DateTimeRangePicker/DateTimeRangePicker.tsx index 7b55b94cca536..73dcf309e8a2a 100644 --- a/packages/x-date-pickers-pro/src/DateTimeRangePicker/DateTimeRangePicker.tsx +++ b/packages/x-date-pickers-pro/src/DateTimeRangePicker/DateTimeRangePicker.tsx @@ -132,7 +132,6 @@ DateTimeRangePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers-pro/src/DesktopDateRangePicker/DesktopDateRangePicker.tsx b/packages/x-date-pickers-pro/src/DesktopDateRangePicker/DesktopDateRangePicker.tsx index fd25ff438f808..9db38329f9da7 100644 --- a/packages/x-date-pickers-pro/src/DesktopDateRangePicker/DesktopDateRangePicker.tsx +++ b/packages/x-date-pickers-pro/src/DesktopDateRangePicker/DesktopDateRangePicker.tsx @@ -163,7 +163,6 @@ DesktopDateRangePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers-pro/src/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.tsx b/packages/x-date-pickers-pro/src/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.tsx index 74f358cae9dce..bb879ab87a70a 100644 --- a/packages/x-date-pickers-pro/src/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.tsx +++ b/packages/x-date-pickers-pro/src/DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.tsx @@ -273,7 +273,6 @@ DesktopDateTimeRangePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers-pro/src/MobileDateRangePicker/MobileDateRangePicker.tsx b/packages/x-date-pickers-pro/src/MobileDateRangePicker/MobileDateRangePicker.tsx index bd01168d00536..1d6779f0a20c7 100644 --- a/packages/x-date-pickers-pro/src/MobileDateRangePicker/MobileDateRangePicker.tsx +++ b/packages/x-date-pickers-pro/src/MobileDateRangePicker/MobileDateRangePicker.tsx @@ -159,7 +159,6 @@ MobileDateRangePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers-pro/src/MobileDateTimeRangePicker/MobileDateTimeRangePicker.tsx b/packages/x-date-pickers-pro/src/MobileDateTimeRangePicker/MobileDateTimeRangePicker.tsx index 3a1878ce53655..ec2091dc9d2f6 100644 --- a/packages/x-date-pickers-pro/src/MobileDateTimeRangePicker/MobileDateTimeRangePicker.tsx +++ b/packages/x-date-pickers-pro/src/MobileDateTimeRangePicker/MobileDateTimeRangePicker.tsx @@ -268,7 +268,6 @@ MobileDateTimeRangePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers-pro/src/StaticDateRangePicker/StaticDateRangePicker.tsx b/packages/x-date-pickers-pro/src/StaticDateRangePicker/StaticDateRangePicker.tsx index 58ac192fe5c84..edc98f0a5ef85 100644 --- a/packages/x-date-pickers-pro/src/StaticDateRangePicker/StaticDateRangePicker.tsx +++ b/packages/x-date-pickers-pro/src/StaticDateRangePicker/StaticDateRangePicker.tsx @@ -150,7 +150,6 @@ StaticDateRangePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers/src/DateCalendar/DateCalendar.tsx b/packages/x-date-pickers/src/DateCalendar/DateCalendar.tsx index aaecd1e226092..069f668edd366 100644 --- a/packages/x-date-pickers/src/DateCalendar/DateCalendar.tsx +++ b/packages/x-date-pickers/src/DateCalendar/DateCalendar.tsx @@ -460,7 +460,6 @@ DateCalendar.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers/src/DateCalendar/DayCalendar.tsx b/packages/x-date-pickers/src/DateCalendar/DayCalendar.tsx index 9f6ec8d286aee..64fed4c79ddf8 100644 --- a/packages/x-date-pickers/src/DateCalendar/DayCalendar.tsx +++ b/packages/x-date-pickers/src/DateCalendar/DayCalendar.tsx @@ -74,7 +74,6 @@ export interface ExportedDayCalendarProps /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber?: number; } diff --git a/packages/x-date-pickers/src/DatePicker/DatePicker.tsx b/packages/x-date-pickers/src/DatePicker/DatePicker.tsx index 0a6ecc56822c7..1cba6df3332fe 100644 --- a/packages/x-date-pickers/src/DatePicker/DatePicker.tsx +++ b/packages/x-date-pickers/src/DatePicker/DatePicker.tsx @@ -109,7 +109,6 @@ DatePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers/src/DateTimePicker/DateTimePicker.tsx b/packages/x-date-pickers/src/DateTimePicker/DateTimePicker.tsx index f8a709895ef37..9b6b5853899fd 100644 --- a/packages/x-date-pickers/src/DateTimePicker/DateTimePicker.tsx +++ b/packages/x-date-pickers/src/DateTimePicker/DateTimePicker.tsx @@ -124,7 +124,6 @@ DateTimePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers/src/DesktopDatePicker/DesktopDatePicker.tsx b/packages/x-date-pickers/src/DesktopDatePicker/DesktopDatePicker.tsx index dcf4c673fc86e..6016ff812aef4 100644 --- a/packages/x-date-pickers/src/DesktopDatePicker/DesktopDatePicker.tsx +++ b/packages/x-date-pickers/src/DesktopDatePicker/DesktopDatePicker.tsx @@ -148,7 +148,6 @@ DesktopDatePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx b/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx index dd39ba02e7794..e10287304e0fb 100644 --- a/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx +++ b/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx @@ -213,7 +213,6 @@ DesktopDateTimePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers/src/MobileDatePicker/MobileDatePicker.tsx b/packages/x-date-pickers/src/MobileDatePicker/MobileDatePicker.tsx index 6453a80e40a31..7ae4e5a566365 100644 --- a/packages/x-date-pickers/src/MobileDatePicker/MobileDatePicker.tsx +++ b/packages/x-date-pickers/src/MobileDatePicker/MobileDatePicker.tsx @@ -146,7 +146,6 @@ MobileDatePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers/src/MobileDateTimePicker/MobileDateTimePicker.tsx b/packages/x-date-pickers/src/MobileDateTimePicker/MobileDateTimePicker.tsx index 3d4ec9a943da0..dfb26f269d96a 100644 --- a/packages/x-date-pickers/src/MobileDateTimePicker/MobileDateTimePicker.tsx +++ b/packages/x-date-pickers/src/MobileDateTimePicker/MobileDateTimePicker.tsx @@ -172,7 +172,6 @@ MobileDateTimePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers/src/StaticDatePicker/StaticDatePicker.tsx b/packages/x-date-pickers/src/StaticDatePicker/StaticDatePicker.tsx index fe7afbb4b72fc..a52fa76e97363 100644 --- a/packages/x-date-pickers/src/StaticDatePicker/StaticDatePicker.tsx +++ b/packages/x-date-pickers/src/StaticDatePicker/StaticDatePicker.tsx @@ -124,7 +124,6 @@ StaticDatePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /** diff --git a/packages/x-date-pickers/src/StaticDateTimePicker/StaticDateTimePicker.tsx b/packages/x-date-pickers/src/StaticDateTimePicker/StaticDateTimePicker.tsx index e47845d169c97..7c86a187e96da 100644 --- a/packages/x-date-pickers/src/StaticDateTimePicker/StaticDateTimePicker.tsx +++ b/packages/x-date-pickers/src/StaticDateTimePicker/StaticDateTimePicker.tsx @@ -150,7 +150,6 @@ StaticDateTimePicker.propTypes = { /** * The day view will show as many weeks as needed after the end of the current month to match this value. * Put it to 6 to have a fixed number of weeks in Gregorian calendars - * @default undefined */ fixedWeekNumber: PropTypes.number, /**