mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
chore: v11 FileUploader
For better compatibility with existing codebases sizes `field` and `small` are still supported. Note that flagship implementation does the same thing.
This commit is contained in:
parent
ee55f2ba36
commit
85bbaed3e2
5 changed files with 13 additions and 13 deletions
|
@ -4263,8 +4263,8 @@
|
|||
"name": "size",
|
||||
"kind": "let",
|
||||
"description": "Specify the size of button skeleton",
|
||||
"type": "\"default\" | \"field\" | \"small\"",
|
||||
"value": "\"default\"",
|
||||
"type": "\"sm\" | \"md\" | \"lg\"",
|
||||
"value": "\"lg\"",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"isRequired": false,
|
||||
|
|
|
@ -95,11 +95,11 @@ Use the `errorSubject` and `errorBody` props to customize the error message.
|
|||
|
||||
## Item sizes
|
||||
|
||||
The default `FileUploaderItem` size is "default".
|
||||
The default `FileUploaderItem` size is "lg".
|
||||
|
||||
<FileUploaderItem size="default" name="README.md" status="uploading" />
|
||||
<FileUploaderItem size="field" name="README.md" status="uploading" />
|
||||
<FileUploaderItem size="small" name="README.md" status="uploading" />
|
||||
<FileUploaderItem size="lg" name="README.md" status="uploading" />
|
||||
<FileUploaderItem size="md" name="README.md" status="uploading" />
|
||||
<FileUploaderItem size="sm" name="README.md" status="uploading" />
|
||||
|
||||
## Drop container
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue