chore: format files with Prettier 3

This commit is contained in:
Eric Liu 2024-11-11 21:27:04 -08:00
commit 8e996dc683
391 changed files with 3725 additions and 3785 deletions

View file

@ -39,10 +39,10 @@
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
<div
role="table"
class:bx--structured-list="{true}"
class:bx--structured-list--selection="{selection}"
class:bx--structured-list--condensed="{condensed}"
class:bx--structured-list--flush="{flush}"
class:bx--structured-list={true}
class:bx--structured-list--selection={selection}
class:bx--structured-list--condensed={condensed}
class:bx--structured-list--flush={flush}
{...$$restProps}
on:click
on:mouseover

View file

@ -2,7 +2,7 @@
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
<div
role="rowgroup"
class:bx--structured-list-tbody="{true}"
class:bx--structured-list-tbody={true}
{...$$restProps}
on:click
on:mouseover

View file

@ -8,10 +8,10 @@
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
<div
role="{head ? 'columnheader' : 'cell'}"
class:bx--structured-list-th="{head}"
class:bx--structured-list-td="{!head}"
class:bx--structured-list-content--nowrap="{noWrap}"
role={head ? "columnheader" : "cell"}
class:bx--structured-list-th={head}
class:bx--structured-list-td={!head}
class:bx--structured-list-content--nowrap={noWrap}
{...$$restProps}
on:click
on:mouseover

View file

@ -2,7 +2,7 @@
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
<div
role="rowgroup"
class:bx--structured-list-thead="{true}"
class:bx--structured-list-thead={true}
{...$$restProps}
on:click
on:mouseover

View file

@ -29,17 +29,17 @@
</script>
<input
bind:this="{ref}"
bind:this={ref}
type="radio"
tabindex="-1"
checked="{checked}"
id="{id}"
name="{name}"
title="{title}"
value="{value}"
class:bx--structured-list-input="{true}"
{checked}
{id}
{name}
{title}
{value}
class:bx--structured-list-input={true}
{...$$restProps}
on:change="{() => {
on:change={() => {
update(value);
}}"
}}
/>

View file

@ -15,9 +15,9 @@
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
<label
tabindex="{tabindex}"
class:bx--structured-list-row="{true}"
class:bx--structured-list-row--header-row="{head}"
{tabindex}
class:bx--structured-list-row={true}
class:bx--structured-list-row--header-row={head}
{...$$restProps}
on:click
on:mouseover
@ -31,8 +31,8 @@
<!-- svelte-ignore a11y-interactive-supports-focus -->
<div
role="row"
class:bx--structured-list-row="{true}"
class:bx--structured-list-row--header-row="{head}"
class:bx--structured-list-row={true}
class:bx--structured-list-row--header-row={head}
{...$$restProps}
on:click
on:mouseover

View file

@ -6,30 +6,30 @@
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
class:bx--skeleton="{true}"
class:bx--structured-list="{true}"
class:bx--skeleton={true}
class:bx--structured-list={true}
{...$$restProps}
on:click
on:mouseover
on:mouseenter
on:mouseleave
>
<div class:bx--structured-list-thead="{true}">
<div class:bx--structured-list-thead={true}>
<div
class:bx--structured-list-row="{true}"
class:bx--structured-list-row--header-row="{true}"
class:bx--structured-list-row={true}
class:bx--structured-list-row--header-row={true}
>
<div class:bx--structured-list-th="{true}"><span></span></div>
<div class:bx--structured-list-th="{true}"><span></span></div>
<div class:bx--structured-list-th="{true}"><span></span></div>
<div class:bx--structured-list-th={true}><span></span></div>
<div class:bx--structured-list-th={true}><span></span></div>
<div class:bx--structured-list-th={true}><span></span></div>
</div>
</div>
<div class:bx--structured-list-tbody="{true}">
<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>
<div class:bx--structured-list-td="{true}"></div>
<div class:bx--structured-list-td="{true}"></div>
<div class:bx--structured-list-row={true}>
<div class:bx--structured-list-td={true}></div>
<div class:bx--structured-list-td={true}></div>
<div class:bx--structured-list-td={true}></div>
</div>
{/each}
</div>