diff --git a/docs/pages/x/api/date-pickers/index.md b/docs/pages/x/api/date-pickers/index.md index 5ac65d65a403..c6c4bfb03160 100644 --- a/docs/pages/x/api/date-pickers/index.md +++ b/docs/pages/x/api/date-pickers/index.md @@ -42,7 +42,9 @@ - [MultiInputDateRangeField](/x/api/date-pickers/multi-input-date-range-field/) - [SingleInputDateRangeField](/x/api/date-pickers/single-input-date-range-field/) - [MultiInputTimeRangeField](/x/api/date-pickers/multi-input-time-range-field/) +- [SingleInputTimeRangeField](/x/api/date-pickers/single-input-time-range-field/) - [MultiInputDateTimeRangeField](/x/api/date-pickers/multi-input-date-time-range-field/) +- [SingleInputDateTimeRangeField](/x/api/date-pickers/single-input-date-time-range-field/) ### Calendars diff --git a/packages/x-date-pickers-pro/src/MultiInputDateRangeField/MultiInputDateRangeField.tsx b/packages/x-date-pickers-pro/src/MultiInputDateRangeField/MultiInputDateRangeField.tsx index 54d5aed16539..689f01243793 100644 --- a/packages/x-date-pickers-pro/src/MultiInputDateRangeField/MultiInputDateRangeField.tsx +++ b/packages/x-date-pickers-pro/src/MultiInputDateRangeField/MultiInputDateRangeField.tsx @@ -63,6 +63,16 @@ type MultiInputDateRangeFieldComponent = (<TDate>( props: MultiInputDateRangeFieldProps<TDate> & React.RefAttributes<HTMLDivElement>, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * + * - [DateRangeField](http://mui.com/x/react-date-pickers/date-range-field/) + * - [Fields](https://mui.com/x/react-date-pickers/fields/) + * + * API: + * + * - [MultiInputDateRangeField API](https://mui.com/x/api/multi-input-date-range-field/) + */ const MultiInputDateRangeField = React.forwardRef(function MultiInputDateRangeField<TDate>( inProps: MultiInputDateRangeFieldProps<TDate>, ref: React.Ref<HTMLDivElement>, diff --git a/packages/x-date-pickers-pro/src/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.tsx b/packages/x-date-pickers-pro/src/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.tsx index ff494d51fd83..4df9cffc2254 100644 --- a/packages/x-date-pickers-pro/src/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.tsx +++ b/packages/x-date-pickers-pro/src/MultiInputDateTimeRangeField/MultiInputDateTimeRangeField.tsx @@ -61,6 +61,16 @@ type MultiInputDateTimeRangeFieldComponent = (<TDate>( props: MultiInputDateTimeRangeFieldProps<TDate> & React.RefAttributes<HTMLDivElement>, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * + * - [DateTimeRangeField](http://mui.com/x/react-date-pickers/date-time-range-field/) + * - [Fields](https://mui.com/x/react-date-pickers/fields/) + * + * API: + * + * - [MultiInputDateTimeRangeField API](https://mui.com/x/api/multi-input-date-time-range-field/) + */ const MultiInputDateTimeRangeField = React.forwardRef(function MultiInputDateTimeRangeField<TDate>( inProps: MultiInputDateTimeRangeFieldProps<TDate>, ref: React.Ref<HTMLDivElement>, diff --git a/packages/x-date-pickers-pro/src/MultiInputTimeRangeField/MultiInputTimeRangeField.tsx b/packages/x-date-pickers-pro/src/MultiInputTimeRangeField/MultiInputTimeRangeField.tsx index 3b6e252e5ff7..dc70b84cea3d 100644 --- a/packages/x-date-pickers-pro/src/MultiInputTimeRangeField/MultiInputTimeRangeField.tsx +++ b/packages/x-date-pickers-pro/src/MultiInputTimeRangeField/MultiInputTimeRangeField.tsx @@ -63,6 +63,16 @@ type MultiInputTimeRangeFieldComponent = (<TDate>( props: MultiInputTimeRangeFieldProps<TDate> & React.RefAttributes<HTMLDivElement>, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * + * - [TimeRangeField](http://mui.com/x/react-date-pickers/time-range-field/) + * - [Fields](https://mui.com/x/react-date-pickers/fields/) + * + * API: + * + * - [MultiInputTimeRangeField API](https://mui.com/x/api/multi-input-time-range-field/) + */ const MultiInputTimeRangeField = React.forwardRef(function MultiInputTimeRangeField<TDate>( inProps: MultiInputTimeRangeFieldProps<TDate>, ref: React.Ref<HTMLDivElement>, diff --git a/packages/x-date-pickers-pro/src/SingleInputDateRangeField/SingleInputDateRangeField.tsx b/packages/x-date-pickers-pro/src/SingleInputDateRangeField/SingleInputDateRangeField.tsx index 6374f762afd3..562aac535712 100644 --- a/packages/x-date-pickers-pro/src/SingleInputDateRangeField/SingleInputDateRangeField.tsx +++ b/packages/x-date-pickers-pro/src/SingleInputDateRangeField/SingleInputDateRangeField.tsx @@ -16,6 +16,16 @@ type DateRangeFieldComponent = (<TDate>( props: SingleInputDateRangeFieldProps<TDate> & React.RefAttributes<HTMLDivElement>, ) => React.JSX.Element) & { propTypes?: any; fieldType?: string }; +/** + * Demos: + * + * - [DateRangeField](http://mui.com/x/react-date-pickers/date-range-field/) + * - [Fields](https://mui.com/x/react-date-pickers/fields/) + * + * API: + * + * - [SingleInputDateRangeField API](https://mui.com/x/api/single-input-date-range-field/) + */ const SingleInputDateRangeField = React.forwardRef(function SingleInputDateRangeField<TDate>( inProps: SingleInputDateRangeFieldProps<TDate>, ref: React.Ref<HTMLDivElement>, diff --git a/packages/x-date-pickers-pro/src/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.tsx b/packages/x-date-pickers-pro/src/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.tsx index 83a3f2e3b872..a656eb4cfdef 100644 --- a/packages/x-date-pickers-pro/src/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.tsx +++ b/packages/x-date-pickers-pro/src/SingleInputDateTimeRangeField/SingleInputDateTimeRangeField.tsx @@ -16,6 +16,16 @@ type DateRangeFieldComponent = (<TDate>( props: SingleInputDateTimeRangeFieldProps<TDate> & React.RefAttributes<HTMLDivElement>, ) => React.JSX.Element) & { propTypes?: any; fieldType?: string }; +/** + * Demos: + * + * - [DateTimeRangeField](http://mui.com/x/react-date-pickers/date-time-range-field/) + * - [Fields](https://mui.com/x/react-date-pickers/fields/) + * + * API: + * + * - [SingleInputDateTimeRangeField API](https://mui.com/x/api/single-input-date-time-range-field/) + */ const SingleInputDateTimeRangeField = React.forwardRef(function SingleInputDateTimeRangeField< TDate, >(inProps: SingleInputDateTimeRangeFieldProps<TDate>, ref: React.Ref<HTMLDivElement>) { diff --git a/packages/x-date-pickers-pro/src/SingleInputTimeRangeField/SingleInputTimeRangeField.tsx b/packages/x-date-pickers-pro/src/SingleInputTimeRangeField/SingleInputTimeRangeField.tsx index 117bda6e8b5c..6633ac7a1b9d 100644 --- a/packages/x-date-pickers-pro/src/SingleInputTimeRangeField/SingleInputTimeRangeField.tsx +++ b/packages/x-date-pickers-pro/src/SingleInputTimeRangeField/SingleInputTimeRangeField.tsx @@ -16,6 +16,16 @@ type DateRangeFieldComponent = (<TDate>( props: SingleInputTimeRangeFieldProps<TDate> & React.RefAttributes<HTMLDivElement>, ) => React.JSX.Element) & { propTypes?: any; fieldType?: string }; +/** + * Demos: + * + * - [TimeRangeField](http://mui.com/x/react-date-pickers/time-range-field/) + * - [Fields](https://mui.com/x/react-date-pickers/fields/) + * + * API: + * + * - [SingleInputTimeRangeField API](https://mui.com/x/api/single-input-time-range-field/) + */ const SingleInputTimeRangeField = React.forwardRef(function SingleInputTimeRangeField<TDate>( inProps: SingleInputTimeRangeFieldProps<TDate>, ref: React.Ref<HTMLDivElement>, diff --git a/packages/x-date-pickers/src/DateField/DateField.tsx b/packages/x-date-pickers/src/DateField/DateField.tsx index a6ab1ffd4c70..ffd3ad5b76e0 100644 --- a/packages/x-date-pickers/src/DateField/DateField.tsx +++ b/packages/x-date-pickers/src/DateField/DateField.tsx @@ -16,6 +16,16 @@ type DateFieldComponent = (<TDate>( props: DateFieldProps<TDate> & React.RefAttributes<HTMLDivElement>, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * + * - [DateField](http://mui.com/x/react-date-pickers/date-field/) + * - [Fields](https://mui.com/x/react-date-pickers/fields/) + * + * API: + * + * - [DateField API](https://mui.com/x/api/date-pickers/date-field/) + */ const DateField = React.forwardRef(function DateField<TDate>( inProps: DateFieldProps<TDate>, ref: React.Ref<HTMLDivElement>, diff --git a/packages/x-date-pickers/src/DateTimeField/DateTimeField.tsx b/packages/x-date-pickers/src/DateTimeField/DateTimeField.tsx index 4077f934b4d5..bf7617deab8c 100644 --- a/packages/x-date-pickers/src/DateTimeField/DateTimeField.tsx +++ b/packages/x-date-pickers/src/DateTimeField/DateTimeField.tsx @@ -16,6 +16,16 @@ type DateTimeFieldComponent = (<TDate>( props: DateTimeFieldProps<TDate> & React.RefAttributes<HTMLDivElement>, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * + * - [DateTimeField](http://mui.com/x/react-date-pickers/date-time-field/) + * - [Fields](https://mui.com/x/react-date-pickers/fields/) + * + * API: + * + * - [DateTimeField API](https://mui.com/x/api/date-pickers/date-time-field/) + */ const DateTimeField = React.forwardRef(function DateTimeField<TDate>( inProps: DateTimeFieldProps<TDate>, ref: React.Ref<HTMLDivElement>, diff --git a/packages/x-date-pickers/src/TimeField/TimeField.tsx b/packages/x-date-pickers/src/TimeField/TimeField.tsx index a60706c388f9..26908efef28a 100644 --- a/packages/x-date-pickers/src/TimeField/TimeField.tsx +++ b/packages/x-date-pickers/src/TimeField/TimeField.tsx @@ -16,6 +16,16 @@ type TimeFieldComponent = (<TDate>( props: TimeFieldProps<TDate> & React.RefAttributes<HTMLDivElement>, ) => React.JSX.Element) & { propTypes?: any }; +/** + * Demos: + * + * - [TimeField](http://mui.com/x/react-date-pickers/time-field/) + * - [Fields](https://mui.com/x/react-date-pickers/fields/) + * + * API: + * + * - [TimeField API](https://mui.com/x/api/date-pickers/time-field/) + */ const TimeField = React.forwardRef(function TimeField<TDate>( inProps: TimeFieldProps<TDate>, ref: React.Ref<HTMLDivElement>,