mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: adjust types
- Fix ButtonSkeleton sizes - Apply v11 `size` props
This commit is contained in:
parent
c51c40c9f4
commit
a581231d16
7 changed files with 29 additions and 31 deletions
|
@ -466,7 +466,7 @@
|
|||
"kind": "let",
|
||||
"description": "Specify the size of button",
|
||||
"type": "\"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\"",
|
||||
"value": "\"default\"",
|
||||
"value": "\"lg\"",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"isRequired": false,
|
||||
|
@ -704,8 +704,8 @@
|
|||
"name": "size",
|
||||
"kind": "let",
|
||||
"description": "Specify the size of button skeleton",
|
||||
"type": "\"default\" | \"field\" | \"small\" | \"lg\" | \"xl\"",
|
||||
"value": "\"default\"",
|
||||
"type": "\"sm\" | \"md\" | \"lg\" | \"xl\" | \"2xl\"",
|
||||
"value": "\"lg\"",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"isRequired": false,
|
||||
|
|
|
@ -134,11 +134,11 @@ Use `buttonAttributes` to pass any additional attributes.
|
|||
|
||||
## Skeleton
|
||||
|
||||
<!-- <Button size="xl" skeleton />
|
||||
<Button size="lg" skeleton />
|
||||
<Button skeleton />
|
||||
<Button skeleton size="field" />
|
||||
<Button skeleton size="small" /> -->
|
||||
<Button skeleton size="2xl" />
|
||||
<Button skeleton size="xl" />
|
||||
<Button skeleton size="lg" />
|
||||
<Button skeleton size="md" />
|
||||
<Button skeleton size="sm" />
|
||||
|
||||
## Programmatic focus
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue