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

@ -82,8 +82,8 @@
{:else}
<!-- svelte-ignore a11y-no-static-element-interactions -->
<div
class:bx--form-item="{true}"
class:bx--checkbox-wrapper="{true}"
class:bx--form-item={true}
class:bx--checkbox-wrapper={true}
{...$$restProps}
on:click
on:mouseover
@ -91,18 +91,18 @@
on:mouseleave
>
<input
bind:this="{ref}"
bind:this={ref}
type="checkbox"
value="{value}"
checked="{checked}"
disabled="{disabled}"
id="{id}"
{value}
{checked}
{disabled}
{id}
bind:indeterminate
name="{name}"
required="{required}"
readonly="{readonly}"
class:bx--checkbox="{true}"
on:change="{() => {
{name}
{required}
{readonly}
class:bx--checkbox={true}
on:change={() => {
if (useGroup) {
group = group.includes(value)
? group.filter((_value) => _value !== value)
@ -110,16 +110,16 @@
} else {
checked = !checked;
}
}}"
}}
on:change
on:focus
on:blur
/>
<label for="{id}" title="{title}" class:bx--checkbox-label="{true}">
<label for={id} {title} class:bx--checkbox-label={true}>
<span
bind:this="{refLabel}"
class:bx--checkbox-label-text="{true}"
class:bx--visually-hidden="{hideLabel}"
bind:this={refLabel}
class:bx--checkbox-label-text={true}
class:bx--visually-hidden={hideLabel}
>
<slot name="labelText">
{labelText}