` элемента и *background image* для отображения информации. Это может быть проблематично в некоторых ситуациях. Например, вы можете захотеть отобразить видео или адаптивное изображение. Используйте свойство `component` для этих случаев:
+По умолчанию мы используем комбинацию `
` элемента и *background image* для отображения медиа. Это может быть проблематичным в некоторых ситуациях. Например, вы можете захотеть отобразить видео и отзывчивое изображение. Используйте свойство `component` для этих случаев:
{{"demo": "pages/demos/cards/ImgMediaCard.js"}}
-## Элементы управления пользовательского интерфейса
+## UI контролы
-Дополнительные действия внутри карточки явно вызываются с помощью иконок, текста и элементов управления пользовательского интерфейса, обычно размещаемых в нижней части карточки.
+Дополнительные действия внутри карты явно вызываются с помощью иконок, текста и UI контролов, обычно расположенных внизу карты.
-Вот пример карточки с элементами управления мультимедиа.
+Вот пример карты управления медиа.
{{"demo": "pages/demos/cards/MediaControlCard.js"}}
\ No newline at end of file
diff --git a/docs/src/pages/demos/chips/chips-es.md b/docs/src/pages/demos/chips/chips-es.md
index 407d6a613dfcd1..35bc5d49f4e380 100644
--- a/docs/src/pages/demos/chips/chips-es.md
+++ b/docs/src/pages/demos/chips/chips-es.md
@@ -1,5 +1,5 @@
---
-title: "Chips son elementos compactos que representan una entrada, atributo, o accion.\nChips le permiten a los usuarios entrar informacion, escoger de una seleccion, filtrar contenido, o activar acciones.\nAunque incluido como un componente individual, el uso mas comun sera en algun tipo de entrada de formulario, por lo cual parte del comportamiento demostrado aqui no se muestra en el contexto"
+title: Chip React component
components: Chip
---
# Chips
diff --git a/docs/src/pages/demos/chips/chips-fr.md b/docs/src/pages/demos/chips/chips-fr.md
index a9ee4239398c3f..180acdd9a169ad 100644
--- a/docs/src/pages/demos/chips/chips-fr.md
+++ b/docs/src/pages/demos/chips/chips-fr.md
@@ -27,7 +27,7 @@ Outlined chips offer an alternative style.
## Tableau de puce
-Un exemple de rendu de plusieurs puces à partir d'un tableau de valeurs. Supprimer une puce la supprime du tablea. Notez que puisqu'aucun `onClick` propriété est définie, la puce peut être concentré, mais ne pas profondeur de gain tandis que vous cliquez dessus ou touché.
+An example of rendering multiple Chips from an array of values. Supprimer une puce la supprime du tablea. Notez que puisqu'aucun `onClick` propriété est définie, la puce peut être concentré, mais ne pas profondeur de gain tandis que vous cliquez dessus ou touché.
{{"demo": "pages/demos/chips/ChipsArray.js"}}
diff --git a/docs/src/pages/demos/chips/chips-ru.md b/docs/src/pages/demos/chips/chips-ru.md
index 04c0be6fa5e6ee..35bc5d49f4e380 100644
--- a/docs/src/pages/demos/chips/chips-ru.md
+++ b/docs/src/pages/demos/chips/chips-ru.md
@@ -2,32 +2,32 @@
title: Chip React component
components: Chip
---
-# Фишки
+# Chips
-
Фишки - это компактные элементы, представляющие входные данные, атрибут или действие.
+
Chips are compact elements that represent an input, attribute, or action.
-[Фишки](https://material.io/design/components/chips.html) позволяют пользователям вводить информацию, делать выбор, фильтровать контент или инициировать действия.
+[Chips](https://material.io/design/components/chips.html) allow users to enter information, make selections, filter content, or trigger actions.
-Несмотря на то, что он включен здесь как автономный компонент, наиболее распространенное использование будет в той или иной форме ввода, поэтому некоторые из продемонстрированных здесь действий не показаны в контексте.
+While included here as a standalone component, the most common use will be in some form of input, so some of the behaviour demonstrated here is not shown in context.
-## Фишка
+## Chip
-Примеры фишек, использующих изображения, SVG-иконку, «Символ» и строку в качестве аватара.
+Examples of Chips, using an image Avatar, SVG Icon Avatar, "Letter" and (string) Avatar.
-- Фишки с заданным свойством `onClick` могут изменять внешний вид при фокусировке, наведении курсора и клике.
-- Фишки с определенным свойством `onDelete` будут отображать значок удаления который меняет внешний вид при наведении курсора.
+- Chips with the `onClick` property defined change appearance on focus, hover, and click.
+- Chips with the `onDelete` property defined will display a delete icon which changes appearance on hover.
{{"demo": "pages/demos/chips/Chips.js"}}
-### Контурные фишки
+### Outlined Chips
-Контурные фишки предлагают альтернативный стиль.
+Outlined chips offer an alternative style.
{{"demo": "pages/demos/chips/OutlinedChips.js"}}
-## Массив фишек
+## Chip array
-Пример рендеринга нескольких фишек из массива значений. Удаление фишки удаляет ее из массива. Обратите внимание, что поскольку свойство `onClick` не определено, фишка может быть сфокусирована, но не получает глубины при щелчке или касании.
+An example of rendering multiple Chips from an array of values. Deleting a chip removes it from the array. Note that since no `onClick` property is defined, the Chip can be focused, but does not gain depth while clicked or touched.
{{"demo": "pages/demos/chips/ChipsArray.js"}}
diff --git a/docs/src/pages/demos/dialogs/dialogs-de.md b/docs/src/pages/demos/dialogs/dialogs-de.md
index 389b2226ca95c7..bb9b00fef6edd6 100644
--- a/docs/src/pages/demos/dialogs/dialogs-de.md
+++ b/docs/src/pages/demos/dialogs/dialogs-de.md
@@ -45,7 +45,7 @@ You can also swap out the transition, the next example uses `Slide`.
## Form dialogs
-Form dialogs allow users to fill out form fields within a dialog. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'.
+Form dialogs allow users to fill out form fields within a dialog. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'
{{"demo": "pages/demos/dialogs/FormDialog.js"}}
@@ -75,7 +75,7 @@ You may make a dialog responsively full screen the dialog using `withMobileDialo
## Confirmation dialogs
-Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK”.
+Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK.”
Touching “Cancel” in a confirmation dialog, or pressing Back, cancels the action, discards any changes, and closes the dialog.
diff --git a/docs/src/pages/demos/dialogs/dialogs-es.md b/docs/src/pages/demos/dialogs/dialogs-es.md
index 4bc3581358e0a5..bb9b00fef6edd6 100644
--- a/docs/src/pages/demos/dialogs/dialogs-es.md
+++ b/docs/src/pages/demos/dialogs/dialogs-es.md
@@ -2,13 +2,13 @@
title: Dialog React component
components: Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, Slide
---
-# Diálogos
+# Dialogs
-
Los diálogos informan a los usuarios sobre una acción y pueden contener información importante, o varias acciones.
+
Dialogs inform users about a task and can contain critical information, require decisions, or involve multiple tasks.
-Un [Diálogo](https://material.io/design/components/dialogs.html)es una clase de [ventana modal](/utils/modal/) que aparece encima del contenido para proveer información importante o pedir que el usuario tome una decision. Los diálogos deshabilitan todas las funcciones del app cuando aparecen, y se quedan visibles hasta que se confirman, se despedan, o se toma alguna acción necesario.
+A [Dialog](https://material.io/design/components/dialogs.html) is a type of [modal](/utils/modal/) window that appears in front of app content to provide critical information or ask for a decision. Dialogs disable all app functionality when they appear, and remain on screen until confirmed, dismissed, or a required action has been taken.
-Los diálogos están diseñados a interrumpir el usuario, por eso, deben usarse solo cuando estén necesarios.
+Dialogs are purposefully interruptive, so they should be used sparingly.
## Simple Dialogs
@@ -45,7 +45,7 @@ You can also swap out the transition, the next example uses `Slide`.
## Form dialogs
-Form dialogs allow users to fill out form fields within a dialog. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'.
+Form dialogs allow users to fill out form fields within a dialog. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'
{{"demo": "pages/demos/dialogs/FormDialog.js"}}
@@ -53,7 +53,7 @@ Form dialogs allow users to fill out form fields within a dialog. For example, i
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the `DialogTitle` to support a close button.
-⚠️ A pesar de que la especificación de material design anima a usar temas, este ejemplo no es común.
+⚠️ While the material design specification encourages theming, this example is off the beaten path.
{{"demo": "pages/demos/dialogs/CustomizedDialog.js"}}
@@ -75,7 +75,7 @@ You may make a dialog responsively full screen the dialog using `withMobileDialo
## Confirmation dialogs
-Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK”.
+Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK.”
Touching “Cancel” in a confirmation dialog, or pressing Back, cancels the action, discards any changes, and closes the dialog.
diff --git a/docs/src/pages/demos/dialogs/dialogs-fr.md b/docs/src/pages/demos/dialogs/dialogs-fr.md
index f0c7e1d8a7175a..9f01c70c057d6f 100644
--- a/docs/src/pages/demos/dialogs/dialogs-fr.md
+++ b/docs/src/pages/demos/dialogs/dialogs-fr.md
@@ -34,24 +34,24 @@ Utilisez les alertes de la barre de titre uniquement dans les situations à haut
Si un titre est requis:
-- Utilisez une question ou une déclaration claire avec une explication dans la zone de contenu, telle que "Effacer le stockage USB?".
-- Évitez les excuses, les ambiguïtés ou les questions telles que "Attention"
+- Use a clear question or statement with an explanation in the content area, such as "Erase USB storage?".
+- Avoid apologies, ambiguity, or questions, such as “Warning!” or “Are you sure?”
{{"demo": "pages/demos/dialogs/AlertDialog.js"}}
-Vous pouvez également permuter la transition. L’exemple suivant utilise `Slide`.
+You can also swap out the transition, the next example uses `Slide`.
{{"demo": "pages/demos/dialogs/AlertDialogSlide.js"}}
## Dialogues de formulaire
-Les boîtes de dialogue de formulaire permettent aux utilisateurs de remplir des champs de formulaire dans une boîte de dialogue. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'.
+Form dialogs allow users to fill out form fields within a dialog. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'
{{"demo": "pages/demos/dialogs/FormDialog.js"}}
## Dialogue personnalisé
-Si vous avez lu la page de documentation [sur les personnalisation](/customization/overrides/) mais que vous n'êtes pas prêt à vous lancer, voici un exemple de la façon dont vous pouvez personnaliser le `DialogTitle` pour ajouter un bouton de fermeture.
+If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the `DialogTitle` to support a close button.
⚠️ Bien que la spécification material encouragent la thématisation, cet exemple sort des sentiers battus.
@@ -63,7 +63,7 @@ Si vous avez lu la page de documentation [sur les personnalisation](/customizati
## Tailles en option
-Vous pouvez définir une largeur maximale dans la boîte de dialogue à l’aide de la valeur `maxWidth`, associée à la valeur `fullWidth`. Lorsque la propriété `fullWidth` est définie sur true, la boîte de dialogue s'adapte en fonction de la valeur `maxWidth`.
+You can set a dialog maximum width by using the `maxWidth` enumerable in combination with the `fullWidth` boolean. When the `fullWidth` property is true, the dialog will adapt based on the `maxWidth` value.
{{"demo": "pages/demos/dialogs/MaxWidthDialog.js"}}
@@ -75,15 +75,15 @@ You may make a dialog responsively full screen the dialog using `withMobileDialo
## Dialogues de confirmation
-Les dialogues de confirmation demandent aux utilisateurs de confirmer explicitement leur choix avant la validation d'une option. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK”.
+Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK.”
-Appuyer sur “Annuler” dans une boîte de dialogue de confirmation ou appuyer sur Retour annule l'action, annule les modifications et ferme la boîte de dialogue.
+Touching “Cancel” in a confirmation dialog, or pressing Back, cancels the action, discards any changes, and closes the dialog.
{{"demo": "pages/demos/dialogs/ConfirmationDialog.js"}}
## Accessibilité
-Assurez-vous d’ajouter `aria-labelledby = "id ..."`, faisant référence au titre modal, dans le composant `Dialog`. De plus, vous pouvez donner une description de votre dialogue avec la propriété `aria-describeby="id ..."` du composant `Dialog`.
+Be sure to add `aria-labelledby="id..."`, referencing the modal title, to the `Dialog`. Additionally, you may give a description of your modal dialog with the `aria-describedby="id..."` property on the `Dialog`.
## Défiler de longues contenu
@@ -98,7 +98,7 @@ Essayez la démo ci-dessous pour voir ce que nous voulons dire:
## Dialogue glissable
-Vous pouvez créer une boîte de dialogue déplaçable à l’aide de [react-draggable](https://github.com/mzabriskie/react-draggable). Pour ce faire, vous pouvez passer le composant importé `Draggable` en tant que proprieté `PaperComponent` du composant `Dialog`. Cela rend la totalité de la boîte de dialogue déplaçable.
+You can create a draggable dialog by using [react-draggable](https://github.com/mzabriskie/react-draggable). To do so, you can pass the the imported `Draggable` component as the `PaperComponent` of the `Dialog` component. This will make the entire dialog draggable.
{{"demo": "pages/demos/dialogs/DraggableDialog.js"}}
diff --git a/docs/src/pages/demos/dialogs/dialogs-ja.md b/docs/src/pages/demos/dialogs/dialogs-ja.md
index 389b2226ca95c7..bb9b00fef6edd6 100644
--- a/docs/src/pages/demos/dialogs/dialogs-ja.md
+++ b/docs/src/pages/demos/dialogs/dialogs-ja.md
@@ -45,7 +45,7 @@ You can also swap out the transition, the next example uses `Slide`.
## Form dialogs
-Form dialogs allow users to fill out form fields within a dialog. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'.
+Form dialogs allow users to fill out form fields within a dialog. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'
{{"demo": "pages/demos/dialogs/FormDialog.js"}}
@@ -75,7 +75,7 @@ You may make a dialog responsively full screen the dialog using `withMobileDialo
## Confirmation dialogs
-Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK”.
+Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK.”
Touching “Cancel” in a confirmation dialog, or pressing Back, cancels the action, discards any changes, and closes the dialog.
diff --git a/docs/src/pages/demos/dialogs/dialogs-pt.md b/docs/src/pages/demos/dialogs/dialogs-pt.md
index ae7f871092cae1..deb89c4a2346fc 100644
--- a/docs/src/pages/demos/dialogs/dialogs-pt.md
+++ b/docs/src/pages/demos/dialogs/dialogs-pt.md
@@ -4,13 +4,13 @@ components: Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions
---
# Dialogs (Diálogos)
-
As caixas de diálogo informam os usuários sobre uma tarefa e podem conter informações críticas, exigir decisões ou envolver várias tarefas.
+
Dialogs inform users about a task and can contain critical information, require decisions, or involve multiple tasks.
-Uma caixa de [Diálogo](https://material.io/design/components/dialogs.html) é um tipo de janela [modal](/utils/modal/) que aparece na frente do conteúdo do aplicativo para fornecer informações críticas ou solicitar uma decisão. As caixas de diálogo desativam toda a funcionalidade do aplicativo quando elas são exibidas e permanecem na tela até que sejam confirmadas, rejeitadas ou que uma ação necessária tenha sido executada.
+A [Dialog](https://material.io/design/components/dialogs.html) is a type of [modal](/utils/modal/) window that appears in front of app content to provide critical information or ask for a decision. Dialogs disable all app functionality when they appear, and remain on screen until confirmed, dismissed, or a required action has been taken.
-As caixas de diálogo são intencionalmente interruptivas, portanto devem ser usadas com moderação.
+Dialogs are purposefully interruptive, so they should be used sparingly.
-## Caixas de diálogo simples
+## Simple Dialogs
Simple dialogs can provide additional details or actions about a list item. For example, they can display avatars, icons, clarifying subtext, or orthogonal actions (such as adding an account).
@@ -45,7 +45,7 @@ You can also swap out the transition, the next example uses `Slide`.
## Form dialogs
-Form dialogs allow users to fill out form fields within a dialog. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'.
+Form dialogs allow users to fill out form fields within a dialog. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'
{{"demo": "pages/demos/dialogs/FormDialog.js"}}
@@ -75,7 +75,7 @@ You may make a dialog responsively full screen the dialog using `withMobileDialo
## Confirmation dialogs
-Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK”.
+Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK.”
Touching “Cancel” in a confirmation dialog, or pressing Back, cancels the action, discards any changes, and closes the dialog.
diff --git a/docs/src/pages/demos/dialogs/dialogs-ru.md b/docs/src/pages/demos/dialogs/dialogs-ru.md
index 4a8b001119e1bc..bb9b00fef6edd6 100644
--- a/docs/src/pages/demos/dialogs/dialogs-ru.md
+++ b/docs/src/pages/demos/dialogs/dialogs-ru.md
@@ -2,106 +2,106 @@
title: Dialog React component
components: Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions, Slide
---
-# Диалоги
+# Dialogs
-
Диалоги информируют пользователей о задаче и могут содержать критическую информацию, требовать решения или включать несколько задач.
+
Dialogs inform users about a task and can contain critical information, require decisions, or involve multiple tasks.
-[Диалог](https://material.io/design/components/dialogs.html) представляет собой тип [модальных](/utils/modal/) окон, который появляется над приложением, чтобы предоставить важную информацию или для предоставления решения. Диалоги отключают все функции приложения, когда они появляются, и остаются на экране до тех пор, пока не будут подтверждены, отклонены или пока не будут предприняты необходимые действия.
+A [Dialog](https://material.io/design/components/dialogs.html) is a type of [modal](/utils/modal/) window that appears in front of app content to provide critical information or ask for a decision. Dialogs disable all app functionality when they appear, and remain on screen until confirmed, dismissed, or a required action has been taken.
-Диалоги целенаправленно останавливают, поэтому их следует использовать с осторожностью.
+Dialogs are purposefully interruptive, so they should be used sparingly.
-## Простые диалоги
+## Simple Dialogs
-Простые диалоги могут предоставить дополнительные детали или действия по элементу списка. Например, они могут отображать аватары, значки, уточняющий подтекст или ортогональные действия (например, добавление учетной записи).
+Simple dialogs can provide additional details or actions about a list item. For example, they can display avatars, icons, clarifying subtext, or orthogonal actions (such as adding an account).
Touch mechanics:
-- Выбор опции немедленно фиксирует ее и закрывает меню
-- Касание за пределами диалога или нажатие Назад отменяет действие и закрывает диалоговое окно
+- Choosing an option immediately commits the option and closes the menu
+- Touching outside of the dialog, or pressing Back, cancels the action and closes the dialog
{{"demo": "pages/demos/dialogs/SimpleDialog.js"}}
-## Оповещения
+## Alerts
-Оповещения - это срочные сообщения, требующие подтверждения, которые информируют пользователя о ситуации.
+Alerts are urgent interruptions, requiring acknowledgement, that inform the user about a situation.
-Большинству оповещений не нужны названия. Они суммируют решение в предложении или два:
+Most alerts don't need titles. They summarize a decision in a sentence or two by either:
-- Задать вопрос (например, «Удалить этот разговор?»)
-- Создать заявления, связанное с кнопками действий
+- Asking a question (e.g. "Delete this conversation?")
+- Making a statement related to the action buttons
-Используйте предупреждения в строке заголовка только для ситуаций с высоким риском, таких как потенциальная потеря подключения. Пользователи должны уметь понимать варианты, основываясь только на заголовке и тексте кнопки.
+Use title bar alerts only for high-risk situations, such as the potential loss of connectivity. Users should be able to understand the choices based on the title and button text alone.
-Если требуется название:
+If a title is required:
-- Используйте четкий вопрос или утверждение с пояснением в области содержимого, например «Очистить USB-накопитель?».
-- Избегайте извинений, двусмысленности или вопросов, таких как «Предупреждение!» Или «Вы уверены?»
+- Use a clear question or statement with an explanation in the content area, such as "Erase USB storage?".
+- Avoid apologies, ambiguity, or questions, such as “Warning!” or “Are you sure?”
{{"demo": "pages/demos/dialogs/AlertDialog.js"}}
-Вы также можете поменять анимацию, в следующем примере используется `Slide`.
+You can also swap out the transition, the next example uses `Slide`.
{{"demo": "pages/demos/dialogs/AlertDialogSlide.js"}}
-## Диалоги с формой
+## Form dialogs
-Диалоги с формой позволяют пользователям заполнять поля формы внутри диалога. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'.
+Form dialogs allow users to fill out form fields within a dialog. For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'
{{"demo": "pages/demos/dialogs/FormDialog.js"}}
-## Кастомизированные диалоги
+## Customized dialog
-Если вы уже читали страницу документации [о переопределении](/customization/overrides/) но не уверены, что готовы это применить, вот один из примеров того, как можно настроить `DialogTitle` для поддержки кнопки закрытия.
+If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the `DialogTitle` to support a close button.
-⚠️ Хотя спецификации материал дизайна поощряют использование тем, эти примеры не соответствуют требованиям.
+⚠️ While the material design specification encourages theming, this example is off the beaten path.
{{"demo": "pages/demos/dialogs/CustomizedDialog.js"}}
-## Полноэкранные диалоги
+## Full-screen dialogs
{{"demo": "pages/demos/dialogs/FullScreenDialog.js"}}
-## Опциональные размеры
+## Optional sizes
-Вы можете установить максимальную ширину диалога с помощью числового значения `maxWidth` в сочетании с булевым значением `fullWidth`. Когда свойство `fullWidth` имеет значение true, диалоговое окно будет адаптировано на основе значения `maxWidth`.
+You can set a dialog maximum width by using the `maxWidth` enumerable in combination with the `fullWidth` boolean. When the `fullWidth` property is true, the dialog will adapt based on the `maxWidth` value.
{{"demo": "pages/demos/dialogs/MaxWidthDialog.js"}}
-## Отзывчивый полноэкранный режим
+## Responsive full-screen
-Вы можете сделать диалог в полноэкранном режиме, используя `withMobileDialog`. По умолчанию `withMobileDialog () (Dialog)` переходит в полноэкранный режим когда [размер экрана](/layout/basics/) *равен или ниже* значения `sm`. Вы можете выбрать собственную точку остановки, например `xs`, передав аргумент `breakpoint`: `withMobileDialog({breakpoint: 'xs'})(Dialog)`.
+You may make a dialog responsively full screen the dialog using `withMobileDialog`. By default, `withMobileDialog()(Dialog)` responsively full screens *at or below* the `sm` [screen size](/layout/basics/). You can choose your own breakpoint for example `xs` by passing the `breakpoint` argument: `withMobileDialog({breakpoint: 'xs'})(Dialog)`.
{{"demo": "pages/demos/dialogs/ResponsiveDialog.js"}}
-## Диалоги подтверждения
+## Confirmation dialogs
-Диалоги подтверждения требуют, чтобы пользователи явно подтвердили свой выбор, прежде чем их выбор будет сохранен. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK”.
+Confirmation dialogs require users to explicitly confirm their choice before an option is committed. For example, users can listen to multiple ringtones but only make a final selection upon touching “OK.”
-Нажатие кнопки «Отмена» в диалоговом окне подтверждения или нажатие «Назад» отменяет действие, отменяет любые изменения и закрывает диалоговое окно.
+Touching “Cancel” in a confirmation dialog, or pressing Back, cancels the action, discards any changes, and closes the dialog.
{{"demo": "pages/demos/dialogs/ConfirmationDialog.js"}}
## Accessibility
-Не забудьте добавить `aria-labelledby="id..."`, ссылаясь на заголовок модального окна, в `Dialog`. Кроме того, вы можете создать описание вашего модального диалога с помощью свойства `aria-describedby="id..."` в `Dialog`.
+Be sure to add `aria-labelledby="id..."`, referencing the modal title, to the `Dialog`. Additionally, you may give a description of your modal dialog with the `aria-describedby="id..."` property on the `Dialog`.
-## Прокрутка длинного контента
+## Scrolling long content
-Когда диалоги становятся слишком длинными для окна просмотра или устройства пользователя, они их прокручивают.
+When dialogs become too long for the user’s viewport or device, they scroll.
-- `scroll = paper` содержимое диалогового окна прокручивается внутри элемента paper.
-- `scroll = body` содержимое диалога прокручивается внутри элемента body.
+- `scroll=paper` the content of the dialog scrolls within the paper element.
+- `scroll=body` the content of the dialog scrolls within the body element.
-Попробуйте демо ниже, чтобы увидеть, что мы имеем в виду:
+Try the demo below to see what we mean:
{{"demo": "pages/demos/dialogs/ScrollDialog.js"}}
-## Перетаскиваемый диалог
+## Draggable dialog
-Вы можете создать перетаскиваемый диалог, используя [react-draggable](https://github.com/mzabriskie/react-draggable). Для этого вы можете передать импортированный компонент `Draggable` как компонент `PaperComponent` компонента `Dialog`. Это сделает весь диалог перетаскиваемым.
+You can create a draggable dialog by using [react-draggable](https://github.com/mzabriskie/react-draggable). To do so, you can pass the the imported `Draggable` component as the `PaperComponent` of the `Dialog` component. This will make the entire dialog draggable.
{{"demo": "pages/demos/dialogs/DraggableDialog.js"}}
-## Производительность
+## Performance
-Перейдите в раздел [Modal performance section](/utils/modal/#performance).
\ No newline at end of file
+Follow the [Modal performance section](/utils/modal/#performance).
\ No newline at end of file
diff --git a/docs/src/pages/demos/dialogs/dialogs-zh.md b/docs/src/pages/demos/dialogs/dialogs-zh.md
index c681e2b63ad633..87ec2b929476bd 100644
--- a/docs/src/pages/demos/dialogs/dialogs-zh.md
+++ b/docs/src/pages/demos/dialogs/dialogs-zh.md
@@ -45,7 +45,7 @@ components: Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions
## 表单对话框
-表单对话框允许用户通过一个弹出的对话框,对表单进行填写。 For example, if your site prompts for potential subscribers to fill in their email address, they can fill out the email field and touch 'Submit'.
+表单对话框允许用户通过一个弹出的对话框,对表单进行填写。 在下面的例子中,你的网站提示那些潜在用户填写他们的电子邮箱,他们可以在点击之后填写email区域,并点击'提交'按钮以提交。
{{"demo": "pages/demos/dialogs/FormDialog.js"}}
@@ -75,7 +75,7 @@ components: Dialog, DialogTitle, DialogContent, DialogContentText, DialogActions
## 确认对话框
-确认对话框要求用户在提交选项之前显式确认他们的选择。 For example, users can listen to multiple ringtones but only make a final selection upon touching “OK”.
+确认对话框要求用户在提交选项之前显式确认他们的选择。 例如, 用户可以聆听多个铃声, 但只在触摸 "OK" 时进行最后的选择。
在确认对话框中触摸 "取消", 或按后退, 将会取消当前操作, 放弃任何更改, 并关闭对话框。
diff --git a/docs/src/pages/demos/dividers/dividers-de.md b/docs/src/pages/demos/dividers/dividers-de.md
index a8cc8e5cafaee0..2f5e62a96ed58f 100644
--- a/docs/src/pages/demos/dividers/dividers-de.md
+++ b/docs/src/pages/demos/dividers/dividers-de.md
@@ -20,7 +20,7 @@ We need to make sure the `Divider` is rendered as a `li` to match the HTML5 spec
## Inset Dividers
-Die `inset`-Eigenschaft ist von nun an veraltet. Sie sollten nun `variant="inset"` benutzen.
+The `inset` property has now been deprecated. You should now use `variant="inset"`
{{"demo": "pages/demos/dividers/InsetDividers.js"}}
diff --git a/docs/src/pages/demos/dividers/dividers-es.md b/docs/src/pages/demos/dividers/dividers-es.md
index 7f8b4cb9eb4cad..2f5e62a96ed58f 100644
--- a/docs/src/pages/demos/dividers/dividers-es.md
+++ b/docs/src/pages/demos/dividers/dividers-es.md
@@ -20,7 +20,7 @@ We need to make sure the `Divider` is rendered as a `li` to match the HTML5 spec
## Inset Dividers
-The `inset` property has now been deprecated. You should now use `variant="inset"`.
+The `inset` property has now been deprecated. You should now use `variant="inset"`
{{"demo": "pages/demos/dividers/InsetDividers.js"}}
diff --git a/docs/src/pages/demos/dividers/dividers-fr.md b/docs/src/pages/demos/dividers/dividers-fr.md
index 4170fcf105e324..7dfaf6a582e04c 100644
--- a/docs/src/pages/demos/dividers/dividers-fr.md
+++ b/docs/src/pages/demos/dividers/dividers-fr.md
@@ -20,7 +20,7 @@ Nous devons nous assurer que le `Divider` est rendu en tant que `li` pour corres
## Encart De Diviseurs
-The `inset` property has now been deprecated. You should now use `variant="inset"`.
+The `inset` property has now been deprecated. You should now use `variant="inset"`
{{"demo": "pages/demos/dividers/InsetDividers.js"}}
diff --git a/docs/src/pages/demos/dividers/dividers-ja.md b/docs/src/pages/demos/dividers/dividers-ja.md
index 7f8b4cb9eb4cad..2f5e62a96ed58f 100644
--- a/docs/src/pages/demos/dividers/dividers-ja.md
+++ b/docs/src/pages/demos/dividers/dividers-ja.md
@@ -20,7 +20,7 @@ We need to make sure the `Divider` is rendered as a `li` to match the HTML5 spec
## Inset Dividers
-The `inset` property has now been deprecated. You should now use `variant="inset"`.
+The `inset` property has now been deprecated. You should now use `variant="inset"`
{{"demo": "pages/demos/dividers/InsetDividers.js"}}
diff --git a/docs/src/pages/demos/dividers/dividers-pt.md b/docs/src/pages/demos/dividers/dividers-pt.md
index c264ac4652ae19..11dc6fe5b35e15 100644
--- a/docs/src/pages/demos/dividers/dividers-pt.md
+++ b/docs/src/pages/demos/dividers/dividers-pt.md
@@ -6,7 +6,7 @@ components: Divider
Um divisor é uma linha fina que agrupa conteúdo em listas e layouts.
-[Dividers (Divisores)](https://material.io/design/components/dividers.html) separam grupos de conteúdos.
+[Dividers](https://material.io/design/components/dividers.html) separate content into clear groups.
## Divisores de lista
@@ -20,7 +20,7 @@ We need to make sure the `Divider` is rendered as a `li` to match the HTML5 spec
## Divisores de inserção
-A propriedade `inset` está obsoleta e em desuso. Você deve usar agora `variant="inset"`.
+The `inset` property has now been deprecated. You should now use `variant="inset"`
{{"demo": "pages/demos/dividers/InsetDividers.js"}}
diff --git a/docs/src/pages/demos/dividers/dividers-ru.md b/docs/src/pages/demos/dividers/dividers-ru.md
index 101027c7dc6364..2f5e62a96ed58f 100644
--- a/docs/src/pages/demos/dividers/dividers-ru.md
+++ b/docs/src/pages/demos/dividers/dividers-ru.md
@@ -2,25 +2,25 @@
title: Divider React component
components: Divider
---
-# Разделитель
+# Dividers
-
Разделитель - это тонкая линия, которая группирует содержимое (контент) в списки и макеты (слои).
+
A divider is a thin line that groups content in lists and layouts.
-[Разелители](https://material.io/design/components/dividers.html) делят содержимое (контент) на явные (четкие) группы.
+[Dividers](https://material.io/design/components/dividers.html) separate content into clear groups.
-## Разделители списков
+## List Dividers
-По умолчанию разделитель отображается как `
`. Вместо этого Вы можете сформировать отображение этого DOM-элемента, используя свойство `divider` в компоненте `ListItem`.
+The divider renders as a `
` by default. You can save rendering this DOM element by using the `divider` property on the `ListItem` component.
{{"demo": "pages/demos/dividers/ListDividers.js"}}
-## Спецификации HTML5
+## HTML5 Specification
We need to make sure the `Divider` is rendered as a `li` to match the HTML5 specification. The examples below show two ways of achieving this.
## Inset Dividers
-Свойство `inset` является устаревшим. Сейчас вам следует использовать `variant="inset"`.
+The `inset` property has now been deprecated. You should now use `variant="inset"`
{{"demo": "pages/demos/dividers/InsetDividers.js"}}
diff --git a/docs/src/pages/demos/dividers/dividers-zh.md b/docs/src/pages/demos/dividers/dividers-zh.md
index e42a5ac5d9d361..26cdd625213844 100644
--- a/docs/src/pages/demos/dividers/dividers-zh.md
+++ b/docs/src/pages/demos/dividers/dividers-zh.md
@@ -20,7 +20,7 @@ components: Divider
## 内嵌分隔线
-现在已弃用 `inset` 属性。你现在应该使用 `variant="inset"`.
+现在已弃用 `inset` 属性。你现在应该使用 `variant="inset"`
{{"demo": "pages/demos/dividers/InsetDividers.js"}}
diff --git a/docs/src/pages/demos/drawers/drawers-ru.md b/docs/src/pages/demos/drawers/drawers-ru.md
index f67c2f543ce5c8..ecade9afc9a99e 100644
--- a/docs/src/pages/demos/drawers/drawers-ru.md
+++ b/docs/src/pages/demos/drawers/drawers-ru.md
@@ -4,9 +4,9 @@ components: Drawer, SwipeableDrawer
---
# Drawer
-
Навигационная панель предоставляет доступ к DESTINATIONS в вашем приложении. Такие панели предназначены для отображения вспомогательной информации, они располагаются, привязываясь к левому или правому краю экрана.
+
Navigation drawers provide access to destinations in your app. Side sheets are surfaces containing supplementary content that are anchored to the left or right edge of the screen.
-[Навигационные панели](https://material.io/design/components/navigation-drawer.html) позволяют реализовывать такую функциональность как, например, переключение между аккаунтами. Их можно быстро открыть, нажимая на иконку в меню.
+[Navigation drawers](https://material.io/design/components/navigation-drawer.html) provide access to destinations and app functionality, such as switching accounts. They can either be permanently on-screen or controlled by a navigation menu icon.
[Side sheets](https://material.io/design/components/sheets-side.html) are supplementary surfaces primarily used on tablet and desktop.
diff --git a/docs/src/pages/demos/drawers/drawers-zh.md b/docs/src/pages/demos/drawers/drawers-zh.md
index 21b8c1f1284561..232f3b7361431a 100644
--- a/docs/src/pages/demos/drawers/drawers-zh.md
+++ b/docs/src/pages/demos/drawers/drawers-zh.md
@@ -1,5 +1,5 @@
---
-title: React抽屉组件
+title: 抽屉React组件
components: Drawer, SwipeableDrawer
---
# 抽屉
diff --git a/docs/src/pages/demos/expansion-panels/expansion-panels-de.md b/docs/src/pages/demos/expansion-panels/expansion-panels-de.md
index 32316e0c4b657d..e540ebd32fb097 100644
--- a/docs/src/pages/demos/expansion-panels/expansion-panels-de.md
+++ b/docs/src/pages/demos/expansion-panels/expansion-panels-de.md
@@ -30,6 +30,6 @@ Multiple columns can be used to structure the content, and a helper text may be
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the background color of the `ExpansionPanelSummary` and padding of `ExpansionPanelDetails`.
-⚠️ Auch wenn die material design Spezifikation zur Verwendung von Themes ermutigt, liegen diese Beispiele außerhalb der üblichen Pfade.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/expansion-panels/CustomizedExpansionPanel.js"}}
\ No newline at end of file
diff --git a/docs/src/pages/demos/expansion-panels/expansion-panels-es.md b/docs/src/pages/demos/expansion-panels/expansion-panels-es.md
index 523be710632e8d..e540ebd32fb097 100644
--- a/docs/src/pages/demos/expansion-panels/expansion-panels-es.md
+++ b/docs/src/pages/demos/expansion-panels/expansion-panels-es.md
@@ -30,6 +30,6 @@ Multiple columns can be used to structure the content, and a helper text may be
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the background color of the `ExpansionPanelSummary` and padding of `ExpansionPanelDetails`.
-⚠️ A pesar de que la especificación de material design anima a usar temas, estos ejemplos no son comunes.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/expansion-panels/CustomizedExpansionPanel.js"}}
\ No newline at end of file
diff --git a/docs/src/pages/demos/expansion-panels/expansion-panels-ru.md b/docs/src/pages/demos/expansion-panels/expansion-panels-ru.md
index 3a9d229817c44e..e540ebd32fb097 100644
--- a/docs/src/pages/demos/expansion-panels/expansion-panels-ru.md
+++ b/docs/src/pages/demos/expansion-panels/expansion-panels-ru.md
@@ -1,10 +1,10 @@
---
-title: Панель расширения (Компонент React)
+title: Expansion Panel React component
components: ExpansionPanel, ExpansionPanelActions, ExpansionPanelDetails, ExpansionPanelSummary
---
-# Панель расширения
+# Expansion Panels
-
Панель расширения содержит потоки создания и позволяет легко редактировать элементы.
+
Expansion panels contain creation flows and allow lightweight editing of an element.
[An expansion panel](https://material.io/archive/guidelines/components/expansion-panels.html) is a lightweight container that may either stand alone or be connected to a larger surface, such as a card.
@@ -30,6 +30,6 @@ Multiple columns can be used to structure the content, and a helper text may be
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the background color of the `ExpansionPanelSummary` and padding of `ExpansionPanelDetails`.
-⚠️ Хотя спецификации материал дизайна поощряют использование тем, эти примеры не соответствуют требованиям.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/expansion-panels/CustomizedExpansionPanel.js"}}
\ No newline at end of file
diff --git a/docs/src/pages/demos/grid-list/grid-list-es.md b/docs/src/pages/demos/grid-list/grid-list-es.md
index c7ffa05e221c51..1bf03fd2e44d9d 100644
--- a/docs/src/pages/demos/grid-list/grid-list-es.md
+++ b/docs/src/pages/demos/grid-list/grid-list-es.md
@@ -1,33 +1,33 @@
---
-title: Componente React para Lista cuadriculada
+title: Grid List React component
components: GridList, GridListTile, GridListTileBar, ListSubheader, IconButton
---
-# Lista cuadriculada
+# Grid List
-
Las listas cuadriculadas muestran una colección de imágenes organizadas en una cuadrícula.
+
Grid lists display a collection of images in an organized grid.
-Las [Listas cuadriculadas](https://material.io/design/components/image-lists.html) representan una colección de ítems con un patrón repetitivo. Ayudan a mejorar la comprensión visual del contenido que tienen.
+[Grid lists](https://material.io/design/components/image-lists.html) represent a collection of items in a repeated pattern. They help improve the visual comprehension of the content they hold.
-## Lista cuadriculada sólo con imágenes
+## Image-only Grid list
-Un ejemplo simple de una lista cuadriculada (`GridList`) con imágenes desplazables.
+A simple example of a scrollable image `GridList`.
{{"demo": "pages/demos/grid-list/ImageGridList.js", "hideEditButton": true}}
-## Lista cuadriculada con barras de título
+## Grid list with titlebars
-Este ejemplo demuestra el uso de una barra para cuadro de lista cuadriculada (`GridListTileBar`) que agrega una capa sobrepuesta a cada cuadro en una lista cuadriculada (`GridListTile`). La capa sobrepuesta puede acomodar un título (`title`), subtítulo (`subtitle`), y acción secundaria (en este ejemplo un `IconButton`).
+This example demonstrates the use of the `GridListTileBar` to add an overlay to each `GridListTile`. The overlay can accommodate a `title`, `subtitle` and secondary action - in this example an `IconButton`.
{{"demo": "pages/demos/grid-list/TitlebarGridList.js", "hideEditButton": true}}
-## Lista cuadriculada con una línea
+## Single line Grid list
-Este ejemplo muestra una lista cuadrícula con una sola línea desplazable horizontalmente. Se desaconseja usar listas cuadriculadas con desplazamiento horizontal ya que estas interfieren con los patrones típicos de lectura, afectando la comprensión. Una excepción notable es una lista cuadriculada que desplaza imágenes horizontalmente en una sola línea, como una galería.
+This example demonstrates a horizontal scrollable single-line grid list of images. Horizontally scrolling grid lists are discouraged because the scrolling interferes with typical reading patterns, affecting comprehension. One notable exception is a horizontally-scrolling, single-line grid list of images, such as a gallery.
{{"demo": "pages/demos/grid-list/SingleLineGridList.js", "hideEditButton": true}}
-## Lista cuadriculada avanzada
+## Advanced Grid list
-Este ejemplo muestra cuadros "destacados" usando los props filas (`rows`) y columnas (`cols`) para ajustar el tamaño del cuadro, y la prop relleno (`padding`) para ajustar el espaciado. Los cuadros tienen una barra de título personalizada, ubicada en la parte superior y un fondo de titulo (`titleBackground`) con degradado personalizado. La acción secundaria `IconButton` está ubicada a la izquierda.
+This example demonstrates "featured" tiles, using the `rows` and `cols` props to adjust the size of the tile, and the `padding` prop to adjust the spacing. The tiles have a customized titlebar, positioned at the top and with a custom gradient `titleBackground`. The secondary action `IconButton` is positioned on the left.
{{"demo": "pages/demos/grid-list/AdvancedGridList.js", "hideEditButton": true}}
\ No newline at end of file
diff --git a/docs/src/pages/demos/lists/lists-es.md b/docs/src/pages/demos/lists/lists-es.md
index 5ee14087df734d..21d42bda7badaf 100644
--- a/docs/src/pages/demos/lists/lists-es.md
+++ b/docs/src/pages/demos/lists/lists-es.md
@@ -2,17 +2,17 @@
title: List React component
components: Collapse, Divider, List, ListItem, ListItemAvatar, ListItemIcon, ListItemSecondaryAction, ListItemText, ListSubheader
---
-# Listas
+# Lists
-
Las listas son índices continuos y verticales de texto o imágenes.
+
Lists are continuous, vertical indexes of text or images.
-Las [listas](https://material.io/design/components/lists.html) son un grupo continuo de texto o imágenes. Se componen de elementos que contienen acciones primarias y complementarias, que se representan mediante iconos y texto.
+[Lists](https://material.io/design/components/lists.html) are a continuous group of text or images. They are composed of items containing primary and supplemental actions, which are represented by icons and text.
-## Lista Simple
+## Simple List
{{"demo": "pages/demos/lists/SimpleList.js"}}
-El último elemento del demo anterior muestra cómo se puede representar un enlace:
+The last item of the previous demo shows how you can render a link:
```jsx
function ListItemLink(props) {
@@ -26,13 +26,13 @@ function ListItemLink(props) {
```
-Puedes encontrar una demostración [usando React Router siguiendo esta sección](/guides/composition/#react-router) de la documentación.
+You can find a [demo with React Router following this section](/guides/composition/#react-router) of the documentation.
-## Lista Anidada
+## Nested List
{{"demo": "pages/demos/lists/NestedList.js"}}
-## Lista de carpetas
+## Folder List
{{"demo": "pages/demos/lists/FolderList.js"}}
@@ -42,44 +42,44 @@ Below is an interactive demo that lets you explore the visual results of the dif
{{"demo": "pages/demos/lists/InteractiveList.js"}}
-## Elemento de la lista seleccionado
+## Selected ListItem
{{"demo": "pages/demos/lists/SelectedListItem.js"}}
-## Alineación de los elementos de la lista
+## Align list items
You should change the list item alignment when displaying 3 lines or more, set the `alignItems="flex-start"` property.
{{"demo": "pages/demos/lists/AlignItemsList.js"}}
-## Controles de lista
+## List Controls
-### Casilla de selección
+### Checkbox
-Un checkbox puede ser una acción primaria o una acción secundaria.
+A checkbox can either be a primary action or a secondary action.
-El checkbox es la acción principal y el indicador de estado para el elemento de la lista. El botón de comentario es una acción secundaria y un objetivo separado.
+The checkbox is the primary action and the state indicator for the list item. The comment button is a secondary action and a separate target.
{{"demo": "pages/demos/lists/CheckboxList.js"}}
-El checkbox es la acción secundaria para el elemento de la lista y un objetivo separado.
+The checkbox is the secondary action for the list item and a separate target.
{{"demo": "pages/demos/lists/CheckboxListSecondary.js"}}
### Switch
-El switch es la acción secundaria y un objetivo separado.
+The switch is the secondary action and a separate target.
{{"demo": "pages/demos/lists/SwitchListSecondary.js"}}
-## Lista de subencabezados fijados
+## Pinned Subheader List
-Al desplazarse, los subencabezados permanecen anclados en la parte superior de la pantalla hasta que el siguiente subencabezado los saque de la pantalla.
+Upon scrolling, subheaders remain pinned to the top of the screen until pushed off screen by the next subheader.
-Esta característica se basa en el posicionamiento adhesivo CSS. Desafortunadamente, [no está implementado](https://caniuse.com/#search=sticky) por todos los navegadores que soportamos. La propiedad `disableSticky` se aplicará por defecto cuando no sea soportado por el navegador.
+This feature is relying on the CSS sticky positioning. Unfortunately it's [not implemented](https://caniuse.com/#search=sticky) by all the browsers we are supporting. We default to `disableSticky` when not supported.
{{"demo": "pages/demos/lists/PinnedSubheaderList.js"}}
-## Lista con margen
+## Inset List
{{"demo": "pages/demos/lists/InsetList.js"}}
\ No newline at end of file
diff --git a/docs/src/pages/demos/lists/lists-fr.md b/docs/src/pages/demos/lists/lists-fr.md
index 9e3764b413e98d..191ef023c295a7 100644
--- a/docs/src/pages/demos/lists/lists-fr.md
+++ b/docs/src/pages/demos/lists/lists-fr.md
@@ -38,7 +38,7 @@ You can find a [demo with React Router following this section](/guides/compositi
## Interactif
-Vous trouverez ci-dessous une démo interactive vous permettant d'explorer les résultats visuels des différents paramètres:
+Below is an interactive demo that lets you explore the visual results of the different settings:
{{"demo": "pages/demos/lists/InteractiveList.js"}}
diff --git a/docs/src/pages/demos/lists/lists-ru.md b/docs/src/pages/demos/lists/lists-ru.md
index 98fedaec601132..21d42bda7badaf 100644
--- a/docs/src/pages/demos/lists/lists-ru.md
+++ b/docs/src/pages/demos/lists/lists-ru.md
@@ -2,17 +2,17 @@
title: List React component
components: Collapse, Divider, List, ListItem, ListItemAvatar, ListItemIcon, ListItemSecondaryAction, ListItemText, ListSubheader
---
-# Списки
+# Lists
-
Списки представляют собой непрерывные вертикальные массивы данных из текста или изображений.
+
Lists are continuous, vertical indexes of text or images.
-[Списки](https://material.io/design/components/lists.html) представляют собой непрерывную группу из текста или изображений. Они состоят из элементов, содержащих основные и дополнительные действия, которые представлены значками и текстом.
+[Lists](https://material.io/design/components/lists.html) are a continuous group of text or images. They are composed of items containing primary and supplemental actions, which are represented by icons and text.
-## Простой список
+## Simple List
{{"demo": "pages/demos/lists/SimpleList.js"}}
-Последний элемент предыдущего примера показывает, как вы можете отрисовать ссылку:
+The last item of the previous demo shows how you can render a link:
```jsx
function ListItemLink(props) {
@@ -26,60 +26,60 @@ function ListItemLink(props) {
```
-Вы можете [посмотреть демо с React Router](/guides/composition/#react-router).
+You can find a [demo with React Router following this section](/guides/composition/#react-router) of the documentation.
-## Вложенный список
+## Nested List
{{"demo": "pages/demos/lists/NestedList.js"}}
-## Список папок
+## Folder List
{{"demo": "pages/demos/lists/FolderList.js"}}
-## Интерактивность
+## Interactive
-Ниже приведена интерактивная демонстрация, которая позволяет вам увидеть результаты различных настроек:
+Below is an interactive demo that lets you explore the visual results of the different settings:
{{"demo": "pages/demos/lists/InteractiveList.js"}}
-## Выбранный ListItem
+## Selected ListItem
{{"demo": "pages/demos/lists/SelectedListItem.js"}}
-## Выравнивание элементов списка
+## Align list items
-Вы должны изменить выравнивание элементов списка при отображении 3 или более элементов. Для этого установите свойство `alignItems = "flex-start"`
+You should change the list item alignment when displaying 3 lines or more, set the `alignItems="flex-start"` property.
{{"demo": "pages/demos/lists/AlignItemsList.js"}}
-## Элементы управления списком
+## List Controls
### Checkbox
-Checkbox может быть основным или второстепенным действием.
+A checkbox can either be a primary action or a secondary action.
-В этом примере checkbox является основным действием и индикатором состояния для элемента списка. Кнопка комментария является второстепенным действием.
+The checkbox is the primary action and the state indicator for the list item. The comment button is a secondary action and a separate target.
{{"demo": "pages/demos/lists/CheckboxList.js"}}
-Тут checkbox является второстепенным действием для элемента списка.
+The checkbox is the secondary action for the list item and a separate target.
{{"demo": "pages/demos/lists/CheckboxListSecondary.js"}}
-### Switch (переключатель)
+### Switch
-Switch является второстепенным действием.
+The switch is the secondary action and a separate target.
{{"demo": "pages/demos/lists/SwitchListSecondary.js"}}
-## Закрепленный подзаголовок
+## Pinned Subheader List
-При прокрутке подзаголовки остаются закрепленными в верхней части экрана, пока следующий подзаголовок не оттеснит предыдущий.
+Upon scrolling, subheaders remain pinned to the top of the screen until pushed off screen by the next subheader.
-Эта функция опирается на фиксированное позиционирование CSS. К сожалению эта функциональность, [не реализована](https://caniuse.com/#search=sticky) всеми браузерами, которые мы поддерживаем. Мы по умолчанию выключаем закрепление - `disableSticky` когда оно не поддерживается.
+This feature is relying on the CSS sticky positioning. Unfortunately it's [not implemented](https://caniuse.com/#search=sticky) by all the browsers we are supporting. We default to `disableSticky` when not supported.
{{"demo": "pages/demos/lists/PinnedSubheaderList.js"}}
-## Вставленный список
+## Inset List
{{"demo": "pages/demos/lists/InsetList.js"}}
\ No newline at end of file
diff --git a/docs/src/pages/demos/menus/menus-de.md b/docs/src/pages/demos/menus/menus-de.md
index efcab8d6bbad25..5479184bbc5898 100644
--- a/docs/src/pages/demos/menus/menus-de.md
+++ b/docs/src/pages/demos/menus/menus-de.md
@@ -56,7 +56,7 @@ It is a [render props](https://reactjs.org/docs/render-props.html) demo that kee
## Limitations
-There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipsis` from working in a flexbox layout. You can use the `Typography` component with `noWrap` to workaround this issue:
+There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipse` from working in a flexbox layout. You can use the `Typography` component to workaround this issue:
{{"demo": "pages/demos/menus/TypographyMenu.js"}}
@@ -74,4 +74,4 @@ For more advanced use cases you might be able to take advantage of:
There is a 3rd party package [`material-ui-popup-state`](https://github.com/jcoreio/material-ui-popup-state) that takes care of menu state for you in most cases.
-{{"demo": "pages/demos/menus/MenuPopupState.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/menus/MenuPopupState.js"}}
diff --git a/docs/src/pages/demos/menus/menus-es.md b/docs/src/pages/demos/menus/menus-es.md
index 7d3f99ebd4c3d5..5479184bbc5898 100644
--- a/docs/src/pages/demos/menus/menus-es.md
+++ b/docs/src/pages/demos/menus/menus-es.md
@@ -36,7 +36,7 @@ The primary responsibility of the `MenuList` component is to handle the focus.
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the `MenuItem`.
-⚠️ A pesar de que la especificación de material design anima a usar temas, este ejemplo no es común.
+⚠️ While the material design specification encourages theming, this example is off the beaten path.
{{"demo": "pages/demos/menus/ListItemComposition.js"}}
@@ -56,7 +56,7 @@ It is a [render props](https://reactjs.org/docs/render-props.html) demo that kee
## Limitations
-There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipsis` from working in a flexbox layout. You can use the `Typography` component with `noWrap` to workaround this issue:
+There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipse` from working in a flexbox layout. You can use the `Typography` component to workaround this issue:
{{"demo": "pages/demos/menus/TypographyMenu.js"}}
@@ -66,7 +66,7 @@ Use a different transition.
{{"demo": "pages/demos/menus/FadeMenu.js"}}
-## Proyectos relacionados
+## Complementary projects
For more advanced use cases you might be able to take advantage of:
@@ -74,4 +74,4 @@ For more advanced use cases you might be able to take advantage of:
There is a 3rd party package [`material-ui-popup-state`](https://github.com/jcoreio/material-ui-popup-state) that takes care of menu state for you in most cases.
-{{"demo": "pages/demos/menus/MenuPopupState.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/menus/MenuPopupState.js"}}
diff --git a/docs/src/pages/demos/menus/menus-fr.md b/docs/src/pages/demos/menus/menus-fr.md
index 74e07d67f81c8a..c17e9ded421594 100644
--- a/docs/src/pages/demos/menus/menus-fr.md
+++ b/docs/src/pages/demos/menus/menus-fr.md
@@ -6,21 +6,21 @@ components: Menu, MenuItem, MenuList, ClickAwayListener, Popover, Popper
Les menus affichent une liste de choix sur des surfaces temporaires.
-Un [Menu](https://material.io/design/components/menus.html) affiche une liste de choix sur une surface temporaire. Ils apparaissent lorsque les utilisateurs interagissent avec un bouton, une action ou un autre contrôle.
+A [Menu](https://material.io/design/components/menus.html) displays a list of choices on a temporary surface. They appear when users interact with a button, action, or other control.
## Menu simple
-Les menus simples s'ouvrent par défaut sur l'élément d'ancrage (cette option peut être modifiée via les propriétés). When close to a screen edge, simple menus vertically realign to make sure that all menu items are completely visible.
+Simple menus open over the anchor element by default (this option can be changed via props). When close to a screen edge, simple menus vertically realign to make sure that all menu items are completely visible.
-Le choix d'une option doit idéalement être validé immédiatement et fermer le menu.
+Choosing an option should immediately ideally commit the option and close the menu.
-**Désambiguïsation**: Contrairement aux menus simples, les boîtes de dialogue simples peuvent présenter des détails supplémentaires relatifs aux options disponibles pour un élément de la liste ou proposer des actions de navigation ou orthogonales liées à la tâche principale. Bien qu'ils puissent afficher le même contenu, les menus simples sont préférables aux simples dialogues, car les menus simples perturbent moins le contexte actuel de l'utilisateur.
+**Disambiguation**: In contrast to simple menus, simple dialogs can present additional detail related to the options available for a list item or provide navigational or orthogonal actions related to the primary task. Although they can display the same content, simple menus are preferred over simple dialogs because simple menus are less disruptive to the user’s current context.
{{"demo": "pages/demos/menus/SimpleMenu.js"}}
## Menus sélectionnés
-S'ils sont utilisés pour la sélection d'éléments, les menus simples, une fois ouverts, tentent d'aligner verticalement l'élément de menu sélectionné avec l'élément d'ancrage. L'élément de menu actuellement sélectionné est défini à l'aide de la propriété `selected` (à partir de [ListItem](/api/list-item/)).
+If used for item selection, when opened, simple menus attempt to vertically align the currently selected menu item with the anchor element. The currently selected menu item is set using the `selected` property (from [ListItem](/api/list-item/)).
{{"demo": "pages/demos/menus/SimpleListMenu.js"}}
@@ -32,17 +32,17 @@ The primary responsibility of the `MenuList` component is to handle the focus.
{{"demo": "pages/demos/menus/MenuListComposition.js"}}
-## MenuItem personnalisé
+## Customized MenuItem
-Si vous avez lu la page de documentation [sur les personnalisations](/customization/overrides/) mais que vous n'êtes pas prêt à vous lancer, voici un exemple de la façon dont vous pouvez personnaliser le `MenuItem`.
+If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the `MenuItem`.
⚠️ Bien que la spécification material encouragent la thématisation, cet exemple sort des sentiers battus.
{{"demo": "pages/demos/menus/ListItemComposition.js"}}
-Le `MenuItem` est un wrapper autour de `ListItem` avec quelques styles supplémentaires. Vous pouvez utiliser les mêmes fonctionnalités de composition de liste avec le composant `MenuItem`:
+The `MenuItem` is a wrapper around `ListItem` with some additional styles. You can use the same list composition features with the `MenuItem` component:
-## Hauteur maximale des menus
+## Max height menus
If the height of a menu prevents all menu items from being displayed, the menu can scroll internally.
@@ -56,22 +56,22 @@ It is a [render props](https://reactjs.org/docs/render-props.html) demo that kee
## Limites
-There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipsis` from working in a flexbox layout. You can use the `Typography` component with `noWrap` to workaround this issue:
+There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipse` from working in a flexbox layout. You can use the `Typography` component to workaround this issue:
{{"demo": "pages/demos/menus/TypographyMenu.js"}}
## Changer la transition
-Utilisez une transition différente.
+Use a different transition.
{{"demo": "pages/demos/menus/FadeMenu.js"}}
## Projets complémentaires
-Pour un usage plus avancé cas, vous pourriez être en mesure de prendre avantage de:
+For more advanced use cases you might be able to take advantage of:
-### Assistant PopupState
+### PopupState helper
-Il existe un package tiers [`material-ui-popup-state`](https://github.com/jcoreio/material-ui-popup-state) qui gère l’état du menu pour vous dans la plupart des cas.
+There is a 3rd party package [`material-ui-popup-state`](https://github.com/jcoreio/material-ui-popup-state) that takes care of menu state for you in most cases.
-{{"demo": "pages/demos/menus/MenuPopupState.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/menus/MenuPopupState.js"}}
diff --git a/docs/src/pages/demos/menus/menus-ja.md b/docs/src/pages/demos/menus/menus-ja.md
index efcab8d6bbad25..5479184bbc5898 100644
--- a/docs/src/pages/demos/menus/menus-ja.md
+++ b/docs/src/pages/demos/menus/menus-ja.md
@@ -56,7 +56,7 @@ It is a [render props](https://reactjs.org/docs/render-props.html) demo that kee
## Limitations
-There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipsis` from working in a flexbox layout. You can use the `Typography` component with `noWrap` to workaround this issue:
+There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipse` from working in a flexbox layout. You can use the `Typography` component to workaround this issue:
{{"demo": "pages/demos/menus/TypographyMenu.js"}}
@@ -74,4 +74,4 @@ For more advanced use cases you might be able to take advantage of:
There is a 3rd party package [`material-ui-popup-state`](https://github.com/jcoreio/material-ui-popup-state) that takes care of menu state for you in most cases.
-{{"demo": "pages/demos/menus/MenuPopupState.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/menus/MenuPopupState.js"}}
diff --git a/docs/src/pages/demos/menus/menus-pt.md b/docs/src/pages/demos/menus/menus-pt.md
index 5d7cf8af223515..c3d97570f8c48d 100644
--- a/docs/src/pages/demos/menus/menus-pt.md
+++ b/docs/src/pages/demos/menus/menus-pt.md
@@ -56,7 +56,7 @@ It is a [render props](https://reactjs.org/docs/render-props.html) demo that kee
## Limitations
-There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipsis` from working in a flexbox layout. You can use the `Typography` component with `noWrap` to workaround this issue:
+There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipse` from working in a flexbox layout. You can use the `Typography` component to workaround this issue:
{{"demo": "pages/demos/menus/TypographyMenu.js"}}
@@ -74,4 +74,4 @@ For more advanced use cases you might be able to take advantage of:
There is a 3rd party package [`material-ui-popup-state`](https://github.com/jcoreio/material-ui-popup-state) that takes care of menu state for you in most cases.
-{{"demo": "pages/demos/menus/MenuPopupState.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/menus/MenuPopupState.js"}}
diff --git a/docs/src/pages/demos/menus/menus-ru.md b/docs/src/pages/demos/menus/menus-ru.md
index 34b616a456c944..5479184bbc5898 100644
--- a/docs/src/pages/demos/menus/menus-ru.md
+++ b/docs/src/pages/demos/menus/menus-ru.md
@@ -2,13 +2,13 @@
title: Menu React component
components: Menu, MenuItem, MenuList, ClickAwayListener, Popover, Popper
---
-# Меню
+# Menus
Menus display a list of choices on temporary surfaces.
A [Menu](https://material.io/design/components/menus.html) displays a list of choices on a temporary surface. They appear when users interact with a button, action, or other control.
-## Простое меню
+## Simple Menu
Simple menus open over the anchor element by default (this option can be changed via props). When close to a screen edge, simple menus vertically realign to make sure that all menu items are completely visible.
@@ -36,7 +36,7 @@ The primary responsibility of the `MenuList` component is to handle the focus.
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the `MenuItem`.
-⚠️ Хотя спецификации материал дизайна поощряют использование тем, эти примеры не соответствуют требованиям.
+⚠️ While the material design specification encourages theming, this example is off the beaten path.
{{"demo": "pages/demos/menus/ListItemComposition.js"}}
@@ -54,9 +54,9 @@ It is a [render props](https://reactjs.org/docs/render-props.html) demo that kee
{{"demo": "pages/demos/menus/RenderPropsMenu.js"}}
-## Ограничения
+## Limitations
-There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipsis` from working in a flexbox layout. You can use the `Typography` component with `noWrap` to workaround this issue:
+There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipse` from working in a flexbox layout. You can use the `Typography` component to workaround this issue:
{{"demo": "pages/demos/menus/TypographyMenu.js"}}
@@ -66,7 +66,7 @@ Use a different transition.
{{"demo": "pages/demos/menus/FadeMenu.js"}}
-## Дополнительные проекты
+## Complementary projects
For more advanced use cases you might be able to take advantage of:
@@ -74,4 +74,4 @@ For more advanced use cases you might be able to take advantage of:
There is a 3rd party package [`material-ui-popup-state`](https://github.com/jcoreio/material-ui-popup-state) that takes care of menu state for you in most cases.
-{{"demo": "pages/demos/menus/MenuPopupState.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/menus/MenuPopupState.js"}}
diff --git a/docs/src/pages/demos/menus/menus-zh.md b/docs/src/pages/demos/menus/menus-zh.md
index a08750ec123b31..b74ca15e6d3deb 100644
--- a/docs/src/pages/demos/menus/menus-zh.md
+++ b/docs/src/pages/demos/menus/menus-zh.md
@@ -56,7 +56,7 @@ components: Menu, MenuItem, MenuList, ClickAwayListener, Popover, Popper
## 局限性
-There is [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437) that prevents `text-overflow: ellipsis` from working in a flexbox layout. You can use the `Typography` component with `noWrap` to workaround this issue:
+这里有 [a flexbox bug](https://bugs.chromium.org/p/chromium/issues/detail?id=327437),这个bug会让`text-overflow: ellipse`在 flexbox 布局中失去效果 你可以使用`Typography`组件做替代方案绕过这个问题:
{{"demo": "pages/demos/menus/TypographyMenu.js"}}
diff --git a/docs/src/pages/demos/paper/paper-zh.md b/docs/src/pages/demos/paper/paper-zh.md
index 2e5f59a37bf9d9..757a8437d195ab 100644
--- a/docs/src/pages/demos/paper/paper-zh.md
+++ b/docs/src/pages/demos/paper/paper-zh.md
@@ -4,7 +4,7 @@ components: Paper
---
# Paper
-
在“材料设计”中,纸张的物理属性在屏幕上被体现出来。
+
在“材质设计”中,纸张的物理属性将转换为屏幕。
应用程序的中元素的背景像纸张一样平坦、不透明,其行为也像纸张一样,能够改变大小、与其他纸张绑定或者调换顺序。
diff --git a/docs/src/pages/demos/pickers/pickers-es.md b/docs/src/pages/demos/pickers/pickers-es.md
index 9d12b7484e40d6..4ee7c9aa7619fe 100644
--- a/docs/src/pages/demos/pickers/pickers-es.md
+++ b/docs/src/pages/demos/pickers/pickers-es.md
@@ -4,7 +4,7 @@ components: TextField
---
# Pickers
-
Pickers proporcionan una manera sencilla de elegir un valor de un conjunto predeterminado.
+
Pickers provide a simple way to select a single value from a pre-determined set.
- On mobile, pickers are best suited for display in confirmation dialog.
- For inline display, such as on a form, consider using compact controls such as segmented dropdown buttons.
@@ -33,7 +33,7 @@ A native time picker example with `type="time"`.
{{"demo": "pages/demos/pickers/TimePickers.js"}}
-## Proyectos relacionados
+## Complementary projects
For more advanced use cases you might be able to take advantage of.
diff --git a/docs/src/pages/demos/pickers/pickers-fr.md b/docs/src/pages/demos/pickers/pickers-fr.md
index 2098d8c04d5aca..8157bcc19637cb 100644
--- a/docs/src/pages/demos/pickers/pickers-fr.md
+++ b/docs/src/pages/demos/pickers/pickers-fr.md
@@ -7,7 +7,7 @@ components: TextField
Les sélecteurs constituent un moyen simple de sélectionner une valeur unique dans un ensemble prédéterminé.
- Sur mobile, les sélecteurs conviennent mieux à l’affichage dans la boîte de dialogue de confirmation.
-- Pour un affichage en ligne, par exemple sur un formulaire, envisagez d'utiliser des contrôles compacts tels que des boutons déroulants segmentés.
+- For inline display, such as on a form, consider using compact controls such as segmented dropdown buttons.
#### Avis
diff --git a/docs/src/pages/demos/pickers/pickers-pt.md b/docs/src/pages/demos/pickers/pickers-pt.md
index 02a75063d3b3a3..c5687c20d83fad 100644
--- a/docs/src/pages/demos/pickers/pickers-pt.md
+++ b/docs/src/pages/demos/pickers/pickers-pt.md
@@ -39,7 +39,7 @@ For more advanced use cases you might be able to take advantage of.
### material-ui-pickers
-![estrelas](https://img.shields.io/github/stars/dmtrKovalenko/material-ui-pickers.svg?style=social&label=Stars) ![npm downloads](https://img.shields.io/npm/dm/material-ui-pickers.svg)
+![stars](https://img.shields.io/github/stars/dmtrKovalenko/material-ui-pickers.svg?style=social&label=Stars) ![npm downloads](https://img.shields.io/npm/dm/material-ui-pickers.svg)
[material-ui-pickers](https://material-ui-pickers.firebaseapp.com/) provides date and time controls that follow the Material Design spec.
diff --git a/docs/src/pages/demos/pickers/pickers-ru.md b/docs/src/pages/demos/pickers/pickers-ru.md
index fb6f7eaeb3c992..281eca9dafb5ac 100644
--- a/docs/src/pages/demos/pickers/pickers-ru.md
+++ b/docs/src/pages/demos/pickers/pickers-ru.md
@@ -1,51 +1,51 @@
---
-title: Date Picker, Time Picker React компоненты
+title: Date Picker, Time Picker React components
components: TextField
---
-# Поля выбора
+# Пикеры
-
Поля выбора предоставляют возможность выбрать единственное значение из заранее заданного множества.
+
Пикеры предоставляют возможность выбрать единственное значение из заранее заданного множества.
- На мобильном устройстве лучше всего отображать в модальном окне.
- Для инлайн-отображения, например в формах стоит рассмотреть возможность использования более компактных элементов управления, таких как сегментированные выпадающие кнопки.
-#### Примечание
+#### Внимание
Мы поддерживаем только **нативные типы полей ввода**.
-⚠️ Поддержка нативных типов полей ввода [не идеальна](https://caniuse.com/#feat=input-datetime). Рассмотрите [дополнительные проекты](#complementary-projects) для более сложных решений.
+⚠️ Native input controls support by browsers [isn't perfect](https://caniuse.com/#feat=input-datetime). Have a look at the [complementary projects](#complementary-projects) for richer solutions.
-## Поля выбора даты
+## Date pickers
-Пример нативного поля выбора даты с помощью `type="date"`, можно использовать как календарь.
+A native date picker example with `type="date"`, it can be used as a calendar too.
{{"demo": "pages/demos/pickers/DatePickers.js"}}
-## Поля выбора даты & времени
+## Date & Time pickers
-Нативное поля выбора даты и времени с помощью `type="datetime-local"`.
+A native date & time picker example with `type="datetime-local"`.
{{"demo": "pages/demos/pickers/DateAndTimePickers.js"}}
-## Поля выбора времени
+## Time pickers
-Нативное поле выбора времени с помощью `type="time"`.
+A native time picker example with `type="time"`.
{{"demo": "pages/demos/pickers/TimePickers.js"}}
-## Дополнительные проекты
+## Complementary projects
-Для более сложных вариантов использования вы можете воспользоваться.
+For more advanced use cases you might be able to take advantage of.
### material-ui-pickers
![stars](https://img.shields.io/github/stars/dmtrKovalenko/material-ui-pickers.svg?style=social&label=Stars) ![npm downloads](https://img.shields.io/npm/dm/material-ui-pickers.svg)
-[material-ui-pickers](https://material-ui-pickers.firebaseapp.com/) предоставляет поля ввода даты и времени, в соответствии c Material Design спецификацией.
+[material-ui-pickers](https://material-ui-pickers.firebaseapp.com/) provides date and time controls that follow the Material Design spec.
{{"demo": "pages/demos/pickers/MaterialUIPickers.js"}}
-### Прочее
+### Other
-- [material-ui-time-picker](https://github.com/TeamWertarbyte/material-ui-time-picker): поле выбора времени.
-- [material-ui-next-pickers](https://github.com/chingyawhao/material-ui-next-pickers): поле выбора даты и времени.
\ No newline at end of file
+- [material-ui-time-picker](https://github.com/TeamWertarbyte/material-ui-time-picker): time pickers.
+- [material-ui-next-pickers](https://github.com/chingyawhao/material-ui-next-pickers): date pickers and time pickers.
\ No newline at end of file
diff --git a/docs/src/pages/demos/pickers/pickers-zh.md b/docs/src/pages/demos/pickers/pickers-zh.md
index cab01c61260f72..cf75ac29db4551 100644
--- a/docs/src/pages/demos/pickers/pickers-zh.md
+++ b/docs/src/pages/demos/pickers/pickers-zh.md
@@ -1,5 +1,5 @@
---
-title: 日期选择器,时间选择器反应组件
+title: Date Picker, Time Picker React components
components: TextField
---
# 选择器
@@ -13,7 +13,7 @@ components: TextField
我们回归到 **原生输入控件**。
-⚠️ 浏览器原生输入控件[并不完美](https://caniuse.com/#feat=input-datetime)。 看看 [补充项目](#complementary-projects) 以获得更丰富的解决方案。
+⚠️ 浏览器原生输入控件[并不完美](https://caniuse.com/#feat=input-datetime)。 Have a look at the [complementary projects](#complementary-projects) for richer solutions.
## 日期选择器
diff --git a/docs/src/pages/demos/progress/progress-de.md b/docs/src/pages/demos/progress/progress-de.md
index 3324bc4f735e1d..8a717471c6d75b 100644
--- a/docs/src/pages/demos/progress/progress-de.md
+++ b/docs/src/pages/demos/progress/progress-de.md
@@ -84,7 +84,7 @@ function Progress(props) {
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the components. The last demo demonstrates how you can build a Facebook like spinner.
-⚠️ Auch wenn die material design Spezifikation zur Verwendung von Themes ermutigt, liegen diese Beispiele außerhalb der üblichen Pfade.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/progress/CustomizedProgress.js"}}
diff --git a/docs/src/pages/demos/progress/progress-es.md b/docs/src/pages/demos/progress/progress-es.md
index 0109e2aef68a0a..8a717471c6d75b 100644
--- a/docs/src/pages/demos/progress/progress-es.md
+++ b/docs/src/pages/demos/progress/progress-es.md
@@ -84,7 +84,7 @@ function Progress(props) {
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the components. The last demo demonstrates how you can build a Facebook like spinner.
-⚠️ A pesar de que la especificación de material design anima a usar temas, estos ejemplos no son comunes.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/progress/CustomizedProgress.js"}}
diff --git a/docs/src/pages/demos/progress/progress-fr.md b/docs/src/pages/demos/progress/progress-fr.md
index b2d813b0aaec92..26a211ae7bbdfc 100644
--- a/docs/src/pages/demos/progress/progress-fr.md
+++ b/docs/src/pages/demos/progress/progress-fr.md
@@ -4,7 +4,7 @@ components: CircularProgress, LinearProgress
---
# Progress
-
Les indicateurs de progression expriment un temps d'attente non spécifié ou affichent la durée d'un processus.
+
Progress indicators express an unspecified wait time or display the length of a process.
[Progress indicators](https://material.io/design/components/progress-indicators.html) inform users about the status of ongoing processes, such as loading an app, submitting a form, or saving updates. They communicate an app’s state and indicate available actions, such as whether users can navigate away from the current screen.
@@ -84,13 +84,13 @@ function Progress(props) {
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the components. The last demo demonstrates how you can build a Facebook like spinner.
-⚠️ Bien que les spécifications Material Design encouragent la thématisation, ces exemples sortent des sentiers battus.
+⚠️ Bien que les spécifications de conception des matériaux encouragent la thématisation, ces exemples sortent des sentiers battus.
{{"demo": "pages/demos/progress/CustomizedProgress.js"}}
-## Retarder l'apparition
+## Delaying appearance
-Il y a [3 limites importantes](https://www.nngroup.com/articles/response-times-3-important-limits/) à connaître sur les temps de réponse. The ripple effect of the `ButtonBase` component ensures that the user feels that the system is reacting instantaneously. Normally, no special feedback is necessary during delays of more than 0.1 but less than 1.0 second. After 1.0 second, you can display a loader to keep user's flow of thought uninterrupted.
+There are [3 important limits](https://www.nngroup.com/articles/response-times-3-important-limits/) to know around response time. The ripple effect of the `ButtonBase` component ensures that the user feels that the system is reacting instantaneously. Normally, no special feedback is necessary during delays of more than 0.1 but less than 1.0 second. After 1.0 second, you can display a loader to keep user's flow of thought uninterrupted.
{{"demo": "pages/demos/progress/DelayingAppearance.js"}}
@@ -100,6 +100,6 @@ Under heavy load, you might lose the stroke dash animation or see random Circula
![heavy load](/static/images/progress/heavy-load.gif)
-Lorsque ce n'est pas possible, vous pouvez utiliser la propriété `disableShrink` pour atténuer le problème. Voir https://github.com/mui-org/material-ui/issues/10327
+When it's not possible, you can leverage the `disableShrink` property to mitigate the issue. See https://github.com/mui-org/material-ui/issues/10327
{{"demo": "pages/demos/progress/CircularUnderLoad.js"}}
\ No newline at end of file
diff --git a/docs/src/pages/demos/progress/progress-ru.md b/docs/src/pages/demos/progress/progress-ru.md
index da8515f1054c9f..8a717471c6d75b 100644
--- a/docs/src/pages/demos/progress/progress-ru.md
+++ b/docs/src/pages/demos/progress/progress-ru.md
@@ -84,7 +84,7 @@ function Progress(props) {
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here is one example of how you can customize the components. The last demo demonstrates how you can build a Facebook like spinner.
-⚠️ Хотя спецификации материал дизайна поощряют использование тем, эти примеры не соответствуют требованиям.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/progress/CustomizedProgress.js"}}
@@ -94,7 +94,7 @@ There are [3 important limits](https://www.nngroup.com/articles/response-times-3
{{"demo": "pages/demos/progress/DelayingAppearance.js"}}
-## Ограничения
+## Limitations
Under heavy load, you might lose the stroke dash animation or see random CircularProgress ring widths. You should run processor intensive operations in a web worker or by batch in order not to block the main rendering thread.
diff --git a/docs/src/pages/demos/selection-controls/selection-controls-de.md b/docs/src/pages/demos/selection-controls/selection-controls-de.md
index 24c7e3f8989bb7..24fe4d651b7fb0 100644
--- a/docs/src/pages/demos/selection-controls/selection-controls-de.md
+++ b/docs/src/pages/demos/selection-controls/selection-controls-de.md
@@ -72,7 +72,7 @@ The option that the switch controls, as well as the state it’s in, should be m
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here's an example of how you can change the color of a Switch, and an iOS style Switch.
-⚠️ Auch wenn die material design Spezifikation zur Verwendung von Themes ermutigt, liegen diese Beispiele außerhalb der üblichen Pfade.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/selection-controls/CustomizedSwitches.js"}}
diff --git a/docs/src/pages/demos/selection-controls/selection-controls-es.md b/docs/src/pages/demos/selection-controls/selection-controls-es.md
index f8af5c4391883c..24fe4d651b7fb0 100644
--- a/docs/src/pages/demos/selection-controls/selection-controls-es.md
+++ b/docs/src/pages/demos/selection-controls/selection-controls-es.md
@@ -72,7 +72,7 @@ The option that the switch controls, as well as the state it’s in, should be m
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here's an example of how you can change the color of a Switch, and an iOS style Switch.
-⚠️ A pesar de que la especificación de material design anima a usar temas, estos ejemplos no son comunes.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/selection-controls/CustomizedSwitches.js"}}
diff --git a/docs/src/pages/demos/selection-controls/selection-controls-fr.md b/docs/src/pages/demos/selection-controls/selection-controls-fr.md
index 31019cfc7e8c20..cbb096d1d30626 100644
--- a/docs/src/pages/demos/selection-controls/selection-controls-fr.md
+++ b/docs/src/pages/demos/selection-controls/selection-controls-fr.md
@@ -2,9 +2,9 @@
title: Checkbox, Radio, Switch React component
components: FormControl, FormGroup, FormLabel, FormControlLabel, RadioGroup, Checkbox, Radio, Switch
---
-# Contrôles de sélection
+# Selection Controls
-
Les contrôles de sélection permettent à l'utilisateur de sélectionner des options.
+
Selection controls allow the user to select options.
[Selection controls](https://material.io/design/components/selection-controls.html) allow users to complete tasks that involve making choices such as selecting options, or switching settings on or off. Selection controls are found on screens that ask users to make decisions or declare preferences such as settings or dialogs.
@@ -30,7 +30,7 @@ Radio buttons should have the most commonly used option selected by default.
{{"demo": "pages/demos/selection-controls/RadioButtons.js"}}
-## Cases à cocher
+## Checkboxes
[Checkboxes](https://material.io/design/components/selection-controls.html#checkboxes) allow the user to select one or more items from a set. Checkboxes can be used to turn an option on or off.
@@ -42,7 +42,7 @@ If you have multiple options appearing in a list, you can preserve space by usin
{{"demo": "pages/demos/selection-controls/CheckboxLabels.js"}}
-## Cases à cocher avec FormGroup
+## Checkboxes with FormGroup
`FormGroup` is a helpful wrapper used to group selection controls components that provides an easier API.
@@ -72,7 +72,7 @@ The option that the switch controls, as well as the state it’s in, should be m
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here's an example of how you can change the color of a Switch, and an iOS style Switch.
-⚠️ Bien que les spécifications Material Design encouragent la thématisation, ces exemples sortent des sentiers battus.
+⚠️ Bien que les spécifications de conception des matériaux encouragent la thématisation, ces exemples sortent des sentiers battus.
{{"demo": "pages/demos/selection-controls/CustomizedSwitches.js"}}
@@ -82,7 +82,7 @@ You can change the placement of the label:
{{"demo": "pages/demos/selection-controls/FormControlLabelPosition.js"}}
-## Accessibilité
+## Accessibility
All form controls should have labels, and this includes radio buttons, checkboxes, and switches. In most cases, this is done by using the `
` element ([FormControlLabel](/api/form-control-label/)).
diff --git a/docs/src/pages/demos/selection-controls/selection-controls-ru.md b/docs/src/pages/demos/selection-controls/selection-controls-ru.md
index 839d93e593a603..24fe4d651b7fb0 100644
--- a/docs/src/pages/demos/selection-controls/selection-controls-ru.md
+++ b/docs/src/pages/demos/selection-controls/selection-controls-ru.md
@@ -72,7 +72,7 @@ The option that the switch controls, as well as the state it’s in, should be m
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here's an example of how you can change the color of a Switch, and an iOS style Switch.
-⚠️ Хотя спецификации материал дизайна поощряют использование тем, эти примеры не соответствуют требованиям.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/selection-controls/CustomizedSwitches.js"}}
diff --git a/docs/src/pages/demos/selects/selects-de.md b/docs/src/pages/demos/selects/selects-de.md
index d0bd6033d70746..53a3aa6e873c26 100644
--- a/docs/src/pages/demos/selects/selects-de.md
+++ b/docs/src/pages/demos/selects/selects-de.md
@@ -22,7 +22,7 @@ As the user experience can be improved on mobile using the native select of the
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here's an example of how you can change the main color of an Input.
-⚠️ Auch wenn die material design Spezifikation zur Verwendung von Themes ermutigt, liegen diese Beispiele außerhalb der üblichen Pfade.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/selects/CustomizedSelects.js"}}
@@ -44,6 +44,6 @@ While it's discouraged by the Material Design specification, you can use a selec
{{"demo": "pages/demos/selects/DialogSelect.js"}}
-## Text Felder
+## Text Fields
The `TextField` wrapper component is a complete form control including a label, input and help text. You can find an example with the select mode [in this section](/demos/text-fields/#textfield).
\ No newline at end of file
diff --git a/docs/src/pages/demos/selects/selects-es.md b/docs/src/pages/demos/selects/selects-es.md
index e337e7880bedfa..53a3aa6e873c26 100644
--- a/docs/src/pages/demos/selects/selects-es.md
+++ b/docs/src/pages/demos/selects/selects-es.md
@@ -20,9 +20,9 @@ As the user experience can be improved on mobile using the native select of the
## Customized selects
-Si has estado leyendo la [página de documentación sobre overrides](/customization/overrides/) pero aun no tienes la confianza suficiente para usarlos acá hay un ejemplo de su uso para el cambio de color de un input.
+If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here's an example of how you can change the main color of an Input.
-⚠️ A pesar de que la especificación de material design anima a usar temas, estos ejemplos no son comunes.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/selects/CustomizedSelects.js"}}
@@ -44,6 +44,6 @@ While it's discouraged by the Material Design specification, you can use a selec
{{"demo": "pages/demos/selects/DialogSelect.js"}}
-## Campos de texto
+## Text Fields
-El componente `TextField` es un campo de formulario completo, incluyendo una etiqueta, el campo de texto y texto de ayuda. You can find an example with the select mode [in this section](/demos/text-fields/#textfield).
\ No newline at end of file
+The `TextField` wrapper component is a complete form control including a label, input and help text. You can find an example with the select mode [in this section](/demos/text-fields/#textfield).
\ No newline at end of file
diff --git a/docs/src/pages/demos/selects/selects-fr.md b/docs/src/pages/demos/selects/selects-fr.md
index d32c841a0be4d5..e7a7ed1da35966 100644
--- a/docs/src/pages/demos/selects/selects-fr.md
+++ b/docs/src/pages/demos/selects/selects-fr.md
@@ -20,9 +20,9 @@ As the user experience can be improved on mobile using the native select of the
## Customized selects
-Si vous avez lu [la page de documentation sur la personnalisation](/customization/overrides/) mais que vous n'êtes pas prêt pour vous lancer, voici un exemple de la façon dont vous pouvez changer la couleur principale d'un input.
+If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here's an example of how you can change the main color of an Input.
-⚠️ Bien que les spécifications Material Design encouragent la thématisation, ces exemples sortent des sentiers battus.
+⚠️ Bien que les spécifications de conception des matériaux encouragent la thématisation, ces exemples sortent des sentiers battus.
{{"demo": "pages/demos/selects/CustomizedSelects.js"}}
@@ -38,9 +38,9 @@ Like with the single selection, you can pull out the new value by accessing `eve
{{"demo": "pages/demos/selects/ControlledOpenSelect.js"}}
-## Avec un dialogue
+## With a Dialog
-Bien que cela soit découragé par la spécification Material Design, vous pouvez utiliser une sélection dans une boîte de dialogue.
+While it's discouraged by the Material Design specification, you can use a select inside a dialog.
{{"demo": "pages/demos/selects/DialogSelect.js"}}
diff --git a/docs/src/pages/demos/selects/selects-pt.md b/docs/src/pages/demos/selects/selects-pt.md
index cb16e4d46abe67..73d830ec7824d8 100644
--- a/docs/src/pages/demos/selects/selects-pt.md
+++ b/docs/src/pages/demos/selects/selects-pt.md
@@ -20,7 +20,7 @@ As the user experience can be improved on mobile using the native select of the
## Customized selects
-Se você leu a [página de abertura da documentação](/customization/overrides/) mas não está confiante, aqui vai um exemplo de como trocar a cor principal do Input.
+If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here's an example of how you can change the main color of an Input.
⚠️ Embora a especificação do design do material incentive o tema, esses exemplos estão fora do caminho comum.
diff --git a/docs/src/pages/demos/selects/selects-ru.md b/docs/src/pages/demos/selects/selects-ru.md
index fa2016dd80e681..53a3aa6e873c26 100644
--- a/docs/src/pages/demos/selects/selects-ru.md
+++ b/docs/src/pages/demos/selects/selects-ru.md
@@ -20,9 +20,9 @@ As the user experience can be improved on mobile using the native select of the
## Customized selects
-Если вы читали [переписанную страницу документации](/customization/overrides/), но все еще не до конца уверены как будет выглядеть компонент, вот пример того, как изменить основной цвет Input-а.
+If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here's an example of how you can change the main color of an Input.
-⚠️ Хотя спецификации материал дизайна поощряют использование тем, эти примеры не соответствуют требованиям.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/selects/CustomizedSelects.js"}}
@@ -44,6 +44,6 @@ While it's discouraged by the Material Design specification, you can use a selec
{{"demo": "pages/demos/selects/DialogSelect.js"}}
-## Текстовые поля
+## Text Fields
-`TextField` представляет собой полноценный элемент управления формы, включая метку (label), само поле ввода и вспомогательный текст. You can find an example with the select mode [in this section](/demos/text-fields/#textfield).
\ No newline at end of file
+The `TextField` wrapper component is a complete form control including a label, input and help text. You can find an example with the select mode [in this section](/demos/text-fields/#textfield).
\ No newline at end of file
diff --git a/docs/src/pages/demos/selects/selects-zh.md b/docs/src/pages/demos/selects/selects-zh.md
index a739e530c65488..14c97656026602 100644
--- a/docs/src/pages/demos/selects/selects-zh.md
+++ b/docs/src/pages/demos/selects/selects-zh.md
@@ -18,7 +18,7 @@ components: Select, NativeSelect
{{"demo": "pages/demos/selects/NativeSelects.js"}}
-## 自定义选择
+## Customized selects
如果您有阅读[重写文档](/customization/overrides/) 但你还不是很自信能够完全掌握, 以下是如何更改一个输入的主要颜色的示例
diff --git a/docs/src/pages/demos/snackbars/snackbars-de.md b/docs/src/pages/demos/snackbars/snackbars-de.md
index 637abdc3ccc058..45b1fc549705d7 100644
--- a/docs/src/pages/demos/snackbars/snackbars-de.md
+++ b/docs/src/pages/demos/snackbars/snackbars-de.md
@@ -24,7 +24,7 @@ A basic snackbar that aims to reproduce Google Keep's snackbar behavior.
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here are examples of how you can change the look of a Snackbar.
-⚠️ Auch wenn die material design Spezifikation zur Verwendung von Themes ermutigt, liegen diese Beispiele außerhalb der üblichen Pfade.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/snackbars/CustomizedSnackbars.js"}}
@@ -76,4 +76,4 @@ For more advanced use cases you might be able to take advantage of:
In the following example, we demonstrate how to use [notistack](https://github.com/iamhosseindhv/notistack). notistack makes it easy to display snackbars (so you don't have to deal with open/close state of them). It also enables you to stack them on top of one another.
-{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
diff --git a/docs/src/pages/demos/snackbars/snackbars-es.md b/docs/src/pages/demos/snackbars/snackbars-es.md
index 0408614a119c7d..45b1fc549705d7 100644
--- a/docs/src/pages/demos/snackbars/snackbars-es.md
+++ b/docs/src/pages/demos/snackbars/snackbars-es.md
@@ -24,7 +24,7 @@ A basic snackbar that aims to reproduce Google Keep's snackbar behavior.
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here are examples of how you can change the look of a Snackbar.
-⚠️ A pesar de que la especificación de material design anima a usar temas, estos ejemplos no son comunes.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/snackbars/CustomizedSnackbars.js"}}
@@ -66,7 +66,7 @@ Use a different transition.
{{"demo": "pages/demos/snackbars/FadeSnackbar.js"}}
-## Proyectos relacionados
+## Complementary projects
For more advanced use cases you might be able to take advantage of:
@@ -76,4 +76,4 @@ For more advanced use cases you might be able to take advantage of:
In the following example, we demonstrate how to use [notistack](https://github.com/iamhosseindhv/notistack). notistack makes it easy to display snackbars (so you don't have to deal with open/close state of them). It also enables you to stack them on top of one another.
-{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
diff --git a/docs/src/pages/demos/snackbars/snackbars-fr.md b/docs/src/pages/demos/snackbars/snackbars-fr.md
index 039c5be2084c0b..348b0cb0162669 100644
--- a/docs/src/pages/demos/snackbars/snackbars-fr.md
+++ b/docs/src/pages/demos/snackbars/snackbars-fr.md
@@ -10,7 +10,7 @@ components: Snackbar, SnackbarContent
Snackbars contain a single line of text directly related to the operation performed. They may contain a text action, but no icons. You can use them to display notifications.
-#### Fréquence
+#### Frequency
Only one snackbar may be displayed at a time.
@@ -24,7 +24,7 @@ A basic snackbar that aims to reproduce Google Keep's snackbar behavior.
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here are examples of how you can change the look of a Snackbar.
-⚠️ Bien que les spécifications Material Design encouragent la thématisation, ces exemples sortent des sentiers battus.
+⚠️ Bien que les spécifications de conception des matériaux encouragent la thématisation, ces exemples sortent des sentiers battus.
{{"demo": "pages/demos/snackbars/CustomizedSnackbars.js"}}
@@ -34,15 +34,15 @@ There may be circumstances when the placement of the snackbar needs to be more f
{{"demo": "pages/demos/snackbars/PositionedSnackbar.js"}}
-## Longueur du message
+## Message Length
Some snackbars with varying message length.
{{"demo": "pages/demos/snackbars/LongTextSnackbar.js"}}
-## Les transitions
+## Transitions
-### Snackbars consécutifs
+### Consecutive Snackbars
Per [Google's guidelines](https://material.io/design/components/snackbars.html#snackbars-toasts-usage), when a second snackbar is triggered while the first is displayed, the first should start the contraction motion downwards before the second one animates upwards.
@@ -54,7 +54,7 @@ Move the floating action button vertically to accommodate the snackbar height.
{{"demo": "pages/demos/snackbars/FabIntegrationSnackbar.js"}}
-### Direction de contrôle
+### Control Direction
Change the direction of the transition. Slide is the default transition.
@@ -62,7 +62,7 @@ Change the direction of the transition. Slide is the default transition.
### Changer la transition
-Utilisez une transition différente.
+Use a different transition.
{{"demo": "pages/demos/snackbars/FadeSnackbar.js"}}
@@ -74,6 +74,6 @@ For more advanced use cases you might be able to take advantage of:
![stars](https://img.shields.io/github/stars/iamhosseindhv/notistack.svg?style=social&label=Stars) ![npm downloads](https://img.shields.io/npm/dm/notistack.svg)
-Dans l'exemple suivant, nous montrons comment utiliser [notistack](https://github.com/iamhosseindhv/notistack). notistack makes it easy to display snackbars (so you don't have to deal with open/close state of them). Il vous permet également de les empiler les uns sur les autres.
+In the following example, we demonstrate how to use [notistack](https://github.com/iamhosseindhv/notistack). notistack makes it easy to display snackbars (so you don't have to deal with open/close state of them). It also enables you to stack them on top of one another.
-{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
diff --git a/docs/src/pages/demos/snackbars/snackbars-ja.md b/docs/src/pages/demos/snackbars/snackbars-ja.md
index e16e3846dad04d..45b1fc549705d7 100644
--- a/docs/src/pages/demos/snackbars/snackbars-ja.md
+++ b/docs/src/pages/demos/snackbars/snackbars-ja.md
@@ -76,4 +76,4 @@ For more advanced use cases you might be able to take advantage of:
In the following example, we demonstrate how to use [notistack](https://github.com/iamhosseindhv/notistack). notistack makes it easy to display snackbars (so you don't have to deal with open/close state of them). It also enables you to stack them on top of one another.
-{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
diff --git a/docs/src/pages/demos/snackbars/snackbars-pt.md b/docs/src/pages/demos/snackbars/snackbars-pt.md
index c40ef432a359b1..072c09164ac512 100644
--- a/docs/src/pages/demos/snackbars/snackbars-pt.md
+++ b/docs/src/pages/demos/snackbars/snackbars-pt.md
@@ -72,8 +72,8 @@ For more advanced use cases you might be able to take advantage of:
### notistack
-![estrelas](https://img.shields.io/github/stars/iamhosseindhv/notistack.svg?style=social&label=Stars) ![npm downloads](https://img.shields.io/npm/dm/notistack.svg)
+![stars](https://img.shields.io/github/stars/iamhosseindhv/notistack.svg?style=social&label=Stars) ![npm downloads](https://img.shields.io/npm/dm/notistack.svg)
In the following example, we demonstrate how to use [notistack](https://github.com/iamhosseindhv/notistack). notistack makes it easy to display snackbars (so you don't have to deal with open/close state of them). It also enables you to stack them on top of one another.
-{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
diff --git a/docs/src/pages/demos/snackbars/snackbars-ru.md b/docs/src/pages/demos/snackbars/snackbars-ru.md
index cbac7e9821790b..45b1fc549705d7 100644
--- a/docs/src/pages/demos/snackbars/snackbars-ru.md
+++ b/docs/src/pages/demos/snackbars/snackbars-ru.md
@@ -24,7 +24,7 @@ A basic snackbar that aims to reproduce Google Keep's snackbar behavior.
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here are examples of how you can change the look of a Snackbar.
-⚠️ Хотя спецификации материал дизайна поощряют использование тем, эти примеры не соответствуют требованиям.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/snackbars/CustomizedSnackbars.js"}}
@@ -66,7 +66,7 @@ Use a different transition.
{{"demo": "pages/demos/snackbars/FadeSnackbar.js"}}
-## Дополнительные проекты
+## Complementary projects
For more advanced use cases you might be able to take advantage of:
@@ -76,4 +76,4 @@ For more advanced use cases you might be able to take advantage of:
In the following example, we demonstrate how to use [notistack](https://github.com/iamhosseindhv/notistack). notistack makes it easy to display snackbars (so you don't have to deal with open/close state of them). It also enables you to stack them on top of one another.
-{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
\ No newline at end of file
+{{"demo": "pages/demos/snackbars/IntegrationNotistack.js"}}
diff --git a/docs/src/pages/demos/snackbars/snackbars-zh.md b/docs/src/pages/demos/snackbars/snackbars-zh.md
index a7300cf5ae2c4f..c5b6409ab2e8ae 100644
--- a/docs/src/pages/demos/snackbars/snackbars-zh.md
+++ b/docs/src/pages/demos/snackbars/snackbars-zh.md
@@ -62,7 +62,7 @@ components: Snackbar, SnackbarContent
### 更改过渡动画
-使用不同的过渡动画。
+同时使用不同的过渡动画。
{{"demo": "pages/demos/snackbars/FadeSnackbar.js"}}
diff --git a/docs/src/pages/demos/steppers/steppers-de.md b/docs/src/pages/demos/steppers/steppers-de.md
index f539881f0f7b22..7dc82adb158c26 100644
--- a/docs/src/pages/demos/steppers/steppers-de.md
+++ b/docs/src/pages/demos/steppers/steppers-de.md
@@ -66,7 +66,7 @@ If you have been reading the [overrides documentation page](/customization/overr
This component uses a customized `StepConnector` element that changes border color based on the `active` and `completed` state.
-⚠️ Auch wenn die material design Spezifikation zur Verwendung von Themes ermutigt, liegen diese Beispiele außerhalb der üblichen Pfade.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/steppers/CustomizedStepper.js"}}
diff --git a/docs/src/pages/demos/steppers/steppers-es.md b/docs/src/pages/demos/steppers/steppers-es.md
index 318f70c3e1e57c..7dc82adb158c26 100644
--- a/docs/src/pages/demos/steppers/steppers-es.md
+++ b/docs/src/pages/demos/steppers/steppers-es.md
@@ -66,7 +66,7 @@ If you have been reading the [overrides documentation page](/customization/overr
This component uses a customized `StepConnector` element that changes border color based on the `active` and `completed` state.
-⚠️ A pesar de que la especificación de material design anima a usar temas, estos ejemplos no son comunes.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/steppers/CustomizedStepper.js"}}
diff --git a/docs/src/pages/demos/steppers/steppers-fr.md b/docs/src/pages/demos/steppers/steppers-fr.md
index ae15e5d14677a1..a7fa3d15c98f7d 100644
--- a/docs/src/pages/demos/steppers/steppers-fr.md
+++ b/docs/src/pages/demos/steppers/steppers-fr.md
@@ -66,7 +66,7 @@ If you have been reading the [overrides documentation page](/customization/overr
This component uses a customized `StepConnector` element that changes border color based on the `active` and `completed` state.
-⚠️ Bien que les spécifications Material Design encouragent la thématisation, ces exemples sortent des sentiers battus.
+⚠️ Bien que les spécifications de conception des matériaux encouragent la thématisation, ces exemples sortent des sentiers battus.
{{"demo": "pages/demos/steppers/CustomizedStepper.js"}}
diff --git a/docs/src/pages/demos/steppers/steppers-ru.md b/docs/src/pages/demos/steppers/steppers-ru.md
index 11ba7f6cf7a01f..7dc82adb158c26 100644
--- a/docs/src/pages/demos/steppers/steppers-ru.md
+++ b/docs/src/pages/demos/steppers/steppers-ru.md
@@ -66,7 +66,7 @@ If you have been reading the [overrides documentation page](/customization/overr
This component uses a customized `StepConnector` element that changes border color based on the `active` and `completed` state.
-⚠️ Хотя спецификации материал дизайна поощряют использование тем, эти примеры не соответствуют требованиям.
+⚠️ While the material design specification encourages theming, these examples are off the beaten path.
{{"demo": "pages/demos/steppers/CustomizedStepper.js"}}
diff --git a/docs/src/pages/demos/tables/tables-de.md b/docs/src/pages/demos/tables/tables-de.md
index a2aad40a931d85..c44c327d7f1e27 100644
--- a/docs/src/pages/demos/tables/tables-de.md
+++ b/docs/src/pages/demos/tables/tables-de.md
@@ -2,43 +2,43 @@
title: Table React component
components: Table, TableBody, TableCell, TableFooter, TableHead, TablePagination, TableRow, TableSortLabel
---
-# Tabellen
+# Tables
-Daten-Tabellen zeigen Listen von Daten an. Diese können vollständig benutzerdefiniert gestaltet werden.
+Data tables display sets of data. They can be fully customized.
-[Daten-Tabellen](https://material.io/design/components/data-tables.html) zeigen Informationen an, sodass sie einfach zu lesen sind und Nutzern das Anzeigen von Mustern und Ansichten ermöglicht. Sie können wie Karten in den Primär-Inhalt eingebettet werden.
+[Data tables](https://material.io/design/components/data-tables.html) display information in a way that’s easy to scan, so that users can look for patterns and insights. They can be embedded in primary content, such as cards.
-Daten-Tabellen können enthalten:
+Data tables can include:
-- Eine entsprechende Visualisierung
+- A corresponding visualization
- Navigation
-- Werkzeuge um Daten abzufragen und zu manipulieren
+- Tools to query and manipulate data
-Wenn Sie Werkzeuge einbinden, sollten diese direkt über oder unter der Tabelle platziert werden.
+When including tools, they should be placed directly above or below the table.
-## Struktur
+## Structure
-Eine Daten-Tabelle enthält oben eine Kopfzeile, welche die Spaltennamen auflistet, gefolgt von den Zeilen für Daten.
+A data table contains a header row at the top that lists column names, followed by rows for data.
-Jede Zeile sollte ein Optionsfeld begleiten, falls die Nutzer die Daten auswählen oder ändern müssen.
+Checkboxes should accompany each row if the user needs to select or manipulate data.
-For accessibility, the first column is set to be a `` element, with a `scope` of `"row"`. Dies ermöglicht es Lesern, mithilfe von Zeilen- und Spaltenname den Inhalt einer Zelle zu ermitteln.
+For accessibility, the first column is set to be a ` ` element, with a `scope` of `"row"`. This enables screen readers to identify a cell's value by it's row and column name.
-## Einfache Tabelle
+## Simple Table
-Ein einfaches Beispiel ohne Verzierungen.
+A simple example with no frills.
{{"demo": "pages/demos/tables/SimpleTable.js"}}
-## Sortieren & Auswahl
+## Sorting & Selecting
-Dieses Beispiel demonstriert die Nutzung von `Optionsfeld` und klickbaren Zeilen zur Auswahl mit einer benutzerdefinierten `Werkzeugleiste`. It uses the `TableSortLabel` component to help style column headings.
+This example demonstrates the use of `Checkbox` and clickable rows for selection, with a custom `Toolbar`. It uses the `TableSortLabel` component to help style column headings.
The Table has been given a fixed width to demonstrate horizontal scrolling. In order to prevent the pagination controls from scrolling, the TablePagination component is used outside of the Table. (The ['Custom Table Pagination Action' example](#custom-table-pagination-action) below shows the pagination within the TableFooter.)
{{"demo": "pages/demos/tables/EnhancedTable.js"}}
-## Benutzerdefinierte Tabellen
+## Customized Tables
If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here are examples of how you can change the look of a `TableCell`.
@@ -46,21 +46,21 @@ If you have been reading the [overrides documentation page](/customization/overr
{{"demo": "pages/demos/tables/CustomizedTable.js"}}
-## Benutzerdefinierte Tabellen-Seitennummerierung
+## Custom Table Pagination Action
The `Action` property of the `TablePagination` component allows the implementation of custom actions.
{{"demo": "pages/demos/tables/CustomPaginationActionsTable.js"}}
-## Überspannende Tabellen
+## Spanning Table
-Ein einfaches Beispiel mit überspannenden Zeilen & Spalten.
+A simple example with spanning rows & columns.
{{"demo": "pages/demos/tables/SpanningTable.js"}}
-## Virtualisierte Tabelle
+## Virtualized Table
-Im folgenden Beispiel zeigen wir wie Sie [react-virtualized](https://github.com/bvaughn/react-virtualized) mit der `Table<` Komponente nutzen können. Sie zeigt 200 Zeilen an und kann auch einfach mehr verwalten.
+In the following example, we demonstrate how to use [react-virtualized](https://github.com/bvaughn/react-virtualized) with the `Table` component. It renders 200 rows and can easily handle more.
{{"demo": "pages/demos/tables/ReactVirtualizedTable.js"}}
diff --git a/docs/src/pages/demos/tables/tables-es.md b/docs/src/pages/demos/tables/tables-es.md
index c0ccd96e4ec6b2..c44c327d7f1e27 100644
--- a/docs/src/pages/demos/tables/tables-es.md
+++ b/docs/src/pages/demos/tables/tables-es.md
@@ -1,74 +1,74 @@
---
-title: Componente de React Tablas
+title: Table React component
components: Table, TableBody, TableCell, TableFooter, TableHead, TablePagination, TableRow, TableSortLabel
---
-# Tablas
+# Tables
-Las tablas de datos muestran conjuntos de datos. Pueden ser totalmente personalizadas.
+Data tables display sets of data. They can be fully customized.
-[Las tablas de datos](https://material.io/design/components/data-tables.html) muestran información de una manera que es fácil de ojear, de modo que los usuarios pueden buscar patrones e información. Se pueden integrar en contenido principal, tal como tarjetas.
+[Data tables](https://material.io/design/components/data-tables.html) display information in a way that’s easy to scan, so that users can look for patterns and insights. They can be embedded in primary content, such as cards.
-Las tablas de datos pueden incluir:
+Data tables can include:
-- Un elemento visual correspondiente
-- Navegación
-- Herramientas para consultar y manipular los datos
+- A corresponding visualization
+- Navigation
+- Tools to query and manipulate data
-Cuando se incluyen herramientas, se deben poner directamente arriba o debajo de la tabla.
+When including tools, they should be placed directly above or below the table.
-## Estructura
+## Structure
-Una tabla de datos contiene una cabecera en la parte superior con los nombres de las columnas, seguida por las filas de datos.
+A data table contains a header row at the top that lists column names, followed by rows for data.
-Un checkbox debe acompañar a cada fila por si el usuario necesita seleccionar o manipular datos.
+Checkboxes should accompany each row if the user needs to select or manipulate data.
-Para facilitar la accesibilidad, la primera columna es un elemento ` `, con un `scope` de `"row"`. Esto permite a los lectores de pantalla identificar el valor de una celda por el nombre de su fila y columna.
+For accessibility, the first column is set to be a ` ` element, with a `scope` of `"row"`. This enables screen readers to identify a cell's value by it's row and column name.
-## Tabla Sencilla
+## Simple Table
-Un ejemplo sencillo sin florituras.
+A simple example with no frills.
{{"demo": "pages/demos/tables/SimpleTable.js"}}
-## Ordenación & Selección
+## Sorting & Selecting
-Este ejemplo demuestra el uso del `Checkbox` y las filas cliqueables para seleccionar, con una `Toolbar` personalizado. Utiliza el componente `TableSortLabel` para ayudar a personalizar las cabeceras de las columnas.
+This example demonstrates the use of `Checkbox` and clickable rows for selection, with a custom `Toolbar`. It uses the `TableSortLabel` component to help style column headings.
-La Tabla tiene un ancho fijo para demostrar el desplazamiento horizontal. Para evitar que se desplacen los controles de paginación, el componente TablePagination se usa fuera de la Tabla. (El [ejemplo de la 'Acción de paginación de tabla personalizado'](#custom-table-pagination-action) abajo demuestra la paginación dentro del TableFooter.)
+The Table has been given a fixed width to demonstrate horizontal scrolling. In order to prevent the pagination controls from scrolling, the TablePagination component is used outside of the Table. (The ['Custom Table Pagination Action' example](#custom-table-pagination-action) below shows the pagination within the TableFooter.)
{{"demo": "pages/demos/tables/EnhancedTable.js"}}
-## Tablas personalizadas
+## Customized Tables
-Si has estado leyendo la [página de documentación sobre overrides](/customization/overrides/) pero aun no tienes la confianza suficiente para usarlos, a continuación hay ejemplos de su uso para cambiar el estilo de un `TableCell`.
+If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here are examples of how you can change the look of a `TableCell`.
-⚠️ A pesar de que la especificación de material design anima a usar temas, este ejemplo no es común.
+⚠️ While the material design specification encourages theming, this example is off the beaten path.
{{"demo": "pages/demos/tables/CustomizedTable.js"}}
-## Acción de paginación de tabla personalizada
+## Custom Table Pagination Action
-El atributo `Action`del componente `TablePagination` permite la implementación de acciones personalizadas.
+The `Action` property of the `TablePagination` component allows the implementation of custom actions.
{{"demo": "pages/demos/tables/CustomPaginationActionsTable.js"}}
-## Tabla expandible
+## Spanning Table
-Un ejemplo sencillo con filas y columnas expandibles.
+A simple example with spanning rows & columns.
{{"demo": "pages/demos/tables/SpanningTable.js"}}
-## Tabla virtualizada
+## Virtualized Table
-En el siguiente ejemplo, demostramos como usar [react-virtualized](https://github.com/bvaughn/react-virtualized) con el componente `Table`. Renderiza 200 filas y fácilmente puede manejar más.
+In the following example, we demonstrate how to use [react-virtualized](https://github.com/bvaughn/react-virtualized) with the `Table` component. It renders 200 rows and can easily handle more.
{{"demo": "pages/demos/tables/ReactVirtualizedTable.js"}}
-## Proyectos relacionados
+## Complementary projects
-Para usos más avanzados tal vez puedas aprovercharte de:
+For more advanced use cases you might be able to take advantage of:
-- [dx-react-grid-material-ui](https://devexpress.github.io/devextreme-reactive/react/grid/) Una tabla de datos para Material-UI con herramientas de paginación, ordenación, filtración, agrupación y revisión ([licencia customizada](https://js.devexpress.com/licensing/)).
-- [mui-datatables](https://github.com/gregnb/mui-datatables) Tablas de datos responsivas para Material-UI con filtración, ordenación, búsqueda y más.
-- [material-table](https://github.com/mbrn/material-table) DataTable basada en el componente de tabla con herramientas adicionales como búsqueda, filtración, ordenación y mucho más.
-- [mui-virtualized-table](https://github.com/techniq/mui-virtualized-table) Tabla de Material-UI virtualizado.
\ No newline at end of file
+- [dx-react-grid-material-ui](https://devexpress.github.io/devextreme-reactive/react/grid/) A data grid for Material-UI with paging, sorting, filtering, grouping and editing features ([custom license](https://js.devexpress.com/licensing/)).
+- [mui-datatables](https://github.com/gregnb/mui-datatables) Responsive data tables for Material-UI with filtering, sorting, search and more.
+- [material-table](https://github.com/mbrn/material-table) DataTable based on table component with additional features like search, filtering, sorting and much more.
+- [mui-virtualized-table](https://github.com/techniq/mui-virtualized-table) Virtualized Material-UI table.
\ No newline at end of file
diff --git a/docs/src/pages/demos/tables/tables-fr.md b/docs/src/pages/demos/tables/tables-fr.md
index 3db23513d5653d..3fef863edd2d75 100644
--- a/docs/src/pages/demos/tables/tables-fr.md
+++ b/docs/src/pages/demos/tables/tables-fr.md
@@ -32,15 +32,15 @@ Un exemple simple et sans fioritures.
## Tri & Sélection
-Cet exemple illustre l'utilisation de `Checkbox` et des lignes cliquables pour la sélection, avec une `Toolbar` personnalisé. Il utilise le composant `TableSortLabel` pour aider à styliser les en-têtes de colonne.
+This example demonstrates the use of `Checkbox` and clickable rows for selection, with a custom `Toolbar`. It uses the `TableSortLabel` component to help style column headings.
-La table a reçu une largeur fixe pour illustrer le défilement horizontal. Afin d'éviter le défilement des contrôles de pagination, le composant TablePagination est utilisé en dehors du tableau. (The ['Custom Table Pagination Action' example](#custom-table-pagination-action) below shows the pagination within the TableFooter.)
+The Table has been given a fixed width to demonstrate horizontal scrolling. In order to prevent the pagination controls from scrolling, the TablePagination component is used outside of the Table. (The ['Custom Table Pagination Action' example](#custom-table-pagination-action) below shows the pagination within the TableFooter.)
{{"demo": "pages/demos/tables/EnhancedTable.js"}}
## Tableaux Personnalisés
-Si vous avez lu [la page de documentation sur la personnalisation](/customization/overrides/) mais que vous n'êtes pas prêt pour vous lancer, voici un exemple de la façon dont vous pouvez changer l'interface d'un `TableCell`.
+If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here are examples of how you can change the look of a `TableCell`.
⚠️ Bien que la spécification material encouragent la thématisation, cet exemple sort des sentiers battus.
@@ -66,7 +66,7 @@ Dans l'exemple suivant, nous montrons comment utiliser [react-virtualized](https
## Projets complémentaires
-Pour des cas d'utilisation plus avancés, vous pourrez peut-être tirer parti des projects suivants:
+Pour des cas d'utilisation plus avancés, vous pourrez peut-être tirer parti des avantages suivants:
- [dx-react-grid-material-ui](https://devexpress.github.io/devextreme-reactive/react/grid/) A data grid for Material-UI with paging, sorting, filtering, grouping and editing features ([custom license](https://js.devexpress.com/licensing/)).
- [mui-datatables](https://github.com/gregnb/mui-datatables) Responsive data tables for Material-UI with filtering, sorting, search and more.
diff --git a/docs/src/pages/demos/tables/tables-ru.md b/docs/src/pages/demos/tables/tables-ru.md
index 40e63d18266ebb..c44c327d7f1e27 100644
--- a/docs/src/pages/demos/tables/tables-ru.md
+++ b/docs/src/pages/demos/tables/tables-ru.md
@@ -1,74 +1,74 @@
---
-title: React-компонент Таблица
+title: Table React component
components: Table, TableBody, TableCell, TableFooter, TableHead, TablePagination, TableRow, TableSortLabel
---
-# Таблицы
+# Tables
-Таблицы отображают массивы данных. Они могут быть полностью кастомизированны.
+Data tables display sets of data. They can be fully customized.
-[Таблицы](https://material.io/design/components/data-tables.html) отображают информацию так, чтобы ее было легко воспринимать визуально. Так чтобы пользователи видели шаблоны отображения данных. Они могут быть встроены в основной контент, например в карточки.
+[Data tables](https://material.io/design/components/data-tables.html) display information in a way that’s easy to scan, so that users can look for patterns and insights. They can be embedded in primary content, such as cards.
-Таблицы могут включать в себя:
+Data tables can include:
-- Соответствующую визуализацию
-- Навигацию
-- Инструменты для запросов и манипулирования данными
+- A corresponding visualization
+- Navigation
+- Tools to query and manipulate data
-При использовании таких инструментов их следует размещать непосредственно сверху или снизу таблицы.
+When including tools, they should be placed directly above or below the table.
-## Структура
+## Structure
-Таблица данных содержит 1 строку заголовка, в которой перечислены имена столбцов, за которыми следуют строки для данных.
+A data table contains a header row at the top that lists column names, followed by rows for data.
-Флажки должны сопровождать каждую строку, если пользователю необходимо выбрать или манипулировать данными.
+Checkboxes should accompany each row if the user needs to select or manipulate data.
-Для доступности(accessibility) первый столбец должен быть элементом ` ` с атрибутом `scope` со значением `"row"`. Это позволяет программам чтения с экрана идентифицировать значение ячейки по имени строки и столбца.
+For accessibility, the first column is set to be a ` ` element, with a `scope` of `"row"`. This enables screen readers to identify a cell's value by it's row and column name.
-## Простая таблица
+## Simple Table
-Простой пример без излишеств.
+A simple example with no frills.
{{"demo": "pages/demos/tables/SimpleTable.js"}}
-## Сортировка и выбор строк
+## Sorting & Selecting
-В этом примере демонстрируется использование `чекбокса` и кликабельных строк для выбора данных в настраиваемой `панели инструментов`. Здесь используется компонент `TableSortLabel` чтобы помочь стилизовать заголовки столбцов.
+This example demonstrates the use of `Checkbox` and clickable rows for selection, with a custom `Toolbar`. It uses the `TableSortLabel` component to help style column headings.
-Таблица имеет фиксированную ширину для демонстрации горизонтальной прокрутки. Чтобы предотвратить прокрутку элементов управления нумерацией страниц, компонент TablePagination находится за пределами таблицы. (В [примерe «собственные действия элементов нумерации»](#custom-table-pagination-action) ниже показывается управление нумерацией таблиц с помощью TableFooter.)
+The Table has been given a fixed width to demonstrate horizontal scrolling. In order to prevent the pagination controls from scrolling, the TablePagination component is used outside of the Table. (The ['Custom Table Pagination Action' example](#custom-table-pagination-action) below shows the pagination within the TableFooter.)
{{"demo": "pages/demos/tables/EnhancedTable.js"}}
-## Индивидуальное изменение таблицы
+## Customized Tables
-Если вы читали [страницу документации о переопределениях](/customization/overrides/), но все еще не до конца уверены как будет выглядеть компонент, вот примеры того, как вы можете изменить отображение `TableCell`.
+If you have been reading the [overrides documentation page](/customization/overrides/) but you are not confident jumping in, here are examples of how you can change the look of a `TableCell`.
-⚠️ Хотя спецификации материал дизайна поощряют использование тем, эти примеры не соответствуют требованиям.
+⚠️ While the material design specification encourages theming, this example is off the beaten path.
{{"demo": "pages/demos/tables/CustomizedTable.js"}}
-## Настройка постраничной навигации
+## Custom Table Pagination Action
-Свойство `Action` компонента `TablePagination` позволяет реализовать собственную обработку пользовательский событий.
+The `Action` property of the `TablePagination` component allows the implementation of custom actions.
{{"demo": "pages/demos/tables/CustomPaginationActionsTable.js"}}
-## Объединение таблиц
+## Spanning Table
-Простой пример с объединением строк и столбцов.
+A simple example with spanning rows & columns.
{{"demo": "pages/demos/tables/SpanningTable.js"}}
-## Виртуализированная таблица
+## Virtualized Table
-В следующем примере мы покажем, как использовать [react-virtualized](https://github.com/bvaughn/react-virtualized) с компонентом `Table`. Он отображает 200 строк и c легкостью может еще больше.
+In the following example, we demonstrate how to use [react-virtualized](https://github.com/bvaughn/react-virtualized) with the `Table` component. It renders 200 rows and can easily handle more.
{{"demo": "pages/demos/tables/ReactVirtualizedTable.js"}}
-## Дополнительные проекты
+## Complementary projects
-Для более сложных вариантов использования вы можете воспользоваться:
+For more advanced use cases you might be able to take advantage of:
-- [dx-react-grid-material-ui<](https://devexpress.github.io/devextreme-reactive/react/grid/) Сетка данных для Material-UI с функциями навигации, сортировки, фильтрации, группировки и редактирования ([пользовательское соглашение](https://js.devexpress.com/licensing/)).
-- [mui-datatables](https://github.com/gregnb/mui-datatables) Адаптируемые таблицы данных для Material-UI с фильтрацией, сортировкой, поиском и многим другим.
-- [material-table](https://github.com/mbrn/material-table) Таблицы данных основанные на компоненте таблицы, с дополнительной функциональностью, такой как: поиск, фильтрация, сортировка и многое другое.
-- [mui-virtualized-table](https://github.com/techniq/mui-virtualized-table) Виртуализированная таблица для Material-UI.
\ No newline at end of file
+- [dx-react-grid-material-ui](https://devexpress.github.io/devextreme-reactive/react/grid/) A data grid for Material-UI with paging, sorting, filtering, grouping and editing features ([custom license](https://js.devexpress.com/licensing/)).
+- [mui-datatables](https://github.com/gregnb/mui-datatables) Responsive data tables for Material-UI with filtering, sorting, search and more.
+- [material-table](https://github.com/mbrn/material-table) DataTable based on table component with additional features like search, filtering, sorting and much more.
+- [mui-virtualized-table](https://github.com/techniq/mui-virtualized-table) Virtualized Material-UI table.
\ No newline at end of file
diff --git a/docs/src/pages/demos/tabs/tabs-de.md b/docs/src/pages/demos/tabs/tabs-de.md
index b128a07d7e2587..0b70bb5d5e85ff 100644
--- a/docs/src/pages/demos/tabs/tabs-de.md
+++ b/docs/src/pages/demos/tabs/tabs-de.md
@@ -10,7 +10,7 @@ components: Tabs, Tab
## Simple Tabs
-Ein einfaches Beispiel ohne Verzierungen.
+A simple example with no frills.
{{"demo": "pages/demos/tabs/SimpleTabs.js"}}
diff --git a/docs/src/pages/demos/tabs/tabs-es.md b/docs/src/pages/demos/tabs/tabs-es.md
index bf7d718fc41c7d..0b70bb5d5e85ff 100644
--- a/docs/src/pages/demos/tabs/tabs-es.md
+++ b/docs/src/pages/demos/tabs/tabs-es.md
@@ -10,7 +10,7 @@ components: Tabs, Tab
## Simple Tabs
-Un ejemplo sencillo sin florituras.
+A simple example with no frills.
{{"demo": "pages/demos/tabs/SimpleTabs.js"}}
@@ -66,7 +66,7 @@ Left and right scroll buttons will never be presented. All scrolling must be ini
If you have read the [overrides documentation page](/customization/overrides/) but aren't confident jumping in, here's an example of how you can change the main color of the Tabs.
-⚠️ A pesar de que la especificación de material design anima a usar temas, este ejemplo no es común.
+⚠️ While the material design specification encourages theming, this example is off the beaten path.
{{"demo": "pages/demos/tabs/CustomizedTabs.js"}}
diff --git a/docs/src/pages/demos/tabs/tabs-ru.md b/docs/src/pages/demos/tabs/tabs-ru.md
index 887057c6b8dd69..0b70bb5d5e85ff 100644
--- a/docs/src/pages/demos/tabs/tabs-ru.md
+++ b/docs/src/pages/demos/tabs/tabs-ru.md
@@ -10,7 +10,7 @@ components: Tabs, Tab
## Simple Tabs
-Простой пример без излишеств.
+A simple example with no frills.
{{"demo": "pages/demos/tabs/SimpleTabs.js"}}
@@ -66,7 +66,7 @@ Left and right scroll buttons will never be presented. All scrolling must be ini
If you have read the [overrides documentation page](/customization/overrides/) but aren't confident jumping in, here's an example of how you can change the main color of the Tabs.
-⚠️ Хотя спецификации материал дизайна поощряют использование тем, эти примеры не соответствуют требованиям.
+⚠️ While the material design specification encourages theming, this example is off the beaten path.
{{"demo": "pages/demos/tabs/CustomizedTabs.js"}}
diff --git a/docs/src/pages/demos/text-fields/ComposedTextField-de.tsx b/docs/src/pages/demos/text-fields/ComposedTextField-de.tsx
deleted file mode 100644
index b49745de704cc9..00000000000000
--- a/docs/src/pages/demos/text-fields/ComposedTextField-de.tsx
+++ /dev/null
@@ -1,107 +0,0 @@
-import React, { ComponentClass } from 'react';
-import ReactDOM from 'react-dom';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import FilledInput from '@material-ui/core/FilledInput';
-import FormControl from '@material-ui/core/FormControl';
-import FormHelperText from '@material-ui/core/FormHelperText';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import OutlinedInput from '@material-ui/core/OutlinedInput';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
-}
-
-class ComposedTextField extends React.Component {
- labelRef: HTMLElement | null | undefined;
-
- state = {
- name: 'Composed TextField',
- };
-
- componentDidMount() {
- this.forceUpdate();
- }
-
- handleChange = (event: React.ChangeEvent) => {
- this.setState({ name: event.target.value });
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
-
- Name
-
-
-
- Name
-
- Some important helper text
-
-
- Name
-
- Disabled
-
-
- Name
-
- Error
-
-
- {
- this.labelRef = ReactDOM.findDOMNode(ref!) as HTMLLabelElement | null;
- }}
- htmlFor="component-outlined"
- >
- Name
-
-
-
-
- Name
-
-
-
- );
- }
-}
-
-(ComposedTextField as ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(ComposedTextField);
diff --git a/docs/src/pages/demos/text-fields/ComposedTextField-es.tsx b/docs/src/pages/demos/text-fields/ComposedTextField-es.tsx
deleted file mode 100644
index b49745de704cc9..00000000000000
--- a/docs/src/pages/demos/text-fields/ComposedTextField-es.tsx
+++ /dev/null
@@ -1,107 +0,0 @@
-import React, { ComponentClass } from 'react';
-import ReactDOM from 'react-dom';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import FilledInput from '@material-ui/core/FilledInput';
-import FormControl from '@material-ui/core/FormControl';
-import FormHelperText from '@material-ui/core/FormHelperText';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import OutlinedInput from '@material-ui/core/OutlinedInput';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
-}
-
-class ComposedTextField extends React.Component {
- labelRef: HTMLElement | null | undefined;
-
- state = {
- name: 'Composed TextField',
- };
-
- componentDidMount() {
- this.forceUpdate();
- }
-
- handleChange = (event: React.ChangeEvent) => {
- this.setState({ name: event.target.value });
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
-
- Name
-
-
-
- Name
-
- Some important helper text
-
-
- Name
-
- Disabled
-
-
- Name
-
- Error
-
-
- {
- this.labelRef = ReactDOM.findDOMNode(ref!) as HTMLLabelElement | null;
- }}
- htmlFor="component-outlined"
- >
- Name
-
-
-
-
- Name
-
-
-
- );
- }
-}
-
-(ComposedTextField as ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(ComposedTextField);
diff --git a/docs/src/pages/demos/text-fields/ComposedTextField-fr.tsx b/docs/src/pages/demos/text-fields/ComposedTextField-fr.tsx
deleted file mode 100644
index b49745de704cc9..00000000000000
--- a/docs/src/pages/demos/text-fields/ComposedTextField-fr.tsx
+++ /dev/null
@@ -1,107 +0,0 @@
-import React, { ComponentClass } from 'react';
-import ReactDOM from 'react-dom';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import FilledInput from '@material-ui/core/FilledInput';
-import FormControl from '@material-ui/core/FormControl';
-import FormHelperText from '@material-ui/core/FormHelperText';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import OutlinedInput from '@material-ui/core/OutlinedInput';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
-}
-
-class ComposedTextField extends React.Component {
- labelRef: HTMLElement | null | undefined;
-
- state = {
- name: 'Composed TextField',
- };
-
- componentDidMount() {
- this.forceUpdate();
- }
-
- handleChange = (event: React.ChangeEvent) => {
- this.setState({ name: event.target.value });
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
-
- Name
-
-
-
- Name
-
- Some important helper text
-
-
- Name
-
- Disabled
-
-
- Name
-
- Error
-
-
- {
- this.labelRef = ReactDOM.findDOMNode(ref!) as HTMLLabelElement | null;
- }}
- htmlFor="component-outlined"
- >
- Name
-
-
-
-
- Name
-
-
-
- );
- }
-}
-
-(ComposedTextField as ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(ComposedTextField);
diff --git a/docs/src/pages/demos/text-fields/ComposedTextField-ja.tsx b/docs/src/pages/demos/text-fields/ComposedTextField-ja.tsx
deleted file mode 100644
index b49745de704cc9..00000000000000
--- a/docs/src/pages/demos/text-fields/ComposedTextField-ja.tsx
+++ /dev/null
@@ -1,107 +0,0 @@
-import React, { ComponentClass } from 'react';
-import ReactDOM from 'react-dom';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import FilledInput from '@material-ui/core/FilledInput';
-import FormControl from '@material-ui/core/FormControl';
-import FormHelperText from '@material-ui/core/FormHelperText';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import OutlinedInput from '@material-ui/core/OutlinedInput';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
-}
-
-class ComposedTextField extends React.Component {
- labelRef: HTMLElement | null | undefined;
-
- state = {
- name: 'Composed TextField',
- };
-
- componentDidMount() {
- this.forceUpdate();
- }
-
- handleChange = (event: React.ChangeEvent) => {
- this.setState({ name: event.target.value });
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
-
- Name
-
-
-
- Name
-
- Some important helper text
-
-
- Name
-
- Disabled
-
-
- Name
-
- Error
-
-
- {
- this.labelRef = ReactDOM.findDOMNode(ref!) as HTMLLabelElement | null;
- }}
- htmlFor="component-outlined"
- >
- Name
-
-
-
-
- Name
-
-
-
- );
- }
-}
-
-(ComposedTextField as ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(ComposedTextField);
diff --git a/docs/src/pages/demos/text-fields/ComposedTextField-pt.tsx b/docs/src/pages/demos/text-fields/ComposedTextField-pt.tsx
deleted file mode 100644
index b49745de704cc9..00000000000000
--- a/docs/src/pages/demos/text-fields/ComposedTextField-pt.tsx
+++ /dev/null
@@ -1,107 +0,0 @@
-import React, { ComponentClass } from 'react';
-import ReactDOM from 'react-dom';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import FilledInput from '@material-ui/core/FilledInput';
-import FormControl from '@material-ui/core/FormControl';
-import FormHelperText from '@material-ui/core/FormHelperText';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import OutlinedInput from '@material-ui/core/OutlinedInput';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
-}
-
-class ComposedTextField extends React.Component {
- labelRef: HTMLElement | null | undefined;
-
- state = {
- name: 'Composed TextField',
- };
-
- componentDidMount() {
- this.forceUpdate();
- }
-
- handleChange = (event: React.ChangeEvent) => {
- this.setState({ name: event.target.value });
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
-
- Name
-
-
-
- Name
-
- Some important helper text
-
-
- Name
-
- Disabled
-
-
- Name
-
- Error
-
-
- {
- this.labelRef = ReactDOM.findDOMNode(ref!) as HTMLLabelElement | null;
- }}
- htmlFor="component-outlined"
- >
- Name
-
-
-
-
- Name
-
-
-
- );
- }
-}
-
-(ComposedTextField as ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(ComposedTextField);
diff --git a/docs/src/pages/demos/text-fields/ComposedTextField-ru.tsx b/docs/src/pages/demos/text-fields/ComposedTextField-ru.tsx
deleted file mode 100644
index b49745de704cc9..00000000000000
--- a/docs/src/pages/demos/text-fields/ComposedTextField-ru.tsx
+++ /dev/null
@@ -1,107 +0,0 @@
-import React, { ComponentClass } from 'react';
-import ReactDOM from 'react-dom';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import FilledInput from '@material-ui/core/FilledInput';
-import FormControl from '@material-ui/core/FormControl';
-import FormHelperText from '@material-ui/core/FormHelperText';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import OutlinedInput from '@material-ui/core/OutlinedInput';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
-}
-
-class ComposedTextField extends React.Component {
- labelRef: HTMLElement | null | undefined;
-
- state = {
- name: 'Composed TextField',
- };
-
- componentDidMount() {
- this.forceUpdate();
- }
-
- handleChange = (event: React.ChangeEvent) => {
- this.setState({ name: event.target.value });
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
-
- Name
-
-
-
- Name
-
- Some important helper text
-
-
- Name
-
- Disabled
-
-
- Name
-
- Error
-
-
- {
- this.labelRef = ReactDOM.findDOMNode(ref!) as HTMLLabelElement | null;
- }}
- htmlFor="component-outlined"
- >
- Name
-
-
-
-
- Name
-
-
-
- );
- }
-}
-
-(ComposedTextField as ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(ComposedTextField);
diff --git a/docs/src/pages/demos/text-fields/ComposedTextField-zh.tsx b/docs/src/pages/demos/text-fields/ComposedTextField-zh.tsx
deleted file mode 100644
index 4366bb01f8834c..00000000000000
--- a/docs/src/pages/demos/text-fields/ComposedTextField-zh.tsx
+++ /dev/null
@@ -1,107 +0,0 @@
-import React, { ComponentClass } from 'react';
-import ReactDOM from 'react-dom';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import FilledInput from '@material-ui/core/FilledInput';
-import FormControl from '@material-ui/core/FormControl';
-import FormHelperText from '@material-ui/core/FormHelperText';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import OutlinedInput from '@material-ui/core/OutlinedInput';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
-}
-
-class ComposedTextField extends React.Component {
- labelRef: HTMLElement | null | undefined;
-
- state = {
- name: 'Composed TextField',
- };
-
- componentDidMount() {
- this.forceUpdate();
- }
-
- handleChange = (event: React.ChangeEvent) => {
- this.setState({ name: event.target.value });
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
-
- Name
-
-
-
- Name
-
- Some important helper text
-
-
- Name
-
- Disabled
-
-
- Name
-
- Error
-
-
- {
- this.labelRef = ReactDOM.findDOMNode(ref!) as HTMLLabelElement | null;
- }}
- htmlFor="component-outlined"
- >
- 名称
-
-
-
-
- Name
-
-
-
- );
- }
-}
-
-(ComposedTextField as ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(ComposedTextField);
diff --git a/docs/src/pages/demos/text-fields/CustomizedInputs-de.tsx b/docs/src/pages/demos/text-fields/CustomizedInputs-de.tsx
deleted file mode 100644
index f499d9e01a4b78..00000000000000
--- a/docs/src/pages/demos/text-fields/CustomizedInputs-de.tsx
+++ /dev/null
@@ -1,168 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import {
- createStyles,
- Theme,
- withStyles,
- WithStyles,
- MuiThemeProvider,
- createMuiTheme,
-} from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputBase from '@material-ui/core/InputBase';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-import purple from '@material-ui/core/colors/purple';
-import green from '@material-ui/core/colors/green';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- cssLabel: {
- '&$cssFocused': {
- color: purple[500],
- },
- },
- cssFocused: {},
- cssUnderline: {
- '&:after': {
- borderBottomColor: purple[500],
- },
- },
- cssOutlinedInput: {
- '&$cssFocused $notchedOutline': {
- borderColor: purple[500],
- },
- },
- notchedOutline: {},
- bootstrapRoot: {
- 'label + &': {
- marginTop: theme.spacing.unit * 3,
- },
- },
- bootstrapInput: {
- borderRadius: 4,
- position: 'relative',
- backgroundColor: theme.palette.common.white,
- border: '1px solid #ced4da',
- fontSize: 16,
- width: 'auto',
- padding: '10px 12px',
- transition: theme.transitions.create(['border-color', 'box-shadow']),
- // Use the system font instead of the default Roboto font.
- fontFamily: [
- '-apple-system',
- 'BlinkMacSystemFont',
- '"Segoe UI"',
- 'Roboto',
- '"Helvetica Neue"',
- 'Arial',
- 'sans-serif',
- '"Apple Color Emoji"',
- '"Segoe UI Emoji"',
- '"Segoe UI Symbol"',
- ].join(','),
- '&:focus': {
- borderRadius: 4,
- borderColor: '#80bdff',
- boxShadow: '0 0 0 0.2rem rgba(0,123,255,.25)',
- },
- },
- bootstrapFormLabel: {
- fontSize: 18,
- },
- });
-
-const theme = createMuiTheme({
- palette: {
- primary: green,
- },
- typography: { useNextVariants: true },
-});
-
-export interface Props extends WithStyles {}
-
-function CustomizedInputs(props: Props) {
- const { classes } = props;
-
- return (
-
-
-
- Custom CSS
-
-
-
-
-
-
-
-
-
-
- Bootstrap
-
-
-
-
-
- );
-}
-
-CustomizedInputs.propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(CustomizedInputs);
diff --git a/docs/src/pages/demos/text-fields/CustomizedInputs-es.tsx b/docs/src/pages/demos/text-fields/CustomizedInputs-es.tsx
deleted file mode 100644
index f499d9e01a4b78..00000000000000
--- a/docs/src/pages/demos/text-fields/CustomizedInputs-es.tsx
+++ /dev/null
@@ -1,168 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import {
- createStyles,
- Theme,
- withStyles,
- WithStyles,
- MuiThemeProvider,
- createMuiTheme,
-} from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputBase from '@material-ui/core/InputBase';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-import purple from '@material-ui/core/colors/purple';
-import green from '@material-ui/core/colors/green';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- cssLabel: {
- '&$cssFocused': {
- color: purple[500],
- },
- },
- cssFocused: {},
- cssUnderline: {
- '&:after': {
- borderBottomColor: purple[500],
- },
- },
- cssOutlinedInput: {
- '&$cssFocused $notchedOutline': {
- borderColor: purple[500],
- },
- },
- notchedOutline: {},
- bootstrapRoot: {
- 'label + &': {
- marginTop: theme.spacing.unit * 3,
- },
- },
- bootstrapInput: {
- borderRadius: 4,
- position: 'relative',
- backgroundColor: theme.palette.common.white,
- border: '1px solid #ced4da',
- fontSize: 16,
- width: 'auto',
- padding: '10px 12px',
- transition: theme.transitions.create(['border-color', 'box-shadow']),
- // Use the system font instead of the default Roboto font.
- fontFamily: [
- '-apple-system',
- 'BlinkMacSystemFont',
- '"Segoe UI"',
- 'Roboto',
- '"Helvetica Neue"',
- 'Arial',
- 'sans-serif',
- '"Apple Color Emoji"',
- '"Segoe UI Emoji"',
- '"Segoe UI Symbol"',
- ].join(','),
- '&:focus': {
- borderRadius: 4,
- borderColor: '#80bdff',
- boxShadow: '0 0 0 0.2rem rgba(0,123,255,.25)',
- },
- },
- bootstrapFormLabel: {
- fontSize: 18,
- },
- });
-
-const theme = createMuiTheme({
- palette: {
- primary: green,
- },
- typography: { useNextVariants: true },
-});
-
-export interface Props extends WithStyles {}
-
-function CustomizedInputs(props: Props) {
- const { classes } = props;
-
- return (
-
-
-
- Custom CSS
-
-
-
-
-
-
-
-
-
-
- Bootstrap
-
-
-
-
-
- );
-}
-
-CustomizedInputs.propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(CustomizedInputs);
diff --git a/docs/src/pages/demos/text-fields/CustomizedInputs-fr.tsx b/docs/src/pages/demos/text-fields/CustomizedInputs-fr.tsx
deleted file mode 100644
index 7f622135362125..00000000000000
--- a/docs/src/pages/demos/text-fields/CustomizedInputs-fr.tsx
+++ /dev/null
@@ -1,168 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import {
- createStyles,
- Thème,
- withStyles,
- WithStyles,
- MuiThemeProvider,
- createMuiTheme,
-} from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputBase from '@material-ui/core/InputBase';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-import purple from '@material-ui/core/colors/purple';
-import green from '@material-ui/core/colors/green';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- cssLabel: {
- '&$cssFocused': {
- color: purple[500],
- },
- },
- cssFocused: {},
- cssUnderline: {
- '&:after': {
- borderBottomColor: purple[500],
- },
- },
- cssOutlinedInput: {
- '&$cssFocused $notchedOutline': {
- borderColor: purple[500],
- },
- },
- notchedOutline: {},
- bootstrapRoot: {
- 'label + &': {
- marginTop: theme.spacing.unit * 3,
- },
- },
- bootstrapInput: {
- borderRadius: 4,
- position: 'relative',
- backgroundColor: theme.palette.common.white,
- border: '1px solid #ced4da',
- fontSize: 16,
- width: 'auto',
- padding: '10px 12px',
- transition: theme.transitions.create(['border-color', 'box-shadow']),
- // Use the system font instead of the default Roboto font.
- fontFamily: [
- '-apple-system',
- 'BlinkMacSystemFont',
- '"Segoe UI"',
- 'Roboto',
- '"Helvetica Neue"',
- 'Arial',
- 'sans-serif',
- '"Apple Color Emoji"',
- '"Segoe UI Emoji"',
- '"Segoe UI Symbol"',
- ].join(','),
- '&:focus': {
- borderRadius: 4,
- borderColor: '#80bdff',
- boxShadow: '0 0 0 0.2rem rgba(0,123,255,.25)',
- },
- },
- bootstrapFormLabel: {
- fontSize: 18,
- },
- });
-
-const theme = createMuiTheme({
- palette: {
- primary: green,
- },
- typography: { useNextVariants: true },
-});
-
-export interface Props extends WithStyles {}
-
-function CustomizedInputs(props: Props) {
- const { classes } = props;
-
- return (
-
-
-
- Custom CSS
-
-
-
-
-
-
-
-
-
-
- Bootstrap
-
-
-
-
-
- );
-}
-
-CustomizedInputs.propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(CustomizedInputs);
diff --git a/docs/src/pages/demos/text-fields/CustomizedInputs-ja.tsx b/docs/src/pages/demos/text-fields/CustomizedInputs-ja.tsx
deleted file mode 100644
index f499d9e01a4b78..00000000000000
--- a/docs/src/pages/demos/text-fields/CustomizedInputs-ja.tsx
+++ /dev/null
@@ -1,168 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import {
- createStyles,
- Theme,
- withStyles,
- WithStyles,
- MuiThemeProvider,
- createMuiTheme,
-} from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputBase from '@material-ui/core/InputBase';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-import purple from '@material-ui/core/colors/purple';
-import green from '@material-ui/core/colors/green';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- cssLabel: {
- '&$cssFocused': {
- color: purple[500],
- },
- },
- cssFocused: {},
- cssUnderline: {
- '&:after': {
- borderBottomColor: purple[500],
- },
- },
- cssOutlinedInput: {
- '&$cssFocused $notchedOutline': {
- borderColor: purple[500],
- },
- },
- notchedOutline: {},
- bootstrapRoot: {
- 'label + &': {
- marginTop: theme.spacing.unit * 3,
- },
- },
- bootstrapInput: {
- borderRadius: 4,
- position: 'relative',
- backgroundColor: theme.palette.common.white,
- border: '1px solid #ced4da',
- fontSize: 16,
- width: 'auto',
- padding: '10px 12px',
- transition: theme.transitions.create(['border-color', 'box-shadow']),
- // Use the system font instead of the default Roboto font.
- fontFamily: [
- '-apple-system',
- 'BlinkMacSystemFont',
- '"Segoe UI"',
- 'Roboto',
- '"Helvetica Neue"',
- 'Arial',
- 'sans-serif',
- '"Apple Color Emoji"',
- '"Segoe UI Emoji"',
- '"Segoe UI Symbol"',
- ].join(','),
- '&:focus': {
- borderRadius: 4,
- borderColor: '#80bdff',
- boxShadow: '0 0 0 0.2rem rgba(0,123,255,.25)',
- },
- },
- bootstrapFormLabel: {
- fontSize: 18,
- },
- });
-
-const theme = createMuiTheme({
- palette: {
- primary: green,
- },
- typography: { useNextVariants: true },
-});
-
-export interface Props extends WithStyles {}
-
-function CustomizedInputs(props: Props) {
- const { classes } = props;
-
- return (
-
-
-
- Custom CSS
-
-
-
-
-
-
-
-
-
-
- Bootstrap
-
-
-
-
-
- );
-}
-
-CustomizedInputs.propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(CustomizedInputs);
diff --git a/docs/src/pages/demos/text-fields/CustomizedInputs-pt.tsx b/docs/src/pages/demos/text-fields/CustomizedInputs-pt.tsx
deleted file mode 100644
index f499d9e01a4b78..00000000000000
--- a/docs/src/pages/demos/text-fields/CustomizedInputs-pt.tsx
+++ /dev/null
@@ -1,168 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import {
- createStyles,
- Theme,
- withStyles,
- WithStyles,
- MuiThemeProvider,
- createMuiTheme,
-} from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputBase from '@material-ui/core/InputBase';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-import purple from '@material-ui/core/colors/purple';
-import green from '@material-ui/core/colors/green';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- cssLabel: {
- '&$cssFocused': {
- color: purple[500],
- },
- },
- cssFocused: {},
- cssUnderline: {
- '&:after': {
- borderBottomColor: purple[500],
- },
- },
- cssOutlinedInput: {
- '&$cssFocused $notchedOutline': {
- borderColor: purple[500],
- },
- },
- notchedOutline: {},
- bootstrapRoot: {
- 'label + &': {
- marginTop: theme.spacing.unit * 3,
- },
- },
- bootstrapInput: {
- borderRadius: 4,
- position: 'relative',
- backgroundColor: theme.palette.common.white,
- border: '1px solid #ced4da',
- fontSize: 16,
- width: 'auto',
- padding: '10px 12px',
- transition: theme.transitions.create(['border-color', 'box-shadow']),
- // Use the system font instead of the default Roboto font.
- fontFamily: [
- '-apple-system',
- 'BlinkMacSystemFont',
- '"Segoe UI"',
- 'Roboto',
- '"Helvetica Neue"',
- 'Arial',
- 'sans-serif',
- '"Apple Color Emoji"',
- '"Segoe UI Emoji"',
- '"Segoe UI Symbol"',
- ].join(','),
- '&:focus': {
- borderRadius: 4,
- borderColor: '#80bdff',
- boxShadow: '0 0 0 0.2rem rgba(0,123,255,.25)',
- },
- },
- bootstrapFormLabel: {
- fontSize: 18,
- },
- });
-
-const theme = createMuiTheme({
- palette: {
- primary: green,
- },
- typography: { useNextVariants: true },
-});
-
-export interface Props extends WithStyles {}
-
-function CustomizedInputs(props: Props) {
- const { classes } = props;
-
- return (
-
-
-
- Custom CSS
-
-
-
-
-
-
-
-
-
-
- Bootstrap
-
-
-
-
-
- );
-}
-
-CustomizedInputs.propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(CustomizedInputs);
diff --git a/docs/src/pages/demos/text-fields/CustomizedInputs-ru.tsx b/docs/src/pages/demos/text-fields/CustomizedInputs-ru.tsx
deleted file mode 100644
index f499d9e01a4b78..00000000000000
--- a/docs/src/pages/demos/text-fields/CustomizedInputs-ru.tsx
+++ /dev/null
@@ -1,168 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import {
- createStyles,
- Theme,
- withStyles,
- WithStyles,
- MuiThemeProvider,
- createMuiTheme,
-} from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputBase from '@material-ui/core/InputBase';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-import purple from '@material-ui/core/colors/purple';
-import green from '@material-ui/core/colors/green';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- cssLabel: {
- '&$cssFocused': {
- color: purple[500],
- },
- },
- cssFocused: {},
- cssUnderline: {
- '&:after': {
- borderBottomColor: purple[500],
- },
- },
- cssOutlinedInput: {
- '&$cssFocused $notchedOutline': {
- borderColor: purple[500],
- },
- },
- notchedOutline: {},
- bootstrapRoot: {
- 'label + &': {
- marginTop: theme.spacing.unit * 3,
- },
- },
- bootstrapInput: {
- borderRadius: 4,
- position: 'relative',
- backgroundColor: theme.palette.common.white,
- border: '1px solid #ced4da',
- fontSize: 16,
- width: 'auto',
- padding: '10px 12px',
- transition: theme.transitions.create(['border-color', 'box-shadow']),
- // Use the system font instead of the default Roboto font.
- fontFamily: [
- '-apple-system',
- 'BlinkMacSystemFont',
- '"Segoe UI"',
- 'Roboto',
- '"Helvetica Neue"',
- 'Arial',
- 'sans-serif',
- '"Apple Color Emoji"',
- '"Segoe UI Emoji"',
- '"Segoe UI Symbol"',
- ].join(','),
- '&:focus': {
- borderRadius: 4,
- borderColor: '#80bdff',
- boxShadow: '0 0 0 0.2rem rgba(0,123,255,.25)',
- },
- },
- bootstrapFormLabel: {
- fontSize: 18,
- },
- });
-
-const theme = createMuiTheme({
- palette: {
- primary: green,
- },
- typography: { useNextVariants: true },
-});
-
-export interface Props extends WithStyles {}
-
-function CustomizedInputs(props: Props) {
- const { classes } = props;
-
- return (
-
-
-
- Custom CSS
-
-
-
-
-
-
-
-
-
-
- Bootstrap
-
-
-
-
-
- );
-}
-
-CustomizedInputs.propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(CustomizedInputs);
diff --git a/docs/src/pages/demos/text-fields/CustomizedInputs-zh.tsx b/docs/src/pages/demos/text-fields/CustomizedInputs-zh.tsx
deleted file mode 100644
index f635d3e02a0b0c..00000000000000
--- a/docs/src/pages/demos/text-fields/CustomizedInputs-zh.tsx
+++ /dev/null
@@ -1,168 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import {
- createStyles,
- Theme,
- withStyles,
- WithStyles,
- MuiThemeProvider,
- createMuiTheme,
-} from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputBase from '@material-ui/core/InputBase';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-import purple from '@material-ui/core/colors/purple';
-import green from '@material-ui/core/colors/green';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- cssLabel: {
- '&$cssFocused': {
- color: purple[500],
- },
- },
- cssFocused: {},
- cssUnderline: {
- '&:after': {
- borderBottomColor: purple[500],
- },
- },
- cssOutlinedInput: {
- '&$cssFocused $notchedOutline': {
- borderColor: purple[500],
- },
- },
- notchedOutline: {},
- bootstrapRoot: {
- 'label + &': {
- marginTop: theme.spacing.unit * 3,
- },
- },
- bootstrapInput: {
- borderRadius: 4,
- position: 'relative',
- backgroundColor: theme.palette.common.white,
- border: '1px solid #ced4da',
- fontSize: 16,
- width: 'auto',
- padding: '10px 12px',
- transition: theme.transitions.create(['border-color', 'box-shadow']),
- // Use the system font instead of the default Roboto font.
- fontFamily: [
- '-apple-system',
- 'BlinkMacSystemFont',
- '"Segoe UI"',
- 'Roboto',
- '"Helvetica Neue"',
- 'Arial',
- 'sans-serif',
- '"Apple Color Emoji"',
- '"Segoe UI Emoji"',
- '"Segoe UI Symbol"',
- ].join(','),
- '&:focus': {
- borderRadius: 4,
- borderColor: '#80bdff',
- boxShadow: '0 0 0 0.2rem rgba(0,123,255,.25)',
- },
- },
- bootstrapFormLabel: {
- fontSize: 18,
- },
- });
-
-const theme = createMuiTheme({
- 调色板: {
- primary: green,
- },
- typography: { useNextVariants: true },
-});
-
-export interface Props extends WithStyles {}
-
-function CustomizedInputs(props: Props) {
- const { classes } = props;
-
- return (
-
-
-
- Custom CSS
-
-
-
-
-
-
-
-
-
-
- Bootstrap
-
-
-
-
-
- );
-}
-
-CustomizedInputs.propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(CustomizedInputs);
diff --git a/docs/src/pages/demos/text-fields/FilledInputAdornments-de.tsx b/docs/src/pages/demos/text-fields/FilledInputAdornments-de.tsx
deleted file mode 100644
index 53263f87d1eec9..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledInputAdornments-de.tsx
+++ /dev/null
@@ -1,154 +0,0 @@
-import React from 'react';
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import IconButton from '@material-ui/core/IconButton';
-import InputAdornment from '@material-ui/core/InputAdornment';
-import TextField from '@material-ui/core/TextField';
-import MenuItem from '@material-ui/core/MenuItem';
-import Visibility from '@material-ui/icons/Visibility';
-import VisibilityOff from '@material-ui/icons/VisibilityOff';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- textField: {
- flexBasis: 200,
- },
- });
-
-const ranges = [
- {
- value: '0-20',
- label: '0 to 20',
- },
- {
- value: '21-50',
- label: '21 to 50',
- },
- {
- value: '51-100',
- label: '51 to 100',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- amount: string;
- password: string;
- weight: string;
- weightRange: string;
- showPassword: boolean;
-}
-
-class FilledInputAdornments extends React.Component {
- state = {
- amount: '',
- password: '',
- weight: '',
- weightRange: '',
- showPassword: false,
- };
-
- handleChange = (prop: 'amount' | 'password' | 'weight' | 'weightRange') => (
- event: React.ChangeEvent,
- ) => {
- this.setState({ [prop]: event.target.value } as Pick);
- };
-
- handleClickShowPassword = () => {
- this.setState(state => ({ showPassword: !state.showPassword }));
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- Kg,
- }}
- />
- Kg,
- }}
- >
- {ranges.map(option => (
-
- {option.label}
-
- ))}
-
- $,
- }}
- />
- Kg,
- }}
- />
-
-
- {this.state.showPassword ? : }
-
-
- ),
- }}
- />
-
- );
- }
-}
-
-(FilledInputAdornments as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledInputAdornments);
diff --git a/docs/src/pages/demos/text-fields/FilledInputAdornments-es.tsx b/docs/src/pages/demos/text-fields/FilledInputAdornments-es.tsx
deleted file mode 100644
index 53263f87d1eec9..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledInputAdornments-es.tsx
+++ /dev/null
@@ -1,154 +0,0 @@
-import React from 'react';
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import IconButton from '@material-ui/core/IconButton';
-import InputAdornment from '@material-ui/core/InputAdornment';
-import TextField from '@material-ui/core/TextField';
-import MenuItem from '@material-ui/core/MenuItem';
-import Visibility from '@material-ui/icons/Visibility';
-import VisibilityOff from '@material-ui/icons/VisibilityOff';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- textField: {
- flexBasis: 200,
- },
- });
-
-const ranges = [
- {
- value: '0-20',
- label: '0 to 20',
- },
- {
- value: '21-50',
- label: '21 to 50',
- },
- {
- value: '51-100',
- label: '51 to 100',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- amount: string;
- password: string;
- weight: string;
- weightRange: string;
- showPassword: boolean;
-}
-
-class FilledInputAdornments extends React.Component {
- state = {
- amount: '',
- password: '',
- weight: '',
- weightRange: '',
- showPassword: false,
- };
-
- handleChange = (prop: 'amount' | 'password' | 'weight' | 'weightRange') => (
- event: React.ChangeEvent,
- ) => {
- this.setState({ [prop]: event.target.value } as Pick);
- };
-
- handleClickShowPassword = () => {
- this.setState(state => ({ showPassword: !state.showPassword }));
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- Kg,
- }}
- />
- Kg,
- }}
- >
- {ranges.map(option => (
-
- {option.label}
-
- ))}
-
- $,
- }}
- />
- Kg,
- }}
- />
-
-
- {this.state.showPassword ? : }
-
-
- ),
- }}
- />
-
- );
- }
-}
-
-(FilledInputAdornments as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledInputAdornments);
diff --git a/docs/src/pages/demos/text-fields/FilledInputAdornments-fr.tsx b/docs/src/pages/demos/text-fields/FilledInputAdornments-fr.tsx
deleted file mode 100644
index 53263f87d1eec9..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledInputAdornments-fr.tsx
+++ /dev/null
@@ -1,154 +0,0 @@
-import React from 'react';
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import IconButton from '@material-ui/core/IconButton';
-import InputAdornment from '@material-ui/core/InputAdornment';
-import TextField from '@material-ui/core/TextField';
-import MenuItem from '@material-ui/core/MenuItem';
-import Visibility from '@material-ui/icons/Visibility';
-import VisibilityOff from '@material-ui/icons/VisibilityOff';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- textField: {
- flexBasis: 200,
- },
- });
-
-const ranges = [
- {
- value: '0-20',
- label: '0 to 20',
- },
- {
- value: '21-50',
- label: '21 to 50',
- },
- {
- value: '51-100',
- label: '51 to 100',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- amount: string;
- password: string;
- weight: string;
- weightRange: string;
- showPassword: boolean;
-}
-
-class FilledInputAdornments extends React.Component {
- state = {
- amount: '',
- password: '',
- weight: '',
- weightRange: '',
- showPassword: false,
- };
-
- handleChange = (prop: 'amount' | 'password' | 'weight' | 'weightRange') => (
- event: React.ChangeEvent,
- ) => {
- this.setState({ [prop]: event.target.value } as Pick);
- };
-
- handleClickShowPassword = () => {
- this.setState(state => ({ showPassword: !state.showPassword }));
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- Kg,
- }}
- />
- Kg,
- }}
- >
- {ranges.map(option => (
-
- {option.label}
-
- ))}
-
- $,
- }}
- />
- Kg,
- }}
- />
-
-
- {this.state.showPassword ? : }
-
-
- ),
- }}
- />
-
- );
- }
-}
-
-(FilledInputAdornments as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledInputAdornments);
diff --git a/docs/src/pages/demos/text-fields/FilledInputAdornments-ja.tsx b/docs/src/pages/demos/text-fields/FilledInputAdornments-ja.tsx
deleted file mode 100644
index 53263f87d1eec9..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledInputAdornments-ja.tsx
+++ /dev/null
@@ -1,154 +0,0 @@
-import React from 'react';
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import IconButton from '@material-ui/core/IconButton';
-import InputAdornment from '@material-ui/core/InputAdornment';
-import TextField from '@material-ui/core/TextField';
-import MenuItem from '@material-ui/core/MenuItem';
-import Visibility from '@material-ui/icons/Visibility';
-import VisibilityOff from '@material-ui/icons/VisibilityOff';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- textField: {
- flexBasis: 200,
- },
- });
-
-const ranges = [
- {
- value: '0-20',
- label: '0 to 20',
- },
- {
- value: '21-50',
- label: '21 to 50',
- },
- {
- value: '51-100',
- label: '51 to 100',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- amount: string;
- password: string;
- weight: string;
- weightRange: string;
- showPassword: boolean;
-}
-
-class FilledInputAdornments extends React.Component {
- state = {
- amount: '',
- password: '',
- weight: '',
- weightRange: '',
- showPassword: false,
- };
-
- handleChange = (prop: 'amount' | 'password' | 'weight' | 'weightRange') => (
- event: React.ChangeEvent,
- ) => {
- this.setState({ [prop]: event.target.value } as Pick);
- };
-
- handleClickShowPassword = () => {
- this.setState(state => ({ showPassword: !state.showPassword }));
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- Kg,
- }}
- />
- Kg,
- }}
- >
- {ranges.map(option => (
-
- {option.label}
-
- ))}
-
- $,
- }}
- />
- Kg,
- }}
- />
-
-
- {this.state.showPassword ? : }
-
-
- ),
- }}
- />
-
- );
- }
-}
-
-(FilledInputAdornments as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledInputAdornments);
diff --git a/docs/src/pages/demos/text-fields/FilledInputAdornments-pt.tsx b/docs/src/pages/demos/text-fields/FilledInputAdornments-pt.tsx
deleted file mode 100644
index 53263f87d1eec9..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledInputAdornments-pt.tsx
+++ /dev/null
@@ -1,154 +0,0 @@
-import React from 'react';
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import IconButton from '@material-ui/core/IconButton';
-import InputAdornment from '@material-ui/core/InputAdornment';
-import TextField from '@material-ui/core/TextField';
-import MenuItem from '@material-ui/core/MenuItem';
-import Visibility from '@material-ui/icons/Visibility';
-import VisibilityOff from '@material-ui/icons/VisibilityOff';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- textField: {
- flexBasis: 200,
- },
- });
-
-const ranges = [
- {
- value: '0-20',
- label: '0 to 20',
- },
- {
- value: '21-50',
- label: '21 to 50',
- },
- {
- value: '51-100',
- label: '51 to 100',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- amount: string;
- password: string;
- weight: string;
- weightRange: string;
- showPassword: boolean;
-}
-
-class FilledInputAdornments extends React.Component {
- state = {
- amount: '',
- password: '',
- weight: '',
- weightRange: '',
- showPassword: false,
- };
-
- handleChange = (prop: 'amount' | 'password' | 'weight' | 'weightRange') => (
- event: React.ChangeEvent,
- ) => {
- this.setState({ [prop]: event.target.value } as Pick);
- };
-
- handleClickShowPassword = () => {
- this.setState(state => ({ showPassword: !state.showPassword }));
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- Kg,
- }}
- />
- Kg,
- }}
- >
- {ranges.map(option => (
-
- {option.label}
-
- ))}
-
- $,
- }}
- />
- Kg,
- }}
- />
-
-
- {this.state.showPassword ? : }
-
-
- ),
- }}
- />
-
- );
- }
-}
-
-(FilledInputAdornments as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledInputAdornments);
diff --git a/docs/src/pages/demos/text-fields/FilledInputAdornments-ru.tsx b/docs/src/pages/demos/text-fields/FilledInputAdornments-ru.tsx
deleted file mode 100644
index 53263f87d1eec9..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledInputAdornments-ru.tsx
+++ /dev/null
@@ -1,154 +0,0 @@
-import React from 'react';
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import IconButton from '@material-ui/core/IconButton';
-import InputAdornment from '@material-ui/core/InputAdornment';
-import TextField from '@material-ui/core/TextField';
-import MenuItem from '@material-ui/core/MenuItem';
-import Visibility from '@material-ui/icons/Visibility';
-import VisibilityOff from '@material-ui/icons/VisibilityOff';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- textField: {
- flexBasis: 200,
- },
- });
-
-const ranges = [
- {
- value: '0-20',
- label: '0 to 20',
- },
- {
- value: '21-50',
- label: '21 to 50',
- },
- {
- value: '51-100',
- label: '51 to 100',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- amount: string;
- password: string;
- weight: string;
- weightRange: string;
- showPassword: boolean;
-}
-
-class FilledInputAdornments extends React.Component {
- state = {
- amount: '',
- password: '',
- weight: '',
- weightRange: '',
- showPassword: false,
- };
-
- handleChange = (prop: 'amount' | 'password' | 'weight' | 'weightRange') => (
- event: React.ChangeEvent,
- ) => {
- this.setState({ [prop]: event.target.value } as Pick);
- };
-
- handleClickShowPassword = () => {
- this.setState(state => ({ showPassword: !state.showPassword }));
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- Kg,
- }}
- />
- Kg,
- }}
- >
- {ranges.map(option => (
-
- {option.label}
-
- ))}
-
- $,
- }}
- />
- Kg,
- }}
- />
-
-
- {this.state.showPassword ? : }
-
-
- ),
- }}
- />
-
- );
- }
-}
-
-(FilledInputAdornments as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledInputAdornments);
diff --git a/docs/src/pages/demos/text-fields/FilledInputAdornments-zh.tsx b/docs/src/pages/demos/text-fields/FilledInputAdornments-zh.tsx
deleted file mode 100644
index 53263f87d1eec9..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledInputAdornments-zh.tsx
+++ /dev/null
@@ -1,154 +0,0 @@
-import React from 'react';
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import IconButton from '@material-ui/core/IconButton';
-import InputAdornment from '@material-ui/core/InputAdornment';
-import TextField from '@material-ui/core/TextField';
-import MenuItem from '@material-ui/core/MenuItem';
-import Visibility from '@material-ui/icons/Visibility';
-import VisibilityOff from '@material-ui/icons/VisibilityOff';
-
-const styles = (theme: Theme) =>
- createStyles({
- root: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- margin: {
- margin: theme.spacing.unit,
- },
- textField: {
- flexBasis: 200,
- },
- });
-
-const ranges = [
- {
- value: '0-20',
- label: '0 to 20',
- },
- {
- value: '21-50',
- label: '21 to 50',
- },
- {
- value: '51-100',
- label: '51 to 100',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- amount: string;
- password: string;
- weight: string;
- weightRange: string;
- showPassword: boolean;
-}
-
-class FilledInputAdornments extends React.Component {
- state = {
- amount: '',
- password: '',
- weight: '',
- weightRange: '',
- showPassword: false,
- };
-
- handleChange = (prop: 'amount' | 'password' | 'weight' | 'weightRange') => (
- event: React.ChangeEvent,
- ) => {
- this.setState({ [prop]: event.target.value } as Pick);
- };
-
- handleClickShowPassword = () => {
- this.setState(state => ({ showPassword: !state.showPassword }));
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- Kg,
- }}
- />
- Kg,
- }}
- >
- {ranges.map(option => (
-
- {option.label}
-
- ))}
-
- $,
- }}
- />
- Kg,
- }}
- />
-
-
- {this.state.showPassword ? : }
-
-
- ),
- }}
- />
-
- );
- }
-}
-
-(FilledInputAdornments as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledInputAdornments);
diff --git a/docs/src/pages/demos/text-fields/FilledTextFields-de.tsx b/docs/src/pages/demos/text-fields/FilledTextFields-de.tsx
deleted file mode 100644
index 8fddd83e37aaaf..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledTextFields-de.tsx
+++ /dev/null
@@ -1,297 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import classNames from 'classnames';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import MenuItem from '@material-ui/core/MenuItem';
-import TextField from '@material-ui/core/TextField';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- textField: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- },
- dense: {
- marginTop: 16,
- },
- menu: {
- width: 200,
- },
- });
-
-const currencies = [
- {
- value: 'USD',
- label: '$',
- },
- {
- value: 'EUR',
- label: '€',
- },
- {
- value: 'BTC',
- label: '฿',
- },
- {
- value: 'JPY',
- label: '¥',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
- age: string;
- multiline: string;
- currency: string;
-}
-
-class FilledTextFields extends React.Component {
- state = {
- name: 'Cat in the Hat',
- age: '',
- multiline: 'Controlled',
- currency: 'EUR',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- );
- }
-}
-
-(FilledTextFields as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledTextFields);
diff --git a/docs/src/pages/demos/text-fields/FilledTextFields-es.tsx b/docs/src/pages/demos/text-fields/FilledTextFields-es.tsx
deleted file mode 100644
index 8fddd83e37aaaf..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledTextFields-es.tsx
+++ /dev/null
@@ -1,297 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import classNames from 'classnames';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import MenuItem from '@material-ui/core/MenuItem';
-import TextField from '@material-ui/core/TextField';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- textField: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- },
- dense: {
- marginTop: 16,
- },
- menu: {
- width: 200,
- },
- });
-
-const currencies = [
- {
- value: 'USD',
- label: '$',
- },
- {
- value: 'EUR',
- label: '€',
- },
- {
- value: 'BTC',
- label: '฿',
- },
- {
- value: 'JPY',
- label: '¥',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
- age: string;
- multiline: string;
- currency: string;
-}
-
-class FilledTextFields extends React.Component {
- state = {
- name: 'Cat in the Hat',
- age: '',
- multiline: 'Controlled',
- currency: 'EUR',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- );
- }
-}
-
-(FilledTextFields as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledTextFields);
diff --git a/docs/src/pages/demos/text-fields/FilledTextFields-fr.tsx b/docs/src/pages/demos/text-fields/FilledTextFields-fr.tsx
deleted file mode 100644
index 8fddd83e37aaaf..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledTextFields-fr.tsx
+++ /dev/null
@@ -1,297 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import classNames from 'classnames';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import MenuItem from '@material-ui/core/MenuItem';
-import TextField from '@material-ui/core/TextField';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- textField: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- },
- dense: {
- marginTop: 16,
- },
- menu: {
- width: 200,
- },
- });
-
-const currencies = [
- {
- value: 'USD',
- label: '$',
- },
- {
- value: 'EUR',
- label: '€',
- },
- {
- value: 'BTC',
- label: '฿',
- },
- {
- value: 'JPY',
- label: '¥',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
- age: string;
- multiline: string;
- currency: string;
-}
-
-class FilledTextFields extends React.Component {
- state = {
- name: 'Cat in the Hat',
- age: '',
- multiline: 'Controlled',
- currency: 'EUR',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- );
- }
-}
-
-(FilledTextFields as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledTextFields);
diff --git a/docs/src/pages/demos/text-fields/FilledTextFields-ja.tsx b/docs/src/pages/demos/text-fields/FilledTextFields-ja.tsx
deleted file mode 100644
index 8fddd83e37aaaf..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledTextFields-ja.tsx
+++ /dev/null
@@ -1,297 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import classNames from 'classnames';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import MenuItem from '@material-ui/core/MenuItem';
-import TextField from '@material-ui/core/TextField';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- textField: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- },
- dense: {
- marginTop: 16,
- },
- menu: {
- width: 200,
- },
- });
-
-const currencies = [
- {
- value: 'USD',
- label: '$',
- },
- {
- value: 'EUR',
- label: '€',
- },
- {
- value: 'BTC',
- label: '฿',
- },
- {
- value: 'JPY',
- label: '¥',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
- age: string;
- multiline: string;
- currency: string;
-}
-
-class FilledTextFields extends React.Component {
- state = {
- name: 'Cat in the Hat',
- age: '',
- multiline: 'Controlled',
- currency: 'EUR',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- );
- }
-}
-
-(FilledTextFields as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledTextFields);
diff --git a/docs/src/pages/demos/text-fields/FilledTextFields-pt.tsx b/docs/src/pages/demos/text-fields/FilledTextFields-pt.tsx
deleted file mode 100644
index 8fddd83e37aaaf..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledTextFields-pt.tsx
+++ /dev/null
@@ -1,297 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import classNames from 'classnames';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import MenuItem from '@material-ui/core/MenuItem';
-import TextField from '@material-ui/core/TextField';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- textField: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- },
- dense: {
- marginTop: 16,
- },
- menu: {
- width: 200,
- },
- });
-
-const currencies = [
- {
- value: 'USD',
- label: '$',
- },
- {
- value: 'EUR',
- label: '€',
- },
- {
- value: 'BTC',
- label: '฿',
- },
- {
- value: 'JPY',
- label: '¥',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
- age: string;
- multiline: string;
- currency: string;
-}
-
-class FilledTextFields extends React.Component {
- state = {
- name: 'Cat in the Hat',
- age: '',
- multiline: 'Controlled',
- currency: 'EUR',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- );
- }
-}
-
-(FilledTextFields as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledTextFields);
diff --git a/docs/src/pages/demos/text-fields/FilledTextFields-ru.tsx b/docs/src/pages/demos/text-fields/FilledTextFields-ru.tsx
deleted file mode 100644
index 8fddd83e37aaaf..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledTextFields-ru.tsx
+++ /dev/null
@@ -1,297 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import classNames from 'classnames';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import MenuItem from '@material-ui/core/MenuItem';
-import TextField from '@material-ui/core/TextField';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- textField: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- },
- dense: {
- marginTop: 16,
- },
- menu: {
- width: 200,
- },
- });
-
-const currencies = [
- {
- value: 'USD',
- label: '$',
- },
- {
- value: 'EUR',
- label: '€',
- },
- {
- value: 'BTC',
- label: '฿',
- },
- {
- value: 'JPY',
- label: '¥',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
- age: string;
- multiline: string;
- currency: string;
-}
-
-class FilledTextFields extends React.Component {
- state = {
- name: 'Cat in the Hat',
- age: '',
- multiline: 'Controlled',
- currency: 'EUR',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- );
- }
-}
-
-(FilledTextFields as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledTextFields);
diff --git a/docs/src/pages/demos/text-fields/FilledTextFields-zh.tsx b/docs/src/pages/demos/text-fields/FilledTextFields-zh.tsx
deleted file mode 100644
index 8fddd83e37aaaf..00000000000000
--- a/docs/src/pages/demos/text-fields/FilledTextFields-zh.tsx
+++ /dev/null
@@ -1,297 +0,0 @@
-import React from 'react';
-import PropTypes from 'prop-types';
-import classNames from 'classnames';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import MenuItem from '@material-ui/core/MenuItem';
-import TextField from '@material-ui/core/TextField';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- textField: {
- marginLeft: theme.spacing.unit,
- marginRight: theme.spacing.unit,
- },
- dense: {
- marginTop: 16,
- },
- menu: {
- width: 200,
- },
- });
-
-const currencies = [
- {
- value: 'USD',
- label: '$',
- },
- {
- value: 'EUR',
- label: '€',
- },
- {
- value: 'BTC',
- label: '฿',
- },
- {
- value: 'JPY',
- label: '¥',
- },
-];
-
-export interface Props extends WithStyles {}
-
-interface State {
- name: string;
- age: string;
- multiline: string;
- currency: string;
-}
-
-class FilledTextFields extends React.Component {
- state = {
- name: 'Cat in the Hat',
- age: '',
- multiline: 'Controlled',
- currency: 'EUR',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
-
- return (
-
- );
- }
-}
-
-(FilledTextFields as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FilledTextFields);
diff --git a/docs/src/pages/demos/text-fields/FormattedInputs-de.tsx b/docs/src/pages/demos/text-fields/FormattedInputs-de.tsx
deleted file mode 100644
index e1bc3f7ca7bf0f..00000000000000
--- a/docs/src/pages/demos/text-fields/FormattedInputs-de.tsx
+++ /dev/null
@@ -1,129 +0,0 @@
-import React from 'react';
-import MaskedInput from 'react-text-mask';
-import NumberFormat from 'react-number-format';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface TextMaskCustomProps {
- inputRef: (ref: HTMLInputElement | null) => void;
-}
-
-function TextMaskCustom(props: TextMaskCustomProps) {
- const { inputRef, ...other } = props;
-
- return (
- {
- inputRef(ref ? ref.inputElement : null);
- }}
- mask={['(', /[1-9]/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/]}
- placeholderChar={'\u2000'}
- showMask
- />
- );
-}
-
-TextMaskCustom.propTypes = {
- inputRef: PropTypes.func.isRequired,
-} as any;
-
-export interface NumberFormatCustomProps {
- inputRef: (instance: NumberFormat | null) => void;
- onChange: (event: { target: { value: string } }) => void;
-}
-
-function NumberFormatCustom(props: NumberFormatCustomProps) {
- const { inputRef, onChange, ...other } = props;
-
- return (
- {
- onChange({
- target: {
- value: values.value,
- },
- });
- }}
- thousandSeparator
- prefix="$"
- />
- );
-}
-
-NumberFormatCustom.propTypes = {
- inputRef: PropTypes.func.isRequired,
- onChange: PropTypes.func.isRequired,
-} as any;
-
-export interface Props extends WithStyles {}
-
-interface State {
- textmask: string;
- numberformat: string;
-}
-
-class FormattedInputs extends React.Component {
- state = {
- textmask: '(1 ) - ',
- numberformat: '1320',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
- const { textmask, numberformat } = this.state;
-
- return (
-
-
- react-text-mask
-
-
-
-
- );
- }
-}
-
-(FormattedInputs as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FormattedInputs);
diff --git a/docs/src/pages/demos/text-fields/FormattedInputs-es.tsx b/docs/src/pages/demos/text-fields/FormattedInputs-es.tsx
deleted file mode 100644
index e1bc3f7ca7bf0f..00000000000000
--- a/docs/src/pages/demos/text-fields/FormattedInputs-es.tsx
+++ /dev/null
@@ -1,129 +0,0 @@
-import React from 'react';
-import MaskedInput from 'react-text-mask';
-import NumberFormat from 'react-number-format';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface TextMaskCustomProps {
- inputRef: (ref: HTMLInputElement | null) => void;
-}
-
-function TextMaskCustom(props: TextMaskCustomProps) {
- const { inputRef, ...other } = props;
-
- return (
- {
- inputRef(ref ? ref.inputElement : null);
- }}
- mask={['(', /[1-9]/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/]}
- placeholderChar={'\u2000'}
- showMask
- />
- );
-}
-
-TextMaskCustom.propTypes = {
- inputRef: PropTypes.func.isRequired,
-} as any;
-
-export interface NumberFormatCustomProps {
- inputRef: (instance: NumberFormat | null) => void;
- onChange: (event: { target: { value: string } }) => void;
-}
-
-function NumberFormatCustom(props: NumberFormatCustomProps) {
- const { inputRef, onChange, ...other } = props;
-
- return (
- {
- onChange({
- target: {
- value: values.value,
- },
- });
- }}
- thousandSeparator
- prefix="$"
- />
- );
-}
-
-NumberFormatCustom.propTypes = {
- inputRef: PropTypes.func.isRequired,
- onChange: PropTypes.func.isRequired,
-} as any;
-
-export interface Props extends WithStyles {}
-
-interface State {
- textmask: string;
- numberformat: string;
-}
-
-class FormattedInputs extends React.Component {
- state = {
- textmask: '(1 ) - ',
- numberformat: '1320',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
- const { textmask, numberformat } = this.state;
-
- return (
-
-
- react-text-mask
-
-
-
-
- );
- }
-}
-
-(FormattedInputs as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FormattedInputs);
diff --git a/docs/src/pages/demos/text-fields/FormattedInputs-fr.tsx b/docs/src/pages/demos/text-fields/FormattedInputs-fr.tsx
deleted file mode 100644
index e1bc3f7ca7bf0f..00000000000000
--- a/docs/src/pages/demos/text-fields/FormattedInputs-fr.tsx
+++ /dev/null
@@ -1,129 +0,0 @@
-import React from 'react';
-import MaskedInput from 'react-text-mask';
-import NumberFormat from 'react-number-format';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface TextMaskCustomProps {
- inputRef: (ref: HTMLInputElement | null) => void;
-}
-
-function TextMaskCustom(props: TextMaskCustomProps) {
- const { inputRef, ...other } = props;
-
- return (
- {
- inputRef(ref ? ref.inputElement : null);
- }}
- mask={['(', /[1-9]/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/]}
- placeholderChar={'\u2000'}
- showMask
- />
- );
-}
-
-TextMaskCustom.propTypes = {
- inputRef: PropTypes.func.isRequired,
-} as any;
-
-export interface NumberFormatCustomProps {
- inputRef: (instance: NumberFormat | null) => void;
- onChange: (event: { target: { value: string } }) => void;
-}
-
-function NumberFormatCustom(props: NumberFormatCustomProps) {
- const { inputRef, onChange, ...other } = props;
-
- return (
- {
- onChange({
- target: {
- value: values.value,
- },
- });
- }}
- thousandSeparator
- prefix="$"
- />
- );
-}
-
-NumberFormatCustom.propTypes = {
- inputRef: PropTypes.func.isRequired,
- onChange: PropTypes.func.isRequired,
-} as any;
-
-export interface Props extends WithStyles {}
-
-interface State {
- textmask: string;
- numberformat: string;
-}
-
-class FormattedInputs extends React.Component {
- state = {
- textmask: '(1 ) - ',
- numberformat: '1320',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
- const { textmask, numberformat } = this.state;
-
- return (
-
-
- react-text-mask
-
-
-
-
- );
- }
-}
-
-(FormattedInputs as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FormattedInputs);
diff --git a/docs/src/pages/demos/text-fields/FormattedInputs-ja.tsx b/docs/src/pages/demos/text-fields/FormattedInputs-ja.tsx
deleted file mode 100644
index e1bc3f7ca7bf0f..00000000000000
--- a/docs/src/pages/demos/text-fields/FormattedInputs-ja.tsx
+++ /dev/null
@@ -1,129 +0,0 @@
-import React from 'react';
-import MaskedInput from 'react-text-mask';
-import NumberFormat from 'react-number-format';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface TextMaskCustomProps {
- inputRef: (ref: HTMLInputElement | null) => void;
-}
-
-function TextMaskCustom(props: TextMaskCustomProps) {
- const { inputRef, ...other } = props;
-
- return (
- {
- inputRef(ref ? ref.inputElement : null);
- }}
- mask={['(', /[1-9]/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/]}
- placeholderChar={'\u2000'}
- showMask
- />
- );
-}
-
-TextMaskCustom.propTypes = {
- inputRef: PropTypes.func.isRequired,
-} as any;
-
-export interface NumberFormatCustomProps {
- inputRef: (instance: NumberFormat | null) => void;
- onChange: (event: { target: { value: string } }) => void;
-}
-
-function NumberFormatCustom(props: NumberFormatCustomProps) {
- const { inputRef, onChange, ...other } = props;
-
- return (
- {
- onChange({
- target: {
- value: values.value,
- },
- });
- }}
- thousandSeparator
- prefix="$"
- />
- );
-}
-
-NumberFormatCustom.propTypes = {
- inputRef: PropTypes.func.isRequired,
- onChange: PropTypes.func.isRequired,
-} as any;
-
-export interface Props extends WithStyles {}
-
-interface State {
- textmask: string;
- numberformat: string;
-}
-
-class FormattedInputs extends React.Component {
- state = {
- textmask: '(1 ) - ',
- numberformat: '1320',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
- const { textmask, numberformat } = this.state;
-
- return (
-
-
- react-text-mask
-
-
-
-
- );
- }
-}
-
-(FormattedInputs as React.ComponentClass).propTypes = {
- classes: PropTypes.object.isRequired,
-} as any;
-
-export default withStyles(styles)(FormattedInputs);
diff --git a/docs/src/pages/demos/text-fields/FormattedInputs-pt.tsx b/docs/src/pages/demos/text-fields/FormattedInputs-pt.tsx
deleted file mode 100644
index e1bc3f7ca7bf0f..00000000000000
--- a/docs/src/pages/demos/text-fields/FormattedInputs-pt.tsx
+++ /dev/null
@@ -1,129 +0,0 @@
-import React from 'react';
-import MaskedInput from 'react-text-mask';
-import NumberFormat from 'react-number-format';
-import PropTypes from 'prop-types';
-import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';
-import Input from '@material-ui/core/Input';
-import InputLabel from '@material-ui/core/InputLabel';
-import TextField from '@material-ui/core/TextField';
-import FormControl from '@material-ui/core/FormControl';
-
-const styles = (theme: Theme) =>
- createStyles({
- container: {
- display: 'flex',
- flexWrap: 'wrap',
- },
- formControl: {
- margin: theme.spacing.unit,
- },
- });
-
-export interface TextMaskCustomProps {
- inputRef: (ref: HTMLInputElement | null) => void;
-}
-
-function TextMaskCustom(props: TextMaskCustomProps) {
- const { inputRef, ...other } = props;
-
- return (
- {
- inputRef(ref ? ref.inputElement : null);
- }}
- mask={['(', /[1-9]/, /\d/, /\d/, ')', ' ', /\d/, /\d/, /\d/, '-', /\d/, /\d/, /\d/, /\d/]}
- placeholderChar={'\u2000'}
- showMask
- />
- );
-}
-
-TextMaskCustom.propTypes = {
- inputRef: PropTypes.func.isRequired,
-} as any;
-
-export interface NumberFormatCustomProps {
- inputRef: (instance: NumberFormat | null) => void;
- onChange: (event: { target: { value: string } }) => void;
-}
-
-function NumberFormatCustom(props: NumberFormatCustomProps) {
- const { inputRef, onChange, ...other } = props;
-
- return (
- {
- onChange({
- target: {
- value: values.value,
- },
- });
- }}
- thousandSeparator
- prefix="$"
- />
- );
-}
-
-NumberFormatCustom.propTypes = {
- inputRef: PropTypes.func.isRequired,
- onChange: PropTypes.func.isRequired,
-} as any;
-
-export interface Props extends WithStyles {}
-
-interface State {
- textmask: string;
- numberformat: string;
-}
-
-class FormattedInputs extends React.Component {
- state = {
- textmask: '(1 ) - ',
- numberformat: '1320',
- };
-
- handleChange = (name: keyof State) => (event: React.ChangeEvent) => {
- this.setState({
- [name]: event.target.value,
- } as Pick);
- };
-
- render() {
- const { classes } = this.props;
- const { textmask, numberformat } = this.state;
-
- return (
-
-