mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
style: 🎨 Run Biome formatter
This commit is contained in:
parent
74c3b26f20
commit
68e23a818a
244 changed files with 435 additions and 470 deletions
|
|
@ -10,6 +10,6 @@ const forwarded = useForwardPropsEmits(props, emits);
|
|||
|
||||
<template>
|
||||
<SelectRoot data-slot="select" v-bind="forwarded">
|
||||
<slot/>
|
||||
<slot />
|
||||
</SelectRoot>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -45,13 +45,13 @@ const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|||
)
|
||||
"
|
||||
>
|
||||
<SelectScrollUpButton/>
|
||||
<SelectScrollUpButton />
|
||||
<SelectViewport
|
||||
:class="cn('p-1', position === 'popper' && 'h-[var(--reka-select-trigger-height)] w-full min-w-[var(--reka-select-trigger-width)] scroll-my-1')"
|
||||
>
|
||||
<slot/>
|
||||
<slot />
|
||||
</SelectViewport>
|
||||
<SelectScrollDownButton/>
|
||||
<SelectScrollDownButton />
|
||||
</SelectContent>
|
||||
</SelectPortal>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@ const props = defineProps<SelectGroupProps>();
|
|||
|
||||
<template>
|
||||
<SelectGroup data-slot="select-group" v-bind="props">
|
||||
<slot/>
|
||||
<slot />
|
||||
</SelectGroup>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -38,12 +38,12 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|||
class="absolute right-2 flex size-3.5 items-center justify-center"
|
||||
>
|
||||
<SelectItemIndicator>
|
||||
<Check class="size-4"/>
|
||||
<Check class="size-4" />
|
||||
</SelectItemIndicator>
|
||||
</span>
|
||||
|
||||
<SelectItemText>
|
||||
<slot/>
|
||||
<slot />
|
||||
</SelectItemText>
|
||||
</SelectItem>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@ const props = defineProps<SelectItemTextProps>();
|
|||
|
||||
<template>
|
||||
<SelectItemText data-slot="select-item-text" v-bind="props">
|
||||
<slot/>
|
||||
<slot />
|
||||
</SelectItemText>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -13,6 +13,6 @@ const props = defineProps<
|
|||
data-slot="select-label"
|
||||
:class="cn('px-2 py-1.5 text-sm font-medium', props.class)"
|
||||
>
|
||||
<slot/>
|
||||
<slot />
|
||||
</SelectLabel>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|||
:class="cn('flex cursor-default items-center justify-center py-1', props.class)"
|
||||
>
|
||||
<slot>
|
||||
<ChevronDown class="size-4"/>
|
||||
<ChevronDown class="size-4" />
|
||||
</slot>
|
||||
</SelectScrollDownButton>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|||
:class="cn('flex cursor-default items-center justify-center py-1', props.class)"
|
||||
>
|
||||
<slot>
|
||||
<ChevronUp class="size-4"/>
|
||||
<ChevronUp class="size-4" />
|
||||
</slot>
|
||||
</SelectScrollUpButton>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -36,9 +36,9 @@ const forwardedProps = useForwardProps(delegatedProps);
|
|||
props.class,
|
||||
)"
|
||||
>
|
||||
<slot/>
|
||||
<slot />
|
||||
<SelectIcon as-child v-if="!props.disableSelectIcon">
|
||||
<ChevronDown class="size-4 opacity-50"/>
|
||||
<ChevronDown class="size-4 opacity-50" />
|
||||
</SelectIcon>
|
||||
</SelectTrigger>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@ const props = defineProps<SelectValueProps>();
|
|||
|
||||
<template>
|
||||
<SelectValue data-slot="select-value" v-bind="props">
|
||||
<slot/>
|
||||
<slot />
|
||||
</SelectValue>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue