From 2d46b2a665d118d8d77728e2d9c6b36b79b4ed80 Mon Sep 17 00:00:00 2001 From: Lukas Date: Fri, 17 May 2024 17:59:12 +0300 Subject: [PATCH 1/2] [core] Rename `yarn` to `pnpm` in `PropTypes` comment --- docs/scripts/generateProptypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scripts/generateProptypes.ts b/docs/scripts/generateProptypes.ts index 399128bc531e..9cab0f8cedfe 100644 --- a/docs/scripts/generateProptypes.ts +++ b/docs/scripts/generateProptypes.ts @@ -99,7 +99,7 @@ async function generateProptypes(project: XTypeScriptProject, sourceFile: string comment: [ '----------------------------- Warning --------------------------------', '| These PropTypes are generated from the TypeScript type definitions |', - '| To update them edit the TypeScript types and run "yarn proptypes" |', + '| To update them edit the TypeScript types and run "pnpm proptypes" |', '----------------------------------------------------------------------', ].join('\n'), reconcilePropTypes: (prop, previous, generated) => { From b4e615255b5a0b2155d8cc8843cf08ac2c687166 Mon Sep 17 00:00:00 2001 From: Lukas Date: Fri, 17 May 2024 18:00:42 +0300 Subject: [PATCH 2/2] Run `proptypes` --- packages/x-charts/src/BarChart/BarChart.tsx | 2 +- packages/x-charts/src/BarChart/BarElement.tsx | 2 +- packages/x-charts/src/BarChart/BarPlot.tsx | 2 +- packages/x-charts/src/ChartContainer/ChartContainer.tsx | 2 +- packages/x-charts/src/ChartsAxis/ChartsAxis.tsx | 2 +- .../x-charts/src/ChartsAxisHighlight/ChartsAxisHighlight.tsx | 2 +- packages/x-charts/src/ChartsClipPath/ChartsClipPath.tsx | 2 +- packages/x-charts/src/ChartsGrid/ChartsGrid.tsx | 2 +- packages/x-charts/src/ChartsLegend/ChartsLegend.tsx | 2 +- packages/x-charts/src/ChartsLegend/DefaultChartsLegend.tsx | 2 +- .../src/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.tsx | 2 +- .../x-charts/src/ChartsReferenceLine/ChartsReferenceLine.tsx | 2 +- packages/x-charts/src/ChartsSurface.tsx | 2 +- packages/x-charts/src/ChartsText/ChartsText.tsx | 2 +- .../x-charts/src/ChartsTooltip/ChartsAxisTooltipContent.tsx | 2 +- .../x-charts/src/ChartsTooltip/ChartsItemTooltipContent.tsx | 2 +- packages/x-charts/src/ChartsTooltip/ChartsTooltip.tsx | 2 +- .../src/ChartsTooltip/DefaultChartsAxisTooltipContent.tsx | 2 +- .../src/ChartsTooltip/DefaultChartsItemTooltipContent.tsx | 2 +- .../x-charts/src/ChartsVoronoiHandler/ChartsVoronoiHandler.tsx | 2 +- packages/x-charts/src/ChartsXAxis/ChartsXAxis.tsx | 2 +- packages/x-charts/src/ChartsYAxis/ChartsYAxis.tsx | 2 +- packages/x-charts/src/Gauge/Gauge.tsx | 2 +- packages/x-charts/src/Gauge/GaugeContainer.tsx | 2 +- packages/x-charts/src/Gauge/GaugeValueText.tsx | 2 +- packages/x-charts/src/LineChart/AnimatedArea.tsx | 2 +- packages/x-charts/src/LineChart/AnimatedLine.tsx | 2 +- packages/x-charts/src/LineChart/AreaElement.tsx | 2 +- packages/x-charts/src/LineChart/AreaPlot.tsx | 2 +- packages/x-charts/src/LineChart/LineChart.tsx | 2 +- packages/x-charts/src/LineChart/LineElement.tsx | 2 +- packages/x-charts/src/LineChart/LineHighlightElement.tsx | 2 +- packages/x-charts/src/LineChart/LineHighlightPlot.tsx | 2 +- packages/x-charts/src/LineChart/LinePlot.tsx | 2 +- packages/x-charts/src/LineChart/MarkElement.tsx | 2 +- packages/x-charts/src/LineChart/MarkPlot.tsx | 2 +- packages/x-charts/src/PieChart/PieArc.tsx | 2 +- packages/x-charts/src/PieChart/PieArcLabel.tsx | 2 +- packages/x-charts/src/PieChart/PieArcLabelPlot.tsx | 2 +- packages/x-charts/src/PieChart/PieArcPlot.tsx | 2 +- packages/x-charts/src/PieChart/PieChart.tsx | 2 +- packages/x-charts/src/PieChart/PiePlot.tsx | 2 +- .../src/ResponsiveChartContainer/ResponsiveChartContainer.tsx | 2 +- packages/x-charts/src/ScatterChart/Scatter.tsx | 2 +- packages/x-charts/src/ScatterChart/ScatterChart.tsx | 2 +- packages/x-charts/src/ScatterChart/ScatterPlot.tsx | 2 +- packages/x-charts/src/SparkLineChart/SparkLineChart.tsx | 2 +- packages/x-charts/src/context/ZAxisContextProvider.tsx | 2 +- .../x-data-grid-premium/src/DataGridPremium/DataGridPremium.tsx | 2 +- .../src/components/GridColumnMenuAggregationItem.tsx | 2 +- .../src/components/GridExcelExportMenuItem.tsx | 2 +- packages/x-data-grid-pro/src/DataGridPro/DataGridPro.tsx | 2 +- packages/x-data-grid-pro/src/components/GridColumnHeaders.tsx | 2 +- .../src/components/GridColumnMenuPinningItem.tsx | 2 +- .../src/components/GridDetailPanelToggleCell.tsx | 2 +- .../x-data-grid-pro/src/components/GridTreeDataGroupingCell.tsx | 2 +- .../src/components/headerFiltering/GridHeaderFilterCell.tsx | 2 +- .../src/components/headerFiltering/GridHeaderFilterMenu.tsx | 2 +- .../headerFiltering/GridHeaderFilterMenuContainer.tsx | 2 +- packages/x-data-grid/src/DataGrid/DataGrid.tsx | 2 +- packages/x-data-grid/src/components/GridColumnHeaders.tsx | 2 +- packages/x-data-grid/src/components/GridFooter.tsx | 2 +- packages/x-data-grid/src/components/GridLoadingOverlay.tsx | 2 +- packages/x-data-grid/src/components/GridNoRowsOverlay.tsx | 2 +- packages/x-data-grid/src/components/GridPagination.tsx | 2 +- packages/x-data-grid/src/components/GridRow.tsx | 2 +- packages/x-data-grid/src/components/GridRowCount.tsx | 2 +- packages/x-data-grid/src/components/GridSelectedRowCount.tsx | 2 +- packages/x-data-grid/src/components/base/GridOverlays.tsx | 2 +- packages/x-data-grid/src/components/cell/GridActionsCell.tsx | 2 +- .../x-data-grid/src/components/cell/GridActionsCellItem.tsx | 2 +- packages/x-data-grid/src/components/cell/GridBooleanCell.tsx | 2 +- packages/x-data-grid/src/components/cell/GridCell.tsx | 2 +- .../x-data-grid/src/components/cell/GridEditBooleanCell.tsx | 2 +- packages/x-data-grid/src/components/cell/GridEditDateCell.tsx | 2 +- packages/x-data-grid/src/components/cell/GridEditInputCell.tsx | 2 +- .../src/components/cell/GridEditSingleSelectCell.tsx | 2 +- packages/x-data-grid/src/components/cell/GridSkeletonCell.tsx | 2 +- .../columnHeaders/GridColumnHeaderFilterIconButton.tsx | 2 +- .../src/components/columnHeaders/GridColumnHeaderItem.tsx | 2 +- .../src/components/columnHeaders/GridColumnHeaderSeparator.tsx | 2 +- .../src/components/columnHeaders/GridColumnHeaderSortIcon.tsx | 2 +- .../src/components/columnHeaders/GridColumnHeaderTitle.tsx | 2 +- .../src/components/columnSelection/GridCellCheckboxRenderer.tsx | 2 +- .../src/components/columnSelection/GridHeaderCheckbox.tsx | 2 +- .../src/components/columnsManagement/GridColumnsManagement.tsx | 2 +- .../src/components/containers/GridFooterContainer.tsx | 2 +- packages/x-data-grid/src/components/containers/GridOverlay.tsx | 2 +- packages/x-data-grid/src/components/containers/GridRoot.tsx | 2 +- .../src/components/containers/GridToolbarContainer.tsx | 2 +- packages/x-data-grid/src/components/menu/GridMenu.tsx | 2 +- .../src/components/menu/columnMenu/GridColumnHeaderMenu.tsx | 2 +- .../src/components/menu/columnMenu/GridColumnMenu.tsx | 2 +- .../src/components/menu/columnMenu/GridColumnMenuContainer.tsx | 2 +- .../menu/columnMenu/menuItems/GridColumnMenuColumnsItem.tsx | 2 +- .../menu/columnMenu/menuItems/GridColumnMenuFilterItem.tsx | 2 +- .../menu/columnMenu/menuItems/GridColumnMenuHideItem.tsx | 2 +- .../menu/columnMenu/menuItems/GridColumnMenuManageItem.tsx | 2 +- .../menu/columnMenu/menuItems/GridColumnMenuSortItem.tsx | 2 +- packages/x-data-grid/src/components/panel/GridColumnsPanel.tsx | 2 +- packages/x-data-grid/src/components/panel/GridPanel.tsx | 2 +- packages/x-data-grid/src/components/panel/GridPanelContent.tsx | 2 +- packages/x-data-grid/src/components/panel/GridPanelFooter.tsx | 2 +- packages/x-data-grid/src/components/panel/GridPanelHeader.tsx | 2 +- packages/x-data-grid/src/components/panel/GridPanelWrapper.tsx | 2 +- .../src/components/panel/filterPanel/GridFilterForm.tsx | 2 +- .../src/components/panel/filterPanel/GridFilterInputBoolean.tsx | 2 +- .../src/components/panel/filterPanel/GridFilterInputDate.tsx | 2 +- .../panel/filterPanel/GridFilterInputMultipleSingleSelect.tsx | 2 +- .../panel/filterPanel/GridFilterInputMultipleValue.tsx | 2 +- .../panel/filterPanel/GridFilterInputSingleSelect.tsx | 2 +- .../src/components/panel/filterPanel/GridFilterInputValue.tsx | 2 +- .../src/components/panel/filterPanel/GridFilterPanel.tsx | 2 +- packages/x-data-grid/src/components/toolbar/GridToolbar.tsx | 2 +- .../src/components/toolbar/GridToolbarColumnsButton.tsx | 2 +- .../src/components/toolbar/GridToolbarDensitySelector.tsx | 2 +- .../x-data-grid/src/components/toolbar/GridToolbarExport.tsx | 2 +- .../src/components/toolbar/GridToolbarExportContainer.tsx | 2 +- .../src/components/toolbar/GridToolbarFilterButton.tsx | 2 +- .../src/components/toolbar/GridToolbarQuickFilter.tsx | 2 +- .../src/DateRangeCalendar/DateRangeCalendar.tsx | 2 +- .../x-date-pickers-pro/src/DateRangePicker/DateRangePicker.tsx | 2 +- .../src/DateRangePicker/DateRangePickerToolbar.tsx | 2 +- .../src/DateRangePickerDay/DateRangePickerDay.tsx | 2 +- .../src/DateTimeRangePicker/DateTimeRangePicker.tsx | 2 +- .../src/DateTimeRangePicker/DateTimeRangePickerTabs.tsx | 2 +- .../src/DateTimeRangePicker/DateTimeRangePickerToolbar.tsx | 2 +- .../src/DesktopDateRangePicker/DesktopDateRangePicker.tsx | 2 +- .../DesktopDateTimeRangePicker/DesktopDateTimeRangePicker.tsx | 2 +- .../src/MobileDateRangePicker/MobileDateRangePicker.tsx | 2 +- .../src/MobileDateTimeRangePicker/MobileDateTimeRangePicker.tsx | 2 +- .../src/MultiInputDateRangeField/MultiInputDateRangeField.tsx | 2 +- .../MultiInputDateTimeRangeField.tsx | 2 +- .../src/MultiInputTimeRangeField/MultiInputTimeRangeField.tsx | 2 +- .../PickersRangeCalendarHeader/PickersRangeCalendarHeader.tsx | 2 +- .../src/SingleInputDateRangeField/SingleInputDateRangeField.tsx | 2 +- .../SingleInputDateTimeRangeField.tsx | 2 +- .../src/SingleInputTimeRangeField/SingleInputTimeRangeField.tsx | 2 +- .../src/StaticDateRangePicker/StaticDateRangePicker.tsx | 2 +- packages/x-date-pickers/src/DateCalendar/DateCalendar.tsx | 2 +- packages/x-date-pickers/src/DateField/DateField.tsx | 2 +- packages/x-date-pickers/src/DatePicker/DatePicker.tsx | 2 +- packages/x-date-pickers/src/DatePicker/DatePickerToolbar.tsx | 2 +- packages/x-date-pickers/src/DateTimeField/DateTimeField.tsx | 2 +- packages/x-date-pickers/src/DateTimePicker/DateTimePicker.tsx | 2 +- .../x-date-pickers/src/DateTimePicker/DateTimePickerTabs.tsx | 2 +- .../x-date-pickers/src/DateTimePicker/DateTimePickerToolbar.tsx | 2 +- .../src/DayCalendarSkeleton/DayCalendarSkeleton.tsx | 2 +- .../x-date-pickers/src/DesktopDatePicker/DesktopDatePicker.tsx | 2 +- .../src/DesktopDateTimePicker/DesktopDateTimePicker.tsx | 2 +- .../src/DesktopDateTimePicker/DesktopDateTimePickerLayout.tsx | 2 +- .../x-date-pickers/src/DesktopTimePicker/DesktopTimePicker.tsx | 2 +- packages/x-date-pickers/src/DigitalClock/DigitalClock.tsx | 2 +- .../src/LocalizationProvider/LocalizationProvider.tsx | 2 +- .../x-date-pickers/src/MobileDatePicker/MobileDatePicker.tsx | 2 +- .../src/MobileDateTimePicker/MobileDateTimePicker.tsx | 2 +- .../x-date-pickers/src/MobileTimePicker/MobileTimePicker.tsx | 2 +- packages/x-date-pickers/src/MonthCalendar/MonthCalendar.tsx | 2 +- .../src/MultiSectionDigitalClock/MultiSectionDigitalClock.tsx | 2 +- .../x-date-pickers/src/PickersActionBar/PickersActionBar.tsx | 2 +- .../src/PickersCalendarHeader/PickersCalendarHeader.tsx | 2 +- packages/x-date-pickers/src/PickersDay/PickersDay.tsx | 2 +- packages/x-date-pickers/src/PickersLayout/PickersLayout.tsx | 2 +- .../src/PickersSectionList/PickersSectionList.tsx | 2 +- .../x-date-pickers/src/PickersShortcuts/PickersShortcuts.tsx | 2 +- .../PickersTextField/PickersFilledInput/PickersFilledInput.tsx | 2 +- .../src/PickersTextField/PickersInput/PickersInput.tsx | 2 +- .../src/PickersTextField/PickersInputBase/PickersInputBase.tsx | 2 +- .../PickersOutlinedInput/PickersOutlinedInput.tsx | 2 +- .../x-date-pickers/src/PickersTextField/PickersTextField.tsx | 2 +- .../x-date-pickers/src/StaticDatePicker/StaticDatePicker.tsx | 2 +- .../src/StaticDateTimePicker/StaticDateTimePicker.tsx | 2 +- .../x-date-pickers/src/StaticTimePicker/StaticTimePicker.tsx | 2 +- packages/x-date-pickers/src/TimeClock/TimeClock.tsx | 2 +- packages/x-date-pickers/src/TimeField/TimeField.tsx | 2 +- packages/x-date-pickers/src/TimePicker/TimePicker.tsx | 2 +- packages/x-date-pickers/src/TimePicker/TimePickerToolbar.tsx | 2 +- packages/x-date-pickers/src/YearCalendar/YearCalendar.tsx | 2 +- packages/x-tree-view/src/RichTreeView/RichTreeView.tsx | 2 +- packages/x-tree-view/src/SimpleTreeView/SimpleTreeView.tsx | 2 +- packages/x-tree-view/src/TreeItem/TreeItem.tsx | 2 +- packages/x-tree-view/src/TreeItem/TreeItemContent.tsx | 2 +- packages/x-tree-view/src/TreeItem2/TreeItem2.tsx | 2 +- packages/x-tree-view/src/TreeItem2Icon/TreeItem2Icon.tsx | 2 +- .../x-tree-view/src/TreeItem2Provider/TreeItem2Provider.tsx | 2 +- packages/x-tree-view/src/TreeView/TreeView.tsx | 2 +- 186 files changed, 186 insertions(+), 186 deletions(-) diff --git a/packages/x-charts/src/BarChart/BarChart.tsx b/packages/x-charts/src/BarChart/BarChart.tsx index acaac47823de..48e017d914e3 100644 --- a/packages/x-charts/src/BarChart/BarChart.tsx +++ b/packages/x-charts/src/BarChart/BarChart.tsx @@ -220,7 +220,7 @@ const BarChart = React.forwardRef(function BarChart(props: BarChartProps, ref) { BarChart.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * The configuration of axes highlight. diff --git a/packages/x-charts/src/BarChart/BarElement.tsx b/packages/x-charts/src/BarChart/BarElement.tsx index df8f216a82cb..1473babd6183 100644 --- a/packages/x-charts/src/BarChart/BarElement.tsx +++ b/packages/x-charts/src/BarChart/BarElement.tsx @@ -161,7 +161,7 @@ function BarElement(props: BarElementProps) { BarElement.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- classes: PropTypes.object, dataIndex: PropTypes.number.isRequired, diff --git a/packages/x-charts/src/BarChart/BarPlot.tsx b/packages/x-charts/src/BarChart/BarPlot.tsx index 2d51d448006c..5d09ff6008ab 100644 --- a/packages/x-charts/src/BarChart/BarPlot.tsx +++ b/packages/x-charts/src/BarChart/BarPlot.tsx @@ -336,7 +336,7 @@ function BarPlot(props: BarPlotProps) { BarPlot.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Defines the border radius of the bar element. diff --git a/packages/x-charts/src/ChartContainer/ChartContainer.tsx b/packages/x-charts/src/ChartContainer/ChartContainer.tsx index 1053b7030992..79fdeb77b04d 100644 --- a/packages/x-charts/src/ChartContainer/ChartContainer.tsx +++ b/packages/x-charts/src/ChartContainer/ChartContainer.tsx @@ -76,7 +76,7 @@ const ChartContainer = React.forwardRef(function ChartContainer(props: ChartCont ChartContainer.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- children: PropTypes.node, className: PropTypes.string, diff --git a/packages/x-charts/src/ChartsAxis/ChartsAxis.tsx b/packages/x-charts/src/ChartsAxis/ChartsAxis.tsx index 0b6e7ce9c3e9..db42c36c7cb7 100644 --- a/packages/x-charts/src/ChartsAxis/ChartsAxis.tsx +++ b/packages/x-charts/src/ChartsAxis/ChartsAxis.tsx @@ -146,7 +146,7 @@ function ChartsAxis(props: ChartsAxisProps) { ChartsAxis.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Indicate which axis to display the bottom of the charts. diff --git a/packages/x-charts/src/ChartsAxisHighlight/ChartsAxisHighlight.tsx b/packages/x-charts/src/ChartsAxisHighlight/ChartsAxisHighlight.tsx index cbdc63729710..d72082da7b8d 100644 --- a/packages/x-charts/src/ChartsAxisHighlight/ChartsAxisHighlight.tsx +++ b/packages/x-charts/src/ChartsAxisHighlight/ChartsAxisHighlight.tsx @@ -132,7 +132,7 @@ function ChartsAxisHighlight(props: ChartsAxisHighlightProps) { ChartsAxisHighlight.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- x: PropTypes.oneOf(['band', 'line', 'none']), y: PropTypes.oneOf(['band', 'line', 'none']), diff --git a/packages/x-charts/src/ChartsClipPath/ChartsClipPath.tsx b/packages/x-charts/src/ChartsClipPath/ChartsClipPath.tsx index cce380818f1d..c3dfef172bb9 100644 --- a/packages/x-charts/src/ChartsClipPath/ChartsClipPath.tsx +++ b/packages/x-charts/src/ChartsClipPath/ChartsClipPath.tsx @@ -32,7 +32,7 @@ function ChartsClipPath(props: ChartsClipPathProps) { ChartsClipPath.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- id: PropTypes.string.isRequired, offset: PropTypes.shape({ diff --git a/packages/x-charts/src/ChartsGrid/ChartsGrid.tsx b/packages/x-charts/src/ChartsGrid/ChartsGrid.tsx index e91f34ced8f4..01b2539a4ce9 100644 --- a/packages/x-charts/src/ChartsGrid/ChartsGrid.tsx +++ b/packages/x-charts/src/ChartsGrid/ChartsGrid.tsx @@ -122,7 +122,7 @@ function ChartsGrid(props: ChartsGridProps) { ChartsGrid.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Override or extend the styles applied to the component. diff --git a/packages/x-charts/src/ChartsLegend/ChartsLegend.tsx b/packages/x-charts/src/ChartsLegend/ChartsLegend.tsx index 854bf0db8935..6804c7592f0b 100644 --- a/packages/x-charts/src/ChartsLegend/ChartsLegend.tsx +++ b/packages/x-charts/src/ChartsLegend/ChartsLegend.tsx @@ -109,7 +109,7 @@ function ChartsLegend(inProps: ChartsLegendProps) { ChartsLegend.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Override or extend the styles applied to the component. diff --git a/packages/x-charts/src/ChartsLegend/DefaultChartsLegend.tsx b/packages/x-charts/src/ChartsLegend/DefaultChartsLegend.tsx index 1fcd0e418283..8ef3c9f2dbba 100644 --- a/packages/x-charts/src/ChartsLegend/DefaultChartsLegend.tsx +++ b/packages/x-charts/src/ChartsLegend/DefaultChartsLegend.tsx @@ -296,7 +296,7 @@ function DefaultChartsLegend(props: LegendRendererProps) { DefaultChartsLegend.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Override or extend the styles applied to the component. diff --git a/packages/x-charts/src/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.tsx b/packages/x-charts/src/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.tsx index 16a0c5330b15..3a7735582e52 100644 --- a/packages/x-charts/src/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.tsx +++ b/packages/x-charts/src/ChartsOnAxisClickHandler/ChartsOnAxisClickHandler.tsx @@ -76,7 +76,7 @@ function ChartsOnAxisClickHandler(props: ChartsOnAxisClickHandlerProps) { ChartsOnAxisClickHandler.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * The function called for onClick events. diff --git a/packages/x-charts/src/ChartsReferenceLine/ChartsReferenceLine.tsx b/packages/x-charts/src/ChartsReferenceLine/ChartsReferenceLine.tsx index 2050086fee21..2417b345099b 100644 --- a/packages/x-charts/src/ChartsReferenceLine/ChartsReferenceLine.tsx +++ b/packages/x-charts/src/ChartsReferenceLine/ChartsReferenceLine.tsx @@ -32,7 +32,7 @@ function ChartsReferenceLine(props: ChartsReferenceLineProps) { ChartsReferenceLine.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * The id of the axis used for the reference value. diff --git a/packages/x-charts/src/ChartsSurface.tsx b/packages/x-charts/src/ChartsSurface.tsx index 3cbcac24ebf0..3203bddeb010 100644 --- a/packages/x-charts/src/ChartsSurface.tsx +++ b/packages/x-charts/src/ChartsSurface.tsx @@ -74,7 +74,7 @@ const ChartsSurface = React.forwardRef(functi ChartsSurface.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- children: PropTypes.node, className: PropTypes.string, diff --git a/packages/x-charts/src/ChartsText/ChartsText.tsx b/packages/x-charts/src/ChartsText/ChartsText.tsx index 687f7955e17a..ab0cef260566 100644 --- a/packages/x-charts/src/ChartsText/ChartsText.tsx +++ b/packages/x-charts/src/ChartsText/ChartsText.tsx @@ -79,7 +79,7 @@ function ChartsText(props: ChartsTextProps) { ChartsText.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Height of a text line (in `em`). diff --git a/packages/x-charts/src/ChartsTooltip/ChartsAxisTooltipContent.tsx b/packages/x-charts/src/ChartsTooltip/ChartsAxisTooltipContent.tsx index 29c4d26e8835..c65b9e1e1786 100644 --- a/packages/x-charts/src/ChartsTooltip/ChartsAxisTooltipContent.tsx +++ b/packages/x-charts/src/ChartsTooltip/ChartsAxisTooltipContent.tsx @@ -127,7 +127,7 @@ function ChartsAxisTooltipContent(props: { ChartsAxisTooltipContent.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- axisData: PropTypes.shape({ x: PropTypes.shape({ diff --git a/packages/x-charts/src/ChartsTooltip/ChartsItemTooltipContent.tsx b/packages/x-charts/src/ChartsTooltip/ChartsItemTooltipContent.tsx index a61a08294ebc..2f7183a6fd93 100644 --- a/packages/x-charts/src/ChartsTooltip/ChartsItemTooltipContent.tsx +++ b/packages/x-charts/src/ChartsTooltip/ChartsItemTooltipContent.tsx @@ -94,7 +94,7 @@ function ChartsItemTooltipContent(props: { ChartsItemTooltipContent.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- classes: PropTypes.object.isRequired, content: PropTypes.elementType, diff --git a/packages/x-charts/src/ChartsTooltip/ChartsTooltip.tsx b/packages/x-charts/src/ChartsTooltip/ChartsTooltip.tsx index 3f8f0f6f0335..1b321df5522d 100644 --- a/packages/x-charts/src/ChartsTooltip/ChartsTooltip.tsx +++ b/packages/x-charts/src/ChartsTooltip/ChartsTooltip.tsx @@ -186,7 +186,7 @@ function ChartsTooltip(props: ChartsTooltipProps) { ChartsTooltip.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Component to override the tooltip content when trigger is set to 'axis'. diff --git a/packages/x-charts/src/ChartsTooltip/DefaultChartsAxisTooltipContent.tsx b/packages/x-charts/src/ChartsTooltip/DefaultChartsAxisTooltipContent.tsx index 626c8c9702e3..5cbc62f59c86 100644 --- a/packages/x-charts/src/ChartsTooltip/DefaultChartsAxisTooltipContent.tsx +++ b/packages/x-charts/src/ChartsTooltip/DefaultChartsAxisTooltipContent.tsx @@ -74,7 +74,7 @@ function DefaultChartsAxisTooltipContent(props: ChartsAxisContentProps) { DefaultChartsAxisTooltipContent.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * The properties of the triggered axis. diff --git a/packages/x-charts/src/ChartsTooltip/DefaultChartsItemTooltipContent.tsx b/packages/x-charts/src/ChartsTooltip/DefaultChartsItemTooltipContent.tsx index bfa2db35fbde..72bba158688b 100644 --- a/packages/x-charts/src/ChartsTooltip/DefaultChartsItemTooltipContent.tsx +++ b/packages/x-charts/src/ChartsTooltip/DefaultChartsItemTooltipContent.tsx @@ -66,7 +66,7 @@ function DefaultChartsItemTooltipContent( GridFooter.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- sx: PropTypes.oneOfType([ PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), diff --git a/packages/x-data-grid/src/components/GridLoadingOverlay.tsx b/packages/x-data-grid/src/components/GridLoadingOverlay.tsx index 8e7e4ea35234..2bcb4eed7a89 100644 --- a/packages/x-data-grid/src/components/GridLoadingOverlay.tsx +++ b/packages/x-data-grid/src/components/GridLoadingOverlay.tsx @@ -16,7 +16,7 @@ const GridLoadingOverlay = React.forwardRef( GridLoadingOverlay.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- sx: PropTypes.oneOfType([ PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), diff --git a/packages/x-data-grid/src/components/GridNoRowsOverlay.tsx b/packages/x-data-grid/src/components/GridNoRowsOverlay.tsx index 341d496ee4ce..1d27e2b081a1 100644 --- a/packages/x-data-grid/src/components/GridNoRowsOverlay.tsx +++ b/packages/x-data-grid/src/components/GridNoRowsOverlay.tsx @@ -19,7 +19,7 @@ const GridNoRowsOverlay = React.forwardRef( GridNoRowsOverlay.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- sx: PropTypes.oneOfType([ PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), diff --git a/packages/x-data-grid/src/components/GridPagination.tsx b/packages/x-data-grid/src/components/GridPagination.tsx index 8a5c5fd0e763..e4ff7b2953c9 100644 --- a/packages/x-data-grid/src/components/GridPagination.tsx +++ b/packages/x-data-grid/src/components/GridPagination.tsx @@ -177,7 +177,7 @@ const GridPagination = React.forwardRef< GridPagination.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- component: PropTypes.elementType, } as any; diff --git a/packages/x-data-grid/src/components/GridRow.tsx b/packages/x-data-grid/src/components/GridRow.tsx index 5e9854587a4e..5bcef3833555 100644 --- a/packages/x-data-grid/src/components/GridRow.tsx +++ b/packages/x-data-grid/src/components/GridRow.tsx @@ -534,7 +534,7 @@ const GridRow = React.forwardRef(function GridRow( GridRow.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- dimensions: PropTypes.shape({ bottomContainerHeight: PropTypes.number.isRequired, diff --git a/packages/x-data-grid/src/components/GridRowCount.tsx b/packages/x-data-grid/src/components/GridRowCount.tsx index bbff5190068b..e032ae6c443f 100644 --- a/packages/x-data-grid/src/components/GridRowCount.tsx +++ b/packages/x-data-grid/src/components/GridRowCount.tsx @@ -72,7 +72,7 @@ const GridRowCount = React.forwardRef( GridRowCount.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- rowCount: PropTypes.number.isRequired, sx: PropTypes.oneOfType([ diff --git a/packages/x-data-grid/src/components/GridSelectedRowCount.tsx b/packages/x-data-grid/src/components/GridSelectedRowCount.tsx index c389b75a03b7..0b1f98a07bed 100644 --- a/packages/x-data-grid/src/components/GridSelectedRowCount.tsx +++ b/packages/x-data-grid/src/components/GridSelectedRowCount.tsx @@ -71,7 +71,7 @@ const GridSelectedRowCount = React.forwardRef((props, ref) => GridCell.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- align: PropTypes.oneOf(['center', 'left', 'right']).isRequired, className: PropTypes.string, diff --git a/packages/x-data-grid/src/components/cell/GridEditBooleanCell.tsx b/packages/x-data-grid/src/components/cell/GridEditBooleanCell.tsx index 6bcc1af78acc..36353890fd0e 100644 --- a/packages/x-data-grid/src/components/cell/GridEditBooleanCell.tsx +++ b/packages/x-data-grid/src/components/cell/GridEditBooleanCell.tsx @@ -113,7 +113,7 @@ function GridEditBooleanCell(props: GridEditBooleanCellProps) { GridEditBooleanCell.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * GridApi that let you manipulate the grid. diff --git a/packages/x-data-grid/src/components/cell/GridEditDateCell.tsx b/packages/x-data-grid/src/components/cell/GridEditDateCell.tsx index 0e46299cb5c0..0927583c5aab 100644 --- a/packages/x-data-grid/src/components/cell/GridEditDateCell.tsx +++ b/packages/x-data-grid/src/components/cell/GridEditDateCell.tsx @@ -170,7 +170,7 @@ function GridEditDateCell(props: GridEditDateCellProps) { GridEditDateCell.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * GridApi that let you manipulate the grid. diff --git a/packages/x-data-grid/src/components/cell/GridEditInputCell.tsx b/packages/x-data-grid/src/components/cell/GridEditInputCell.tsx index 104f90d489ca..aae349be5ed3 100644 --- a/packages/x-data-grid/src/components/cell/GridEditInputCell.tsx +++ b/packages/x-data-grid/src/components/cell/GridEditInputCell.tsx @@ -144,7 +144,7 @@ const GridEditInputCell = React.forwardRef & GridSkel GridSkeletonCell.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- align: PropTypes.string.isRequired, field: PropTypes.string.isRequired, diff --git a/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderFilterIconButton.tsx b/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderFilterIconButton.tsx index d9e8e77041db..d48bc0ccdfe2 100644 --- a/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderFilterIconButton.tsx +++ b/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderFilterIconButton.tsx @@ -111,7 +111,7 @@ function GridColumnHeaderFilterIconButton(props: ColumnHeaderFilterIconButtonPro GridColumnHeaderFilterIconButton.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- counter: PropTypes.number, field: PropTypes.string.isRequired, diff --git a/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderItem.tsx b/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderItem.tsx index e11e6b273345..2822705bf090 100644 --- a/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderItem.tsx +++ b/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderItem.tsx @@ -312,7 +312,7 @@ function GridColumnHeaderItem(props: GridColumnHeaderItemProps) { GridColumnHeaderItem.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- colDef: PropTypes.object.isRequired, colIndex: PropTypes.number.isRequired, diff --git a/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderSeparator.tsx b/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderSeparator.tsx index ea85556f5675..43957b0eaba7 100644 --- a/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderSeparator.tsx +++ b/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderSeparator.tsx @@ -75,7 +75,7 @@ const GridColumnHeaderSeparator = React.memo(GridColumnHeaderSeparatorRaw); GridColumnHeaderSeparatorRaw.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- height: PropTypes.number.isRequired, resizable: PropTypes.bool.isRequired, diff --git a/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderSortIcon.tsx b/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderSortIcon.tsx index b260a6af5772..d9e069df341a 100644 --- a/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderSortIcon.tsx +++ b/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderSortIcon.tsx @@ -93,7 +93,7 @@ const GridColumnHeaderSortIcon = React.memo(GridColumnHeaderSortIconRaw); GridColumnHeaderSortIconRaw.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- direction: PropTypes.oneOf(['asc', 'desc']), disabled: PropTypes.bool, diff --git a/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderTitle.tsx b/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderTitle.tsx index 3f62816621fe..7faef9a89489 100644 --- a/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderTitle.tsx +++ b/packages/x-data-grid/src/components/columnHeaders/GridColumnHeaderTitle.tsx @@ -88,7 +88,7 @@ function GridColumnHeaderTitle(props: GridColumnHeaderTitleProps) { GridColumnHeaderTitle.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- columnWidth: PropTypes.number.isRequired, description: PropTypes.node, diff --git a/packages/x-data-grid/src/components/columnSelection/GridCellCheckboxRenderer.tsx b/packages/x-data-grid/src/components/columnSelection/GridCellCheckboxRenderer.tsx index 3cc175945a20..377713f3bb3b 100644 --- a/packages/x-data-grid/src/components/columnSelection/GridCellCheckboxRenderer.tsx +++ b/packages/x-data-grid/src/components/columnSelection/GridCellCheckboxRenderer.tsx @@ -116,7 +116,7 @@ const GridCellCheckboxForwardRef = React.forwardRef(function GridOverlay.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- sx: PropTypes.oneOfType([ PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), diff --git a/packages/x-data-grid/src/components/containers/GridRoot.tsx b/packages/x-data-grid/src/components/containers/GridRoot.tsx index a8e56cecfc30..d141c5a0f6b5 100644 --- a/packages/x-data-grid/src/components/containers/GridRoot.tsx +++ b/packages/x-data-grid/src/components/containers/GridRoot.tsx @@ -92,7 +92,7 @@ const GridRoot = React.forwardRef(function GridRo GridRoot.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * The system prop that allows defining system overrides as well as additional CSS styles. diff --git a/packages/x-data-grid/src/components/containers/GridToolbarContainer.tsx b/packages/x-data-grid/src/components/containers/GridToolbarContainer.tsx index 313b5d1994d5..c291bd10796e 100644 --- a/packages/x-data-grid/src/components/containers/GridToolbarContainer.tsx +++ b/packages/x-data-grid/src/components/containers/GridToolbarContainer.tsx @@ -60,7 +60,7 @@ const GridToolbarContainer = React.forwardRef( GridColumnMenu.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- colDef: PropTypes.object.isRequired, hideMenu: PropTypes.func.isRequired, diff --git a/packages/x-data-grid/src/components/menu/columnMenu/GridColumnMenuContainer.tsx b/packages/x-data-grid/src/components/menu/columnMenu/GridColumnMenuContainer.tsx index fdb51803c566..7e283fc151ca 100644 --- a/packages/x-data-grid/src/components/menu/columnMenu/GridColumnMenuContainer.tsx +++ b/packages/x-data-grid/src/components/menu/columnMenu/GridColumnMenuContainer.tsx @@ -47,7 +47,7 @@ const GridColumnMenuContainer = React.forwardRef((props, ref) GridPanel.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Popper render function or node. diff --git a/packages/x-data-grid/src/components/panel/GridPanelContent.tsx b/packages/x-data-grid/src/components/panel/GridPanelContent.tsx index 6541ce3b64d4..2e373a71ab0b 100644 --- a/packages/x-data-grid/src/components/panel/GridPanelContent.tsx +++ b/packages/x-data-grid/src/components/panel/GridPanelContent.tsx @@ -48,7 +48,7 @@ function GridPanelContent(props: React.HTMLAttributes & { sx?: S GridPanelContent.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- sx: PropTypes.oneOfType([ PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), diff --git a/packages/x-data-grid/src/components/panel/GridPanelFooter.tsx b/packages/x-data-grid/src/components/panel/GridPanelFooter.tsx index 6104beaeb21c..df96cce1c7f9 100644 --- a/packages/x-data-grid/src/components/panel/GridPanelFooter.tsx +++ b/packages/x-data-grid/src/components/panel/GridPanelFooter.tsx @@ -46,7 +46,7 @@ function GridPanelFooter(props: React.HTMLAttributes & { sx?: Sx GridPanelFooter.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- sx: PropTypes.oneOfType([ PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), diff --git a/packages/x-data-grid/src/components/panel/GridPanelHeader.tsx b/packages/x-data-grid/src/components/panel/GridPanelHeader.tsx index 5c25eeb540f9..23ad3f025218 100644 --- a/packages/x-data-grid/src/components/panel/GridPanelHeader.tsx +++ b/packages/x-data-grid/src/components/panel/GridPanelHeader.tsx @@ -44,7 +44,7 @@ function GridPanelHeader(props: React.HTMLAttributes & { sx?: Sx GridPanelHeader.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- sx: PropTypes.oneOfType([ PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), diff --git a/packages/x-data-grid/src/components/panel/GridPanelWrapper.tsx b/packages/x-data-grid/src/components/panel/GridPanelWrapper.tsx index c9361e118ed1..455a3e474a76 100644 --- a/packages/x-data-grid/src/components/panel/GridPanelWrapper.tsx +++ b/packages/x-data-grid/src/components/panel/GridPanelWrapper.tsx @@ -67,7 +67,7 @@ const GridPanelWrapper = React.forwardRef GridPanelWrapper.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- slotProps: PropTypes.object, } as any; diff --git a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterForm.tsx b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterForm.tsx index 9ff36187ec42..9df9f570d18e 100644 --- a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterForm.tsx +++ b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterForm.tsx @@ -615,7 +615,7 @@ const GridFilterForm = React.forwardRef( GridFilterForm.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Callback called when the operator, column field or value is changed. diff --git a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputBoolean.tsx b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputBoolean.tsx index 1dc95b695313..89d0a2114e33 100644 --- a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputBoolean.tsx +++ b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputBoolean.tsx @@ -123,7 +123,7 @@ function GridFilterInputBoolean(props: GridFilterInputBooleanProps) { GridFilterInputBoolean.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- apiRef: PropTypes.shape({ current: PropTypes.object.isRequired, diff --git a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputDate.tsx b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputDate.tsx index f583c4f8860c..0005842a9f18 100644 --- a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputDate.tsx +++ b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputDate.tsx @@ -126,7 +126,7 @@ function GridFilterInputDate(props: GridFilterInputDateProps) { GridFilterInputDate.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- apiRef: PropTypes.shape({ current: PropTypes.object.isRequired, diff --git a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.tsx b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.tsx index f6ba9e0b2a19..1319523e7948 100644 --- a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.tsx +++ b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputMultipleSingleSelect.tsx @@ -140,7 +140,7 @@ function GridFilterInputMultipleSingleSelect(props: GridFilterInputMultipleSingl GridFilterInputMultipleSingleSelect.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- apiRef: PropTypes.shape({ current: PropTypes.object.isRequired, diff --git a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputMultipleValue.tsx b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputMultipleValue.tsx index eb8bac5c6514..0d39447e61c7 100644 --- a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputMultipleValue.tsx +++ b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputMultipleValue.tsx @@ -97,7 +97,7 @@ function GridFilterInputMultipleValue(props: GridFilterInputMultipleValueProps) GridFilterInputMultipleValue.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- apiRef: PropTypes.shape({ current: PropTypes.object.isRequired, diff --git a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputSingleSelect.tsx b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputSingleSelect.tsx index 6836f735cb51..d88468fb9cd1 100644 --- a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputSingleSelect.tsx +++ b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputSingleSelect.tsx @@ -171,7 +171,7 @@ function GridFilterInputSingleSelect(props: GridFilterInputSingleSelectProps) { GridFilterInputSingleSelect.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- apiRef: PropTypes.shape({ current: PropTypes.object.isRequired, diff --git a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx index 4ee1baf459bf..a16cc1a850dd 100644 --- a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx +++ b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterInputValue.tsx @@ -102,7 +102,7 @@ function GridFilterInputValue(props: GridTypeFilterInputValueProps) { GridFilterInputValue.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- apiRef: PropTypes.shape({ current: PropTypes.object.isRequired, diff --git a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterPanel.tsx b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterPanel.tsx index a4d1deba6864..fa5bdeabb4ea 100644 --- a/packages/x-data-grid/src/components/panel/filterPanel/GridFilterPanel.tsx +++ b/packages/x-data-grid/src/components/panel/filterPanel/GridFilterPanel.tsx @@ -304,7 +304,7 @@ const GridFilterPanel = React.forwardRef( GridFilterPanel.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * @ignore - do not document. diff --git a/packages/x-data-grid/src/components/toolbar/GridToolbar.tsx b/packages/x-data-grid/src/components/toolbar/GridToolbar.tsx index aa86e75b367d..216335a99ba3 100644 --- a/packages/x-data-grid/src/components/toolbar/GridToolbar.tsx +++ b/packages/x-data-grid/src/components/toolbar/GridToolbar.tsx @@ -71,7 +71,7 @@ const GridToolbar = React.forwardRef( GridToolbar.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Props passed to the quick filter component. diff --git a/packages/x-data-grid/src/components/toolbar/GridToolbarColumnsButton.tsx b/packages/x-data-grid/src/components/toolbar/GridToolbarColumnsButton.tsx index ddb6e36e49c2..67a176845fac 100644 --- a/packages/x-data-grid/src/components/toolbar/GridToolbarColumnsButton.tsx +++ b/packages/x-data-grid/src/components/toolbar/GridToolbarColumnsButton.tsx @@ -83,7 +83,7 @@ const GridToolbarColumnsButton = React.forwardRef( DateTimePickerToolbar.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- ampm: PropTypes.bool, ampmInClock: PropTypes.bool, diff --git a/packages/x-date-pickers/src/DayCalendarSkeleton/DayCalendarSkeleton.tsx b/packages/x-date-pickers/src/DayCalendarSkeleton/DayCalendarSkeleton.tsx index 1af619f65904..9bd3518741dc 100644 --- a/packages/x-date-pickers/src/DayCalendarSkeleton/DayCalendarSkeleton.tsx +++ b/packages/x-date-pickers/src/DayCalendarSkeleton/DayCalendarSkeleton.tsx @@ -128,7 +128,7 @@ function DayCalendarSkeleton(inProps: DayCalendarSkeletonProps) { DayCalendarSkeleton.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Override or extend the styles applied to the component. diff --git a/packages/x-date-pickers/src/DesktopDatePicker/DesktopDatePicker.tsx b/packages/x-date-pickers/src/DesktopDatePicker/DesktopDatePicker.tsx index ac3b3eb16202..029e27fb90e9 100644 --- a/packages/x-date-pickers/src/DesktopDatePicker/DesktopDatePicker.tsx +++ b/packages/x-date-pickers/src/DesktopDatePicker/DesktopDatePicker.tsx @@ -101,7 +101,7 @@ const DesktopDatePicker = React.forwardRef(function DesktopDatePicker< DesktopDatePicker.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * If `true`, the main element is focused during the first mount. diff --git a/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx b/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx index 0cdbf5249418..a11c68129fcb 100644 --- a/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx +++ b/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx @@ -238,7 +238,7 @@ const DesktopDateTimePicker = React.forwardRef(function DesktopDateTimePicker< DesktopDateTimePicker.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * 12h/24h view for hour selection clock. diff --git a/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePickerLayout.tsx b/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePickerLayout.tsx index f027e7d0afd6..ed7c285f0586 100644 --- a/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePickerLayout.tsx +++ b/packages/x-date-pickers/src/DesktopDateTimePicker/DesktopDateTimePickerLayout.tsx @@ -55,7 +55,7 @@ function DesktopDateTimePickerLayout< DesktopDateTimePickerLayout.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- children: PropTypes.node, /** diff --git a/packages/x-date-pickers/src/DesktopTimePicker/DesktopTimePicker.tsx b/packages/x-date-pickers/src/DesktopTimePicker/DesktopTimePicker.tsx index 9062a5843187..26f44fac76b8 100644 --- a/packages/x-date-pickers/src/DesktopTimePicker/DesktopTimePicker.tsx +++ b/packages/x-date-pickers/src/DesktopTimePicker/DesktopTimePicker.tsx @@ -139,7 +139,7 @@ const DesktopTimePicker = React.forwardRef(function DesktopTimePicker< DesktopTimePicker.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * 12h/24h view for hour selection clock. diff --git a/packages/x-date-pickers/src/DigitalClock/DigitalClock.tsx b/packages/x-date-pickers/src/DigitalClock/DigitalClock.tsx index 482ec398ac38..bfd5ae2efc29 100644 --- a/packages/x-date-pickers/src/DigitalClock/DigitalClock.tsx +++ b/packages/x-date-pickers/src/DigitalClock/DigitalClock.tsx @@ -339,7 +339,7 @@ export const DigitalClock = React.forwardRef(function DigitalClock(props: PickersShortcutsProps) { PickersShortcuts.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Importance of the change when picking a shortcut: diff --git a/packages/x-date-pickers/src/PickersTextField/PickersFilledInput/PickersFilledInput.tsx b/packages/x-date-pickers/src/PickersTextField/PickersFilledInput/PickersFilledInput.tsx index e86c0556e22d..74e10a3bd050 100644 --- a/packages/x-date-pickers/src/PickersTextField/PickersFilledInput/PickersFilledInput.tsx +++ b/packages/x-date-pickers/src/PickersTextField/PickersFilledInput/PickersFilledInput.tsx @@ -246,7 +246,7 @@ const PickersFilledInput = React.forwardRef(function PickersFilledInput( PickersFilledInput.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Is `true` if the current values equals the empty value. diff --git a/packages/x-date-pickers/src/PickersTextField/PickersInput/PickersInput.tsx b/packages/x-date-pickers/src/PickersTextField/PickersInput/PickersInput.tsx index a26c819e0286..877d9dde9221 100644 --- a/packages/x-date-pickers/src/PickersTextField/PickersInput/PickersInput.tsx +++ b/packages/x-date-pickers/src/PickersTextField/PickersInput/PickersInput.tsx @@ -161,7 +161,7 @@ const PickersInput = React.forwardRef(function PickersInput( PickersInput.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Is `true` if the current values equals the empty value. diff --git a/packages/x-date-pickers/src/PickersTextField/PickersInputBase/PickersInputBase.tsx b/packages/x-date-pickers/src/PickersTextField/PickersInputBase/PickersInputBase.tsx index 1ec0341917be..7d6618396890 100644 --- a/packages/x-date-pickers/src/PickersTextField/PickersInputBase/PickersInputBase.tsx +++ b/packages/x-date-pickers/src/PickersTextField/PickersInputBase/PickersInputBase.tsx @@ -338,7 +338,7 @@ const PickersInputBase = React.forwardRef(function PickersInputBase( PickersInputBase.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Is `true` if the current values equals the empty value. diff --git a/packages/x-date-pickers/src/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.tsx b/packages/x-date-pickers/src/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.tsx index 2dbcec6510a9..63a5134603a2 100644 --- a/packages/x-date-pickers/src/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.tsx +++ b/packages/x-date-pickers/src/PickersTextField/PickersOutlinedInput/PickersOutlinedInput.tsx @@ -164,7 +164,7 @@ const PickersOutlinedInput = React.forwardRef(function PickersOutlinedInput( PickersOutlinedInput.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Is `true` if the current values equals the empty value. diff --git a/packages/x-date-pickers/src/PickersTextField/PickersTextField.tsx b/packages/x-date-pickers/src/PickersTextField/PickersTextField.tsx index 2c670bfaf1fe..0303989d847c 100644 --- a/packages/x-date-pickers/src/PickersTextField/PickersTextField.tsx +++ b/packages/x-date-pickers/src/PickersTextField/PickersTextField.tsx @@ -170,7 +170,7 @@ const PickersTextField = React.forwardRef(function PickersTextField( PickersTextField.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- /** * Is `true` if the current values equals the empty value. diff --git a/packages/x-date-pickers/src/StaticDatePicker/StaticDatePicker.tsx b/packages/x-date-pickers/src/StaticDatePicker/StaticDatePicker.tsx index 02b551d184a9..a26561d9b98e 100644 --- a/packages/x-date-pickers/src/StaticDatePicker/StaticDatePicker.tsx +++ b/packages/x-date-pickers/src/StaticDatePicker/StaticDatePicker.tsx @@ -69,7 +69,7 @@ const StaticDatePicker = React.forwardRef(function StaticDatePicker(inProps: TimePickerToo TimePickerToolbar.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | - // | To update them edit the TypeScript types and run "yarn proptypes" | + // | To update them edit the TypeScript types and run "pnpm proptypes" | // ---------------------------------------------------------------------- ampm: PropTypes.bool, ampmInClock: PropTypes.bool, diff --git a/packages/x-date-pickers/src/YearCalendar/YearCalendar.tsx b/packages/x-date-pickers/src/YearCalendar/YearCalendar.tsx index 678c512bad34..fc3b542131b7 100644 --- a/packages/x-date-pickers/src/YearCalendar/YearCalendar.tsx +++ b/packages/x-date-pickers/src/YearCalendar/YearCalendar.tsx @@ -322,7 +322,7 @@ export const YearCalendar = React.forwardRef(function YearCalendar