refactor: update/fix JSDoc props

This commit is contained in:
Eric Liu 2020-11-04 06:04:25 -08:00
commit d38e6d8be6
204 changed files with 992 additions and 2359 deletions

View file

@ -1,42 +0,0 @@
<script>
/**
* Set to `true` to use the vertical variant
* @type {boolean} [vertical=false]
*/
export let vertical = false;
/**
* Specify the number of steps to render
* @type {number} [count=4]
*/
export let count = 4;
</script>
<ul
class:bx--progress="{true}"
class:bx--progress--vertical="{vertical}"
class:bx--skeleton="{true}"
{...$$restProps}
on:click
on:mouseover
on:mouseenter
on:mouseleave
>
{#each Array.from({ length: count }, (_, i) => i) as item, i (item)}
<li
class:bx--progress-step="{true}"
class:bx--progress-step--incomplete="{true}"
>
<div
class:bx--progress-step-button="{true}"
class:bx--progress-step-button--unclickable="{true}"
>
<svg>
<path d="M 7, 7 m -7, 0 a 7,7 0 1,0 14,0 a 7,7 0 1,0 -14,0"></path>
</svg>
<p class:bx--progress-label="{true}"></p>
<span class:bx--progress-line="{true}"></span>
</div>
</li>
{/each}
</ul>