"use client"; import * as React from "react"; import { cva, type VariantProps } from "class-variance-authority"; import { Tabs as TabsPrimitive } from "radix-ui"; import { cn } from "../lib/cn"; function Tabs({ className, orientation = "horizontal", ...props }: React.ComponentProps) { return ( ); } // The design system's Tabs: words on a rule, the current one in Electric Blue // with a 2px line under it. Both of the old looks draw it (`default` was a // pill in a grey box, `line` an underline), so `variant` no longer changes // anything; it stays for the callers that pass it. // // The rule is an inset shadow, not a border: the list scrolls sideways when // the tabs do not fit, and a tab's own line has to sit on the rule inside the // box, where the scroll does not clip it. const tabsListVariants = cva( "group/tabs-list inline-flex max-w-full items-center gap-8 overflow-x-auto text-muted-foreground shadow-[inset_0_-1px_0_0_var(--color-border)] group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col group-data-[orientation=vertical]/tabs:items-stretch group-data-[orientation=vertical]/tabs:gap-1 group-data-[orientation=vertical]/tabs:shadow-[inset_-1px_0_0_0_var(--color-border)]", { variants: { variant: { default: "", line: "", }, }, defaultVariants: { variant: "default", }, }, ); function TabsList({ className, variant = "default", ...props }: React.ComponentProps & VariantProps) { return ( ); } function TabsTrigger({ className, ...props }: React.ComponentProps) { return ( ); } function TabsContent({ className, ...props }: React.ComponentProps) { return ( ); } export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants };