Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions src/routes/components/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,12 @@ export default function TextFieldPage() {
value: "",
name: "ariaLabel",
},
...(version === "new" ? [{
label: "Trailing icon ARIA label",
type: "string" as const,
value: "",
name: "trailingIconAriaLabel",
}] : []),
{
label: "Value",
type: "string",
Expand Down Expand Up @@ -212,6 +218,7 @@ export default function TextFieldPage() {
type: "GoAIconType",
description: "Icon shown to the right of the text.",
},

{
name: "disabled",
type: "boolean",
Expand Down Expand Up @@ -331,15 +338,15 @@ export default function TextFieldPage() {
lang: "react",
type: "on | off | none | sentences | words | characters",
description:
"Controls whether and how text input is automatically capitalized as it is entered/edited by the user.",
"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. This only works on mobile devices.",
defaultValue: "off",
},
{
name: "autocapitalize",
lang: "angular",
type: "on | off | none | sentences | words | characters",
description:
"Controls whether and how text input is automatically capitalized as it is entered/edited by the user.",
"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. This only works on mobile devices.",
defaultValue: "off",
},
{
Expand Down Expand Up @@ -477,6 +484,11 @@ export default function TextFieldPage() {
type: "GoabIconType",
description: "Icon shown to the right of the text.",
},
{
name: "trailingIconAriaLabel",
type: "string",
description: "Aria label for the trailing icon. Use only when the trailing icon is interactive.",
},
{
name: "disabled",
type: "boolean",
Expand Down Expand Up @@ -553,7 +565,7 @@ export default function TextFieldPage() {
name: "autoCapitalize",
type: "GoabInputAutoCapitalize (on | off | none | sentences | words | characters)",
description:
"Controls whether and how text input is automatically capitalized as it is entered/edited by the user.",
"Controls whether and how text input is automatically capitalized as it is entered/edited by the user. This only works on mobile devices.",
defaultValue: "off",
},
{
Expand Down