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

@ -18,9 +18,9 @@
indented
labelText="Copy"
shortcutText="⌘C"
icon="{CopyFile}"
icon={CopyFile}
/>
<ContextMenuOption indented labelText="Cut" shortcutText="⌘X" icon="{Cut}" />
<ContextMenuOption indented labelText="Cut" shortcutText="⌘X" icon={Cut} />
<ContextMenuDivider />
<ContextMenuOption indented labelText="Export as">
<ContextMenuGroup labelText="Export options" bind:selectedIds>

View file

@ -11,14 +11,14 @@
let target;
</script>
<ContextMenu target="{target}" on:open="{(e) => console.log(e.detail)}">
<ContextMenu {target} on:open={(e) => console.log(e.detail)}>
<ContextMenuOption
indented
labelText="Copy"
shortcutText="⌘C"
icon="{CopyFile}"
icon={CopyFile}
/>
<ContextMenuOption indented labelText="Cut" shortcutText="⌘X" icon="{Cut}" />
<ContextMenuOption indented labelText="Cut" shortcutText="⌘X" icon={Cut} />
<ContextMenuDivider />
<ContextMenuOption indented labelText="Export as">
<ContextMenuGroup labelText="Export options">
@ -40,7 +40,7 @@
</ContextMenu>
<div>
<p bind:this="{target}">Right click this element</p>
<p bind:this={target}>Right click this element</p>
</div>
<style>

View file

@ -12,17 +12,14 @@
let target2;
</script>
<ContextMenu
target="{[target, target2]}"
on:open="{(e) => console.log(e.detail)}"
>
<ContextMenu target={[target, target2]} on:open={(e) => console.log(e.detail)}>
<ContextMenuOption
indented
labelText="Copy"
shortcutText="⌘C"
icon="{CopyFile}"
icon={CopyFile}
/>
<ContextMenuOption indented labelText="Cut" shortcutText="⌘X" icon="{Cut}" />
<ContextMenuOption indented labelText="Cut" shortcutText="⌘X" icon={Cut} />
<ContextMenuDivider />
<ContextMenuOption indented labelText="Export as">
<ContextMenuGroup labelText="Export options">
@ -44,8 +41,8 @@
</ContextMenu>
<div>
<p bind:this="{target}">Right click this element</p>
<p bind:this="{target2}">... or this one</p>
<p bind:this={target}>Right click this element</p>
<p bind:this={target2}>... or this one</p>
</div>
<style>