mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat: upgrade carbon-components to v10.56.0 (#1213)
* chore(deps-dev): upgrade carbon-components to v10.56.0 * feat(progress-bar): add kind prop * Run "yarn build:docs" * test(progress-bar): assert kind prop
This commit is contained in:
parent
21714d0e3a
commit
ade0557448
10 changed files with 71 additions and 35 deletions
|
@ -8260,6 +8260,17 @@
|
|||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "kind",
|
||||
"kind": "let",
|
||||
"description": "Specify the kind of progress bar",
|
||||
"type": "\"default\" | \"inline\" | \"indented\"",
|
||||
"value": "\"default\"",
|
||||
"isFunction": false,
|
||||
"isFunctionDeclaration": false,
|
||||
"constant": false,
|
||||
"reactive": false
|
||||
},
|
||||
{
|
||||
"name": "size",
|
||||
"kind": "let",
|
||||
|
|
|
@ -35,6 +35,16 @@ Use `hideLabel` to visually hide the label text.
|
|||
|
||||
<ProgressBar hideLabel value={40} labelText="Upload status" helperText="40 MB of 100 MB" />
|
||||
|
||||
### Inline variant
|
||||
|
||||
The inline variant visually hides the `helperText`.
|
||||
|
||||
<ProgressBar kind="inline" value={40} labelText="Upload status" helperText="40 MB of 100 MB" />
|
||||
|
||||
### Indented variant
|
||||
|
||||
<ProgressBar kind="indented" value={40} labelText="Upload status" helperText="40 MB of 100 MB" />
|
||||
|
||||
### UX example
|
||||
|
||||
This example shows how to animate the progress bar from 0 to 100% with start and end states.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue