You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/src/pages/components/about-the-lab/about-the-lab-pt.md
+6-6
Original file line number
Diff line number
Diff line change
@@ -2,22 +2,22 @@
2
2
3
3
<pclass="description">Este pacote hospeda os componentes da incubadora que ainda não estão prontos para mover para o núcleo (core).</p>
4
4
5
-
A principal diferença entre o lab e o core (núcleo) é como os componentes são versionados. Tendo um pacote separado para o lab, podemos liberar alterações radicais quando necessário, enquanto o pacote do core segue uma [política de movimentação mais lenta](https://material-ui.com/versions/#release-frequency).
5
+
A principal diferença entre o lab e o core (núcleo) é como os componentes são versionados. Tendo um pacote separado para o lab, podemos liberar alterações críticas quando necessário, enquanto o pacote do core segue uma [política de liberação mais lenta](https://material-ui.com/versions/#release-frequency).
6
6
7
-
À medida que os desenvolvedores usam, testam os componentes e relatam problemas, os mantenedores aprendem mais sobre as deficiências dos componentes: recursos ausentes, problemas de acessibilidade, bugs, design de API, etc. Quanto mais antigo e mais usado for um componente, menor é a probabilidade de novos problemas serem encontrados e, posteriormente, novas alterações radicais precisarão ser introduzidas.
7
+
À medida que os desenvolvedores usam, testam os componentes e relatam problemas, os mantenedores aprendem mais sobre as deficiências dos componentes: recursos ausentes, problemas de acessibilidade, bugs, design de API, etc. Quanto mais antigo e mais usado for um componente, menor é a probabilidade de novos problemas serem encontrados e, consequentemente, necessidades de alterações críticas serem feitas.
8
8
9
9
Para que um componente esteja pronto para ir para o core, são considerados os seguintes critérios:
10
10
11
-
* Ele precisa ser **utilizado**. A equipe do Material-UI usa o Google Analytics e outras métricas para avaliar o uso de cada componente. Um componente do lab com baixo uso significa que ainda não está totalmente funcionando ou que há uma baixa demanda por ele.
12
-
* Ele precisa corresponder à **qualidade de código** dos componentes principais. O componente não precisa ser perfeito para fazer parte do core, mas ele deve ser confiável o suficiente para que os desenvolvedores possam depender dele.
11
+
* Ele precisa ser **utilizado**. A equipe do Material-UI usa o Google Analytics e outras métricas para avaliar o uso de cada componente. Um componente do lab com baixo uso significa que ainda não está totalmente funcional ou que há uma baixa demanda por ele.
12
+
* Ele precisa atender critérios de **qualidade de código**, semelhante aos componentes do core. O componente não precisa ser perfeito para fazer parte do core, mas ele deve ser confiável o suficiente para que os desenvolvedores possam depender dele.
13
13
* Cada componente precisa de **definições de tipo**. Atualmente, não é necessário que um componente do lab seja tipado, mas ele precisará ser tipado para passar para o core.
14
14
* Requer boa **cobertura de teste**. Atualmente, alguns dos componentes do lab não têm testes abrangentes.
15
15
* O componente pode ser usado como **alavancagem** para incentivar os usuários a atualizar para a versão mais recente? Quanto menos fragmentada a comunidade, melhor.
16
-
* Ele precisa ter uma baixa probabilidade de **alterações radicais** no curto/médio prazo. Por exemplo, se o componente precisar de um novo recurso que provavelmente precisará de alterações radicais, pode ser preferível adiar sua promoção para o core.
16
+
* Ele precisa ter uma baixa probabilidade de **alterações críticas** no curto/médio prazo. Por exemplo, se o componente precisar de um novo recurso que provavelmente precisará de alterações críticas, pode ser preferível adiar sua promoção para o core.
Copy file name to clipboardexpand all lines: docs/src/pages/components/alert/alert-de.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Die `AlertTitle`-Komponente kann verwendet werden um einen formatierten Titel ü
25
25
26
26
Ein Hinweis kann eine Aktion wie zum Beispiel Schließen oder Zurücksetzen haben. Sie wird am Ende des Hinweises, hinter der Nachricht, angezeigt.
27
27
28
-
If an`onClose` callback is provided and no `action` prop is set, a close icon is displayed. The `action` prop can be used to provide an alternative action, for example using a Button or IconButton.
28
+
Wenn ein`onClose` callback und kein `action` prop gesetzt ist, wird ein Schließ-Icon angezeigt. The `action` prop can be used to provide an alternative action, for example using a Button or IconButton.
Copy file name to clipboardexpand all lines: docs/src/pages/components/autocomplete/autocomplete-de.md
+12-9
Original file line number
Diff line number
Diff line change
@@ -36,22 +36,26 @@ Wählen Sie eines der 248 Länder.
36
36
37
37
The component has two states that can be controlled:
38
38
39
-
1. the "value" state with the `value`/`onChange` props combination.
40
-
2. the "input value" state with the `inputValue`/`onInputChange` props combination.
39
+
1. the "value" state with the `value`/`onChange` props combination. This state represents the value selected by the user, for instance when pressing <kbd>Enter</kbd>.
40
+
2. the "input value" state with the `inputValue`/`onInputChange` props combination. This state represents the value displayed in the textbox.
41
41
42
42
> ⚠️ These two state are isolated, they should be controlled independently.
Set `freeSolo` to true so the textbox can contain any arbitrary value. The prop is designed to cover the primary use case of a search box with suggestions, e.g. Google search.
46
+
## Free solo
47
47
48
-
However, if you intend to use it for a [combo box](#combo-box) like experience (an enhanced version of a select element) we recommend setting `selectOnFocus` (it helps the user clear the selected value).
48
+
Set `freeSolo` to true so the textbox can contain any arbitrary value. The prop is designed to cover the primary use case of a **search box** with suggestions, e.g. Google search or react-autowhatever.
If you intend to use this mode for a [combo box](#combo-box) like experience (an enhanced version of a select element) we recommend setting:
53
55
54
-
Sometimes you want to make explicit to the user that he/she can add whatever value he/she wants. The following demo adds a last option: `Add "YOUR SEARCH"`.
56
+
-`selectOnFocus` to helps the user clear the selected value.
57
+
-`clearOnBlur` to helps the user to enter a new value.
58
+
- A last option, for instance `Add "YOUR SEARCH"`.
@@ -143,7 +147,7 @@ The following demo relies on [autosuggest-highlight](https://github.com/moroshko
143
147
144
148
## Benutzerderfinierter Filter
145
149
146
-
The component exposes a factory to create a filter method that can provided to the `filerOption` prop. Sie können es verwenden, um das Standard-Filterverhalten der Option zu ändern.
150
+
The component exposes a factory to create a filter method that can provided to the `filterOptions` prop. Sie können es verwenden, um das Standard-Filterverhalten der Option zu ändern.
@@ -158,7 +162,6 @@ import { createFilterOptions } from '@material-ui/lab/Autocomplete';
158
162
-`config.ignoreCase` (*Boolean*[optional]): Defaults to `true`. Alles in Kleinbuchstaben.
159
163
-`config.limit` (*Number*[optional]): Default to null. Limit the number of suggested options to be shown. For example, if `config.limit` is `100`, only the first `100` matching options are shown. It can be useful if a lot of options match and virtualization wasn't set up.
160
164
-`config.matchFrom` (*'any' | 'start'*[optional]): Defaults to `'any'`.
161
-
-`config.startAfter`(*Number*[optional]): Default to `0`. Show the suggested options only after a certain number of letters
162
165
-`config.stringify` (*Func*[optional]): Controls how an option is converted into a string so that it can be matched against the input text fragment.
163
166
-`config.trim ` (*Boolean*[optional]): Standardeinstellung ist `false`. Abschließende Leerzeichen entfernen.
Copy file name to clipboardexpand all lines: docs/src/pages/components/autocomplete/autocomplete-es.md
+12-9
Original file line number
Diff line number
Diff line change
@@ -36,22 +36,26 @@ Choose one of the 248 countries.
36
36
37
37
The component has two states that can be controlled:
38
38
39
-
1. the "value" state with the `value`/`onChange` props combination.
40
-
2. the "input value" state with the `inputValue`/`onInputChange` props combination.
39
+
1. the "value" state with the `value`/`onChange` props combination. This state represents the value selected by the user, for instance when pressing <kbd>Enter</kbd>.
40
+
2. the "input value" state with the `inputValue`/`onInputChange` props combination. This state represents the value displayed in the textbox.
41
41
42
42
> ⚠️ These two state are isolated, they should be controlled independently.
Setear `freeSolo` a true, para que el cuadro de texto pueda contener cualquier valor arbitrario. La propiedad está diseñada para cubrir el principal caso de uso de una caja de búsqueda con sugerencias, ej: Google Search.
46
+
## Free solo
47
47
48
-
However, if you intend to use it for a [combo box](#combo-box) like experience (an enhanced version of a select element) we recommend setting `selectOnFocus` (it helps the user clear the selected value).
48
+
Setear `freeSolo` a true, para que el cuadro de texto pueda contener cualquier valor arbitrario. The prop is designed to cover the primary use case of a **search box** with suggestions, e.g. Google search or react-autowhatever.
If you intend to use this mode for a [combo box](#combo-box) like experience (an enhanced version of a select element) we recommend setting:
53
55
54
-
Sometimes you want to make explicit to the user that he/she can add whatever value he/she wants. The following demo adds a last option: `Add "YOUR SEARCH"`.
56
+
-`selectOnFocus` to helps the user clear the selected value.
57
+
-`clearOnBlur` to helps the user to enter a new value.
58
+
- A last option, for instance `Add "YOUR SEARCH"`.
@@ -143,7 +147,7 @@ La siguiente demostración se basa en [autosuggest-highlight](https://github.com
143
147
144
148
## Filtro personalizado
145
149
146
-
The component exposes a factory to create a filter method that can provided to the `filerOption` prop. You can use it to change the default option filter behavior.
150
+
The component exposes a factory to create a filter method that can provided to the `filterOptions` prop. You can use it to change the default option filter behavior.
@@ -158,7 +162,6 @@ import { createFilterOptions } from '@material-ui/lab/Autocomplete';
158
162
-`config.ignoreCase` (*Boolean*[optional]): Defaults to `true`. Lowercase everything.
159
163
-`config.limit` (*Number*[optional]): Default to null. Limit the number of suggested options to be shown. For example, if `config.limit` is `100`, only the first `100` matching options are shown. It can be useful if a lot of options match and virtualization wasn't set up.
160
164
-`config.matchFrom` (*'any' | 'start'*[optional]): Defaults to `'any'`.
161
-
-`config.startAfter`(*Number*[optional]): Default to `0`. Show the suggested options only after a certain number of letters
162
165
-`config.stringify` (*Func*[optional]): Controls how an option is converted into a string so that it can be matched against the input text fragment.
Copy file name to clipboardexpand all lines: docs/src/pages/components/autocomplete/autocomplete-fr.md
+12-9
Original file line number
Diff line number
Diff line change
@@ -36,22 +36,26 @@ Choose one of the 248 countries.
36
36
37
37
The component has two states that can be controlled:
38
38
39
-
1. the "value" state with the `value`/`onChange` props combination.
40
-
2. the "input value" state with the `inputValue`/`onInputChange` props combination.
39
+
1. the "value" state with the `value`/`onChange` props combination. This state represents the value selected by the user, for instance when pressing <kbd>Enter</kbd>.
40
+
2. the "input value" state with the `inputValue`/`onInputChange` props combination. This state represents the value displayed in the textbox.
41
41
42
42
> ⚠️ These two state are isolated, they should be controlled independently.
Set `freeSolo` to true so the textbox can contain any arbitrary value. The prop is designed to cover the primary use case of a search box with suggestions, e.g. Google search.
46
+
## Free solo
47
47
48
-
However, if you intend to use it for a [combo box](#combo-box) like experience (an enhanced version of a select element) we recommend setting `selectOnFocus` (it helps the user clear the selected value).
48
+
Set `freeSolo` to true so the textbox can contain any arbitrary value. The prop is designed to cover the primary use case of a **search box** with suggestions, e.g. Google search or react-autowhatever.
If you intend to use this mode for a [combo box](#combo-box) like experience (an enhanced version of a select element) we recommend setting:
53
55
54
-
Sometimes you want to make explicit to the user that he/she can add whatever value he/she wants. The following demo adds a last option: `Add "YOUR SEARCH"`.
56
+
-`selectOnFocus` to helps the user clear the selected value.
57
+
-`clearOnBlur` to helps the user to enter a new value.
58
+
- A last option, for instance `Add "YOUR SEARCH"`.
@@ -143,7 +147,7 @@ The following demo relies on [autosuggest-highlight](https://github.com/moroshko
143
147
144
148
## Custom filter
145
149
146
-
The component exposes a factory to create a filter method that can provided to the `filerOption` prop. You can use it to change the default option filter behavior.
150
+
The component exposes a factory to create a filter method that can provided to the `filterOptions` prop. You can use it to change the default option filter behavior.
@@ -158,7 +162,6 @@ import { createFilterOptions } from '@material-ui/lab/Autocomplete';
158
162
-`config.ignoreCase` (*Boolean*[optional]): Defaults to `true`. Lowercase everything.
159
163
-`config.limit` (*Number*[optional]): Default to null. Limit the number of suggested options to be shown. For example, if `config.limit` is `100`, only the first `100` matching options are shown. It can be useful if a lot of options match and virtualization wasn't set up.
160
164
-`config.matchFrom` (*'any' | 'start'*[optional]): Defaults to `'any'`.
161
-
-`config.startAfter`(*Number*[optional]): Default to `0`. Show the suggested options only after a certain number of letters
162
165
-`config.stringify` (*Func*[optional]): Controls how an option is converted into a string so that it can be matched against the input text fragment.
163
166
-`config.trim` (*Boolean*[optional]): Valeur par défaut `false`. Remove trailing spaces.
0 commit comments