mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01: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
|
@ -198,7 +198,8 @@
|
|||
on:click|preventDefault|stopPropagation="{openMenu}"
|
||||
on:focus="{openMenu}"
|
||||
on:blur="{onBlur}"
|
||||
on:keydown="{onKeydown}">
|
||||
on:keydown="{onKeydown}"
|
||||
>
|
||||
<slot name="icon">
|
||||
<svelte:component this="{icon}" name="{iconName}" />
|
||||
</slot>
|
||||
|
@ -211,7 +212,8 @@
|
|||
on:click|preventDefault|stopPropagation="{openMenu}"
|
||||
on:focus="{openMenu}"
|
||||
on:blur="{onBlur}"
|
||||
on:keydown="{onKeydown}">
|
||||
on:keydown="{onKeydown}"
|
||||
>
|
||||
<slot name="triggerText">{triggerText}</slot>
|
||||
</div>
|
||||
{/if}
|
||||
|
@ -224,7 +226,8 @@
|
|||
data-floating-menu-direction="{direction}"
|
||||
class:bx--tooltip="{true}"
|
||||
class:bx--tooltip--shown="{open}"
|
||||
on:blur="{closeMenu}">
|
||||
on:blur="{closeMenu}"
|
||||
>
|
||||
<span class:bx--tooltip__caret="{true}"></span>
|
||||
<slot />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue