From 84d56876c20e16b37c89b69be3897a4c14ffdde9 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 6 Sep 2023 15:42:47 +0200 Subject: [PATCH] even better --- packages/mui-lab/src/CalendarPicker/CalendarPicker.tsx | 2 +- .../src/CalendarPickerSkeleton/CalendarPickerSkeleton.tsx | 2 +- packages/mui-lab/src/ClockPicker/ClockPicker.tsx | 2 +- packages/mui-lab/src/DateRangePicker/DateRangePicker.ts | 2 +- packages/mui-lab/src/DateRangePickerDay/DateRangePickerDay.ts | 2 +- packages/mui-lab/src/DateTimePicker/DateTimePicker.tsx | 2 +- packages/mui-lab/src/DesktopDatePicker/DesktopDatePicker.tsx | 2 +- .../src/DesktopDateRangePicker/DesktopDateRangePicker.ts | 2 +- .../mui-lab/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx | 2 +- packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.tsx | 2 +- .../mui-lab/src/LocalizationProvider/LocalizationProvider.tsx | 2 +- packages/mui-lab/src/MobileDatePicker/MobileDatePicker.tsx | 2 +- .../mui-lab/src/MobileDateRangePicker/MobileDateRangePicker.ts | 2 +- .../mui-lab/src/MobileDateTimePicker/MobileDateTimePicker.tsx | 2 +- packages/mui-lab/src/MobileTimePicker/MobileTimePicker.tsx | 2 +- packages/mui-lab/src/MonthPicker/MonthPicker.tsx | 2 +- packages/mui-lab/src/PickersDay/PickersDay.tsx | 2 +- packages/mui-lab/src/StaticDatePicker/StaticDatePicker.tsx | 2 +- .../mui-lab/src/StaticDateRangePicker/StaticDateRangePicker.ts | 2 +- .../mui-lab/src/StaticDateTimePicker/StaticDateTimePicker.tsx | 2 +- packages/mui-lab/src/StaticTimePicker/StaticTimePicker.tsx | 2 +- packages/mui-lab/src/TimePicker/TimePicker.tsx | 2 +- packages/mui-lab/src/TreeItem/TreeItem.tsx | 2 +- packages/mui-lab/src/TreeView/TreeView.tsx | 2 +- packages/mui-lab/src/YearPicker/YearPicker.tsx | 2 +- 25 files changed, 25 insertions(+), 25 deletions(-) diff --git a/packages/mui-lab/src/CalendarPicker/CalendarPicker.tsx b/packages/mui-lab/src/CalendarPicker/CalendarPicker.tsx index e8f4e1c1055b83..a48bcf74f0a9bf 100644 --- a/packages/mui-lab/src/CalendarPicker/CalendarPicker.tsx +++ b/packages/mui-lab/src/CalendarPicker/CalendarPicker.tsx @@ -25,8 +25,8 @@ type CalendarPickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The CalendarPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const CalendarPicker = React.forwardRef(function DeprecatedCalendarPicker() { warn(); diff --git a/packages/mui-lab/src/CalendarPickerSkeleton/CalendarPickerSkeleton.tsx b/packages/mui-lab/src/CalendarPickerSkeleton/CalendarPickerSkeleton.tsx index 41108b543d16d2..ea35825a54a654 100644 --- a/packages/mui-lab/src/CalendarPickerSkeleton/CalendarPickerSkeleton.tsx +++ b/packages/mui-lab/src/CalendarPickerSkeleton/CalendarPickerSkeleton.tsx @@ -25,8 +25,8 @@ type CalendarPickerSkeletonComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The CalendarPickerSkeleton component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const CalendarPickerSkeleton = React.forwardRef(function DeprecatedCalendarPickerSkeleton() { warn(); diff --git a/packages/mui-lab/src/ClockPicker/ClockPicker.tsx b/packages/mui-lab/src/ClockPicker/ClockPicker.tsx index 26bbbcf02b0a6f..6aec81ba9ba4c1 100644 --- a/packages/mui-lab/src/ClockPicker/ClockPicker.tsx +++ b/packages/mui-lab/src/ClockPicker/ClockPicker.tsx @@ -25,8 +25,8 @@ type ClockPickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The ClockPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const ClockPicker = React.forwardRef(function DeprecatedClockPicker() { warn(); diff --git a/packages/mui-lab/src/DateRangePicker/DateRangePicker.ts b/packages/mui-lab/src/DateRangePicker/DateRangePicker.ts index e0fa70a380ade3..a0e08d393c6d44 100644 --- a/packages/mui-lab/src/DateRangePicker/DateRangePicker.ts +++ b/packages/mui-lab/src/DateRangePicker/DateRangePicker.ts @@ -26,8 +26,8 @@ type DateRangePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The DateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const DateRangePicker = React.forwardRef(function DeprecatedDateRangePicker() { warn(); diff --git a/packages/mui-lab/src/DateRangePickerDay/DateRangePickerDay.ts b/packages/mui-lab/src/DateRangePickerDay/DateRangePickerDay.ts index 4c622c7206ac70..2b2c3db7ed6912 100644 --- a/packages/mui-lab/src/DateRangePickerDay/DateRangePickerDay.ts +++ b/packages/mui-lab/src/DateRangePickerDay/DateRangePickerDay.ts @@ -25,8 +25,8 @@ type DateRangePickerDayComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The DateRangePickerDay component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const DateRangePickerDay = React.forwardRef(function DeprecatedDateRangePickerDay() { warn(); diff --git a/packages/mui-lab/src/DateTimePicker/DateTimePicker.tsx b/packages/mui-lab/src/DateTimePicker/DateTimePicker.tsx index 1247e160e559d4..f6f8ce2f12ac61 100644 --- a/packages/mui-lab/src/DateTimePicker/DateTimePicker.tsx +++ b/packages/mui-lab/src/DateTimePicker/DateTimePicker.tsx @@ -25,8 +25,8 @@ type DateTimePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The DateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const DateTimePicker = React.forwardRef(function DeprecatedDateTimePicker() { warn(); diff --git a/packages/mui-lab/src/DesktopDatePicker/DesktopDatePicker.tsx b/packages/mui-lab/src/DesktopDatePicker/DesktopDatePicker.tsx index 22964a6bba2b73..c1303a7831c480 100644 --- a/packages/mui-lab/src/DesktopDatePicker/DesktopDatePicker.tsx +++ b/packages/mui-lab/src/DesktopDatePicker/DesktopDatePicker.tsx @@ -25,8 +25,8 @@ type DesktopDatePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The DesktopDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const DesktopDatePicker = React.forwardRef(function DeprecatedDesktopDatePicker() { warn(); diff --git a/packages/mui-lab/src/DesktopDateRangePicker/DesktopDateRangePicker.ts b/packages/mui-lab/src/DesktopDateRangePicker/DesktopDateRangePicker.ts index fc5e1a458ede05..bc5697f3f97cdd 100644 --- a/packages/mui-lab/src/DesktopDateRangePicker/DesktopDateRangePicker.ts +++ b/packages/mui-lab/src/DesktopDateRangePicker/DesktopDateRangePicker.ts @@ -26,8 +26,8 @@ type DesktopDateRangePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The DesktopDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const DesktopDateRangePicker = React.forwardRef(function DeprecatedDesktopDateRangePicker() { warn(); diff --git a/packages/mui-lab/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx b/packages/mui-lab/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx index c1bcf15f2ed670..180ba02fa601d0 100644 --- a/packages/mui-lab/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx +++ b/packages/mui-lab/src/DesktopDateTimePicker/DesktopDateTimePicker.tsx @@ -25,8 +25,8 @@ type DesktopDateTimePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The DesktopDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const DesktopDateTimePicker = React.forwardRef(function DeprecatedDesktopDateTimePicker() { warn(); diff --git a/packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.tsx b/packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.tsx index 5c1a62f44dd595..4b0306748991c2 100644 --- a/packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.tsx +++ b/packages/mui-lab/src/DesktopTimePicker/DesktopTimePicker.tsx @@ -25,8 +25,8 @@ type DesktopTimePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The DesktopTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const DesktopTimePicker = React.forwardRef(function DeprecatedDesktopTimePicker() { warn(); diff --git a/packages/mui-lab/src/LocalizationProvider/LocalizationProvider.tsx b/packages/mui-lab/src/LocalizationProvider/LocalizationProvider.tsx index 43199f3f14f830..683030386b6de4 100644 --- a/packages/mui-lab/src/LocalizationProvider/LocalizationProvider.tsx +++ b/packages/mui-lab/src/LocalizationProvider/LocalizationProvider.tsx @@ -24,8 +24,8 @@ type LocalizationProviderComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The LocalizationProvider component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const LocalizationProvider = React.forwardRef(function DeprecatedLocalizationProvider() { warn(); diff --git a/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.tsx b/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.tsx index f52bc47d2e3cce..872f495b462a3a 100644 --- a/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.tsx +++ b/packages/mui-lab/src/MobileDatePicker/MobileDatePicker.tsx @@ -25,8 +25,8 @@ type MobileDatePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The MobileDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const MobileDatePicker = React.forwardRef(function DeprecatedMobileDatePicker( props: MobileDatePickerProps, diff --git a/packages/mui-lab/src/MobileDateRangePicker/MobileDateRangePicker.ts b/packages/mui-lab/src/MobileDateRangePicker/MobileDateRangePicker.ts index aade005ef18d8c..a5a9768e1e57aa 100644 --- a/packages/mui-lab/src/MobileDateRangePicker/MobileDateRangePicker.ts +++ b/packages/mui-lab/src/MobileDateRangePicker/MobileDateRangePicker.ts @@ -26,8 +26,8 @@ type MobileDateRangePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The MobileDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const MobileDateRangePicker = React.forwardRef(function DeprecatedMobileDateRangePicker() { warn(); diff --git a/packages/mui-lab/src/MobileDateTimePicker/MobileDateTimePicker.tsx b/packages/mui-lab/src/MobileDateTimePicker/MobileDateTimePicker.tsx index dba406a4d51889..44ae89292cb83a 100644 --- a/packages/mui-lab/src/MobileDateTimePicker/MobileDateTimePicker.tsx +++ b/packages/mui-lab/src/MobileDateTimePicker/MobileDateTimePicker.tsx @@ -25,8 +25,8 @@ type MobileDateTimePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The MobileDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const MobileDateTimePicker = React.forwardRef(function DeprecatedMobileDateTimePicker() { warn(); diff --git a/packages/mui-lab/src/MobileTimePicker/MobileTimePicker.tsx b/packages/mui-lab/src/MobileTimePicker/MobileTimePicker.tsx index c25a59c88ff55c..7564ab4a52634e 100644 --- a/packages/mui-lab/src/MobileTimePicker/MobileTimePicker.tsx +++ b/packages/mui-lab/src/MobileTimePicker/MobileTimePicker.tsx @@ -25,8 +25,8 @@ type MobileTimePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The MobileTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const MobileTimePicker = React.forwardRef(function DeprecatedMobileTimePicker() { warn(); diff --git a/packages/mui-lab/src/MonthPicker/MonthPicker.tsx b/packages/mui-lab/src/MonthPicker/MonthPicker.tsx index 8a31aea4e768b4..fc67166a17a2a3 100644 --- a/packages/mui-lab/src/MonthPicker/MonthPicker.tsx +++ b/packages/mui-lab/src/MonthPicker/MonthPicker.tsx @@ -25,8 +25,8 @@ type MonthPickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The MonthPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const MonthPicker = React.forwardRef(function DeprecatedMonthPicker() { warn(); diff --git a/packages/mui-lab/src/PickersDay/PickersDay.tsx b/packages/mui-lab/src/PickersDay/PickersDay.tsx index 54c9bbfe44858c..663efd6d92aace 100644 --- a/packages/mui-lab/src/PickersDay/PickersDay.tsx +++ b/packages/mui-lab/src/PickersDay/PickersDay.tsx @@ -25,8 +25,8 @@ type PickersDayComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The PickersDay component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const PickersDay = React.forwardRef(function DeprecatedPickersDay() { warn(); diff --git a/packages/mui-lab/src/StaticDatePicker/StaticDatePicker.tsx b/packages/mui-lab/src/StaticDatePicker/StaticDatePicker.tsx index 96f0640ff9960e..cc93623efafca2 100644 --- a/packages/mui-lab/src/StaticDatePicker/StaticDatePicker.tsx +++ b/packages/mui-lab/src/StaticDatePicker/StaticDatePicker.tsx @@ -25,8 +25,8 @@ type StaticDatePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The StaticDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const StaticDatePicker = React.forwardRef(function DeprecatedStaticDatePicker() { warn(); diff --git a/packages/mui-lab/src/StaticDateRangePicker/StaticDateRangePicker.ts b/packages/mui-lab/src/StaticDateRangePicker/StaticDateRangePicker.ts index b473c515ba350b..ab9e86fe8bcfa0 100644 --- a/packages/mui-lab/src/StaticDateRangePicker/StaticDateRangePicker.ts +++ b/packages/mui-lab/src/StaticDateRangePicker/StaticDateRangePicker.ts @@ -26,8 +26,8 @@ type StaticDateRangePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The StaticDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const StaticDateRangePicker = React.forwardRef(function DeprecatedStaticDateRangePicker() { warn(); diff --git a/packages/mui-lab/src/StaticDateTimePicker/StaticDateTimePicker.tsx b/packages/mui-lab/src/StaticDateTimePicker/StaticDateTimePicker.tsx index cf6f1163c0defe..2f234d6eee87d2 100644 --- a/packages/mui-lab/src/StaticDateTimePicker/StaticDateTimePicker.tsx +++ b/packages/mui-lab/src/StaticDateTimePicker/StaticDateTimePicker.tsx @@ -25,8 +25,8 @@ type StaticDateTimePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The StaticDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const StaticDateTimePicker = React.forwardRef(function DeprecatedStaticDateTimePicker() { warn(); diff --git a/packages/mui-lab/src/StaticTimePicker/StaticTimePicker.tsx b/packages/mui-lab/src/StaticTimePicker/StaticTimePicker.tsx index ca02ae34669967..1a7dca9a3e9bdf 100644 --- a/packages/mui-lab/src/StaticTimePicker/StaticTimePicker.tsx +++ b/packages/mui-lab/src/StaticTimePicker/StaticTimePicker.tsx @@ -25,8 +25,8 @@ type StaticTimePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The StaticTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const StaticTimePicker = React.forwardRef(function DeprecatedStaticTimePicker() { warn(); diff --git a/packages/mui-lab/src/TimePicker/TimePicker.tsx b/packages/mui-lab/src/TimePicker/TimePicker.tsx index d626763261dbcd..8f44f244558cdc 100644 --- a/packages/mui-lab/src/TimePicker/TimePicker.tsx +++ b/packages/mui-lab/src/TimePicker/TimePicker.tsx @@ -25,8 +25,8 @@ type TimePickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The StaticTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const TimePicker = React.forwardRef(function DeprecatedTimePicker() { warn(); diff --git a/packages/mui-lab/src/TreeItem/TreeItem.tsx b/packages/mui-lab/src/TreeItem/TreeItem.tsx index 9de5f4dd142318..99a7f7b758c315 100644 --- a/packages/mui-lab/src/TreeItem/TreeItem.tsx +++ b/packages/mui-lab/src/TreeItem/TreeItem.tsx @@ -23,8 +23,8 @@ const warn = () => { }; /** - * @ignore - do not document. * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/. + * @ignore - do not document. */ const TreeItem = React.forwardRef(function DeprecatedTreeItem( props: TreeItemProps, diff --git a/packages/mui-lab/src/TreeView/TreeView.tsx b/packages/mui-lab/src/TreeView/TreeView.tsx index a0c74388582a08..4f1b237244b9f6 100644 --- a/packages/mui-lab/src/TreeView/TreeView.tsx +++ b/packages/mui-lab/src/TreeView/TreeView.tsx @@ -23,8 +23,8 @@ const warn = () => { }; /** - * @ignore - do not document. * @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/. + * @ignore - do not document. */ const TreeView = React.forwardRef(function DeprecatedTreeView( props: TreeViewProps, diff --git a/packages/mui-lab/src/YearPicker/YearPicker.tsx b/packages/mui-lab/src/YearPicker/YearPicker.tsx index ba278bb94941cb..01bbf805e6d3c9 100644 --- a/packages/mui-lab/src/YearPicker/YearPicker.tsx +++ b/packages/mui-lab/src/YearPicker/YearPicker.tsx @@ -25,8 +25,8 @@ type YearPickerComponent = (( ) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. * @deprecated The YearPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/. + * @ignore - do not document. */ const YearPicker = function DeprecatedYearPicker() { warn();