Skip to content

Commit

Permalink
even better
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 6, 2023
1 parent fea576d commit 84d5687
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion packages/mui-lab/src/CalendarPicker/CalendarPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type CalendarPickerComponent = (<TDate>(
) => 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/ClockPicker/ClockPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type ClockPickerComponent = (<TDate>(
) => 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();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/DateRangePicker/DateRangePicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ type DateRangePickerComponent = (<TDate>(
) => 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type DateRangePickerDayComponent = (<TDate>(
) => 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();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/DateTimePicker/DateTimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type DateTimePickerComponent = (<TDate>(
) => 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type DesktopDatePickerComponent = (<TDate>(
) => 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<TDate>() {
warn();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ type DesktopDateRangePickerComponent = (<TDate>(
) => 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type DesktopDateTimePickerComponent = (<TDate>(
) => 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type DesktopTimePickerComponent = (<TDate>(
) => 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/MobileDatePicker/MobileDatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type MobileDatePickerComponent = (<TDate>(
) => 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<TDate>(
props: MobileDatePickerProps<TDate>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ type MobileDateRangePickerComponent = (<TDate>(
) => 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type MobileDateTimePickerComponent = (<TDate>(
) => 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();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/MobileTimePicker/MobileTimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type MobileTimePickerComponent = (<TDate>(
) => 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();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/MonthPicker/MonthPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type MonthPickerComponent = (<TDate>(
) => 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();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/PickersDay/PickersDay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type PickersDayComponent = (<TDate>(
) => 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<TDate>() {
warn();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/StaticDatePicker/StaticDatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type StaticDatePickerComponent = (<TDate>(
) => 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ type StaticDateRangePickerComponent = (<TDate>(
) => 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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type StaticDateTimePickerComponent = (<TDate>(
) => 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();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/StaticTimePicker/StaticTimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type StaticTimePickerComponent = (<TDate>(
) => 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();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/TimePicker/TimePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type TimePickerComponent = (<TDate>(
) => 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();
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/TreeItem/TreeItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/TreeView/TreeView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-lab/src/YearPicker/YearPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ type YearPickerComponent = (<TDate>(
) => 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();
Expand Down

0 comments on commit 84d5687

Please sign in to comment.