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:
metonym 2022-03-27 08:27:23 -07:00 committed by GitHub
commit ade0557448
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 71 additions and 35 deletions

View file

@ -8,6 +8,12 @@
/** Specify the maximum value */
export let max = 100;
/**
* Specify the kind of progress bar
* @type {"default" | "inline" | "indented"}
*/
export let kind = "default";
/**
* Specify the size
* @type {"sm" | "md"}
@ -37,6 +43,8 @@
class:bx--progress-bar--indeterminate="{indeterminate}"
class:bx--progress-bar--big="{size === 'md'}"
class:bx--progress-bar--small="{size === 'sm'}"
class:bx--progress-bar--inline="{kind === 'inline'}"
class:bx--progress-bar--indented="{kind === 'indented'}"
{...$$restProps}
>
<label