chore(deps-dev): upgrade prettier-plugin-svelte (#498)

This commit is contained in:
Eric Liu 2021-01-27 15:02:02 -08:00 committed by GitHub
commit 3d002f3246
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
72 changed files with 944 additions and 733 deletions

View file

@ -104,7 +104,7 @@
on:mouseleave
/>
{:else}
{#if type === 'inline'}
{#if type === "inline"}
{#if hideCopyButton}
<span
class:bx--snippet="{true}"
@ -128,11 +128,16 @@
feedback="{feedback}"
feedbackTimeout="{feedbackTimeout}"
class="bx--snippet {type && `bx--snippet--${type}`}
{type === 'inline' && 'bx--btn--copy'}
{expanded && 'bx--snippet--expand'}
{light && 'bx--snippet--light'}
{hideCopyButton && 'bx--snippet--no-copy'}
{wrapText && 'bx--snippet--wraptext'}"
{type ===
'inline' && 'bx--btn--copy'}
{expanded &&
'bx--snippet--expand'}
{light &&
'bx--snippet--light'}
{hideCopyButton &&
'bx--snippet--no-copy'}
{wrapText &&
'bx--snippet--wraptext'}"
{...$$restProps}
on:click
on:mouseover

View file

@ -18,8 +18,8 @@
on:mouseleave
>
<div class:bx--snippet-container="{true}">
{#if type === 'single'}
{#if type === "single"}
<span></span>
{:else if type === 'multi'}<span></span> <span></span> <span></span>{/if}
{:else if type === "multi"}<span></span> <span></span> <span></span>{/if}
</div>
</div>