mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
chore: format files with Prettier 3
This commit is contained in:
parent
1dcd09bd98
commit
8e996dc683
391 changed files with 3725 additions and 3785 deletions
|
@ -15,25 +15,25 @@
|
|||
</script>
|
||||
|
||||
<ComboBox
|
||||
bind:this="{ref}"
|
||||
bind:this={ref}
|
||||
direction="top"
|
||||
titleText="Contact"
|
||||
placeholder="Select contact method"
|
||||
items="{items}"
|
||||
on:select="{(e) => {
|
||||
{items}
|
||||
on:select={(e) => {
|
||||
console.log(e.detail.selectedId);
|
||||
}}"
|
||||
on:clear="{(e) => {
|
||||
}}
|
||||
on:clear={(e) => {
|
||||
console.log(e.detail);
|
||||
}}"
|
||||
translateWithId="{(id) => {
|
||||
}}
|
||||
translateWithId={(id) => {
|
||||
console.log(id); // "open" | "close"
|
||||
return id;
|
||||
}}"
|
||||
translateWithIdSelection="{(id) => {
|
||||
}}
|
||||
translateWithIdSelection={(id) => {
|
||||
console.log(id); // "clearSelection"
|
||||
return id;
|
||||
}}"
|
||||
}}
|
||||
let:item
|
||||
let:index
|
||||
>
|
||||
|
@ -45,33 +45,33 @@
|
|||
titleText="Contact"
|
||||
placeholder="Select contact method"
|
||||
selectedId="1"
|
||||
items="{items}"
|
||||
{items}
|
||||
/>
|
||||
|
||||
<ComboBox
|
||||
light
|
||||
titleText="Contact"
|
||||
placeholder="Select contact method"
|
||||
items="{items}"
|
||||
{items}
|
||||
/>
|
||||
|
||||
<ComboBox
|
||||
titleText="Contact"
|
||||
placeholder="Select contact method"
|
||||
size="xl"
|
||||
items="{items}"
|
||||
{items}
|
||||
/>
|
||||
|
||||
<ComboBox
|
||||
titleText="Contact"
|
||||
placeholder="Select contact method"
|
||||
size="sm"
|
||||
items="{items}"
|
||||
{items}
|
||||
/>
|
||||
|
||||
<ComboBox
|
||||
disabled
|
||||
titleText="Contact"
|
||||
placeholder="Select contact method"
|
||||
items="{items}"
|
||||
{items}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue