Run pnpm format

This commit is contained in:
venashial
2022-05-20 00:10:45 -07:00
parent 0f6263d82e
commit d37fd6bea0
58 changed files with 653 additions and 687 deletions

View File

@@ -7,4 +7,4 @@
<Badge color="yellow" label="Squash" />
<Badge color="green" label="Lettuce" />
<Badge label="Onion" />
```
```

View File

@@ -4,11 +4,11 @@
import IconSquare from 'virtual:icons/lucide/square'
import IconCircle from 'virtual:icons/lucide/circle'
import IconTriangle from 'virtual:icons/lucide/triangle'
let selected = []
</script>
<CheckboxList
<CheckboxList
bind:value={selected}
options={[
{
@@ -26,7 +26,7 @@
icon: IconSquare,
value: 'SQU',
},
]}
]}
/>
Selected: {selected}

View File

@@ -3,18 +3,18 @@
import { CheckboxVirtualList } from "omorphia";
import IconStar from 'virtual:icons/heroicons-outline/star'
import { uniqueId } from 'omorphia/utils/uniqueId'
let options = Array(100).fill({})
.map(option => ({
label: 'Star-' + uniqueId(),
icon: IconStar,
value: uniqueId(),
}))
let selected = ['2', '6']
</script>
<CheckboxVirtualList
<CheckboxVirtualList
bind:value={selected}
{options}
/>

View File

@@ -17,7 +17,6 @@
/>
```
### Force an option to be selected with `neverEmpty`
```svelte example raised

View File

@@ -23,4 +23,4 @@
]}>
Click for fun
</NavRow>
```
```

View File

@@ -6,4 +6,4 @@ Use pagination to show a set of page numbers and navigation directions to move t
</script>
<Pagination page={20} count={50} />
```
```

View File

@@ -1,19 +1,19 @@
```svelte example raised
<script lang="ts">
import { Select } from "omorphia";
let sortMethod = "downloads"
</script>
<Select
color="raised"
color="raised"
options={[
{ value: "", label: "Relevance" },
{ value: "downloads", label: "Downloads" },
{ value: "follows", label: "Followers" },
{ value: "newest", label: "Recently created" },
{ value: "updated", label: "Recently updated" },
]}
]}
bind:value={sortMethod}
/>
```

View File

@@ -1,4 +1,4 @@
```svelte example
```svelte example raised
<script lang="ts">
import { Slider } from "omorphia";
</script>