chore(prettier): use svelteStrictMode

This commit is contained in:
Eric Liu 2020-09-04 16:35:49 -07:00
commit 42b8159b1c
182 changed files with 2020 additions and 1912 deletions

View file

@ -34,60 +34,60 @@
{#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-labelledby={id}
aria-live={active ? 'assertive' : 'off'}
class:bx--loading={true}
class:bx--loading--small={small}
class:bx--loading--stop={!active}>
aria-labelledby="{id}"
aria-live="{active ? 'assertive' : 'off'}"
class:bx--loading="{true}"
class:bx--loading--small="{small}"
class:bx--loading--stop="{!active}">
<!-- svelte-ignore a11y-label-has-associated-control -->
<label class:bx--visually-hidden={true} {id}>{description}</label>
<svg class:bx--loading__svg={true} viewBox="-75 -75 150 150">
<label class:bx--visually-hidden="{true}" id="{id}">{description}</label>
<svg class:bx--loading__svg="{true}" viewBox="-75 -75 150 150">
<title>{description}</title>
{#if small}
<circle
class:bx--loading__background={true}
class:bx--loading__background="{true}"
cx="0"
cy="0"
r={spinnerRadius} />
r="{spinnerRadius}"></circle>
{/if}
<circle
class:bx--loading__stroke={true}
class:bx--loading__stroke="{true}"
cx="0"
cy="0"
r={spinnerRadius} />
r="{spinnerRadius}"></circle>
</svg>
</div>
</div>
{:else}
<div
aria-atomic="true"
aria-labelledby={id}
aria-live={active ? 'assertive' : 'off'}
class:bx--loading={true}
class:bx--loading--small={small}
class:bx--loading--stop={!active}
aria-labelledby="{id}"
aria-live="{active ? 'assertive' : 'off'}"
class:bx--loading="{true}"
class:bx--loading--small="{small}"
class:bx--loading--stop="{!active}"
{...$$restProps}>
<!-- svelte-ignore a11y-label-has-associated-control -->
<label class:bx--visually-hidden={true} {id}>{description}</label>
<svg class:bx--loading__svg={true} viewBox="-75 -75 150 150">
<label class:bx--visually-hidden="{true}" id="{id}">{description}</label>
<svg class:bx--loading__svg="{true}" viewBox="-75 -75 150 150">
<title>{description}</title>
{#if small}
<circle
class:bx--loading__background={true}
class:bx--loading__background="{true}"
cx="0"
cy="0"
r={spinnerRadius} />
r="{spinnerRadius}"></circle>
{/if}
<circle
class:bx--loading__stroke={true}
class:bx--loading__stroke="{true}"
cx="0"
cy="0"
r={spinnerRadius} />
r="{spinnerRadius}"></circle>
</svg>
</div>
{/if}