import * as React from 'react'; import { Tabs as TabsPrimitive } from '@base-ui/react/tabs'; import { cva, type VariantProps } from 'class-variance-authority'; import { classNames } from '../../lib/utils'; const Tabs = React.forwardRef( function Tabs({ className, orientation = 'horizontal', ...props }, ref) { return ( ); } ); const tabsListVariants = cva( // A tab list is sized to its tabs. Capped to its parent and allowed to wrap // so it can never spill over whatever sits beside it: a bar that overflows // hides sections behind an edge, and a merchant cannot act on a section // they cannot see. Bars that would rather shed their labels than gain a row // opt out with ``flex-nowrap`` and hide the labels themselves. 'group/tabs-list inline-flex w-fit max-w-full flex-wrap items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-horizontal/tabs:min-h-8 group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col data-[variant=line]:rounded-none', { variants: { variant: { default: 'bg-muted', line: 'gap-1 bg-transparent', }, }, defaultVariants: { variant: 'default', }, } ); const TabsList = React.forwardRef< HTMLDivElement, TabsPrimitive.List.Props & VariantProps >(function TabsList({ className, variant = 'default', ...props }, ref) { return ( ); }); const TabsTrigger = React.forwardRef< HTMLButtonElement, TabsPrimitive.Tab.Props >(function TabsTrigger({ className, ...props }, ref) { return ( ); }); const TabsContent = React.forwardRef( function TabsContent({ className, ...props }, ref) { return ( ); } ); export { Tabs, TabsList, TabsTrigger, TabsContent, tabsListVariants };