a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
+ "text-body text-pretty text-placeholder [&>a]:text-link-default [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-link-hover",
className
)}
{...props}
@@ -85,7 +85,7 @@ function EmptyContent({ className, ...props }: React.ComponentProps<"div">) {
) {
type={type}
data-slot="input"
className={cn(
- "h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30",
- "focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50",
- "aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",
+ "h-8 w-full min-w-0 rounded-lg border border-input bg-transparent px-2.5 py-1 text-body transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-label file:text-foreground placeholder:text-placeholder read-only:border-strong read-only:bg-secondary hover:border-hover disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-disabled disabled:bg-disabled disabled:text-disabled in-data-invalid:border-danger-strong in-data-invalid:hover:border-danger-strong aria-invalid:border-danger-strong aria-invalid:hover:border-danger-strong",
className
)}
{...props}
diff --git a/src/components/ui/item.tsx b/src/components/ui/item.tsx
index 8904bc6..04cc23b 100644
--- a/src/components/ui/item.tsx
+++ b/src/components/ui/item.tsx
@@ -31,13 +31,13 @@ function ItemSeparator({
}
const itemVariants = cva(
- "group/item flex flex-wrap items-center rounded-md border border-transparent text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-accent/50",
+ "group/item flex flex-wrap items-center rounded-lg border border-transparent text-body transition-colors duration-160 ease-anfra-out outline-none [a]:hover:bg-hover [a]:active:bg-active",
{
variants: {
variant: {
default: "bg-transparent",
- outline: "border-border",
- muted: "bg-muted/50",
+ outline: "border-default",
+ muted: "bg-muted",
},
size: {
default: "gap-4 p-4",
@@ -77,9 +77,9 @@ const itemMediaVariants = cva(
variants: {
variant: {
default: "bg-transparent",
- icon: "size-8 rounded-sm border bg-muted [&_svg:not([class*='size-'])]:size-4",
+ icon: "size-8 rounded-md border border-default bg-muted [&_svg]:icon-weak [&_svg:not([class*='size-'])]:size-4",
image:
- "size-10 overflow-hidden rounded-sm [&_img]:size-full [&_img]:object-cover",
+ "size-10 overflow-hidden rounded-md [&_img]:size-full [&_img]:object-cover",
},
},
defaultVariants: {
@@ -121,7 +121,7 @@ function ItemTitle({ className, ...props }: React.ComponentProps<"div">) {
) {
a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
+ "line-clamp-2 text-body text-pretty text-placeholder",
+ "[&>a]:text-link-default [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-link-hover",
className
)}
{...props}
diff --git a/src/components/ui/kbd.tsx b/src/components/ui/kbd.tsx
index 2459224..332908c 100644
--- a/src/components/ui/kbd.tsx
+++ b/src/components/ui/kbd.tsx
@@ -5,9 +5,7 @@ function Kbd({ className, ...props }: React.ComponentProps<"kbd">) {
}
-export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor }
+function PopoverHeader({ className, ...props }: React.ComponentProps<"div">) {
+ return (
+
+ )
+}
+
+function PopoverTitle({ className, ...props }: React.ComponentProps<"div">) {
+ return (
+
+ )
+}
+
+function PopoverDescription({
+ className,
+ ...props
+}: React.ComponentProps<"p">) {
+ return (
+
+ )
+}
+
+export {
+ Popover,
+ PopoverTrigger,
+ PopoverContent,
+ PopoverAnchor,
+ PopoverHeader,
+ PopoverTitle,
+ PopoverDescription,
+}
diff --git a/src/components/ui/resizable.tsx b/src/components/ui/resizable.tsx
index 3b49a2b..ee84950 100644
--- a/src/components/ui/resizable.tsx
+++ b/src/components/ui/resizable.tsx
@@ -33,14 +33,14 @@ function ResizableHandle({
div]:rotate-90",
+ "relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full aria-[orientation=horizontal]:after:left-0 aria-[orientation=horizontal]:after:h-1 aria-[orientation=horizontal]:after:w-full aria-[orientation=horizontal]:after:translate-x-0 aria-[orientation=horizontal]:after:-translate-y-1/2 [&[aria-orientation=horizontal]>div]:rotate-90",
className
)}
{...props}
>
{withHandle && (
-
-
+
+
)}
diff --git a/src/components/ui/select.tsx b/src/components/ui/select.tsx
index 10a1d2f..022d062 100644
--- a/src/components/ui/select.tsx
+++ b/src/components/ui/select.tsx
@@ -31,14 +31,14 @@ function SelectTrigger({
data-slot="select-trigger"
data-size={size}
className={cn(
- "border-input data-[placeholder]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
+ "flex w-fit min-w-0 items-center justify-between gap-1.5 rounded-lg border border-input bg-default px-2.5 text-body whitespace-nowrap text-default transition-colors outline-none select-none hover:border-hover disabled:pointer-events-none disabled:cursor-not-allowed disabled:border-disabled disabled:bg-disabled disabled:text-disabled in-data-invalid:border-danger-strong aria-invalid:border-danger-strong data-[placeholder]:text-placeholder data-[size=default]:h-8 data-[size=sm]:h-7 *:data-[slot=select-value]:flex *:data-[slot=select-value]:min-w-0 *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 *:data-[slot=select-value]:truncate [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
className
)}
{...props}
>
{children}
-
+
)
@@ -55,11 +55,12 @@ function SelectContent({
@@ -82,7 +83,7 @@ function SelectLabel({ className, ...props }: React.ComponentProps
)
@@ -97,17 +98,19 @@ function SelectItem({
-
+
-
+
- {children}
+
+ {children}
+
)
}
@@ -132,10 +135,10 @@ function SelectScrollUpButton({
return (
-
+
)
}
@@ -147,10 +150,10 @@ function SelectScrollDownButton({
return (
-
+
)
}
diff --git a/src/components/ui/separator.tsx b/src/components/ui/separator.tsx
index 056d875..132e2f3 100644
--- a/src/components/ui/separator.tsx
+++ b/src/components/ui/separator.tsx
@@ -14,7 +14,7 @@ function Separator({
decorative={decorative}
orientation={orientation}
className={cn(
- "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
+ "shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch",
className
)}
{...props}
diff --git a/src/components/ui/sheet.tsx b/src/components/ui/sheet.tsx
index ce2be06..6d3438f 100644
--- a/src/components/ui/sheet.tsx
+++ b/src/components/ui/sheet.tsx
@@ -5,6 +5,8 @@ import { cn } from "@/lib/utils"
import { XIcon } from "lucide-react"
import { Dialog as SheetPrimitive } from "radix-ui"
+import { Button } from "@/components/ui/button"
+
function Sheet({ ...props }: React.ComponentProps) {
return
}
@@ -35,7 +37,7 @@ function SheetOverlay({
{children}
{showCloseButton && (
-
-
- Close
+
+
+
+ Close
+
)}
@@ -88,7 +89,7 @@ function SheetHeader({ className, ...props }: React.ComponentProps<"div">) {
return (
)
@@ -111,7 +112,7 @@ function SheetTitle({
return (
)
@@ -124,7 +125,7 @@ function SheetDescription({
return (
)
diff --git a/src/components/ui/sidebar.tsx b/src/components/ui/sidebar.tsx
index 350bc41..d7fdc07 100644
--- a/src/components/ui/sidebar.tsx
+++ b/src/components/ui/sidebar.tsx
@@ -19,7 +19,6 @@ import { Skeleton } from "@/components/ui/skeleton"
import {
Tooltip,
TooltipContent,
- TooltipProvider,
TooltipTrigger,
} from "@/components/ui/tooltip"
@@ -126,7 +125,6 @@ function SidebarProvider({
return (
-
{children}
-
)
}
@@ -216,7 +213,7 @@ function Sidebar({
{children}
@@ -263,8 +260,8 @@ function SidebarTrigger({
data-sidebar="trigger"
data-slot="sidebar-trigger"
variant="ghost"
- size="icon"
- className={cn("size-7", className)}
+ size="icon-sm"
+ className={cn(className)}
onClick={(event) => {
onClick?.(event)
toggleSidebar()
@@ -289,7 +286,7 @@ function SidebarRail({ className, ...props }: React.ComponentProps<"button">) {
onClick={toggleSidebar}
title="Toggle Sidebar"
className={cn(
- "absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex",
+ "absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-colors duration-160 ease-anfra-out group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-0.5 hover:after:bg-sidebar-border sm:flex",
"in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
"[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
"group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-sidebar",
@@ -308,7 +305,7 @@ function SidebarInset({ className, ...props }: React.ComponentProps<"main">) {
data-slot="sidebar-inset"
className={cn(
"relative flex w-full flex-1 flex-col bg-background",
- "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
+ "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:border md:peer-data-[variant=inset]:border-default md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
className
)}
{...props}
@@ -372,7 +369,7 @@ function SidebarContent({ className, ...props }: React.ComponentProps<"div">) {
data-slot="sidebar-content"
data-sidebar="content"
className={cn(
- "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
+ "flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
className
)}
{...props}
@@ -403,8 +400,8 @@ function SidebarGroupLabel({
data-slot="sidebar-group-label"
data-sidebar="group-label"
className={cn(
- "flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
- "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
+ "flex h-8 shrink-0 items-center rounded-md px-2 text-caption font-medium text-placeholder outline-hidden transition-[margin,opacity] duration-220 ease-anfra-in-out [&>svg]:size-4 [&>svg]:shrink-0",
+ "group-data-[collapsible=icon]:pointer-events-none group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 group-data-[collapsible=icon]:select-none",
className
)}
{...props}
@@ -424,7 +421,7 @@ function SidebarGroupAction({
data-slot="sidebar-group-action"
data-sidebar="group-action"
className={cn(
- "absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
+ "absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden transition-colors duration-160 ease-anfra-out hover:bg-sidebar-accent hover:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0",
// Increases the hit area of the button on mobile.
"after:absolute after:-inset-2 md:after:hidden",
"group-data-[collapsible=icon]:hidden",
@@ -443,7 +440,7 @@ function SidebarGroupContent({
)
@@ -454,7 +451,7 @@ function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">) {
)
@@ -472,18 +469,18 @@ function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">) {
}
const sidebarMenuButtonVariants = cva(
- "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
+ "peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-body text-sidebar-foreground outline-hidden focus-visible:outline-offset-[-2px] transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-active active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:text-disabled aria-disabled:pointer-events-none aria-disabled:text-disabled data-active:bg-sidebar-current data-active:font-medium data-active:text-sidebar-current-foreground data-active:ring-1 data-active:ring-weak data-active:ring-inset data-active:hover:bg-sidebar-current data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:icon-weak data-active:[&_svg]:icon-highlight-default [&>span:last-child]:truncate",
{
variants: {
variant: {
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
outline:
- "bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]",
+ "bg-background ring-1 ring-strong hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
},
size: {
- default: "h-8 text-sm",
- sm: "h-7 text-xs",
- lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!",
+ default: "h-8 text-body",
+ sm: "h-7 text-caption",
+ lg: "h-12 text-body group-data-[collapsible=icon]:p-0!",
},
},
defaultVariants: {
@@ -514,7 +511,7 @@ function SidebarMenuButton({
data-slot="sidebar-menu-button"
data-sidebar="menu-button"
data-size={size}
- data-active={isActive}
+ data-active={isActive || undefined}
className={cn(sidebarMenuButtonVariants({ variant, size }), className)}
{...props}
/>
@@ -559,7 +556,7 @@ function SidebarMenuAction({
data-slot="sidebar-menu-action"
data-sidebar="menu-action"
className={cn(
- "absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform peer-hover/menu-button:text-sidebar-accent-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
+ "absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-hidden transition-colors duration-160 ease-anfra-out peer-hover/menu-button:text-sidebar-accent-foreground hover:bg-sidebar-accent hover:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0",
// Increases the hit area of the button on mobile.
"after:absolute after:-inset-2 md:after:hidden",
"peer-data-[size=sm]/menu-button:top-1",
@@ -567,7 +564,7 @@ function SidebarMenuAction({
"peer-data-[size=lg]/menu-button:top-2.5",
"group-data-[collapsible=icon]:hidden",
showOnHover &&
- "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground data-[state=open]:opacity-100 md:opacity-0",
+ "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground aria-expanded:opacity-100 data-[state=open]:opacity-100 md:opacity-0",
className
)}
{...props}
@@ -584,8 +581,8 @@ function SidebarMenuBadge({
data-slot="sidebar-menu-badge"
data-sidebar="menu-badge"
className={cn(
- "pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none",
- "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
+ "pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-pill px-1 text-caption font-medium text-sidebar-foreground tabular-nums select-none",
+ "peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-accent-foreground",
"peer-data-[size=sm]/menu-button:top-1",
"peer-data-[size=default]/menu-button:top-1.5",
"peer-data-[size=lg]/menu-button:top-2.5",
@@ -682,12 +679,12 @@ function SidebarMenuSubButton({
data-slot="sidebar-menu-sub-button"
data-sidebar="menu-sub-button"
data-size={size}
- data-active={isActive}
+ data-active={isActive || undefined}
className={cn(
- "flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
- "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
- size === "sm" && "text-xs",
- size === "md" && "text-sm",
+ "flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-hidden focus-visible:outline-offset-[-2px] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-active active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:text-disabled aria-disabled:pointer-events-none aria-disabled:text-disabled [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:icon-weak",
+ "data-active:bg-sidebar-current data-active:text-sidebar-current-foreground data-active:ring-1 data-active:ring-weak data-active:ring-inset data-active:[&>svg]:icon-highlight-default",
+ size === "sm" && "text-caption",
+ size === "md" && "text-body",
"group-data-[collapsible=icon]:hidden",
className
)}
diff --git a/src/components/ui/skeleton.tsx b/src/components/ui/skeleton.tsx
index 3ec6be7..6f21673 100644
--- a/src/components/ui/skeleton.tsx
+++ b/src/components/ui/skeleton.tsx
@@ -4,7 +4,7 @@ function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
return (
)
diff --git a/src/components/ui/table.tsx b/src/components/ui/table.tsx
index e27f183..4cf348b 100644
--- a/src/components/ui/table.tsx
+++ b/src/components/ui/table.tsx
@@ -12,7 +12,7 @@ function Table({ className, ...props }: React.ComponentProps<"table">) {
>
@@ -23,7 +23,7 @@ function TableHeader({ className, ...props }: React.ComponentProps<"thead">) {
return (
)
@@ -44,7 +44,7 @@ function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">) {
tr]:last:border-b-0",
+ "border-t border-default bg-secondary text-label [&>tr]:last:border-b-0",
className
)}
{...props}
@@ -57,7 +57,7 @@ function TableRow({ className, ...props }: React.ComponentProps<"tr">) {
) {
[role=checkbox]]:translate-y-[2px]",
+ "h-10 px-2 text-left align-middle text-label whitespace-nowrap text-default [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
className
)}
{...props}
@@ -98,7 +98,7 @@ function TableCaption({
return (
)
diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsx
index 6dbd649..e645cb1 100644
--- a/src/components/ui/tabs.tsx
+++ b/src/components/ui/tabs.tsx
@@ -14,7 +14,7 @@ function Tabs({
data-orientation={orientation}
orientation={orientation}
className={cn(
- "group/tabs flex gap-2 data-[orientation=horizontal]:flex-col",
+ "group/tabs flex min-w-0 gap-2 data-[orientation=horizontal]:flex-col",
className
)}
{...props}
@@ -23,7 +23,7 @@ function Tabs({
}
const tabsListVariants = cva(
- "group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none",
+ "group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-0.75 text-weak group-data-[orientation=horizontal]/tabs:h-8 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none",
{
variants: {
variant: {
@@ -61,10 +61,10 @@ function TabsTrigger({
)
diff --git a/src/components/ui/textarea.tsx b/src/components/ui/textarea.tsx
index 8d02e03..8e25b9c 100644
--- a/src/components/ui/textarea.tsx
+++ b/src/components/ui/textarea.tsx
@@ -6,7 +6,7 @@ function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {