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

@ -15,9 +15,9 @@
</script>
<Form
on:submit={(event) => {
on:submit="{(event) => {
console.log('on:submit', event);
}}>
}}">
<FormGroup {...$$props}>
<Checkbox id="checkbox-0" labelText="Checkbox Label" checked />
<Checkbox id="checkbox-1" labelText="Checkbox Label" />
@ -26,10 +26,10 @@
<NumberInput
id="number-input-1"
label="Number Input"
min={0}
max={100}
value={50}
step={10} />
min="{0}"
max="{100}"
value="{50}"
step="{10}" />
<FormGroup legendText="Toggle heading">
<Toggle id="toggle-1" />
<Toggle id="toggle-2" disabled />
@ -93,7 +93,7 @@
id="text-area"
labelText="Text Area label"
placeholder="Placeholder text"
rows={4}
cols={50} />
rows="{4}"
cols="{50}" />
<Button type="submit">Submit</Button>
</Form>

View file

@ -1,5 +1,5 @@
<form
class:bx--form={true}
class:bx--form="{true}"
{...$$restProps}
on:click
on:mouseover