mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51: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
|
@ -38,6 +38,7 @@
|
|||
}}"
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave>
|
||||
on:mouseleave
|
||||
>
|
||||
<slot />
|
||||
</a>
|
||||
|
|
|
@ -95,7 +95,8 @@
|
|||
}}"
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave>
|
||||
on:mouseleave
|
||||
>
|
||||
<div bind:this="{refContent}">
|
||||
<div bind:this="{refAbove}" class:bx--tile-content="{true}">
|
||||
<span
|
||||
|
@ -103,14 +104,16 @@
|
|||
on:click
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave>
|
||||
on:mouseleave
|
||||
>
|
||||
<slot name="above" />
|
||||
</span>
|
||||
</div>
|
||||
<button
|
||||
aria-expanded="{expanded}"
|
||||
aria-label="{expanded ? tileExpandedIconText : tileCollapsedIconText}"
|
||||
class:bx--tile__chevron="{true}">
|
||||
class:bx--tile__chevron="{true}"
|
||||
>
|
||||
<ChevronDown16 />
|
||||
</button>
|
||||
<div class:bx--tile-content="{true}">
|
||||
|
@ -119,7 +122,8 @@
|
|||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave
|
||||
class:bx--tile-content__below-the-fold="{true}">
|
||||
class:bx--tile-content__below-the-fold="{true}"
|
||||
>
|
||||
<slot name="below" />
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -69,7 +69,8 @@
|
|||
e.preventDefault();
|
||||
update(value);
|
||||
}
|
||||
}}" />
|
||||
}}"
|
||||
/>
|
||||
<label
|
||||
for="{id}"
|
||||
class:bx--tile="{true}"
|
||||
|
@ -80,11 +81,13 @@
|
|||
on:click
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave>
|
||||
on:mouseleave
|
||||
>
|
||||
<span class:bx--tile__checkmark="{true}">
|
||||
<CheckmarkFilled16
|
||||
aria-label="{iconDescription}"
|
||||
title="{iconDescription}" />
|
||||
title="{iconDescription}"
|
||||
/>
|
||||
</span>
|
||||
<span class:bx--tile-content="{true}">
|
||||
<slot />
|
||||
|
|
|
@ -70,7 +70,8 @@
|
|||
id="{id}"
|
||||
value="{value}"
|
||||
name="{name}"
|
||||
title="{title}" />
|
||||
title="{title}"
|
||||
/>
|
||||
<label
|
||||
for="{id}"
|
||||
tabindex="{tabindex}"
|
||||
|
@ -92,11 +93,13 @@
|
|||
e.preventDefault();
|
||||
selected = !selected;
|
||||
}
|
||||
}}">
|
||||
}}"
|
||||
>
|
||||
<span class:bx--tile__checkmark="{true}">
|
||||
<CheckmarkFilled16
|
||||
aria-label="{iconDescription}"
|
||||
title="{iconDescription}" />
|
||||
title="{iconDescription}"
|
||||
/>
|
||||
</span>
|
||||
<span class:bx--tile-content="{true}">
|
||||
<slot />
|
||||
|
|
|
@ -35,7 +35,8 @@
|
|||
}}"
|
||||
on:deselect="{({ detail }) => {
|
||||
console.log('on:deselect', detail);
|
||||
}}">
|
||||
}}"
|
||||
>
|
||||
Multi-select Tile
|
||||
</SelectableTile>
|
||||
<SelectableTile {...$$props} id="tile-2" name="tiles">
|
||||
|
@ -55,7 +56,8 @@
|
|||
labelText="{labelText}"
|
||||
on:keydown="{() => {
|
||||
console.log('keydown');
|
||||
}}">
|
||||
}}"
|
||||
>
|
||||
Selectable Tile
|
||||
</RadioTile>
|
||||
{/each}
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
on:click
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave>
|
||||
on:mouseleave
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue