Skip to content

Commit

Permalink
chore(docs): update prop tables with enterKeyHint updates (aws-amplif…
Browse files Browse the repository at this point in the history
…y#2236)

Co-authored-by: Heather Buchel <[email protected]>
  • Loading branch information
hbuchel and Heather Buchel authored Jul 1, 2022
1 parent 14a06f5 commit afdb0e4
Show file tree
Hide file tree
Showing 9 changed files with 110 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ React.ReactNode
<TableCell className="props-table__tr-description">Provides additional information needed to fill field (e.g. password requirements, etc.)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">enterKeyHint</TableCell>
<TableCell>
```jsx
EnterKeyHint
```
</TableCell>
<TableCell className="props-table__tr-description">Defines what action label (or icon) to present for the enter key on virtual keyboards. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">errorMessage</TableCell>
<TableCell>
Expand Down Expand Up @@ -116,7 +126,7 @@ string
InputMode
```
</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: : "text"</TableCell>
<TableCell className="props-table__tr-description"> Provides hint for virtual keyboard shown See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: "text"</TableCell>
</TableRow>

<TableRow>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ React.ReactNode
<TableCell className="props-table__tr-description">Provides additional information needed to fill field (e.g. password requirements, etc.)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">enterKeyHint</TableCell>
<TableCell>
```jsx
EnterKeyHint
```
</TableCell>
<TableCell className="props-table__tr-description">Defines what action label (or icon) to present for the enter key on virtual keyboards. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">errorMessage</TableCell>
<TableCell>
Expand Down Expand Up @@ -156,7 +166,7 @@ React.ReactNode
InputMode
```
</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: : "text"</TableCell>
<TableCell className="props-table__tr-description"> Provides hint for virtual keyboard shown See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: "text"</TableCell>
</TableRow>

<TableRow>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,16 @@ string[]
<TableCell className="props-table__tr-description">Accepts an array of dial codes (strings) used as options in the dial code selector</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">enterKeyHint</TableCell>
<TableCell>
```jsx
EnterKeyHint
```
</TableCell>
<TableCell className="props-table__tr-description">Defines what action label (or icon) to present for the enter key on virtual keyboards. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">errorMessage</TableCell>
<TableCell>
Expand Down Expand Up @@ -186,7 +196,7 @@ React.ReactNode
InputMode
```
</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: : "text"</TableCell>
<TableCell className="props-table__tr-description"> Provides hint for virtual keyboard shown See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: "text"</TableCell>
</TableRow>

<TableRow>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ React.ReactNode
<TableCell className="props-table__tr-description">Provides additional information needed to fill field (e.g. password requirements, etc.)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">enterKeyHint</TableCell>
<TableCell>
```jsx
EnterKeyHint
```
</TableCell>
<TableCell className="props-table__tr-description">Defines what action label (or icon) to present for the enter key on virtual keyboards. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">errorMessage</TableCell>
<TableCell>
Expand Down Expand Up @@ -116,7 +126,7 @@ string
InputMode
```
</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: : "text"</TableCell>
<TableCell className="props-table__tr-description"> Provides hint for virtual keyboard shown See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: "text"</TableCell>
</TableRow>

<TableRow>
Expand Down Expand Up @@ -582,6 +592,16 @@ string | number | readonly string[]
<TableCell className="props-table__tr-description">Use this to provide a default value for an uncontrolled field.</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">enterKeyHint</TableCell>
<TableCell>
```jsx
EnterKeyHint
```
</TableCell>
<TableCell className="props-table__tr-description">Defines what action label (or icon) to present for the enter key on virtual keyboards. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">hasError</TableCell>
<TableCell>
Expand Down Expand Up @@ -609,7 +629,7 @@ string
InputMode
```
</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: : "text"</TableCell>
<TableCell className="props-table__tr-description"> Provides hint for virtual keyboard shown See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: "text"</TableCell>
</TableRow>

<TableRow>
Expand Down
12 changes: 11 additions & 1 deletion docs/src/pages/[platform]/components/searchfield/props-table.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ React.ReactNode
<TableCell className="props-table__tr-description">Provides additional information needed to fill field (e.g. password requirements, etc.)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">enterKeyHint</TableCell>
<TableCell>
```jsx
EnterKeyHint
```
</TableCell>
<TableCell className="props-table__tr-description">Defines what action label (or icon) to present for the enter key on virtual keyboards. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">errorMessage</TableCell>
<TableCell>
Expand Down Expand Up @@ -146,7 +156,7 @@ React.ReactNode
InputMode
```
</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: : "text"</TableCell>
<TableCell className="props-table__tr-description"> Provides hint for virtual keyboard shown See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: "text"</TableCell>
</TableRow>

<TableRow>
Expand Down
12 changes: 11 additions & 1 deletion docs/src/pages/[platform]/components/sliderfield/props-table.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,16 @@ StyleToken<Property.Color>
<TableCell className="props-table__tr-description">Applies to the empty part of the SliderField track</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">enterKeyHint</TableCell>
<TableCell>
```jsx
EnterKeyHint
```
</TableCell>
<TableCell className="props-table__tr-description">Defines what action label (or icon) to present for the enter key on virtual keyboards. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">errorMessage</TableCell>
<TableCell>
Expand Down Expand Up @@ -176,7 +186,7 @@ React.ReactNode
InputMode
```
</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: : "text"</TableCell>
<TableCell className="props-table__tr-description"> Provides hint for virtual keyboard shown See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: "text"</TableCell>
</TableRow>

<TableRow>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ React.ReactNode
<TableCell className="props-table__tr-description">Provides additional information needed to fill field (e.g. password requirements, etc.)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">enterKeyHint</TableCell>
<TableCell>
```jsx
EnterKeyHint
```
</TableCell>
<TableCell className="props-table__tr-description">Defines what action label (or icon) to present for the enter key on virtual keyboards. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">errorMessage</TableCell>
<TableCell>
Expand Down Expand Up @@ -156,7 +166,7 @@ React.ReactNode
InputMode
```
</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: : "text"</TableCell>
<TableCell className="props-table__tr-description"> Provides hint for virtual keyboard shown See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: "text"</TableCell>
</TableRow>

<TableRow>
Expand Down
12 changes: 11 additions & 1 deletion docs/src/pages/[platform]/components/switchfield/props-table.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ React.ReactNode
<TableCell className="props-table__tr-description">Provides additional information needed to fill field (e.g. password requirements, etc.)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">enterKeyHint</TableCell>
<TableCell>
```jsx
EnterKeyHint
```
</TableCell>
<TableCell className="props-table__tr-description">Defines what action label (or icon) to present for the enter key on virtual keyboards. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">errorMessage</TableCell>
<TableCell>
Expand Down Expand Up @@ -116,7 +126,7 @@ string
InputMode
```
</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: : "text"</TableCell>
<TableCell className="props-table__tr-description"> Provides hint for virtual keyboard shown See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: "text"</TableCell>
</TableRow>

<TableRow>
Expand Down
12 changes: 11 additions & 1 deletion docs/src/pages/[platform]/components/textfield/props-table.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,16 @@ React.ReactNode
<TableCell className="props-table__tr-description">Provides additional information needed to fill field (e.g. password requirements, etc.)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">enterKeyHint</TableCell>
<TableCell>
```jsx
EnterKeyHint
```
</TableCell>
<TableCell className="props-table__tr-description">Defines what action label (or icon) to present for the enter key on virtual keyboards. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/enterkeyhint)</TableCell>
</TableRow>

<TableRow>
<TableCell className="props-table__tr-name">errorMessage</TableCell>
<TableCell>
Expand Down Expand Up @@ -169,7 +179,7 @@ React.ReactNode
InputMode
```
</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown. See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: @default: "text"</TableCell>
<TableCell className="props-table__tr-description">Provides hint for virtual keyboard shown See: [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode) Default: @default "text"</TableCell>
</TableRow>

<TableRow>
Expand Down

0 comments on commit afdb0e4

Please sign in to comment.