import * as React from 'react'; import * as RadioGroupPrimitive from '@radix-ui/react-radio-group'; import { tv, type VariantProps } from 'tailwind-variants'; import { cn } from '../../utils/cn'; export interface RadioGroupProps extends React.ComponentPropsWithoutRef {} const RadioGroup = React.forwardRef, RadioGroupProps>( ({ className, ...props }, ref) => { return ; } ); RadioGroup.displayName = RadioGroupPrimitive.Root.displayName; const radioVariant = tv({ base: [ 'border-border focus-visible:shadow-brand-base rounded-full focus-visible:outline-none', 'data-[state=checked]:bg-button data-[state=checked]:border-button data-[state=checked]:text-foreground-button', 'disabled:border-border disabled:!text-foreground-disabled shrink-0 border disabled:cursor-not-allowed disabled:bg-disabled', 'disabled:data-[state=checked]:border-border disabled:focus-visible:shadow-gray-base disabled:data-[state=checked]:bg-disabled hover:bg-background-light transition-colors duration-300', ], variants: { size: { sm: 'h-4 w-4', md: 'h-5 w-5', }, }, defaultVariants: { size: 'sm', }, }); export interface RadioGroupItemProps extends React.ComponentPropsWithoutRef, VariantProps {} const RadioGroupItem = React.forwardRef, RadioGroupItemProps>( ({ className, size, ...props }, ref) => { return ( ); } ); RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName; export { RadioGroup, RadioGroupItem };