chore: lift components folder

This commit is contained in:
Eric Liu 2020-07-19 09:06:08 -07:00
commit 2200b29b92
301 changed files with 57 additions and 76 deletions

View file

@ -0,0 +1,39 @@
<script>
export let border = false;
export let rows = 5;
</script>
<section
class:bx--skeleton={true}
class:bx--structured-list={true}
class:bx--structured-list--border={border}
{...$$restProps}
on:click
on:mouseover
on:mouseenter
on:mouseleave>
<div class:bx--structured-list-thead={true}>
<div
class:bx--structured-list-row={true}
class:bx--structured-list-row--header-row={true}>
<div class:bx--structured-list-th={true}>
<span />
</div>
<div class:bx--structured-list-th={true}>
<span />
</div>
<div class:bx--structured-list-th={true}>
<span />
</div>
</div>
</div>
<div class:bx--structured-list-tbody={true}>
{#each Array.from({ length: rows }, (_, i) => i) as row, i (row)}
<div class:bx--structured-list-row={true}>
<div class:bx--structured-list-td={true} />
<div class:bx--structured-list-td={true} />
<div class:bx--structured-list-td={true} />
</div>
{/each}
</div>
</section>