From af982cdfbb43595c3b244d04f70427d4411b1c6e Mon Sep 17 00:00:00 2001 From: iatopilskii Date: Mon, 2 Dec 2024 20:44:09 +0100 Subject: [PATCH] fix: linter fixes --- packages/ui/src/components/button.tsx | 8 ++++---- packages/ui/src/components/checkbox.tsx | 4 ++-- packages/ui/src/components/index.ts | 2 -- packages/ui/src/components/input.tsx | 8 ++++---- packages/ui/src/components/label.tsx | 2 +- packages/ui/src/components/radio-group.tsx | 2 +- packages/ui/src/components/select.tsx | 2 +- packages/ui/src/components/textarea.tsx | 2 +- packages/ui/src/components/toast/toast.tsx | 4 ++-- packages/ui/src/views/repo/repo-create/index.tsx | 6 +++--- 10 files changed, 19 insertions(+), 21 deletions(-) diff --git a/packages/ui/src/components/button.tsx b/packages/ui/src/components/button.tsx index dd6d2516ee..a85665e0f6 100644 --- a/packages/ui/src/components/button.tsx +++ b/packages/ui/src/components/button.tsx @@ -12,11 +12,11 @@ const buttonVariants = cva( variant: { default: 'bg-background-5 text-foreground-6 hover:bg-background-10 disabled:bg-background-6 disabled:text-foreground-9', - destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/90 shadow-sm', + destructive: 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90', outline: - 'border-borders-2 hover:border-borders-6 text-foreground-2 hover:text-foreground-8 border bg-transparent', - secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80 shadow-sm', - tertiary: 'bg-tertiary text-secondary-foreground hover:bg-tertiary/80 shadow-sm', + 'border border-borders-2 bg-transparent text-foreground-2 hover:border-borders-6 hover:text-foreground-8', + secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80', + tertiary: 'bg-tertiary text-secondary-foreground shadow-sm hover:bg-tertiary/80', ghost: 'hover:bg-background-12 hover:text-accent-foreground', link: 'text-primary underline-offset-4 hover:underline', link_accent: 'text-foreground-accent underline-offset-4 hover:underline', diff --git a/packages/ui/src/components/checkbox.tsx b/packages/ui/src/components/checkbox.tsx index 00f6caf62c..752f9bf7c1 100644 --- a/packages/ui/src/components/checkbox.tsx +++ b/packages/ui/src/components/checkbox.tsx @@ -15,7 +15,7 @@ const Checkbox = React.forwardRef @@ -23,7 +23,7 @@ const Checkbox = React.forwardRef {label && ( -