diff --git a/docs/pages/api-docs/date-picker.js b/docs/pages/api-docs/date-picker.js new file mode 100644 index 00000000000000..497abcfb8b4000 --- /dev/null +++ b/docs/pages/api-docs/date-picker.js @@ -0,0 +1,23 @@ +import * as React from 'react'; +import ApiPage from 'docs/src/modules/components/ApiPage'; +import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations'; +import jsonPageContent from './date-picker.json'; + +export default function Page(props) { + const { descriptions, pageContent } = props; + return ; +} + +Page.getInitialProps = () => { + const req = require.context( + 'docs/translations/api-docs/date-picker', + false, + /date-picker.*.json$/, + ); + const descriptions = mapApiPageTranslations(req); + + return { + descriptions, + pageContent: jsonPageContent, + }; +}; diff --git a/docs/pages/api-docs/date-picker.json b/docs/pages/api-docs/date-picker.json new file mode 100644 index 00000000000000..73e542adf3c2ee --- /dev/null +++ b/docs/pages/api-docs/date-picker.json @@ -0,0 +1,55 @@ +{ + "props": { + "onChange": { "type": { "name": "func" }, "required": true }, + "renderInput": { "type": { "name": "func" }, "required": true }, + "acceptRegex": { "type": { "name": "instanceOf", "description": "RegExp" } }, + "cancelText": { "type": { "name": "node" } }, + "className": { "type": { "name": "string" } }, + "clearable": { "type": { "name": "bool" } }, + "clearText": { "type": { "name": "node" } }, + "dateAdapter": { "type": { "name": "object" } }, + "DialogProps": { "type": { "name": "object" } }, + "disableCloseOnSelect": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" } }, + "disableMaskedInput": { "type": { "name": "bool" } }, + "disableOpenPicker": { "type": { "name": "bool" } }, + "getOpenDialogAriaText": { "type": { "name": "func" } }, + "InputAdornmentProps": { "type": { "name": "object" } }, + "inputFormat": { "type": { "name": "string" } }, + "mask": { "type": { "name": "string" } }, + "okText": { "type": { "name": "node" } }, + "onAccept": { "type": { "name": "func" } }, + "onClose": { "type": { "name": "func" } }, + "onError": { "type": { "name": "func" } }, + "onOpen": { "type": { "name": "func" } }, + "open": { "type": { "name": "bool" } }, + "OpenPickerButtonProps": { "type": { "name": "object" } }, + "openPickerIcon": { "type": { "name": "node" } }, + "orientation": { + "type": { "name": "enum", "description": "'landscape'
| 'portrait'" } + }, + "readOnly": { "type": { "name": "bool" } }, + "rifmFormatter": { "type": { "name": "func" } }, + "showTodayButton": { "type": { "name": "bool" } }, + "showToolbar": { "type": { "name": "bool" } }, + "todayText": { "type": { "name": "node" } }, + "ToolbarComponent": { "type": { "name": "elementType" } }, + "toolbarFormat": { "type": { "name": "string" } }, + "toolbarPlaceholder": { "type": { "name": "node" } }, + "toolbarTitle": { "type": { "name": "node" } }, + "value": { + "type": { + "name": "union", + "description": "any
| Date
| number
| string" + } + } + }, + "name": "DatePicker", + "styles": { "classes": [], "globalClasses": {}, "name": null }, + "spread": true, + "filename": "/packages/material-ui-lab/src/DatePicker/DatePicker.tsx", + "inheritance": null, + "demos": "", + "styledComponent": true, + "cssComponent": false +} diff --git a/docs/pages/api-docs/desktop-date-picker.js b/docs/pages/api-docs/desktop-date-picker.js new file mode 100644 index 00000000000000..ef6b75255bbb27 --- /dev/null +++ b/docs/pages/api-docs/desktop-date-picker.js @@ -0,0 +1,23 @@ +import * as React from 'react'; +import ApiPage from 'docs/src/modules/components/ApiPage'; +import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations'; +import jsonPageContent from './desktop-date-picker.json'; + +export default function Page(props) { + const { descriptions, pageContent } = props; + return ; +} + +Page.getInitialProps = () => { + const req = require.context( + 'docs/translations/api-docs/desktop-date-picker', + false, + /desktop-date-picker.*.json$/, + ); + const descriptions = mapApiPageTranslations(req); + + return { + descriptions, + pageContent: jsonPageContent, + }; +}; diff --git a/docs/pages/api-docs/desktop-date-picker.json b/docs/pages/api-docs/desktop-date-picker.json new file mode 100644 index 00000000000000..42ceaf39dbd691 --- /dev/null +++ b/docs/pages/api-docs/desktop-date-picker.json @@ -0,0 +1,50 @@ +{ + "props": { + "onChange": { "type": { "name": "func" }, "required": true }, + "renderInput": { "type": { "name": "func" }, "required": true }, + "acceptRegex": { "type": { "name": "instanceOf", "description": "RegExp" } }, + "className": { "type": { "name": "string" } }, + "dateAdapter": { "type": { "name": "object" } }, + "disableCloseOnSelect": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" } }, + "disableMaskedInput": { "type": { "name": "bool" } }, + "disableOpenPicker": { "type": { "name": "bool" } }, + "getOpenDialogAriaText": { "type": { "name": "func" } }, + "InputAdornmentProps": { "type": { "name": "object" } }, + "inputFormat": { "type": { "name": "string" } }, + "mask": { "type": { "name": "string" } }, + "onAccept": { "type": { "name": "func" } }, + "onClose": { "type": { "name": "func" } }, + "onError": { "type": { "name": "func" } }, + "onOpen": { "type": { "name": "func" } }, + "open": { "type": { "name": "bool" } }, + "OpenPickerButtonProps": { "type": { "name": "object" } }, + "openPickerIcon": { "type": { "name": "node" } }, + "orientation": { + "type": { "name": "enum", "description": "'landscape'
| 'portrait'" } + }, + "PopperProps": { "type": { "name": "object" } }, + "readOnly": { "type": { "name": "bool" } }, + "rifmFormatter": { "type": { "name": "func" } }, + "showToolbar": { "type": { "name": "bool" } }, + "ToolbarComponent": { "type": { "name": "elementType" } }, + "toolbarFormat": { "type": { "name": "string" } }, + "toolbarPlaceholder": { "type": { "name": "node" } }, + "toolbarTitle": { "type": { "name": "node" } }, + "TransitionComponent": { "type": { "name": "elementType" } }, + "value": { + "type": { + "name": "union", + "description": "any
| Date
| number
| string" + } + } + }, + "name": "DesktopDatePicker", + "styles": { "classes": [], "globalClasses": {}, "name": null }, + "spread": true, + "filename": "/packages/material-ui-lab/src/DesktopDatePicker/DesktopDatePicker.tsx", + "inheritance": null, + "demos": "", + "styledComponent": true, + "cssComponent": false +} diff --git a/docs/pages/api-docs/mobile-date-picker.js b/docs/pages/api-docs/mobile-date-picker.js new file mode 100644 index 00000000000000..beb0c689697c2e --- /dev/null +++ b/docs/pages/api-docs/mobile-date-picker.js @@ -0,0 +1,23 @@ +import * as React from 'react'; +import ApiPage from 'docs/src/modules/components/ApiPage'; +import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations'; +import jsonPageContent from './mobile-date-picker.json'; + +export default function Page(props) { + const { descriptions, pageContent } = props; + return ; +} + +Page.getInitialProps = () => { + const req = require.context( + 'docs/translations/api-docs/mobile-date-picker', + false, + /mobile-date-picker.*.json$/, + ); + const descriptions = mapApiPageTranslations(req); + + return { + descriptions, + pageContent: jsonPageContent, + }; +}; diff --git a/docs/pages/api-docs/mobile-date-picker.json b/docs/pages/api-docs/mobile-date-picker.json new file mode 100644 index 00000000000000..3d0b2fdfa77f12 --- /dev/null +++ b/docs/pages/api-docs/mobile-date-picker.json @@ -0,0 +1,55 @@ +{ + "props": { + "onChange": { "type": { "name": "func" }, "required": true }, + "renderInput": { "type": { "name": "func" }, "required": true }, + "acceptRegex": { "type": { "name": "instanceOf", "description": "RegExp" } }, + "cancelText": { "type": { "name": "node" } }, + "className": { "type": { "name": "string" } }, + "clearable": { "type": { "name": "bool" } }, + "clearText": { "type": { "name": "node" } }, + "dateAdapter": { "type": { "name": "object" } }, + "DialogProps": { "type": { "name": "object" } }, + "disableCloseOnSelect": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" } }, + "disableMaskedInput": { "type": { "name": "bool" } }, + "disableOpenPicker": { "type": { "name": "bool" } }, + "getOpenDialogAriaText": { "type": { "name": "func" } }, + "InputAdornmentProps": { "type": { "name": "object" } }, + "inputFormat": { "type": { "name": "string" } }, + "mask": { "type": { "name": "string" } }, + "okText": { "type": { "name": "node" } }, + "onAccept": { "type": { "name": "func" } }, + "onClose": { "type": { "name": "func" } }, + "onError": { "type": { "name": "func" } }, + "onOpen": { "type": { "name": "func" } }, + "open": { "type": { "name": "bool" } }, + "OpenPickerButtonProps": { "type": { "name": "object" } }, + "openPickerIcon": { "type": { "name": "node" } }, + "orientation": { + "type": { "name": "enum", "description": "'landscape'
| 'portrait'" } + }, + "readOnly": { "type": { "name": "bool" } }, + "rifmFormatter": { "type": { "name": "func" } }, + "showTodayButton": { "type": { "name": "bool" } }, + "showToolbar": { "type": { "name": "bool" } }, + "todayText": { "type": { "name": "node" } }, + "ToolbarComponent": { "type": { "name": "elementType" } }, + "toolbarFormat": { "type": { "name": "string" } }, + "toolbarPlaceholder": { "type": { "name": "node" } }, + "toolbarTitle": { "type": { "name": "node" } }, + "value": { + "type": { + "name": "union", + "description": "any
| Date
| number
| string" + } + } + }, + "name": "MobileDatePicker", + "styles": { "classes": [], "globalClasses": {}, "name": null }, + "spread": true, + "filename": "/packages/material-ui-lab/src/MobileDatePicker/MobileDatePicker.tsx", + "inheritance": null, + "demos": "", + "styledComponent": true, + "cssComponent": false +} diff --git a/docs/pages/api-docs/static-date-picker.js b/docs/pages/api-docs/static-date-picker.js new file mode 100644 index 00000000000000..c7d13ab945f2fc --- /dev/null +++ b/docs/pages/api-docs/static-date-picker.js @@ -0,0 +1,23 @@ +import * as React from 'react'; +import ApiPage from 'docs/src/modules/components/ApiPage'; +import mapApiPageTranslations from 'docs/src/modules/utils/mapApiPageTranslations'; +import jsonPageContent from './static-date-picker.json'; + +export default function Page(props) { + const { descriptions, pageContent } = props; + return ; +} + +Page.getInitialProps = () => { + const req = require.context( + 'docs/translations/api-docs/static-date-picker', + false, + /static-date-picker.*.json$/, + ); + const descriptions = mapApiPageTranslations(req); + + return { + descriptions, + pageContent: jsonPageContent, + }; +}; diff --git a/docs/pages/api-docs/static-date-picker.json b/docs/pages/api-docs/static-date-picker.json new file mode 100644 index 00000000000000..1ced57b8d3a6a2 --- /dev/null +++ b/docs/pages/api-docs/static-date-picker.json @@ -0,0 +1,51 @@ +{ + "props": { + "onChange": { "type": { "name": "func" }, "required": true }, + "renderInput": { "type": { "name": "func" }, "required": true }, + "acceptRegex": { "type": { "name": "instanceOf", "description": "RegExp" } }, + "className": { "type": { "name": "string" } }, + "dateAdapter": { "type": { "name": "object" } }, + "disableCloseOnSelect": { "type": { "name": "bool" } }, + "disabled": { "type": { "name": "bool" } }, + "disableMaskedInput": { "type": { "name": "bool" } }, + "disableOpenPicker": { "type": { "name": "bool" } }, + "displayStaticWrapperAs": { + "type": { "name": "enum", "description": "'desktop'
| 'mobile'" } + }, + "getOpenDialogAriaText": { "type": { "name": "func" } }, + "InputAdornmentProps": { "type": { "name": "object" } }, + "inputFormat": { "type": { "name": "string" } }, + "mask": { "type": { "name": "string" } }, + "onAccept": { "type": { "name": "func" } }, + "onClose": { "type": { "name": "func" } }, + "onError": { "type": { "name": "func" } }, + "onOpen": { "type": { "name": "func" } }, + "open": { "type": { "name": "bool" } }, + "OpenPickerButtonProps": { "type": { "name": "object" } }, + "openPickerIcon": { "type": { "name": "node" } }, + "orientation": { + "type": { "name": "enum", "description": "'landscape'
| 'portrait'" } + }, + "readOnly": { "type": { "name": "bool" } }, + "rifmFormatter": { "type": { "name": "func" } }, + "showToolbar": { "type": { "name": "bool" } }, + "ToolbarComponent": { "type": { "name": "elementType" } }, + "toolbarFormat": { "type": { "name": "string" } }, + "toolbarPlaceholder": { "type": { "name": "node" } }, + "toolbarTitle": { "type": { "name": "node" } }, + "value": { + "type": { + "name": "union", + "description": "any
| Date
| number
| string" + } + } + }, + "name": "StaticDatePicker", + "styles": { "classes": [], "globalClasses": {}, "name": null }, + "spread": true, + "filename": "/packages/material-ui-lab/src/StaticDatePicker/StaticDatePicker.tsx", + "inheritance": null, + "demos": "", + "styledComponent": true, + "cssComponent": false +} diff --git a/docs/src/pagesApi.js b/docs/src/pagesApi.js index 048c227e7f6996..8d5bb484127279 100644 --- a/docs/src/pagesApi.js +++ b/docs/src/pagesApi.js @@ -31,6 +31,8 @@ module.exports = [ { pathname: '/api-docs/collapse' }, { pathname: '/api-docs/container' }, { pathname: '/api-docs/css-baseline' }, + { pathname: '/api-docs/date-picker' }, + { pathname: '/api-docs/desktop-date-picker' }, { pathname: '/api-docs/desktop-time-picker' }, { pathname: '/api-docs/dialog' }, { pathname: '/api-docs/dialog-actions' }, @@ -72,6 +74,7 @@ module.exports = [ { pathname: '/api-docs/menu' }, { pathname: '/api-docs/menu-item' }, { pathname: '/api-docs/menu-list' }, + { pathname: '/api-docs/mobile-date-picker' }, { pathname: '/api-docs/mobile-stepper' }, { pathname: '/api-docs/mobile-time-picker' }, { pathname: '/api-docs/modal' }, @@ -98,6 +101,7 @@ module.exports = [ { pathname: '/api-docs/speed-dial' }, { pathname: '/api-docs/speed-dial-action' }, { pathname: '/api-docs/speed-dial-icon' }, + { pathname: '/api-docs/static-date-picker' }, { pathname: '/api-docs/static-time-picker' }, { pathname: '/api-docs/step' }, { pathname: '/api-docs/step-button' }, diff --git a/docs/translations/api-docs/date-picker/date-picker-de.json b/docs/translations/api-docs/date-picker/date-picker-de.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/date-picker/date-picker-de.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/date-picker/date-picker-es.json b/docs/translations/api-docs/date-picker/date-picker-es.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/date-picker/date-picker-es.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/date-picker/date-picker-fr.json b/docs/translations/api-docs/date-picker/date-picker-fr.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/date-picker/date-picker-fr.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/date-picker/date-picker-ja.json b/docs/translations/api-docs/date-picker/date-picker-ja.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/date-picker/date-picker-ja.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/date-picker/date-picker-pt.json b/docs/translations/api-docs/date-picker/date-picker-pt.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/date-picker/date-picker-pt.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/date-picker/date-picker-ru.json b/docs/translations/api-docs/date-picker/date-picker-ru.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/date-picker/date-picker-ru.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/date-picker/date-picker-zh.json b/docs/translations/api-docs/date-picker/date-picker-zh.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/date-picker/date-picker-zh.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/date-picker/date-picker.json b/docs/translations/api-docs/date-picker/date-picker.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/date-picker/date-picker.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-de.json b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-de.json new file mode 100644 index 00000000000000..486ae06a16e761 --- /dev/null +++ b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-de.json @@ -0,0 +1,37 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "PopperProps": "Popper props passed down to Popper component.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "TransitionComponent": "Custom component for popper Transition.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-es.json b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-es.json new file mode 100644 index 00000000000000..486ae06a16e761 --- /dev/null +++ b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-es.json @@ -0,0 +1,37 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "PopperProps": "Popper props passed down to Popper component.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "TransitionComponent": "Custom component for popper Transition.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-fr.json b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-fr.json new file mode 100644 index 00000000000000..486ae06a16e761 --- /dev/null +++ b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-fr.json @@ -0,0 +1,37 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "PopperProps": "Popper props passed down to Popper component.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "TransitionComponent": "Custom component for popper Transition.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-ja.json b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-ja.json new file mode 100644 index 00000000000000..486ae06a16e761 --- /dev/null +++ b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-ja.json @@ -0,0 +1,37 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "PopperProps": "Popper props passed down to Popper component.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "TransitionComponent": "Custom component for popper Transition.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-pt.json b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-pt.json new file mode 100644 index 00000000000000..486ae06a16e761 --- /dev/null +++ b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-pt.json @@ -0,0 +1,37 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "PopperProps": "Popper props passed down to Popper component.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "TransitionComponent": "Custom component for popper Transition.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-ru.json b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-ru.json new file mode 100644 index 00000000000000..486ae06a16e761 --- /dev/null +++ b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-ru.json @@ -0,0 +1,37 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "PopperProps": "Popper props passed down to Popper component.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "TransitionComponent": "Custom component for popper Transition.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-zh.json b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-zh.json new file mode 100644 index 00000000000000..486ae06a16e761 --- /dev/null +++ b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker-zh.json @@ -0,0 +1,37 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "PopperProps": "Popper props passed down to Popper component.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "TransitionComponent": "Custom component for popper Transition.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/desktop-date-picker/desktop-date-picker.json b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker.json new file mode 100644 index 00000000000000..486ae06a16e761 --- /dev/null +++ b/docs/translations/api-docs/desktop-date-picker/desktop-date-picker.json @@ -0,0 +1,37 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "PopperProps": "Popper props passed down to Popper component.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "TransitionComponent": "Custom component for popper Transition.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-de.json b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-de.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-de.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-es.json b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-es.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-es.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-fr.json b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-fr.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-fr.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-ja.json b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-ja.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-ja.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-pt.json b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-pt.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-pt.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-ru.json b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-ru.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-ru.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-zh.json b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-zh.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker-zh.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/mobile-date-picker/mobile-date-picker.json b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker.json new file mode 100644 index 00000000000000..735376f4fcc0bd --- /dev/null +++ b/docs/translations/api-docs/mobile-date-picker/mobile-date-picker.json @@ -0,0 +1,42 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "cancelText": "Cancel text message", + "className": "className applied to the root component.", + "clearable": "If true, it shows the clear action in the picker dialog.", + "clearText": "Clear text message", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "DialogProps": "Props applied to the Dialog element.", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "okText": "Ok button text.", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showTodayButton": "If true, the today button is displayed. Note that showClearButton has a higher priority.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "todayText": "Today text message", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/static-date-picker/static-date-picker-de.json b/docs/translations/api-docs/static-date-picker/static-date-picker-de.json new file mode 100644 index 00000000000000..b78a654ab3ea3a --- /dev/null +++ b/docs/translations/api-docs/static-date-picker/static-date-picker-de.json @@ -0,0 +1,36 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "displayStaticWrapperAs": "Force static wrapper inner components to be rendered in mobile or desktop mode", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/static-date-picker/static-date-picker-es.json b/docs/translations/api-docs/static-date-picker/static-date-picker-es.json new file mode 100644 index 00000000000000..b78a654ab3ea3a --- /dev/null +++ b/docs/translations/api-docs/static-date-picker/static-date-picker-es.json @@ -0,0 +1,36 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "displayStaticWrapperAs": "Force static wrapper inner components to be rendered in mobile or desktop mode", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/static-date-picker/static-date-picker-fr.json b/docs/translations/api-docs/static-date-picker/static-date-picker-fr.json new file mode 100644 index 00000000000000..b78a654ab3ea3a --- /dev/null +++ b/docs/translations/api-docs/static-date-picker/static-date-picker-fr.json @@ -0,0 +1,36 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "displayStaticWrapperAs": "Force static wrapper inner components to be rendered in mobile or desktop mode", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/static-date-picker/static-date-picker-ja.json b/docs/translations/api-docs/static-date-picker/static-date-picker-ja.json new file mode 100644 index 00000000000000..b78a654ab3ea3a --- /dev/null +++ b/docs/translations/api-docs/static-date-picker/static-date-picker-ja.json @@ -0,0 +1,36 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "displayStaticWrapperAs": "Force static wrapper inner components to be rendered in mobile or desktop mode", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/static-date-picker/static-date-picker-pt.json b/docs/translations/api-docs/static-date-picker/static-date-picker-pt.json new file mode 100644 index 00000000000000..b78a654ab3ea3a --- /dev/null +++ b/docs/translations/api-docs/static-date-picker/static-date-picker-pt.json @@ -0,0 +1,36 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "displayStaticWrapperAs": "Force static wrapper inner components to be rendered in mobile or desktop mode", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/static-date-picker/static-date-picker-ru.json b/docs/translations/api-docs/static-date-picker/static-date-picker-ru.json new file mode 100644 index 00000000000000..b78a654ab3ea3a --- /dev/null +++ b/docs/translations/api-docs/static-date-picker/static-date-picker-ru.json @@ -0,0 +1,36 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "displayStaticWrapperAs": "Force static wrapper inner components to be rendered in mobile or desktop mode", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/static-date-picker/static-date-picker-zh.json b/docs/translations/api-docs/static-date-picker/static-date-picker-zh.json new file mode 100644 index 00000000000000..b78a654ab3ea3a --- /dev/null +++ b/docs/translations/api-docs/static-date-picker/static-date-picker-zh.json @@ -0,0 +1,36 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "displayStaticWrapperAs": "Force static wrapper inner components to be rendered in mobile or desktop mode", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/docs/translations/api-docs/static-date-picker/static-date-picker.json b/docs/translations/api-docs/static-date-picker/static-date-picker.json new file mode 100644 index 00000000000000..b78a654ab3ea3a --- /dev/null +++ b/docs/translations/api-docs/static-date-picker/static-date-picker.json @@ -0,0 +1,36 @@ +{ + "componentDescription": "", + "propDescriptions": { + "acceptRegex": "Regular expression to detect "accepted" symbols.", + "className": "className applied to the root component.", + "dateAdapter": "Allows to pass configured date-io adapter directly. More info here jsx dateAdapter={new AdapterDateFns({ locale: ruLocale })} ", + "disableCloseOnSelect": "If true the popup or dialog will immediately close after submitting full date.", + "disabled": "If true, the picker and text field are disabled.", + "disableMaskedInput": "Disable mask on the keyboard, this should be used rarely. Consider passing proper mask for your format.", + "disableOpenPicker": "Do not render open picker button (renders only text field with validation).", + "displayStaticWrapperAs": "Force static wrapper inner components to be rendered in mobile or desktop mode", + "getOpenDialogAriaText": "Get aria-label text for control that opens picker dialog. Aria-label text must include selected date. @DateIOType", + "InputAdornmentProps": "Props to pass to keyboard input adornment.", + "inputFormat": "Format string.", + "mask": "Custom mask. Can be used to override generate from format. (e.g. //__ __: or //__ __: _M)", + "onAccept": "Callback fired when date is accepted @DateIOType.", + "onChange": "Callback fired when the value (the selected date) changes. @DateIOType.", + "onClose": "Callback fired when the popup requests to be closed. Use in controlled mode (see open).", + "onError": "Callback that fired when input value or new value prop validation returns new validation error (or value is valid after error). In case of validation error detected reason prop return non-null value and TextField must be displayed in error state. This can be used to render appropriate form error.
Read the guide about form integration and error displaying.", + "onOpen": "Callback fired when the popup requests to be opened. Use in controlled mode (see open).", + "open": "Control the popup or dialog open state.", + "OpenPickerButtonProps": "Props to pass to keyboard adornment button.", + "openPickerIcon": "Icon displaying for open picker button.", + "orientation": "Force rendering in particular orientation.", + "readOnly": "Make picker read only.", + "renderInput": "The renderInput prop allows you to customize the rendered input. The props argument of this render prop contains props of TextField that you need to forward. Pay specific attention to the ref and inputProps keys.", + "rifmFormatter": "Custom formatter to be passed into Rifm component.", + "showToolbar": "If true, show the toolbar even in desktop mode.", + "ToolbarComponent": "Component that will replace default toolbar renderer.", + "toolbarFormat": "Date format, that is displaying in toolbar.", + "toolbarPlaceholder": "Mobile picker date value placeholder, displaying if value === null.", + "toolbarTitle": "Mobile picker title, displaying in the toolbar.", + "value": "The value of the picker." + }, + "classDescriptions": {} +} diff --git a/packages/material-ui-lab/src/DatePicker/DatePicker.tsx b/packages/material-ui-lab/src/DatePicker/DatePicker.tsx index c78d4d02a12d24..73674901ae2f00 100644 --- a/packages/material-ui-lab/src/DatePicker/DatePicker.tsx +++ b/packages/material-ui-lab/src/DatePicker/DatePicker.tsx @@ -62,20 +62,27 @@ export const datePickerConfig = { }, }; -export type DatePickerGenericComponent = ( +export type DatePickerGenericComponent = (( props: BaseDatePickerProps & SharedPickerProps, -) => JSX.Element; +) => JSX.Element) & { propTypes?: any }; /** - * @ignore - do not document. + * + * Demos: + * + * - [Date Picker](https://material-ui.com/components/date-picker/) + * + * API: + * + * - [DatePicker API](https://material-ui.com/api/date-picker/) */ -/* @typescript-to-proptypes-generate */ +// @typescript-to-proptypes-generate const DatePicker = makePickerWithStateAndWrapper>(ResponsiveWrapper, { name: 'MuiDatePicker', ...datePickerConfig, }) as DatePickerGenericComponent; -(DatePicker as any).propTypes = { +DatePicker.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit TypeScript types and run "yarn proptypes" | diff --git a/packages/material-ui-lab/src/DesktopDatePicker/DesktopDatePicker.tsx b/packages/material-ui-lab/src/DesktopDatePicker/DesktopDatePicker.tsx index 1be5a309235ee4..6851aeb187fbaf 100644 --- a/packages/material-ui-lab/src/DesktopDatePicker/DesktopDatePicker.tsx +++ b/packages/material-ui-lab/src/DesktopDatePicker/DesktopDatePicker.tsx @@ -8,9 +8,12 @@ import { DesktopWrapper } from '../internal/pickers/wrappers/Wrapper'; import { makePickerWithStateAndWrapper } from '../internal/pickers/Picker/makePickerWithState'; /** - * @ignore - do not document. + * + * API: + * + * - [DesktopDatePicker API](https://material-ui.com/api/desktop-date-picker/) */ -/* @typescript-to-proptypes-generate */ +// @typescript-to-proptypes-generate const DesktopDatePicker = makePickerWithStateAndWrapper>( DesktopWrapper, { @@ -19,7 +22,7 @@ const DesktopDatePicker = makePickerWithStateAndWrapper; -(DesktopDatePicker as any).propTypes = { +DesktopDatePicker.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit TypeScript types and run "yarn proptypes" | diff --git a/packages/material-ui-lab/src/MobileDatePicker/MobileDatePicker.tsx b/packages/material-ui-lab/src/MobileDatePicker/MobileDatePicker.tsx index 48f692702aaec9..43250c40313e0f 100644 --- a/packages/material-ui-lab/src/MobileDatePicker/MobileDatePicker.tsx +++ b/packages/material-ui-lab/src/MobileDatePicker/MobileDatePicker.tsx @@ -8,9 +8,12 @@ import { import { MobileWrapper } from '../internal/pickers/wrappers/Wrapper'; /** - * @ignore - do not document. + * + * API: + * + * - [MobileDatePicker API](https://material-ui.com/api/mobile-date-picker/) */ -/* @typescript-to-proptypes-generate */ +// @typescript-to-proptypes-generate const MobileDatePicker = makePickerWithStateAndWrapper>( MobileWrapper, { @@ -19,7 +22,7 @@ const MobileDatePicker = makePickerWithStateAndWrapper; -(MobileDatePicker as any).propTypes = { +MobileDatePicker.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit TypeScript types and run "yarn proptypes" | diff --git a/packages/material-ui-lab/src/StaticDatePicker/StaticDatePicker.tsx b/packages/material-ui-lab/src/StaticDatePicker/StaticDatePicker.tsx index 27bcecf4e2f998..1d1d128d100033 100644 --- a/packages/material-ui-lab/src/StaticDatePicker/StaticDatePicker.tsx +++ b/packages/material-ui-lab/src/StaticDatePicker/StaticDatePicker.tsx @@ -8,9 +8,12 @@ import { import { StaticWrapper } from '../internal/pickers/wrappers/Wrapper'; /** - * @ignore - do not document. + * + * API: + * + * - [StaticDatePicker API](https://material-ui.com/api/static-date-picker/) */ -/* @typescript-to-proptypes-generate */ +// @typescript-to-proptypes-generate const StaticDatePicker = makePickerWithStateAndWrapper>( StaticWrapper, { @@ -19,7 +22,7 @@ const StaticDatePicker = makePickerWithStateAndWrapper; -(StaticDatePicker as any).propTypes = { +StaticDatePicker.propTypes = { // ----------------------------- Warning -------------------------------- // | These PropTypes are generated from the TypeScript type definitions | // | To update them edit TypeScript types and run "yarn proptypes" | diff --git a/packages/material-ui-lab/src/TimePicker/TimePicker.tsx b/packages/material-ui-lab/src/TimePicker/TimePicker.tsx index dda8f520c90dd0..8528b814e84524 100644 --- a/packages/material-ui-lab/src/TimePicker/TimePicker.tsx +++ b/packages/material-ui-lab/src/TimePicker/TimePicker.tsx @@ -76,7 +76,7 @@ export const timePickerConfig = { export type TimePickerGenericComponent = (( props: BaseTimePickerProps & SharedPickerProps, -) => JSX.Element) & { propTypes?: unknown }; +) => JSX.Element) & { propTypes?: any }; /** * diff --git a/scripts/generateProptypes.ts b/scripts/generateProptypes.ts index 418bb7c6f15bf6..021b60d69c6ecf 100644 --- a/scripts/generateProptypes.ts +++ b/scripts/generateProptypes.ts @@ -27,23 +27,19 @@ const todoComponents: string[] = []; const todoComponentsTs: string[] = [ 'ClockPicker', - 'DatePicker', 'DateRangePicker', 'DateRangePickerDay', 'DayPicker', - 'DesktopDatePicker', 'DesktopDateRangePicker', 'StaticDateRangePicker', 'MobileDateRangePicker', 'DateTimePicker', 'DesktopDateTimePicker', 'LocalizationProvider', - 'MobileDatePicker', 'MobileDateTimePicker', 'MonthPicker', 'PickersCalendarSkeleton', 'PickersDay', - 'StaticDatePicker', 'StaticDateTimePicker', 'YearPicker', ];