diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index d95ba4a1..0f06f082 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -2755,7 +2755,7 @@ None. | ref | No | let | Yes | null | HTMLInputElement | null | Obtain a reference to the input HTML element | | type | No | let | Yes | "text" | "password" | "password" | Set to `"text"` to toggle the password visibility | | value | No | let | Yes | number | string | "" | Specify the input value | -| size | No | let | No | "sm" | "xl" | undefined | Set the size of the input | +| size | No | let | No | "sm" | "lg" | undefined | Set the size of the input | | placeholder | No | let | No | string | "" | Specify the placeholder text | | hidePasswordLabel | No | let | No | string | "Hide password" | Specify the hide password label text | | showPasswordLabel | No | let | No | string | "Show password" | Specify the show password label text | diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 89e76e81..8d770e4f 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -8635,7 +8635,7 @@ "name": "size", "kind": "let", "description": "Set the size of the input", - "type": "\"sm\" | \"xl\"", + "type": "\"sm\" | \"lg\"", "isFunction": false, "isFunctionDeclaration": false, "isRequired": false, diff --git a/docs/src/pages/components/PasswordInput.svx b/docs/src/pages/components/PasswordInput.svx index a67c2099..9b6f0f15 100644 --- a/docs/src/pages/components/PasswordInput.svx +++ b/docs/src/pages/components/PasswordInput.svx @@ -31,9 +31,9 @@ Set prop `type` to `"text"` to toggle password visibility. -## Extra-large size +## Large size - + ## Small size diff --git a/src/TextInput/PasswordInput.svelte b/src/TextInput/PasswordInput.svelte index 3c6103a7..a7a89e3a 100644 --- a/src/TextInput/PasswordInput.svelte +++ b/src/TextInput/PasswordInput.svelte @@ -1,7 +1,7 @@