mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
chore: format files with Prettier 3
This commit is contained in:
parent
1dcd09bd98
commit
8e996dc683
391 changed files with 3725 additions and 3785 deletions
|
@ -48,7 +48,7 @@
|
|||
<!-- svelte-ignore a11y-mouse-events-have-key-events -->
|
||||
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
||||
<div
|
||||
class:bx--inline-loading="{true}"
|
||||
class:bx--inline-loading={true}
|
||||
aria-live="assertive"
|
||||
{...$$restProps}
|
||||
on:click
|
||||
|
@ -56,27 +56,27 @@
|
|||
on:mouseenter
|
||||
on:mouseleave
|
||||
>
|
||||
<div class:bx--inline-loading__animation="{true}">
|
||||
<div class:bx--inline-loading__animation={true}>
|
||||
{#if status === "error"}
|
||||
<ErrorFilled
|
||||
class="bx--inline-loading--error"
|
||||
title="{iconDescription || status}"
|
||||
title={iconDescription || status}
|
||||
/>
|
||||
{:else if status === "finished"}
|
||||
<CheckmarkFilled
|
||||
class="bx--inline-loading__checkmark-container"
|
||||
title="{iconDescription || status}"
|
||||
title={iconDescription || status}
|
||||
/>
|
||||
{:else if status === "inactive" || status === "active"}
|
||||
<Loading
|
||||
small
|
||||
description="{iconDescription}"
|
||||
withOverlay="{false}"
|
||||
active="{status === 'active'}"
|
||||
description={iconDescription}
|
||||
withOverlay={false}
|
||||
active={status === "active"}
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
{#if description}
|
||||
<div class:bx--inline-loading__text="{true}">{description}</div>
|
||||
<div class:bx--inline-loading__text={true}>{description}</div>
|
||||
{/if}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue