You've already forked pages
forked from didirus/AstralRinth
Run pnpm format
This commit is contained in:
@@ -7,4 +7,4 @@
|
||||
<Badge color="yellow" label="Squash" />
|
||||
<Badge color="green" label="Lettuce" />
|
||||
<Badge label="Onion" />
|
||||
```
|
||||
```
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
/>
|
||||
```
|
||||
|
||||
|
||||
### Force an option to be selected with `neverEmpty`
|
||||
|
||||
```svelte example raised
|
||||
|
||||
@@ -23,4 +23,4 @@
|
||||
]}>
|
||||
Click for fun
|
||||
</NavRow>
|
||||
```
|
||||
```
|
||||
|
||||
@@ -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} />
|
||||
```
|
||||
```
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
```
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
```svelte example
|
||||
```svelte example raised
|
||||
<script lang="ts">
|
||||
import { Slider } from "omorphia";
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user