feat(prettier): add svelteBracketNewLine

This commit is contained in:
josefaidt 2020-09-24 10:50:34 -05:00
commit 398887a3d3
182 changed files with 974 additions and 494 deletions

View file

@ -73,7 +73,8 @@
update(id);
}
}
}}">
}}"
>
<a
bind:this="{ref}"
role="tab"
@ -82,7 +83,8 @@
aria-disabled="{disabled}"
id="{id}"
href="{href}"
class:bx--tabs__nav-link="{true}">
class:bx--tabs__nav-link="{true}"
>
<slot>{label}</slot>
</a>
</li>

View file

@ -23,6 +23,7 @@
hidden="{selected ? undefined : ''}"
id="{id}"
class:bx--tab-content="{true}"
{...$$restProps}>
{...$$restProps}
>
<slot />
</div>

View file

@ -111,7 +111,8 @@
role="navigation"
class:bx--tabs="{true}"
class:bx--tabs--container="{type === 'container'}"
{...$$restProps}>
{...$$restProps}
>
<div
role="listbox"
tabindex="0"
@ -123,7 +124,8 @@
on:keypress
on:keypress="{() => {
dropdownHidden = !dropdownHidden;
}}">
}}"
>
<a
tabindex="-1"
class:bx--tabs-trigger-text="{true}"
@ -131,7 +133,8 @@
on:click
on:click="{() => {
dropdownHidden = !dropdownHidden;
}}">
}}"
>
{#if currentTab}{currentTab.label}{/if}
</a>
<ChevronDownGlyph aria-hidden="true" title="{iconDescription}" />
@ -139,7 +142,8 @@
<ul
role="tablist"
class:bx--tabs__nav="{true}"
class:bx--tabs__nav--hidden="{dropdownHidden}">
class:bx--tabs__nav--hidden="{dropdownHidden}"
>
<slot />
</ul>
</div>

View file

@ -13,7 +13,8 @@
on:click
on:mouseover
on:mouseenter
on:mouseleave>
on:mouseleave
>
<div class:bx--tabs-trigger="{true}">
<div class:bx--tabs-trigger-text="{true}">&nbsp;</div>
<svg width="10" height="5" viewBox="0 0 10 5" fill-rule="evenodd">