chore: v11 PasswordInput

Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
This commit is contained in:
Gregor Wassmann 2023-03-28 21:52:56 +02:00 committed by Enrico Sacchetti
commit a583453436
No known key found for this signature in database
GPG key ID: 3374B89ECA60D796
6 changed files with 10 additions and 10 deletions

View file

@ -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,

View file

@ -31,9 +31,9 @@ Set prop `type` to `"text"` to toggle password visibility.
<PasswordInput inline labelText="Password" placeholder="Enter password..." />
## Extra-large size
## Large size
<PasswordInput size="xl" labelText="Password" placeholder="Enter password..." />
<PasswordInput size="lg" labelText="Password" placeholder="Enter password..." />
## Small size