mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
chore(deps-dev): bump prettier, prettier-plugin-svelte
This commit is contained in:
parent
a6a23f4c98
commit
322b238cf0
34 changed files with 63 additions and 99 deletions
|
@ -22,10 +22,11 @@
|
|||
</div>
|
||||
{:else}
|
||||
<p>
|
||||
<code>items</code>
|
||||
must be an array of objects; mandatory fields are `id` and `text`.
|
||||
<code>items</code> must be an array of objects; mandatory fields are `id` and
|
||||
`text`.
|
||||
</p>
|
||||
<pre style="margin-top: 1rem;">
|
||||
<pre
|
||||
style="margin-top: 1rem;">
|
||||
<code>{'items = Array<{ id: string; text: string; }>'}</code>
|
||||
</pre>
|
||||
<div style="margin-top: 2rem; margin-bottom: 2rem;">
|
||||
|
|
|
@ -177,10 +177,10 @@
|
|||
{name}
|
||||
aria-label={$$props['aria-label']}
|
||||
class="bx--dropdown {invalid && 'bx--dropdown--invalid'}
|
||||
{open && 'bx--dropdown--open'}
|
||||
{inline && 'bx--dropdown--inline'}
|
||||
{disabled && 'bx--dropdown--disabled'}
|
||||
{light && 'bx--dropdown--light'}"
|
||||
{open && 'bx--dropdown--open'}
|
||||
{inline && 'bx--dropdown--inline'}
|
||||
{disabled && 'bx--dropdown--disabled'}
|
||||
{light && 'bx--dropdown--light'}"
|
||||
on:click={({ target }) => {
|
||||
open = ref.contains(target) ? !open : false;
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue