mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
feat(prettier): add svelteBracketNewLine
This commit is contained in:
parent
7a28d21ceb
commit
398887a3d3
182 changed files with 974 additions and 494 deletions
|
@ -95,7 +95,8 @@
|
|||
on:click
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave>
|
||||
on:mouseleave
|
||||
>
|
||||
<strong class:bx--file--label="{true}">{labelTitle}</strong>
|
||||
<p class:bx--label-description="{true}">{labelDescription}</p>
|
||||
<FileUploaderButton
|
||||
|
@ -108,7 +109,8 @@
|
|||
on:change
|
||||
on:change="{({ target }) => {
|
||||
files = [...target.files].map(({ name }) => name);
|
||||
}}" />
|
||||
}}"
|
||||
/>
|
||||
<div class:bx--file-container="{true}">
|
||||
{#each files as name, i (name)}
|
||||
<span class:bx--file__selected-file="{true}">
|
||||
|
@ -126,7 +128,8 @@
|
|||
on:click
|
||||
on:click="{() => {
|
||||
files = files.filter((_, index) => index !== i);
|
||||
}}" />
|
||||
}}"
|
||||
/>
|
||||
</span>
|
||||
</span>
|
||||
{/each}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue