mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
feat(prettier): add svelteBracketNewLine
This commit is contained in:
parent
7a28d21ceb
commit
398887a3d3
182 changed files with 974 additions and 494 deletions
|
@ -59,7 +59,8 @@
|
|||
e.stopPropagation();
|
||||
}
|
||||
}}"
|
||||
on:click|preventDefault|stopPropagation>
|
||||
on:click|preventDefault|stopPropagation
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
{#if invalid}
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
on:mouseenter
|
||||
on:mouseleave
|
||||
on:keydown|preventDefault|stopPropagation
|
||||
on:blur>
|
||||
on:blur
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
role="listbox"
|
||||
id="menu-{id}"
|
||||
class:bx--list-box__menu="{true}"
|
||||
{...$$restProps}>
|
||||
{...$$restProps}
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
class:bx--list-box__menu-icon="{true}"
|
||||
class:bx--list-box__menu-icon--open="{open}"
|
||||
{...$$restProps}
|
||||
on:click|preventDefault>
|
||||
on:click|preventDefault
|
||||
>
|
||||
<ChevronDown16 aria-label="{description}" title="{description}" />
|
||||
</div>
|
||||
|
|
|
@ -19,7 +19,8 @@
|
|||
{...$$restProps}
|
||||
on:click
|
||||
on:mouseenter
|
||||
on:mouseleave>
|
||||
on:mouseleave
|
||||
>
|
||||
<div class:bx--list-box__menu-item__option="{true}">
|
||||
<slot />
|
||||
</div>
|
||||
|
|
|
@ -75,7 +75,8 @@
|
|||
if (!disabled && e.key === 'Enter') {
|
||||
dispatch('clear', e);
|
||||
}
|
||||
}}">
|
||||
}}"
|
||||
>
|
||||
{#if selectionCount}{selectionCount}{/if}
|
||||
<Close16 />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue