mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41: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
|
@ -18,23 +18,24 @@
|
|||
export let ref = null;
|
||||
</script>
|
||||
|
||||
<div class:bx--checkbox--inline="{true}">
|
||||
<div class:bx--checkbox--inline={true}>
|
||||
<input
|
||||
bind:this="{ref}"
|
||||
bind:this={ref}
|
||||
type="checkbox"
|
||||
class:bx--checkbox="{true}"
|
||||
checked="{indeterminate ? false : checked}"
|
||||
class:bx--checkbox={true}
|
||||
checked={indeterminate ? false : checked}
|
||||
bind:indeterminate
|
||||
id="{id}"
|
||||
{id}
|
||||
{...$$restProps}
|
||||
aria-checked="{indeterminate ? undefined : checked}"
|
||||
aria-checked={indeterminate ? undefined : checked}
|
||||
on:change
|
||||
on:focus
|
||||
on:blur
|
||||
/>
|
||||
<label
|
||||
for="{id}"
|
||||
title="{title}"
|
||||
aria-label="{$$props['aria-label']}"
|
||||
class:bx--checkbox-label="{true}"></label>
|
||||
for={id}
|
||||
{title}
|
||||
aria-label={$$props["aria-label"]}
|
||||
class:bx--checkbox-label={true}
|
||||
></label>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue