mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21: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
|
@ -67,12 +67,14 @@
|
|||
on:click
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave>
|
||||
on:mouseleave
|
||||
>
|
||||
{#if labelText}
|
||||
<label
|
||||
for="{id}"
|
||||
class:bx--label="{true}"
|
||||
class:bx--visually-hidden="{hideLabel}">
|
||||
class:bx--visually-hidden="{hideLabel}"
|
||||
>
|
||||
<!-- TODO: set to always be `true` after `hideLabel` is deprecated -->
|
||||
{labelText}
|
||||
</label>
|
||||
|
@ -87,11 +89,13 @@
|
|||
class:bx--select-input="{true}"
|
||||
on:change="{({ target }) => {
|
||||
selectedValue.set(target.value);
|
||||
}}">
|
||||
}}"
|
||||
>
|
||||
<slot />
|
||||
</select>
|
||||
<ChevronDownGlyph
|
||||
aria-label="{iconDescription}"
|
||||
title="{iconDescription}"
|
||||
class="bx--select__arrow" />
|
||||
class="bx--select__arrow"
|
||||
/>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue