chore(prettier): use svelteStrictMode

This commit is contained in:
Eric Liu 2020-09-04 16:35:49 -07:00
commit 42b8159b1c
182 changed files with 2020 additions and 1912 deletions

View file

@ -69,26 +69,26 @@
</script>
<div
class:bx--radio-button-wrapper={true}
class:bx--radio-button-wrapper--label-left={labelPosition === 'left'}
class:bx--radio-button-wrapper="{true}"
class:bx--radio-button-wrapper--label-left="{labelPosition === 'left'}"
{...$$restProps}>
<input
bind:this={ref}
bind:this="{ref}"
type="radio"
{id}
{name}
{checked}
{disabled}
{value}
class:bx--radio-button={true}
id="{id}"
name="{name}"
checked="{checked}"
disabled="{disabled}"
value="{value}"
class:bx--radio-button="{true}"
on:change
on:change={() => {
on:change="{() => {
if (ctx) {
ctx.update(value);
}
}} />
<label class:bx--radio-button__label={true} for={id}>
<span class:bx--radio-button__appearance={true} />
<span class:bx--visually-hidden={hideLabel}>{labelText}</span>
}}" />
<label class:bx--radio-button__label="{true}" for="{id}">
<span class:bx--radio-button__appearance="{true}"></span>
<span class:bx--visually-hidden="{hideLabel}">{labelText}</span>
</label>
</div>