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
|
@ -16,57 +16,61 @@
|
|||
|
||||
{#if withOverlay}
|
||||
<div
|
||||
class:bx--loading-overlay="{true}"
|
||||
class:bx--loading-overlay--stop="{!active}"
|
||||
class:bx--loading-overlay={true}
|
||||
class:bx--loading-overlay--stop={!active}
|
||||
{...$$restProps}
|
||||
>
|
||||
<div
|
||||
aria-atomic="true"
|
||||
aria-live="{active ? 'assertive' : 'off'}"
|
||||
class:bx--loading="{true}"
|
||||
class:bx--loading--small="{small}"
|
||||
class:bx--loading--stop="{!active}"
|
||||
aria-live={active ? "assertive" : "off"}
|
||||
class:bx--loading={true}
|
||||
class:bx--loading--small={small}
|
||||
class:bx--loading--stop={!active}
|
||||
>
|
||||
<svg class:bx--loading__svg="{true}" viewBox="0 0 100 100">
|
||||
<svg class:bx--loading__svg={true} viewBox="0 0 100 100">
|
||||
<title>{description}</title>
|
||||
{#if small}
|
||||
<circle
|
||||
class:bx--loading__background="{true}"
|
||||
class:bx--loading__background={true}
|
||||
cx="50%"
|
||||
cy="50%"
|
||||
r="{spinnerRadius}"></circle>
|
||||
r={spinnerRadius}
|
||||
></circle>
|
||||
{/if}
|
||||
<circle
|
||||
class:bx--loading__stroke="{true}"
|
||||
class:bx--loading__stroke={true}
|
||||
cx="50%"
|
||||
cy="50%"
|
||||
r="{spinnerRadius}"></circle>
|
||||
r={spinnerRadius}
|
||||
></circle>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
{:else}
|
||||
<div
|
||||
aria-atomic="true"
|
||||
aria-live="{active ? 'assertive' : 'off'}"
|
||||
class:bx--loading="{true}"
|
||||
class:bx--loading--small="{small}"
|
||||
class:bx--loading--stop="{!active}"
|
||||
aria-live={active ? "assertive" : "off"}
|
||||
class:bx--loading={true}
|
||||
class:bx--loading--small={small}
|
||||
class:bx--loading--stop={!active}
|
||||
{...$$restProps}
|
||||
>
|
||||
<svg class:bx--loading__svg="{true}" viewBox="0 0 100 100">
|
||||
<svg class:bx--loading__svg={true} viewBox="0 0 100 100">
|
||||
<title>{description}</title>
|
||||
{#if small}
|
||||
<circle
|
||||
class:bx--loading__background="{true}"
|
||||
class:bx--loading__background={true}
|
||||
cx="50%"
|
||||
cy="50%"
|
||||
r="{spinnerRadius}"></circle>
|
||||
r={spinnerRadius}
|
||||
></circle>
|
||||
{/if}
|
||||
<circle
|
||||
class:bx--loading__stroke="{true}"
|
||||
class:bx--loading__stroke={true}
|
||||
cx="50%"
|
||||
cy="50%"
|
||||
r="{spinnerRadius}"></circle>
|
||||
r={spinnerRadius}
|
||||
></circle>
|
||||
</svg>
|
||||
</div>
|
||||
{/if}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue