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
|
|
@ -13,7 +13,7 @@ const props = defineProps<{
|
|||
data-slot="table"
|
||||
:class="cn('w-full caption-bottom text-sm', props.class)"
|
||||
>
|
||||
<slot/>
|
||||
<slot />
|
||||
</table>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ const props = defineProps<{
|
|||
data-slot="table-body"
|
||||
:class="cn('[&_tr:last-child]:border-0', props.class)"
|
||||
>
|
||||
<slot/>
|
||||
<slot />
|
||||
</tbody>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ const props = defineProps<{
|
|||
data-slot="table-caption"
|
||||
:class="cn('text-muted-foreground mt-4 text-sm', props.class)"
|
||||
>
|
||||
<slot/>
|
||||
<slot />
|
||||
</caption>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -17,6 +17,6 @@ const props = defineProps<{
|
|||
)
|
||||
"
|
||||
>
|
||||
<slot/>
|
||||
<slot />
|
||||
</td>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ const delegatedProps = computed(() => {
|
|||
v-bind="delegatedProps"
|
||||
>
|
||||
<div class="flex items-center justify-center py-10">
|
||||
<slot/>
|
||||
<slot />
|
||||
</div>
|
||||
</TableCell>
|
||||
</TableRow>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ const props = defineProps<{
|
|||
data-slot="table-footer"
|
||||
:class="cn('bg-muted/50 border-t font-medium [&>tr]:last:border-b-0', props.class)"
|
||||
>
|
||||
<slot/>
|
||||
<slot />
|
||||
</tfoot>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ const props = defineProps<{
|
|||
data-slot="table-head"
|
||||
:class="cn('text-muted-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]', props.class)"
|
||||
>
|
||||
<slot/>
|
||||
<slot />
|
||||
</th>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@ const props = defineProps<{
|
|||
|
||||
<template>
|
||||
<thead data-slot="table-header" :class="cn('[&_tr]:border-b', props.class)">
|
||||
<slot/>
|
||||
<slot />
|
||||
</thead>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -12,6 +12,6 @@ const props = defineProps<{
|
|||
data-slot="table-row"
|
||||
:class="cn('hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors', props.class)"
|
||||
>
|
||||
<slot/>
|
||||
<slot />
|
||||
</tr>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue