mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
chore: v11 TextInput
Size `xl` changed to `lg`. For better compatibility with existing codebases size `xl` is still supported.
This commit is contained in:
parent
8ff8007f32
commit
6c39298911
6 changed files with 10 additions and 12 deletions
|
@ -12630,7 +12630,7 @@
|
|||
"name": "size",
|
||||
"kind": "let",
|
||||
"description": "Set the size of the input",
|
||||
"type": "\"sm\" | \"xl\"",
|
||||
"type": "\"sm\" | \"lg\"",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"isRequired": false,
|
||||
|
|
|
@ -31,9 +31,9 @@ components: ["TextInput", "TextInputSkeleton"]
|
|||
|
||||
<TextInput readonly labelText="User name" value="IBM" />
|
||||
|
||||
## Extra-large size
|
||||
## Large size
|
||||
|
||||
<TextInput size="xl" labelText="User name" placeholder="Enter user name..." />
|
||||
<TextInput size="lg" labelText="User name" placeholder="Enter user name..." />
|
||||
|
||||
## Small size
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue