lint fix and formatted
linter / quality (push) Successful in 1m20s
tests / ci (8.4) (push) Successful in 1m20s

This commit is contained in:
2026-04-11 16:37:58 +02:00
parent 23a66852a6
commit e5d11c940b
38 changed files with 339 additions and 261 deletions
+4 -4
View File
@@ -77,7 +77,7 @@ const rightNavItems: NavItem[] = [
<template>
<div>
<div class="border-b border-sidebar-border/80">
<div class="border-sidebar-border/80 border-b">
<div class="mx-auto flex h-16 items-center px-4 md:max-w-7xl">
<!-- Mobile Menu -->
<div class="lg:hidden">
@@ -108,7 +108,7 @@ const rightNavItems: NavItem[] = [
v-for="item in mainNavItems"
:key="item.title"
:href="item.href"
class="flex items-center gap-x-3 rounded-lg px-3 py-2 text-sm font-medium hover:bg-accent"
class="hover:bg-accent flex items-center gap-x-3 rounded-lg px-3 py-2 text-sm font-medium"
:class="
whenCurrentUrl(
item.href,
@@ -243,7 +243,7 @@ const rightNavItems: NavItem[] = [
<Button
variant="ghost"
size="icon"
class="relative size-10 w-auto rounded-full p-1 focus-within:ring-2 focus-within:ring-primary"
class="focus-within:ring-primary relative size-10 w-auto rounded-full p-1 focus-within:ring-2"
>
<Avatar
class="size-8 overflow-hidden rounded-full"
@@ -271,7 +271,7 @@ const rightNavItems: NavItem[] = [
<div
v-if="props.breadcrumbs.length > 1"
class="flex w-full border-b border-sidebar-border/70"
class="border-sidebar-border/70 flex w-full border-b"
>
<div
class="mx-auto flex h-12 w-full items-center justify-start px-4 text-neutral-500 md:max-w-7xl"
+2 -2
View File
@@ -4,12 +4,12 @@ import AppLogoIcon from '@/components/AppLogoIcon.vue';
<template>
<div
class="flex aspect-square size-8 items-center justify-center rounded-md bg-sidebar-primary text-sidebar-primary-foreground"
class="bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-md"
>
<AppLogoIcon class="size-5 fill-current text-white dark:text-black" />
</div>
<div class="ml-1 grid flex-1 text-left text-sm">
<span class="mb-0.5 truncate leading-tight font-semibold"
<span class="mb-0.5 truncate font-semibold leading-tight"
>Laravel Starter Kit</span
>
</div>
+1 -1
View File
@@ -15,7 +15,7 @@ withDefaults(
<template>
<header
class="flex h-16 shrink-0 items-center gap-2 border-b border-sidebar-border/70 px-6 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12 md:px-4"
class="border-sidebar-border/70 group-has-data-[collapsible=icon]/sidebar-wrapper:h-12 flex h-16 shrink-0 items-center gap-2 border-b px-6 transition-[width,height] ease-linear md:px-4"
>
<div class="flex items-center gap-2">
<SidebarTrigger class="-ml-1" />
+1 -1
View File
@@ -22,7 +22,7 @@ const tabs = [
:class="[
'flex items-center rounded-md px-3.5 py-1.5 transition-colors',
appearance === value
? 'bg-white shadow-xs dark:bg-neutral-700 dark:text-neutral-100'
? 'shadow-xs bg-white dark:bg-neutral-700 dark:text-neutral-100'
: 'text-neutral-500 hover:bg-neutral-200/60 hover:text-black dark:text-neutral-400 dark:hover:bg-neutral-700/60',
]"
>
+1 -1
View File
@@ -21,7 +21,7 @@ withDefaults(defineProps<Props>(), {
>
{{ title }}
</h2>
<p v-if="description" class="text-sm text-muted-foreground">
<p v-if="description" class="text-muted-foreground text-sm">
{{ description }}
</p>
</header>
+1 -1
View File
@@ -33,7 +33,7 @@ defineExpose({
@click="showPassword = !showPassword"
:class="
cn(
'absolute inset-y-0 right-0 flex items-center rounded-r-md px-3 text-muted-foreground hover:text-foreground focus-visible:ring-[3px] focus-visible:ring-ring focus-visible:outline-none',
'text-muted-foreground hover:text-foreground focus-visible:ring-ring absolute inset-y-0 right-0 flex items-center rounded-r-md px-3 focus-visible:outline-none focus-visible:ring-[3px]',
)
"
:aria-label="showPassword ? 'Hide password' : 'Show password'"
+1 -1
View File
@@ -18,7 +18,7 @@ defineProps<Props>();
:tabindex="tabindex"
:method="method"
:as="as"
class="text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500"
class="text-foreground hover:decoration-current! underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out dark:decoration-neutral-500"
>
<slot />
</Link>
+4 -4
View File
@@ -13,7 +13,7 @@ defineProps<{
<template>
<ul class="space-y-3">
<li v-for="node in nodes" :key="node.id">
<div class="rounded-xl border border-border px-4 py-4">
<div class="border-border rounded-xl border px-4 py-4">
<div class="flex flex-wrap items-center gap-2">
<Link
:href="
@@ -22,7 +22,7 @@ defineProps<{
ticket: node.id,
})
"
class="font-medium text-foreground transition hover:text-primary"
class="text-foreground hover:text-primary font-medium transition"
>
{{ node.ticket_key }}
</Link>
@@ -32,14 +32,14 @@ defineProps<{
</Badge>
</div>
<div class="mt-2 text-sm text-foreground">
<div class="text-foreground mt-2 text-sm">
{{ node.title }}
</div>
</div>
<div
v-if="node.children.length > 0"
class="mt-3 border-l border-border pl-4"
class="border-border mt-3 border-l pl-4"
>
<TicketTreeList
:nodes="node.children"
@@ -51,7 +51,7 @@ onMounted(async () => {
</CardHeader>
<CardContent>
<div
class="flex flex-col gap-3 select-none sm:flex-row sm:items-center sm:justify-between"
class="flex select-none flex-col gap-3 sm:flex-row sm:items-center sm:justify-between"
>
<Button @click="toggleRecoveryCodesVisibility" class="w-fit">
<component
@@ -93,13 +93,13 @@ onMounted(async () => {
<div v-else class="mt-3 space-y-3">
<div
ref="recoveryCodeSectionRef"
class="grid gap-1 rounded-lg bg-muted p-4 font-mono text-sm"
class="bg-muted grid gap-1 rounded-lg p-4 font-mono text-sm"
>
<div v-if="!recoveryCodesList.length" class="space-y-2">
<div
v-for="n in 8"
:key="n"
class="h-4 animate-pulse rounded bg-muted-foreground/20"
class="bg-muted-foreground/20 h-4 animate-pulse rounded"
></div>
</div>
<div
@@ -110,7 +110,7 @@ onMounted(async () => {
{{ code }}
</div>
</div>
<p class="text-xs text-muted-foreground select-none">
<p class="text-muted-foreground select-none text-xs">
Each recovery code can be used once to access your
account and will be removed after use. If you need more,
click
+13 -13
View File
@@ -114,10 +114,10 @@ watch(
<DialogContent class="sm:max-w-md">
<DialogHeader class="flex items-center justify-center">
<div
class="mb-3 w-auto rounded-full border border-border bg-card p-0.5 shadow-sm"
class="border-border bg-card mb-3 w-auto rounded-full border p-0.5 shadow-sm"
>
<div
class="relative overflow-hidden rounded-full border border-border bg-muted p-2.5"
class="border-border bg-muted relative overflow-hidden rounded-full border p-2.5"
>
<div
class="absolute inset-0 grid grid-cols-5 opacity-50"
@@ -125,7 +125,7 @@ watch(
<div
v-for="i in 5"
:key="`col-${i}`"
class="border-r border-border last:border-r-0"
class="border-border border-r last:border-r-0"
/>
</div>
<div
@@ -134,11 +134,11 @@ watch(
<div
v-for="i in 5"
:key="`row-${i}`"
class="border-b border-border last:border-b-0"
class="border-border border-b last:border-b-0"
/>
</div>
<ScanLine
class="relative z-20 size-6 text-foreground"
class="text-foreground relative z-20 size-6"
/>
</div>
</div>
@@ -158,11 +158,11 @@ watch(
class="relative mx-auto flex max-w-md items-center overflow-hidden"
>
<div
class="relative mx-auto aspect-square w-64 overflow-hidden rounded-lg border border-border"
class="border-border relative mx-auto aspect-square w-64 overflow-hidden rounded-lg border"
>
<div
v-if="!qrCodeSvg"
class="absolute inset-0 z-10 flex aspect-square h-auto w-full animate-pulse items-center justify-center bg-background"
class="bg-background absolute inset-0 z-10 flex aspect-square h-auto w-full animate-pulse items-center justify-center"
>
<Spinner class="size-6" />
</div>
@@ -194,9 +194,9 @@ watch(
class="relative flex w-full items-center justify-center"
>
<div
class="absolute inset-0 top-1/2 h-px w-full bg-border"
class="bg-border absolute inset-0 top-1/2 h-px w-full"
/>
<span class="relative bg-card px-2 py-1"
<span class="bg-card relative px-2 py-1"
>or, enter the code manually</span
>
</div>
@@ -205,11 +205,11 @@ watch(
class="flex w-full items-center justify-center space-x-2"
>
<div
class="flex w-full items-stretch overflow-hidden rounded-xl border border-border"
class="border-border flex w-full items-stretch overflow-hidden rounded-xl border"
>
<div
v-if="!manualSetupKey"
class="flex h-full w-full items-center justify-center bg-muted p-3"
class="bg-muted flex h-full w-full items-center justify-center p-3"
>
<Spinner />
</div>
@@ -218,11 +218,11 @@ watch(
type="text"
readonly
:value="manualSetupKey"
class="h-full w-full bg-background p-3 text-foreground"
class="bg-background text-foreground h-full w-full p-3"
/>
<button
@click="copy(manualSetupKey || '')"
class="relative block h-auto border-l border-border px-3 hover:bg-muted"
class="border-border hover:bg-muted relative block h-auto border-l px-3"
>
<Check
v-if="copied"
+1 -1
View File
@@ -31,7 +31,7 @@ const showAvatar = computed(
<div class="grid flex-1 text-left text-sm leading-tight">
<span class="truncate font-medium">{{ user.name }}</span>
<span v-if="showEmail" class="truncate text-xs text-muted-foreground">{{
<span v-if="showEmail" class="text-muted-foreground truncate text-xs">{{
user.email
}}</span>
</div>